
:root {
    --bg: #080e1b;
    --surface: #101a2d;
    --surface2: #17243b;
    --blue: #247cff;
    --blue-light: #48a0ff;
    --text: #f3f7ff;
    --muted: #91a2bc;
    --border: #22334f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

/* HEADER */

.site-header {
    height: 76px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: rgba(9, 16, 30, .97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
}

.logo {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -1.2px;
    white-space: nowrap;
}

.logo span {
    color: var(--blue-light);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: #b7c5dc;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blue-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-form {
    display: flex;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
}

.search-form input {
    width: 165px;
    padding: 11px;
    color: white;
    background: transparent;
    border: 0;
    outline: none;
}

.search-form button {
    background: var(--blue);
    color: white;
    border: 0;
    padding: 0 14px;
    cursor: pointer;
}

.login-btn {
    padding: 11px 19px;
    background: var(--blue);
    color: white;
    font-weight: 700;
    border-radius: 8px;
    font-size: 13px;
}

/* MAIN */

.container {
    width: 90%;
    max-width: 1400px;
    margin: 30px auto;
}

/* HERO */

.hero-banner {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(90deg, #091326 5%, rgba(9,19,38,.93) 38%, rgba(9,19,38,.1)),
                var(--hero-image, #152640);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 45px;
}

.hero-label {
    display: inline-block;
    color: #83baff;
    background: rgba(36,124,255,.16);
    border: 1px solid rgba(72,160,255,.3);
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.15;
    margin: 18px 0;
}

.hero-description {
    color: #b5c4dc;
    font-size: 14px;
    line-height: 1.8;
    max-width: 520px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding: 13px 22px;
    background: var(--blue);
    color: white;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    transition: .2s;
}

.hero-button:hover {
    background: #4593ff;
    transform: translateY(-2px);
}

/* SECTION */

.content-section {
    margin-top: 42px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 19px;
}

.section-heading h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 850;
}

.section-heading a {
    color: var(--blue-light);
    font-size: 13px;
    font-weight: 700;
}

/* CATEGORY */

.categories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 17px;
}

.cat {
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 9px 17px;
    border-radius: 7px;
    color: #afbed4;
    font-size: 13px;
}

.cat:hover,
.cat.active {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
}

/* VIDEO GRID */

.video-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 19px;
}

.video-card {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 11px;
    overflow: hidden;
    transition: .25s;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 12px 30px rgba(0, 80, 200, .16);
}

.video-thumb {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--surface2);
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .4s;
}

.video-card:hover .video-thumb img {
    transform: scale(1.06);
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .25);
    opacity: 0;
    transition: .2s;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--blue);
    border-radius: 50%;
    font-size: 20px;
}

.video-info {
    padding: 12px;
}

.video-title {
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-category {
    margin-top: 7px;
    font-size: 11px;
    color: var(--blue-light);
}

/* TOP RANKING */

.ranking-number {
    position: absolute;
    left: 8px;
    bottom: 0;
    font-size: 64px;
    font-weight: 950;
    color: white;
    line-height: 1;
    text-shadow: 0 3px 12px #000;
}

/* ADS */

.adsterra-slot {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 30px auto;
    overflow: hidden;
}

/* EMPTY */

.empty {
    padding: 80px 20px;
    text-align: center;
    color: var(--muted);
}

/* FOOTER */

.site-footer {
    margin-top: 65px;
    padding: 35px 5%;
    background: #0c1526;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

/* MOBILE */

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

@media(max-width:1100px) {
    .video-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .main-nav {
        gap: 15px;
    }
}

@media(max-width:800px) {
    .site-header {
        height: auto;
        min-height: 68px;
        padding: 12px 4%;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0;
    }

    .main-nav.open {
        display: flex;
    }

    .header-actions {
        margin-left: auto;
    }

    .search-form input {
        width: 120px;
    }

    .hero-banner {
        min-height: 350px;
    }

    .hero-content {
        padding: 25px;
    }

    .video-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media(max-width:520px) {
    .logo {
        font-size: 23px;
    }

    .header-actions {
        gap: 8px;
    }

    .search-form input {
        width: 95px;
        font-size: 11px;
    }

    .login-btn {
        padding: 10px;
    }

    .container {
        width: 94%;
        margin: 20px auto;
    }

    .hero-banner {
        min-height: 300px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-title {
        font-size: 29px;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .video-info {
        padding: 9px;
    }

    .video-title {
        font-size: 12px;
    }

    .section-heading h2 {
        font-size: 18px;
    }
}

/* ===== NONTONIX Layout Fix ===== */

.site-header {
    position: relative;
    z-index: 10;
    background: #0b1222;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    font-size: 27px;
    font-weight: 900;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.main-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.main-nav a:hover {
    color: #48a0ff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form input {
    width: 190px;
}

.hero-banner {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, #081326 0%, #101f39 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .35;
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #081326 5%, rgba(8,19,38,.85) 45%, rgba(8,19,38,.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-title {
    max-width: 650px;
}

.section-subtitle {
    color: #94a3b8;
    margin-top: 8px;
}

.video-card {
    text-decoration: none;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-placeholder {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #17243b;
    color: #48a0ff;
    font-weight: 800;
}

.cat.active {
    background: #247cff;
    color: white;
}

@media (max-width: 850px) {
    .header-inner {
        flex-wrap: wrap;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 18px;
    }

    .header-actions {
        margin-left: auto;
    }
}

@media (max-width: 550px) {
    .header-inner {
        gap: 12px;
    }

    .logo {
        font-size: 23px;
    }

    .main-nav {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .search-form input {
        width: 130px;
    }

    .hero-banner {
        min-height: 350px;
    }
}

/* FINAL HEADER OVERRIDE */
.site-header {
    height: auto !important;
    min-height: 76px;
    padding: 0 !important;
    display: block !important;
    position: sticky;
    top: 0;
    background: #0b1222;
}

.site-header > .header-inner {
    width: 90%;
    max-width: 1400px;
    min-height: 76px;
    margin: 0 auto;
    padding: 0;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.site-header .main-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    width: auto;
    padding: 0;
    margin-left: auto;
}

.site-header .header-actions {
    margin-left: 0;
    flex-shrink: 0;
}

@media (max-width: 850px) {
    .site-header > .header-inner {
        flex-wrap: wrap !important;
        padding: 12px 0;
    }

    .site-header .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

.site-header .container {
    margin: 0 auto !important;
    width: 90%;
    max-width: 1400px;
}

/* NONTONIX genre dropdown */
.genre-dropdown{position:relative;display:flex;align-items:center}
.genre-toggle{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:10px 12px}
.genre-toggle span{font-size:11px;margin-left:4px}
.genre-menu{display:none;position:absolute;top:100%;left:0;min-width:190px;max-height:320px;overflow-y:auto;background:#101c30;border:1px solid #293d5c;border-radius:9px;padding:7px;box-shadow:0 12px 30px rgba(0,0,0,.4);z-index:1000}
.genre-dropdown:hover .genre-menu,.genre-dropdown:focus-within .genre-menu{display:block}
.genre-menu a,.genre-empty{display:block;padding:9px 11px;color:#c8d7ed;font-size:13px;border-radius:6px}
.genre-menu a:hover{background:#1d3455;color:#fff}
.genre-empty{color:#8192aa}
.watch-header{display:flex;align-items:center;justify-content:space-between;gap:20px}
.watch-nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.watch-nav a{color:#aebed5;font-size:14px}
.watch-nav a:hover{color:#fff}
@media(max-width:850px){.watch-header{height:auto;min-height:65px;flex-wrap:wrap;padding:12px 4%}.watch-nav{order:3;width:100%;justify-content:center;gap:14px}.watch-nav a{font-size:12px}}

/* NONTONIX navigation dropdown */
.genre-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.genre-toggle {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 10px 12px;
}
.genre-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    max-height: 320px;
    overflow-y: auto;
    background: #101c30;
    border: 1px solid #293d5c;
    border-radius: 9px;
    padding: 7px;
    box-shadow: 0 12px 30px rgba(0,0,0,.4);
    z-index: 1000;
}
.genre-dropdown:hover .genre-menu,
.genre-dropdown:focus-within .genre-menu {
    display: block;
}
.genre-menu a,
.genre-empty {
    display: block;
    padding: 9px 11px;
    color: #c8d7ed;
    font-size: 13px;
    border-radius: 6px;
}
.genre-menu a:hover {
    background: #1d3455;
    color: #fff;
}
.genre-empty {
    color: #8192aa;
}

/* =========================================
   NONTONIX PREMIUM BLUE - VISUAL UPGRADE
   ========================================= */

:root {
    --bg: #070e1c;
    --surface: #0e1a2e;
    --surface2: #142642;
    --blue: #287fff;
    --blue-light: #65adff;
    --text: #f4f8ff;
    --muted: #91a5c3;
    --border: rgba(113, 158, 220, .15);
}

body {
    background:
        radial-gradient(ellipse at 50% -15%, rgba(32, 104, 210, .15), transparent 48%),
        #070e1c;
    color: var(--text);
}

/* HEADER */
.site-header {
    background: rgba(7, 15, 30, .88) !important;
    border-bottom: 1px solid rgba(91, 151, 235, .15);
    backdrop-filter: blur(22px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, .18);
}

.header-inner {
    max-width: 1450px;
}

.logo {
    font-size: 29px;
    letter-spacing: -1.5px;
    text-shadow: 0 0 25px rgba(40, 127, 255, .18);
}

.logo span {
    color: #55a3ff;
}

.main-nav a,
.genre-toggle {
    color: #b6c7df;
    font-size: 13px;
    font-weight: 700;
    transition: color .25s, text-shadow .25s;
}

.main-nav a:hover,
.genre-toggle:hover {
    color: #65adff;
    text-shadow: 0 0 16px rgba(65, 145, 255, .4);
}

.search-form {
    border: 1px solid rgba(112, 159, 226, .2);
    background: #101e34;
    border-radius: 30px;
    padding: 3px;
    transition: .25s;
}

.search-form:focus-within {
    border-color: #398bff;
    box-shadow: 0 0 0 3px rgba(40, 127, 255, .12);
}

.search-form input {
    padding-left: 16px;
}

.search-form button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #398fff, #1760d4);
}

/* HERO CINEMATIC */
.hero-banner {
    width: 90%;
    max-width: 1450px;
    min-height: 510px;
    margin: 28px auto 45px;
    border: 1px solid rgba(112, 159, 226, .2);
    border-radius: 22px;
    background-color: #101d32;
    box-shadow: 0 25px 75px rgba(0, 0, 0, .3);
    isolation: isolate;
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(5, 13, 27, .98) 0%,
            rgba(5, 13, 27, .88) 34%,
            rgba(5, 13, 27, .35) 72%,
            rgba(5, 13, 27, .12) 100%),
        linear-gradient(0deg, rgba(5, 13, 27, .65), transparent 55%);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center 25%;
    transform: scale(1.015);
}

.hero-content {
    max-width: 680px;
    padding: 55px;
    z-index: 2;
}

.hero-label {
    background: rgba(40, 127, 255, .18);
    border: 1px solid rgba(101, 173, 255, .4);
    color: #91c4ff;
    border-radius: 30px;
    padding: 9px 15px;
    letter-spacing: 1.5px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 62px);
    letter-spacing: -1.8px;
    line-height: 1.08;
    text-shadow: 0 5px 25px rgba(0, 0, 0, .35);
}

.hero-description {
    color: #c2d0e4;
    font-size: 15px;
    line-height: 1.85;
}

.hero-button {
    padding: 15px 25px;
    border-radius: 10px;
    background: linear-gradient(135deg, #398fff, #155fd2);
    box-shadow: 0 8px 25px rgba(30, 105, 225, .3);
}

.hero-button:hover {
    box-shadow: 0 12px 32px rgba(30, 105, 225, .45);
}

/* CONTENT */
.container {
    max-width: 1450px;
}

.content-section {
    margin-top: 48px;
}

.section-heading {
    margin-bottom: 23px;
}

.section-heading h2 {
    font-size: 23px;
    letter-spacing: -.5px;
}

.section-subtitle {
    color: #8499b8;
    margin-top: 8px;
    font-size: 13px;
}

/* CATEGORY */
.categories {
    gap: 11px;
    padding: 5px 0 18px;
    scrollbar-width: thin;
    scrollbar-color: #294d7c transparent;
}

.cat {
    background: linear-gradient(145deg, #111f35, #0c1729);
    border: 1px solid rgba(112, 159, 226, .16);
    border-radius: 30px;
    padding: 10px 19px;
    color: #b5c6df;
    font-weight: 650;
    transition: .25s;
}

.cat:hover,
.cat.active {
    background: linear-gradient(135deg, #398fff, #175fcf);
    border-color: #398fff;
    box-shadow: 0 5px 18px rgba(40, 127, 255, .22);
    color: white;
}

/* MOVIE GRID */
.video-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px 17px;
}

.video-card {
    background: linear-gradient(155deg, #12213a, #0b1526);
    border: 1px solid rgba(112, 159, 226, .13);
    border-radius: 13px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .13);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.video-card:hover {
    transform: translateY(-7px);
    border-color: rgba(68, 146, 255, .65);
    box-shadow: 0 18px 38px rgba(0, 65, 160, .24);
}

.video-thumb {
    background: #13243d;
}

.video-thumb img {
    transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.video-card:hover .video-thumb img {
    transform: scale(1.075);
}

.play-overlay {
    background: linear-gradient(0deg, rgba(4, 13, 28, .55), rgba(4, 13, 28, .05));
}

.video-info {
    padding: 13px 12px 15px;
}

.video-title {
    color: #edf4ff;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
}

.video-category {
    display: inline-block;
    margin-top: 9px;
    padding: 4px 9px;
    background: rgba(40, 127, 255, .11);
    border: 1px solid rgba(40, 127, 255, .15);
    border-radius: 20px;
    color: #77b5ff;
    font-size: 10px;
}

/* GENRE DROPDOWN */
.genre-menu {
    background: #101e34;
    border: 1px solid rgba(112, 159, 226, .22);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .45);
    backdrop-filter: blur(15px);
}

/* FOOTER */
.site-footer {
    margin-top: 85px;
    background: linear-gradient(180deg, #0b172b, #081120);
    border-top: 1px solid rgba(112, 159, 226, .15);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    .video-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .hero-banner {
        min-height: 440px;
    }
}

@media (max-width: 800px) {
    .hero-banner {
        width: 92%;
        min-height: 370px;
        margin-top: 18px;
        border-radius: 16px;
    }

    .hero-content {
        padding: 28px;
    }

    .hero-title {
        font-size: 36px;
    }

    .video-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 13px;
    }

    .content-section {
        margin-top: 35px;
    }
}

@media (max-width: 520px) {
    .hero-banner {
        width: 94%;
        min-height: 330px;
    }

    .hero-content {
        padding: 21px;
    }

    .hero-title {
        font-size: 29px;
        letter-spacing: -.7px;
    }

    .hero-description {
        font-size: 12px;
        line-height: 1.65;
    }

    .hero-button {
        padding: 12px 17px;
        font-size: 12px;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .video-info {
        padding: 10px;
    }

    .video-title {
        font-size: 12px;
    }

    .section-heading h2 {
        font-size: 19px;
    }
}


/* ===== NONTONIX PREMIUM SHOWCASE ===== */
.premium-showcase {
    width: 90%;
    max-width: 1450px;
    margin: 25px auto 48px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(110, 160, 230, .2);
    border-radius: 22px;
    background: #0b172b;
    box-shadow: 0 25px 70px rgba(0,0,0,.35);
}

.premium-backdrop {
    position: absolute;
    inset: 0 0 190px;
    z-index: -2;
    background-size: cover;
    background-position: center 28%;
    transform: scale(1.02);
}

.premium-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5,14,29,.98) 0%, rgba(5,14,29,.86) 35%, rgba(5,14,29,.28) 78%, rgba(5,14,29,.2) 100%),
        linear-gradient(0deg, #0b172b 0%, rgba(11,23,43,.96) 23%, transparent 75%);
}

.premium-main {
    min-height: 390px;
    display: flex;
    align-items: center;
    padding: 45px 4.2% 30px;
}

.premium-copy {
    width: min(520px, 52%);
}

.premium-copy h1 {
    margin: 20px 0 14px;
    color: #fff;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.08;
    letter-spacing: -1.5px;
    font-weight: 900;
    text-shadow: 0 5px 25px rgba(0,0,0,.4);
}

.premium-copy p {
    max-width: 480px;
    color: #c2d1e6;
    font-size: 14px;
    line-height: 1.8;
}

.premium-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: #c3d4ec;
    font-size: 12px;
}

.premium-meta span {
    padding: 5px 10px;
    border: 1px solid rgba(150,190,245,.2);
    background: rgba(10,28,52,.55);
    border-radius: 5px;
}

.premium-meta .premium-rating {
    color: #9dc8ff;
}

.premium-recommend {
    padding: 12px 4.2% 25px;
}

.premium-recommend-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 15px;
}

.premium-eyebrow {
    color: #68aaff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.premium-recommend-heading h2 {
    margin: 5px 0 0;
    font-size: 21px;
    color: #f3f7ff;
}

.premium-arrows {
    display: flex;
    gap: 8px;
}

.premium-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(140,180,235,.2);
    border-radius: 8px;
    background: rgba(25,45,74,.8);
    color: white;
    font-size: 25px;
    cursor: pointer;
    transition: .2s;
}

.premium-arrow:hover {
    background: #287fff;
    border-color: #287fff;
}

.premium-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px 0 8px;
}

.premium-track::-webkit-scrollbar {
    display: none;
}

.premium-film {
    flex: 0 0 calc((100% - 80px) / 6);
    min-width: 0;
}

.premium-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #142642;
    border: 1px solid rgba(140,180,235,.18);
}

.premium-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.premium-film:hover .premium-poster img {
    transform: scale(1.06);
}

.premium-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: white;
    background: rgba(3,12,27,.42);
    opacity: 0;
    transition: .25s;
}

.premium-film:hover .premium-play {
    opacity: 1;
}

.premium-film-title {
    margin-top: 9px;
    color: #edf4ff;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 750;
}

.premium-film-meta {
    margin-top: 5px;
    color: #7fa8d9;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media(max-width:1000px) {
    .premium-film { flex-basis: calc((100% - 48px) / 4); }
}

@media(max-width:650px) {
    .premium-showcase {
        width: 94%;
        border-radius: 15px;
        margin-top: 15px;
    }
    .premium-main {
        min-height: 330px;
        padding: 28px 22px;
    }
    .premium-copy { width: 90%; }
    .premium-copy h1 { font-size: 32px; }
    .premium-copy p { font-size: 12px; }
    .premium-recommend { padding: 8px 18px 20px; }
    .premium-recommend-heading h2 { font-size: 18px; }
    .premium-film { flex-basis: calc((100% - 24px) / 3); }
}

@media(max-width:420px) {
    .premium-film { flex-basis: calc((100% - 12px) / 2); }
}

/* ===== NONTONIX PREMIUM POLISH ===== */

.premium-main {
    min-height: 350px;
    padding: 38px 4.2% 22px;
}

.premium-copy {
    width: min(470px, 48%);
}

.premium-copy h1 {
    font-size: clamp(32px, 3.7vw, 48px);
    line-height: 1.06;
    letter-spacing: -1.2px;
    margin: 15px 0 13px;
}

.premium-copy p {
    max-width: 440px;
    font-size: 13px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.premium-recommend {
    padding: 8px 4.2% 23px;
}

.premium-film {
    flex: 0 0 165px;
    min-width: 0;
}

.premium-poster {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 9px;
}

.premium-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.premium-film:hover .premium-poster img {
    transform: scale(1.05);
}

.premium-film-title {
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.premium-film-meta {
    font-size: 10px;
    margin-top: 4px;
    color: #91acd0;
}

@media (max-width: 800px) {
    .premium-main {
        min-height: 320px;
        padding: 28px 22px 20px;
    }

    .premium-copy {
        width: 85%;
    }

    .premium-copy h1 {
        font-size: clamp(29px, 6vw, 40px);
    }

    .premium-film {
        flex-basis: 145px;
    }
}

@media (max-width: 480px) {
    .premium-copy {
        width: 100%;
    }

    .premium-main {
        min-height: 300px;
    }

    .premium-film {
        flex-basis: 125px;
    }
}

/* ===== FINAL HERO PROPORTION ===== */

.premium-main {
    min-height: 315px;
    padding-top: 32px;
    padding-bottom: 18px;
}

.premium-copy {
    width: min(520px, 55%);
}

.premium-copy h1 {
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.08;
    letter-spacing: -1px;
    margin: 13px 0 12px;
}

.premium-copy p {
    max-width: 450px;
    -webkit-line-clamp: 2;
}

.premium-recommend {
    padding-top: 5px;
    padding-bottom: 20px;
}

.premium-film {
    flex-basis: 145px;
}

.premium-recommend-heading {
    margin-bottom: 12px;
}

@media (max-width: 800px) {
    .premium-main {
        min-height: 290px;
    }

    .premium-copy {
        width: 90%;
    }

    .premium-copy h1 {
        font-size: clamp(28px, 5.5vw, 36px);
    }

    .premium-film {
        flex-basis: 135px;
    }
}

@media (max-width: 480px) {
    .premium-main {
        min-height: 270px;
    }

    .premium-film {
        flex-basis: 120px;
    }
}

/* HERO SLIDER CONTROLS */
.premium-backdrop {
    transition: opacity .45s ease, background-image .45s ease;
}

.hero-slide-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.hero-slide-controls button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(145,185,245,.3);
    border-radius: 8px;
    color: #fff;
    background: rgba(24,48,80,.8);
    font-size: 22px;
    cursor: pointer;
}

.hero-slide-controls button:hover {
    background: #287fff;
}

.hero-slide-controls span {
    color: #a9c5e8;
    font-size: 11px;
}

/* ================= NONTONIX RAPI (2026-11-21) ================= */
/* Samakan tinggi judul kartu supaya baris tahun/kategori sejajar. */
.video-title{min-height:2.9em}
/* Ikon kaca pembesar di tombol pencarian: lebih besar dan tegas. */
.search-form button{font-size:20px;font-weight:700;line-height:1}
.search-form button span{font-size:21px;font-weight:700;line-height:1;display:inline-block}
/* Judul hero: jangan pecah dua baris secara janggal. */
.premium-copy h1{text-wrap:balance}
/* Sinopsis hero: jangan potong kata, warna lebih terang supaya mudah dibaca. */
.premium-copy p{text-wrap:pretty;overflow-wrap:break-word;color:#d7e2f3}
.hero-description{color:#d3deef}
/* Teks abu-abu muda dibuat lebih terang agar kontras di latar gelap. */
:root{--muted:#b6c4da}
/* Hasil pencarian: pesan jumlah hasil + tinggi minimum halaman. */
.results-info{color:var(--muted);font-size:13px;margin:0 0 16px}
main{min-height:45vh}
/* Footer: tata letak lebih kaya (deskripsi + navigasi + hak cipta). */
.site-footer{text-align:left}
.footer-inner{display:flex;flex-wrap:wrap;gap:22px 32px;align-items:flex-start;justify-content:space-between}
.footer-brand{max-width:560px}
.footer-desc{color:var(--muted);margin:10px 0 0;font-size:13px;line-height:1.7}
.footer-nav{display:flex;gap:18px;flex-wrap:wrap;padding-top:6px}
.footer-nav a{color:#c6d4ea;text-decoration:none;font-size:13px;font-weight:600}
.footer-nav a:hover{color:#fff;text-decoration:underline}
.footer-copy{width:100%;margin:6px 0 0;padding-top:16px;border-top:1px solid var(--border);text-align:center}
