/* =========================================================
   KISSKHTV PREMIUM PUBLIC THEME
========================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 0% 20%,
            rgba(68, 40, 180, .18),
            transparent 30%
        ),
        radial-gradient(
            circle at 100% 80%,
            rgba(0, 170, 210, .12),
            transparent 33%
        ),
        #050816;

    color: #f5f6fb;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    -webkit-font-smoothing:
        antialiased;
}


body.kh-no-scroll {
    overflow: hidden;
}


a {
    color: inherit;
}


button,
input {
    font: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.kh-header {
    position: sticky;

    top: 0;

    z-index: 3000;

    width: 100%;

    background:
        rgba(
            4,
            7,
            19,
            .90
        );

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            .06
        );

    backdrop-filter:
        blur(16px);

    transition:
        background .25s ease,
        box-shadow .25s ease;
}


.kh-header.scrolled {
    background:
        rgba(
            4,
            7,
            19,
            .98
        );

    box-shadow:
        0 12px 40px
        rgba(
            0,
            0,
            0,
            .35
        );
}


.kh-header-inner {
    width: min(
        1360px,
        calc(100% - 40px)
    );

    min-height: 74px;

    margin: auto;

    display: grid;

    grid-template-columns:
        240px
        1fr
        360px;

    align-items: center;

    gap: 25px;
}


.kh-logo {
    display: inline-flex;

    flex-direction: column;

    width: max-content;

    text-decoration: none;
}


.kh-logo strong {
    color: #ffffff;

    font-size: 25px;

    font-weight: 900;

    font-style: italic;

    letter-spacing: -1.2px;
}


.kh-logo strong span {
    color: #755cff;
}


.kh-logo small {
    margin-top: 1px;

    color: #787f95;

    font-size: 8px;
}


.kh-main-nav {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 34px;
}


.kh-main-nav a {
    position: relative;

    color: #969db2;

    text-decoration: none;

    text-transform: uppercase;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .6px;

    transition:
        color .2s ease;
}


.kh-main-nav a:hover,
.kh-main-nav a.active {
    color: #ffffff;
}


.kh-main-nav a.active::after {
    content: '';

    position: absolute;

    left: 50%;
    bottom: -14px;

    width: 16px;
    height: 2px;

    transform:
        translateX(-50%);

    border-radius: 10px;

    background: #755cff;
}


.kh-header-actions {
    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 10px;
}


.kh-search-button {
    width: 235px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding:
        0
        17px;

    border: 0;

    border-radius: 999px;

    background: #f4f4f7;

    color: #777b89;

    cursor: pointer;
}


.kh-search-button b {
    color: #050816;

    font-size: 25px;

    line-height: 1;
}


.kh-browse-button {
    height: 44px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        0
        16px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .13
        );

    border-radius: 12px;

    background:
        rgba(
            255,
            255,
            255,
            .035
        );

    color: #ffffff;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease;
}


.kh-browse-button:hover {
    background:
        rgba(
            255,
            255,
            255,
            .08
        );

    border-color:
        rgba(
            255,
            255,
            255,
            .22
        );
}


.kh-menu-lines {
    font-size: 18px;
}


/* =========================================================
   PREMIUM BROWSE SIDEBAR
========================================================= */

.kh-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 3998;

    visibility: hidden;
    opacity: 0;

    background: rgba(0, 0, 0, .72);

    backdrop-filter: blur(4px);

    transition:
        opacity .28s ease,
        visibility .28s ease;
}


.kh-drawer-overlay.open {
    visibility: visible;
    opacity: 1;
}


/* MAIN SIDEBAR */

.kh-browse-drawer {
    position: fixed;

    top: 0;
    right: 0;

    z-index: 3999;

    width: min(365px, 92vw);
    height: 100vh;

    overflow-y: auto;

    transform: translateX(105%);

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(117, 92, 255, .16),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #0a0e1d 0%,
            #070b17 100%
        );

    border-left:
        1px solid rgba(255,255,255,.08);

    box-shadow:
        -25px 0 70px
        rgba(0,0,0,.55);

    transition:
        transform .3s cubic-bezier(.2,.8,.2,1);

    scrollbar-width: none;
}


.kh-browse-drawer::-webkit-scrollbar {
    display: none;
}


.kh-browse-drawer.open {
    transform: translateX(0);
}


/* =========================================================
   SIDEBAR HEADER
========================================================= */

.kh-drawer-header {
    min-height: 78px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 0 21px;

    border-bottom:
        1px solid rgba(255,255,255,.07);

    background:
        rgba(255,255,255,.015);
}


.kh-drawer-header .kh-logo strong {
    font-size: 22px;
}


.kh-drawer-header .kh-logo strong span {
    color: #755cff;
}


.kh-drawer-close {
    width: 39px;
    height: 39px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 10px;

    background:
        rgba(255,255,255,.04);

    color: #b9bfd0;

    font-size: 25px;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.kh-drawer-close:hover {
    background:
        rgba(117,92,255,.16);

    color: #fff;

    transform: rotate(5deg);
}


/* =========================================================
   NAVIGATION
========================================================= */

.kh-drawer-nav {
    padding: 18px 15px 35px;
}


.kh-drawer-nav > a {
    position: relative;

    min-height: 50px;

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 5px;

    padding:
        0 15px;

    border:
        1px solid transparent;

    border-radius: 10px;

    color: #aab1c5;

    text-decoration: none;

    font-size: 13px;

    font-weight: 650;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.kh-drawer-nav > a::after {
    content: '›';

    margin-left: auto;

    color: #505970;

    font-size: 21px;

    transition:
        transform .2s ease,
        color .2s ease;
}


.kh-drawer-nav > a:hover {
    color: #fff;

    background:
        linear-gradient(
            90deg,
            rgba(117,92,255,.14),
            rgba(117,92,255,.035)
        );

    border-color:
        rgba(117,92,255,.19);

    transform: translateX(-2px);
}


.kh-drawer-nav > a:hover::after {
    color: #8c7aff;

    transform: translateX(3px);
}


/* =========================================================
   GROUP LABELS
========================================================= */

.kh-drawer-label {
    margin-top: 10px;

    padding:
        18px
        14px
        8px;

    color: #555e76;

    text-transform: uppercase;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.3px;
}


.kh-drawer-divider {
    height: 1px;

    margin:
        17px
        8px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.10),
            transparent
        );
}


/* =========================================================
   ADULT LINKS
========================================================= */

.kh-drawer-nav > a.kh-adult-nav {
    background:
        rgba(140,33,52,.08);

    border-color:
        rgba(184,55,75,.10);
}


.kh-adult-nav span {
    min-width: 31px;

    padding:
        4px
        6px;

    border-radius: 5px;

    background:
        linear-gradient(
            135deg,
            #a52c42,
            #7b1e31
        );

    color: #fff;

    text-align: center;

    font-size: 8px;

    font-weight: 850;
}


.kh-drawer-nav
> a.kh-adult-nav:hover {
    background:
        rgba(155,42,61,.16);

    border-color:
        rgba(199,66,86,.22);
}


/* =========================================================
   SIDEBAR BOTTOM TEXT
========================================================= */

.kh-drawer-nav::after {
    content:
        'KISSKHTV • Asian Movies, Dramas & Anime';

    display: block;

    margin:
        28px
        13px
        0;

    padding-top: 18px;

    border-top:
        1px solid rgba(255,255,255,.06);

    color: #434c63;

    font-size: 8px;

    line-height: 1.6;
}

/* =========================================================
   MAIN WRAPPER
========================================================= */

.kh-home {
    width: min(
        1360px,
        calc(100% - 40px)
    );

    margin: auto;

    padding:
        28px
        0
        70px;
}


/* =========================================================
   HERO
========================================================= */

.kh-hero {
    position: relative;

    min-height: 520px;

    overflow: hidden;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .07
        );

    border-radius: 18px;

    background-color: #0b1020;

    background-size: cover;

    background-position: center;

    box-shadow:
        0 30px 80px
        rgba(
            0,
            0,
            0,
            .35
        );
}


.kh-hero::before {
    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,8,22,.98) 0%,
            rgba(5,8,22,.89) 38%,
            rgba(5,8,22,.48) 68%,
            rgba(5,8,22,.65) 100%
        );
}


.kh-hero::after {
    content: '';

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 160px;

    background:
        linear-gradient(
            transparent,
            rgba(
                5,
                8,
                22,
                .92
            )
        );
}


.kh-hero-content {
    position: relative;

    z-index: 2;

    min-height: 520px;

    display: grid;

    grid-template-columns:
        190px
        minmax(
            0,
            650px
        );

    align-items: center;

    gap: 30px;

    padding:
        45px;
}


.kh-hero-poster {
    width: 190px;

    aspect-ratio:
        2 / 3;

    overflow: hidden;

    border-radius: 13px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .15
        );

    box-shadow:
        0 18px 50px
        rgba(
            0,
            0,
            0,
            .48
        );
}


.kh-hero-poster img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.kh-hero-copy {
    min-width: 0;
}


.kh-hero-eyebrow {
    display: inline-flex;

    padding:
        6px
        9px;

    margin-bottom: 13px;

    border-radius: 5px;

    background:
        rgba(
            117,
            92,
            255,
            .16
        );

    color: #a99dff;

    text-transform: uppercase;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


.kh-hero h1 {
    max-width: 780px;

    margin:
        0
        0
        17px;

    color: #ffffff;

    font-size:
        clamp(
            31px,
            4vw,
            49px
        );

    line-height: 1.04;

    letter-spacing: -1.5px;
}


.kh-hero-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 20px;
}


.kh-hero-meta span {
    padding:
        6px
        9px;

    border-radius: 6px;

    background:
        rgba(
            255,
            255,
            255,
            .07
        );

    color: #c2c7d6;

    font-size: 10px;
}


.kh-hero-description {
    max-width: 650px;

    margin:
        0
        0
        26px;

    color: #a9b0c3;

    font-size: 13px;

    line-height: 1.75;
}


.kh-hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.kh-primary-button,
.kh-secondary-button {
    min-height: 45px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding:
        0
        19px;

    border-radius: 9px;

    text-decoration: none;

    font-size: 11px;

    font-weight: 800;
}


.kh-primary-button {
    background:
        linear-gradient(
            135deg,
            #7660ff,
            #6b46db
        );

    color: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(
            107,
            70,
            219,
            .28
        );
}


.kh-secondary-button {
    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .14
        );

    background:
        rgba(
            255,
            255,
            255,
            .055
        );

    color: #ffffff;
}


/* =========================================================
   CONTENT SECTIONS
========================================================= */

.kh-section {
    margin-top: 43px;
}


.kh-section-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 16px;
}


.kh-section-heading h2 {
    margin: 0;

    color: #ffffff;

    text-transform: uppercase;

    font-size: 15px;

    font-weight: 850;

    letter-spacing: .2px;
}


.kh-section-heading a {
    color: #8f96aa;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;
}


.kh-section-heading a:hover {
    color: #ffffff;
}


/* =========================================================
   POSTER GRID
========================================================= */

.kh-poster-grid {
    display: grid;

    grid-template-columns:
        repeat(
            7,
            minmax(0, 1fr)
        );

    gap:
        24px
        17px;
}


.kh-poster-card {
    min-width: 0;

    color: #ffffff;

    text-decoration: none;
}


.kh-poster-image {
    position: relative;

    aspect-ratio:
        2 / 3;

    overflow: hidden;

    border-radius: 10px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .09
        );

    background: #0c1223;

    box-shadow:
        0 12px 25px
        rgba(
            0,
            0,
            0,
            .18
        );

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.kh-poster-card:hover
.kh-poster-image {
    transform:
        translateY(-5px);

    border-color:
        rgba(
            117,
            92,
            255,
            .52
        );

    box-shadow:
        0 18px 40px
        rgba(
            0,
            0,
            0,
            .4
        );
}


.kh-poster-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .35s ease;
}


.kh-poster-card:hover
.kh-poster-image img {
    transform:
        scale(1.035);
}


.kh-card-overlay {
    position: absolute;

    inset:
        auto
        0
        0;

    height: 28%;

    background:
        linear-gradient(
            transparent,
            rgba(
                0,
                0,
                0,
                .85
            )
        );
}


.kh-year-badge {
    position: absolute;

    right: 8px;
    bottom: 8px;

    padding:
        5px
        8px;

    border-radius: 6px;

    background:
        rgba(
            5,
            8,
            22,
            .88
        );

    color: #ffffff;

    font-size: 9px;

    font-weight: 800;
}


.kh-rating-badge {
    position: absolute;

    left: 8px;
    bottom: 8px;

    padding:
        5px
        7px;

    border-radius: 6px;

    background:
        #05aebe;

    color: #041015;

    font-size: 9px;

    font-weight: 900;
}


.kh-adult-badge {
    position: absolute;

    left: 8px;
    top: 8px;

    padding:
        5px
        7px;

    border-radius: 5px;

    background: #a8293b;

    color: #ffffff;

    font-size: 8px;

    font-weight: 800;
}


.kh-poster-title {
    margin:
        10px
        4px
        0;

    color: #f3f4f8;

    text-align: center;

    font-size: 11px;

    font-weight: 650;

    line-height: 1.35;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient:
        vertical;

    overflow: hidden;
}


/* =========================================================
   FOOTER
========================================================= */

.kh-footer {
    margin-top: 70px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            .07
        );

    background:
        rgba(
            3,
            6,
            16,
            .85
        );
}


.kh-footer-inner {
    width: min(
        1360px,
        calc(100% - 40px)
    );

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding:
        35px
        0;
}


.kh-footer-logo {
    color: #ffffff;

    text-decoration: none;

    font-size: 21px;

    font-weight: 900;

    font-style: italic;
}


.kh-footer-logo span {
    color: #755cff;
}


.kh-footer-inner p {
    margin:
        8px
        0
        0;

    color: #697086;

    font-size: 10px;
}


.kh-footer-inner nav {
    display: flex;

    gap: 24px;
}


.kh-footer-inner nav a {
    color: #8d94a8;

    text-decoration: none;

    font-size: 10px;
}


.kh-footer-bottom {
    width: min(
        1360px,
        calc(100% - 40px)
    );

    margin: auto;

    padding:
        16px
        0
        22px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            .05
        );

    color: #50566b;

    font-size: 8px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .kh-header-inner {
        grid-template-columns:
            200px
            1fr
            300px;
    }


    .kh-search-button {
        width: 190px;
    }


    .kh-poster-grid {
        grid-template-columns:
            repeat(
                5,
                minmax(0,1fr)
            );
    }

}


@media (max-width: 900px) {

    .kh-header-inner {
        grid-template-columns:
            1fr
            auto;
    }


    .kh-main-nav {
        display: none;
    }


    .kh-header-actions {
        grid-column: 2;
    }


    .kh-search-button {
        width: 48px;

        justify-content: center;

        padding: 0;
    }


    .kh-search-button span {
        display: none;
    }


    .kh-home {
        width:
            calc(
                100% - 28px
            );

        padding-top: 18px;
    }


    .kh-hero {
        min-height: 470px;
    }


    .kh-hero-content {
        min-height: 470px;

        grid-template-columns:
            150px
            1fr;

        padding: 30px;

        gap: 22px;
    }


    .kh-hero-poster {
        width: 150px;
    }


    .kh-poster-grid {
        grid-template-columns:
            repeat(
                4,
                minmax(0,1fr)
            );
    }

}


@media (max-width: 650px) {

    .kh-header-inner {
        width:
            calc(
                100% - 24px
            );

        min-height: 66px;
    }


    .kh-logo strong {
        font-size: 20px;
    }


    .kh-logo small {
        display: none;
    }


    .kh-browse-button {
        width: 44px;

        padding: 0;

        justify-content: center;
    }


    .kh-browse-button > span:last-child {
        display: none;
    }


    .kh-hero {
        min-height: 0;

        border-radius: 13px;
    }


    .kh-hero::before {
        background:
            linear-gradient(
                0deg,
                rgba(5,8,22,.98) 0%,
                rgba(5,8,22,.88) 60%,
                rgba(5,8,22,.72) 100%
            );
    }


    .kh-hero-content {
        min-height: 0;

        display: block;

        padding:
            28px
            20px
            30px;
    }


    .kh-hero-poster {
        width: 120px;

        margin-bottom: 20px;
    }


    .kh-hero h1 {
        font-size: 30px;
    }


    .kh-hero-description {
        font-size: 12px;

        line-height: 1.6;
    }


    .kh-section {
        margin-top: 34px;
    }


    .kh-poster-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

        gap:
            20px
            12px;
    }


    .kh-poster-title {
        font-size: 10px;
    }


    .kh-footer-inner {
        width:
            calc(
                100% - 28px
            );

        display: block;
    }


    .kh-footer-inner nav {
        margin-top: 20px;

        flex-wrap: wrap;
    }


    .kh-footer-bottom {
        width:
            calc(
                100% - 28px
            );

        display: block;
    }


    .kh-footer-bottom span {
        display: block;

        margin-top: 6px;
    }

}
/* =========================================================
   OTT PLATFORM SECTION
========================================================= */

.kh-ott-section {
    width: min(1360px, calc(100% - 40px));
    margin: 35px auto 42px;
}

.kh-ott-section .kh-section-heading {
    margin-bottom: 16px;
}

.kh-section-kicker {
    display: block;
    margin-bottom: 5px;

    color: #8473ff;

    font-size: 8px;
    font-weight: 850;

    letter-spacing: 1.3px;
}

.kh-ott-section h2 {
    margin: 0;

    color: #fff;

    font-size: 19px;
    font-weight: 850;
}

.kh-ott-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 10px;
}

.kh-ott-card {
    min-height: 72px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 15px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(18,24,45,.95),
            rgba(8,12,27,.95)
        );

    color: #fff;

    text-decoration: none;

    box-shadow:
        0 10px 25px
        rgba(0,0,0,.18);

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.kh-ott-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(117,92,255,.55);

    background:
        linear-gradient(
            145deg,
            rgba(36,30,78,.96),
            rgba(10,14,32,.96)
        );
}

.kh-ott-card strong {
    text-align: center;

    font-size: 11px;
    font-weight: 850;
}

@media (max-width: 1100px) {

    .kh-ott-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {

    .kh-ott-section {
        width:
            calc(100% - 28px);
    }

    .kh-ott-grid {
        display: flex;

        overflow-x: auto;

        gap: 9px;

        padding-bottom: 6px;

        scrollbar-width: none;
    }

    .kh-ott-grid::-webkit-scrollbar {
        display: none;
    }

    .kh-ott-card {
        min-width: 125px;
        min-height: 64px;

        flex: 0 0 auto;
    }

}