/**
 * MultiMovies 2.0 - Commercial-Grade Dark Cinema OTT Design System
 * Inspired by DooPlay architectural hierarchy & modern Netflix dark cinema UX
 * 100% Complete Implementation, Zero Bloat, Responsive, Fast
 */

:root {
    color-scheme: dark;
    /* Screenhouse Netflix Pure Cinema Palette */
    --mm-bg: #141414;
    --mm-bg-gradient: #141414;
    --mm-surface: #181818;
    --mm-surface-elevated: #222222;
    --mm-surface-hover: #2a2a2a;
    --mm-surface-glass: rgba(20, 20, 20, 0.94);
    
    /* Screenhouse Design Token Aliases */
    --bg: #141414;
    --panel: #181818;
    --surface: #222222;
    --line: #333333;
    --text: #ffffff;
    --muted: #999999;
    --accent: #e50914;
    --green: #46d369;
    --header-h: 60px;
    --pad: 4%;

    /* Borders & Dividers */
    --mm-border: #2a2a2a;
    --mm-border-light: #3a3a3a;
    --mm-border-focus: #e50914;
    
    /* Typography Colors */
    --mm-text: #ffffff;
    --mm-text-muted: #999999;
    --mm-text-dim: #777777;
    
    /* Brand & Accent Colors */
    --mm-accent: #e50914;
    --mm-accent-hover: #f40612;
    --mm-accent-glow: rgba(229, 9, 20, 0.45);
    --mm-neon-green: #46d369;
    --mm-neon-gold: #f59e0b;
    --mm-neon-blue: #38bdf8;
    --mm-neon-purple: #a855f7;
    
    /* Metrics & Scales */
    --mm-radius-sm: 4px;
    --mm-radius-md: 8px;
    --mm-radius-lg: 12px;
    --mm-radius-pill: 9999px;
    --mm-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
    --mm-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
    --mm-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.9);
    --mm-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --header-height: 60px;
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--mm-bg);
    color: var(--mm-text);
    font-family: var(--mm-font-sans);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

/* ================= 1. HEADER & NAVIGATION ================= */
.header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(7, 9, 14, 0.8) 0%, rgba(7, 9, 14, 0) 100%);
    border-bottom: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-wrap.scrolled {
    background: rgba(7, 9, 14, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.header-container {
    width: 100%;
    max-width: 100%;
    padding: 0 48px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-right-dock {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

/* Seamless Brand Logo */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen; /* Smoothly blends dark edges with navbar */
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.site-logo:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 0 12px var(--mm-accent-glow));
}

/* Desktop Nav Menu (Cinejoy Floating Glass Capsule) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 3px;
    list-style: none;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 4px 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-link .nav-icon {
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover .nav-icon {
    opacity: 1;
    transform: scale(1.08);
}

.nav-link .chevron-icon {
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.nav-item:hover .nav-link .chevron-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown Menu (DooPlay / OTT Matrix) */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: rgba(14, 19, 31, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--mm-border-light);
    border-radius: var(--mm-radius-md);
    padding: 12px;
    min-width: 220px;
    display: none;
    box-shadow: var(--mm-shadow-lg);
    z-index: 1010;
    animation: fadeInDropdown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Multi-column Mega Menus Base */
.mega-menu {
    width: 380px;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.mega-menu-3col {
    width: 520px;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: var(--mm-radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: #cbd5e1;
    transition: all 0.15s ease;
}

.dropdown-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

/* Genuine Mouse Hover Dropdown Display */
@media (hover: hover) and (pointer: fine) {
    .nav-item:hover > .dropdown-menu {
        display: block;
    }
    .nav-item:hover > .mega-menu {
        display: grid;
    }
    .nav-item:hover > .mega-menu-3col {
        display: grid;
    }
    .nav-item:hover > .mega-menu-grouped {
        display: grid !important;
    }
}

.mega-menu-grouped {
    width: 600px;
    left: auto !important;
    right: 0 !important;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 18px 20px;
}

.mega-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-col-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Explicit class toggle */
.nav-item.open > .dropdown-menu {
    display: block !important;
}
.nav-item.open > .mega-menu {
    display: grid !important;
}
.nav-item.open > .mega-menu-3col {
    display: grid !important;
}

/* Header Action Tools */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.search-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.search-icon-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.search-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--mm-border);
    padding: 8px 16px;
    border-radius: var(--mm-radius-pill);
    color: var(--mm-text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
}

.search-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--mm-border-light);
    color: #fff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.05);
}

.mobile-menu-btn {
    display: none;
    padding: 8px;
    color: #fff;
}

/* ================= 2. BILLBOARD HERO STAGE ================= */
.hero-stage {
    position: relative;
    width: 100%;
    height: min(80vh, 760px);
    min-height: 520px;
    max-height: 820px;
    overflow: hidden;
    background: #000;
}

.hero-rail {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.21, 1);
    will-change: transform;
}

.hero-cell {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transform: scale(1.02);
    filter: brightness(0.85);
}

/* Netflix Cinema Double Vignette (Rule 11 FMHY Architecture) */
.hero-vignette-horiz {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0a0c13 0%, rgba(10, 12, 19, 0.85) 35%, rgba(10, 12, 19, 0.3) 65%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-vignette-vert {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0a0c13 2%, rgba(10, 12, 19, 0.6) 28%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: absolute;
    bottom: 14%;
    left: 48px;
    max-width: 650px;
    z-index: 10;
    padding-right: 20px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hero-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.hero-meta-pill.score-pill {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.45);
    color: #fbbf24;
}

.hero-title {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 14px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-overview {
    font-size: clamp(13.5px, 1.2vw, 15.5px);
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

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

/* Movy.sx & Cinejoy Solid Brilliant White CTA Button */
.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #05070a !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
}

.btn-play:hover {
    background: #f1f5f9;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.4);
    color: #000 !important;
}

.btn-play svg {
    fill: #05070a;
}

/* Movy.sx & Cinejoy Frosted Glass Secondary Button */
.btn-details {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff !important;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
}

.btn-details:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(14, 19, 31, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid var(--mm-border-light);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background: var(--mm-accent);
    border-color: var(--mm-accent);
    box-shadow: 0 0 16px var(--mm-accent-glow);
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* ================= 3. A-Z ALPHABETICAL BROWSER ================= */
.glossary-bar-wrap {
    max-width: 1440px;
    margin: 20px auto 10px;
    padding: 0 24px;
}

.glossary-bar {
    background: var(--mm-surface);
    border: 1px solid var(--mm-border);
    border-radius: var(--mm-radius-md);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.glossary-bar::-webkit-scrollbar {
    height: 4px;
}

.glossary-bar::-webkit-scrollbar-thumb {
    background: var(--mm-border-light);
    border-radius: 4px;
}

.glossary-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--mm-accent);
    letter-spacing: 0.5px;
    margin-right: 8px;
    flex-shrink: 0;
}

.glossary-chip {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mm-radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--mm-text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.glossary-chip:hover, .glossary-chip.active {
    background: var(--mm-accent);
    color: #fff;
    border-color: var(--mm-accent);
    box-shadow: 0 0 10px var(--mm-accent-glow);
}

/* ================= 4. HORIZONTAL CONTENT SHELVES ================= */
.shelf-wrap {
    max-width: 1440px;
    margin: 36px auto;
    padding: 0 24px;
}

.shelf-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.shelf-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

.shelf-title .dot {
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--mm-accent);
}

.shelf-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--mm-text-muted);
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.shelf-more:hover {
    color: var(--mm-accent);
}

/* Shelf Rail for Horizontal Scroll */
.shelf-scroll-container {
    position: relative;
    width: 100%;
}

.row-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 120px;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: #fff;
    background: linear-gradient(90deg, rgba(20, 20, 20, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.2s ease, font-size 0.15s ease, color 0.15s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.row-arrow.right {
    right: 0;
    background: linear-gradient(-90deg, rgba(20, 20, 20, 0.9), transparent);
}
.row-arrow.left {
    left: 0;
}
.shelf-scroll-container:hover .row-arrow, .row-scroll-wrap:hover .row-arrow {
    opacity: 1;
}
.row-arrow:hover {
    font-size: 2.2rem;
    color: var(--mm-accent);
}
@media (hover: none) {
    .row-arrow { display: none; }
}

.shelf-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.shelf-rail::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.shelf-rail::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.shelf-rail > .movie-card {
    flex: 0 0 175px;
    width: 175px;
}

/* ─── Top 10 Row (Screenhouse Signature) ─── */
.top10-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0 18px;
    scroll-behavior: smooth;
}
.top10-row::-webkit-scrollbar { display: none; }
.top10-item {
    display: flex;
    align-items: flex-end;
    flex-shrink: 0;
    gap: 0;
    position: relative;
}
.top10-rank {
    font-size: 5.5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2.5px rgba(255, 255, 255, 0.45);
    line-height: 0.75;
    margin-right: -16px;
    z-index: 2;
    font-style: italic;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
    user-select: none;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
}
.top10-card {
    width: 140px;
    flex-shrink: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    background: #141a29;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.top10-card:hover {
    transform: translateY(-5px) scale(1.05);
    z-index: 5;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--mm-accent-glow);
}
.top10-card .card-poster-wrap {
    aspect-ratio: 2 / 3;
}

/* Card Light Sweep Shimmer */
.movie-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.12) 45%, transparent 60%);
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
    z-index: 4;
}
.movie-card:hover::after {
    opacity: 1;
}

/* Standard Cards Grid for Category / Catalog Pages */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 20px;
}

/* ================= CINEJOY PURE 2:3 POSTER SQUIRCLE CARD ================= */
.cinejoy-poster-card {
    position: relative;
    display: block;
    width: 175px;
    flex-shrink: 0;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: #0d111a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
    text-decoration: none;
}

.cinejoy-poster-card:hover {
    transform: translateY(-6px) scale(1.04);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 20px var(--mm-accent-glow);
    z-index: 5;
}

.cinejoy-poster-card .card-poster-wrap {
    width: 100%;
    height: 100%;
    aspect-ratio: 2 / 3;
    position: relative;
}

.cinejoy-poster-card .card-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cinejoy-poster-card:hover .card-poster {
    transform: scale(1.06);
}

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

/* ================= 5. MOVIE & SERIES CARDS (Movy.sx & Cinejoy 12px Glass Design) ================= */
.movie-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(14, 20, 32, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-7px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 20px var(--mm-accent-glow);
}

.card-poster-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #090d15;
}

.card-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.movie-card:hover .card-poster {
    transform: scale(1.05);
}

/* Crisp Corner Badges */
.card-badge-top {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: var(--mm-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.card-rating-top {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(14, 19, 31, 0.88);
    backdrop-filter: blur(6px);
    color: var(--mm-neon-gold);
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: var(--mm-radius-sm);
    border: 1px solid rgba(245, 158, 11, 0.3);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Hover Play Overlay */
.card-overlay-play {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 3;
}

.play-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mm-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--mm-accent-glow);
    transform: scale(0.85);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.movie-card:hover .play-icon-circle {
    transform: scale(1);
}

/* Card Information Block */
.card-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--mm-text-muted);
}

/* ================= 6. CINEMA WATCH PAGE & AMBIENT GLASS BACKDROP ================= */
.watch-shell {
    position: relative;
    padding: 0;
    z-index: 1;
    min-height: 100vh;
}

.watch-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.watch-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    filter: blur(40px) brightness(0.35) saturate(1.4);
}

.watch-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,9,14,0.2) 0%, rgba(7,9,14,0.7) 60%, #07090e 100%);
}

.player-page-wrap {
    max-width: 1200px;
    margin: 10px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.player-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 65vh;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255,255,255,0.06);
}

.player-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Glass-morphism Server Switcher Panel */
.server-switcher-box {
    background: rgba(24, 24, 24, 0.88) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 16px 20px;
    margin-top: 14px;
}

.server-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

@media (max-width: 600px) {
    .server-grid {
        gap: 8px;
    }
}

.server-chip {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-align: left;
    flex: 0 0 auto;
}

.server-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.server-chip.active {
    background: rgba(229, 9, 20, 0.18) !important;
    border-color: #ff2a44 !important;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(229, 9, 20, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.server-num {
    font-weight: 800;
    color: var(--mm-accent);
}

.server-name {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.server-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.server-chip.active .server-dot {
    background: #00e676 !important;
    box-shadow: 0 0 10px #00e676, 0 0 4px #00e676 !important;
}

.server-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    margin-left: auto;
}

.server-chip.active .server-badge {
    background: rgba(229, 9, 20, 0.3);
    color: #fff;
}

/* ================= SEASON ACCORDIONS & EPISODE CARDS (NETFLIX ARCHITECTURE) ================= */
.season-accordions-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.season-accordion {
    background: rgba(22, 22, 22, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.season-accordion.open {
    border-color: rgba(255, 255, 255, 0.2);
}

.season-acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    background: rgba(30, 30, 30, 0.6);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.season-acc-header:hover {
    background: rgba(40, 40, 40, 0.85);
}

.season-acc-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.season-acc-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.season-acc-badge {
    font-size: 11.5px;
    font-weight: 700;
    color: #a3a3a3;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.season-acc-arrow {
    color: #a3a3a3;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.season-accordion.open .season-acc-arrow {
    transform: rotate(180deg);
    color: #ffffff;
}

.season-acc-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    padding: 20px;
    background: rgba(14, 14, 14, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Netflix Style Episode Card */
.ep-card {
    display: flex;
    flex-direction: column;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.ep-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
}

.ep-card.active {
    border: 2px solid var(--mm-accent);
    background: #202020;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.45);
}

.ep-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.ep-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

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

.ep-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ep-card:hover .ep-thumb-overlay {
    opacity: 1;
}

.ep-play-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mm-accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(229, 9, 20, 0.7);
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ep-card:hover .ep-play-circle {
    transform: scale(1);
}

.ep-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.ep-playing-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--mm-accent);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.8);
    z-index: 2;
}

.ep-details {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
}

.ep-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    color: #a3a3a3;
    font-weight: 600;
}

.ep-num {
    color: var(--mm-accent);
    font-weight: 800;
}

.ep-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-card.active .ep-name {
    color: var(--mm-accent);
}

.ep-overview {
    font-size: 12px;
    color: #888888;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
}

/* ================= 7. DOOPLAY-STYLE INFORMATION TABS ================= */
.watch-info-matrix {
    margin-top: 28px;
    background: var(--mm-surface);
    border: 1px solid var(--mm-border);
    border-radius: var(--mm-radius-lg);
    padding: 28px;
}

.tab-nav-bar {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--mm-border);
    padding-bottom: 14px;
    margin-bottom: 22px;
    overflow-x: auto;
}

.tab-btn {
    padding: 8px 18px;
    border-radius: var(--mm-radius-sm);
    font-size: 14px;
    font-weight: 700;
    color: var(--mm-text-muted);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: #fff;
    background: var(--mm-accent);
    box-shadow: 0 2px 10px var(--mm-accent-glow);
}

.tab-pane {
    display: none;
    animation: fadeInTab 0.25s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= 8. SEARCH OVERLAY MODAL ================= */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 7, 12, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-modal.active {
    display: flex;
}

.search-box-wrap {
    width: 100%;
    max-width: 680px;
    background: var(--mm-surface-elevated);
    border: 1px solid var(--mm-border-light);
    border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow-lg);
    overflow: hidden;
}

.search-input-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--mm-border);
}

.search-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
}

.search-results-list {
    max-height: 440px;
    overflow-y: auto;
    padding: 8px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: var(--mm-radius-sm);
    transition: background 0.15s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ================= 9. FOOTER & FIXED MOBILE NAV ================= */
.bottom-nav {
    display: none;
}

/* ================= 10. TV SERIES ACCORDIONS & EPISODE CARDS ================= */
.season-accordions-wrap {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.season-accordion {
    background: var(--mm-surface);
    border: 1px solid var(--mm-border);
    border-radius: var(--mm-radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.season-accordion.open {
    border-color: rgba(229, 9, 20, 0.4);
}

.season-acc-header {
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.15s ease;
}

.season-acc-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.season-acc-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.season-acc-badge {
    background: rgba(255, 255, 255, 0.06);
    color: var(--mm-text-muted);
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--mm-radius-pill);
    border: 1px solid var(--mm-border);
}

.season-acc-arrow {
    color: var(--mm-text-muted);
    transition: transform 0.25s ease;
}

.season-accordion.open .season-acc-arrow {
    transform: rotate(180deg);
    color: var(--mm-accent);
}

/* ================= 10. NETFLIX AUTHENTIC EPISODE LIST & SEASON ARCHITECTURE ================= */
.ep-navigator-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--mm-radius-md);
    padding: 12px 18px;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.ep-nav-title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.ep-nav-name {
    color: var(--mm-text-muted);
    font-weight: 500;
}

.ep-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.15s ease;
    text-decoration: none;
}

.ep-nav-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.ep-nav-next {
    background: var(--mm-accent);
    border-color: var(--mm-accent);
}

.ep-nav-next:hover {
    background: #ff1f2f;
}

/* Netflix Episodes Section */
.netflix-episodes-container {
    margin-top: 28px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.netflix-episodes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.netflix-episodes-heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.netflix-episodes-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.netflix-season-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.netflix-season-select {
    appearance: none;
    -webkit-appearance: none;
    background: #232323;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 36px 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.netflix-season-select:hover,
.netflix-season-select:focus {
    background: #2b2b2b;
    border-color: rgba(255, 255, 255, 0.4);
}

.select-chevron {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: #aaa;
}

.netflix-season-tag {
    font-size: 14px;
    font-weight: 700;
    color: #888;
}

.netflix-view-toggles {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1f1f1f;
    padding: 4px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #888;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.view-toggle-btn.active {
    background: #333;
    color: #fff;
}

.netflix-season-list {
    display: none;
}

.netflix-season-list.active {
    display: flex;
}

/* LIST MODE (Classic Netflix Web Layout) */
.netflix-season-list.view-mode-list {
    flex-direction: column;
    gap: 2px;
}

.netflix-ep-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 18px;
    border-radius: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.18s ease, transform 0.18s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.netflix-ep-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.netflix-ep-item.active {
    background: rgba(229, 9, 20, 0.08);
    border-left: 4px solid var(--mm-accent);
    box-shadow: inset 0 0 20px rgba(229, 9, 20, 0.06);
}

.netflix-ep-index {
    font-size: 20px;
    font-weight: 800;
    color: #666;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.netflix-ep-item.active .netflix-ep-index {
    color: var(--mm-accent);
}

.netflix-ep-thumb-box {
    position: relative;
    width: 175px;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.netflix-ep-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.netflix-ep-item:hover .netflix-ep-thumb {
    transform: scale(1.05);
}

.netflix-ep-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.netflix-ep-item:hover .netflix-ep-play-overlay,
.netflix-ep-item.active .netflix-ep-play-overlay {
    opacity: 1;
}

.netflix-ep-play-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.85);
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    transition: transform 0.2s ease, background 0.2s ease;
}

.netflix-ep-item:hover .netflix-ep-play-circle {
    transform: scale(1);
    background: var(--mm-accent);
    border-color: var(--mm-accent);
}

.netflix-now-playing-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--mm-accent);
    color: #fff;
    font-size: 8.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.netflix-ep-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.netflix-ep-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.netflix-ep-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.15s ease;
}

.netflix-ep-item:hover .netflix-ep-name {
    color: #fff;
}

.netflix-ep-item.active .netflix-ep-name {
    color: var(--mm-accent);
}

.netflix-ep-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.netflix-ep-date {
    font-size: 12px;
    color: #888;
}

.netflix-ep-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    color: #aaa;
}

.netflix-ep-overview {
    font-size: 13px;
    color: #999;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* GRID MODE (Optional Toggle) */
.netflix-season-list.view-mode-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.netflix-season-list.view-mode-grid .netflix-ep-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.netflix-season-list.view-mode-grid .netflix-ep-index {
    display: none;
}

.netflix-season-list.view-mode-grid .netflix-ep-thumb-box {
    width: 100%;
}

@media (max-width: 768px) {
    .netflix-episodes-container {
        padding: 16px;
    }
    .netflix-ep-item {
        gap: 12px;
        padding: 12px 8px;
    }
    .netflix-ep-thumb-box {
        width: 125px;
    }
    .netflix-ep-index {
        font-size: 16px;
        width: 20px;
    }
    .netflix-ep-name {
        font-size: 13.5px;
    }
    .netflix-ep-overview {
        font-size: 11.5px;
        -webkit-line-clamp: 2;
    }
}

.ep-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 9px 18px;
    border-radius: var(--mm-radius-sm);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--mm-border);
    transition: all 0.15s ease;
}

.ep-nav-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.ep-nav-next {
    background: var(--mm-accent);
    border-color: var(--mm-accent);
    box-shadow: 0 2px 10px var(--mm-accent-glow);
}

.ep-nav-next:hover {
    background: var(--mm-accent-hover);
    box-shadow: 0 4px 15px var(--mm-accent-glow);
}

/* ─── Screenhouse Season Pills & Episode Cards ─── */
.season-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 12px 0 6px;
    margin-top: 14px;
}
.season-pills::-webkit-scrollbar { display: none; }
.season-pill {
    padding: 7px 18px;
    border-radius: 20px;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.05);
    color: #bbb;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    text-decoration: none;
}
.season-pill:hover {
    border-color: #777;
    color: #fff;
}
.season-pill.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* ─── Screenhouse Fixed Mobile Bottom Navigation ─── */
.mobile-nav {
    display: none;
}
@media (max-width: 900px) {
    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(20, 20, 20, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid #2a2a2a;
        display: flex;
        align-items: center;
        justify-content: space-around;
        z-index: 9999 !important;
        pointer-events: auto !important;
    }
    .mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        color: #999;
        font-size: 10px;
        font-weight: 600;
        transition: color 0.15s ease;
    }
    .mobile-nav a:hover, .mobile-nav a.active {
        color: #fff;
    }
    .mobile-nav a svg {
        width: 22px;
        height: 22px;
    }
    body {
        padding-bottom: 65px;
    }
}

/* ─── Screenhouse Glass Season Accordions & Episode Cards ─── */
.season-accordions-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.season-accordion {
    background: rgba(24, 24, 24, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.season-accordion:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.season-accordion.open {
    border-color: rgba(229, 9, 20, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.season-acc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    user-select: none;
    transition: background 0.15s ease;
}

.season-acc-header:hover {
    background: rgba(255, 255, 255, 0.06);
}

.season-acc-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.2px;
}

.season-acc-badge {
    font-size: 11.5px;
    color: var(--mm-text-muted);
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.season-acc-arrow {
    color: var(--mm-text-muted);
    transition: transform 0.25s ease;
}

.season-accordion.open .season-acc-arrow {
    transform: rotate(180deg);
    color: var(--mm-accent);
}

/* ================= CINEJOY.PK MODERN OTT DESIGN SYSTEM ================= */
.cinejoy-episodes-section {
    max-width: 1440px;
    margin: 36px auto 54px;
    padding: 0 24px;
}

.cinejoy-episodes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cinejoy-episodes-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin: 0;
}

.cinejoy-episodes-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cinejoy-season-pill-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cinejoy-season-select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 36px 8px 16px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.cinejoy-season-select:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
}

.cinejoy-season-select option {
    background: #0f172a;
    color: #ffffff;
    padding: 10px;
}

.cinejoy-dropdown-icon {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.7);
}

.cinejoy-season-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
}

/* CineJoy 16:9 Episodes Grid */
.cinejoy-season-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.cinejoy-season-grid.active {
    display: grid;
}

.cinejoy-ep-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    border-radius: 14px;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cinejoy-ep-card:hover {
    transform: translateY(-4px);
}

.cinejoy-ep-thumb-link {
    display: block;
    text-decoration: none;
}

.cinejoy-ep-thumb-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0e17;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cinejoy-ep-card:hover .cinejoy-ep-thumb-box {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.cinejoy-ep-card.is-playing .cinejoy-ep-thumb-box {
    border-color: var(--mm-accent);
    box-shadow: 0 0 16px rgba(229, 9, 20, 0.4);
}

.cinejoy-ep-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cinejoy-ep-card:hover .cinejoy-ep-img {
    transform: scale(1.05);
}

/* Badges on Thumbnail */
.cinejoy-ep-badge-num {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cinejoy-ep-eye-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.2s ease;
}

.cinejoy-ep-eye-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.cinejoy-ep-badge-time {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(8, 10, 13, 0.68);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #f1f5f9;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    line-height: 1.2;
    z-index: 2;
}

@media (max-width: 700px) {
    .cinejoy-ep-badge-time {
        bottom: 4px;
        right: 4px;
        font-size: 9px;
        font-weight: 500;
        padding: 1.5px 4.5px;
        border-radius: 3px;
        background: rgba(8, 10, 13, 0.75);
    }
}

/* Play Overlay */
.cinejoy-ep-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

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

.cinejoy-ep-play-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.9);
    display: grid;
    place-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s ease;
}

.cinejoy-ep-card:hover .cinejoy-ep-play-circle {
    transform: scale(1.1);
}

.cinejoy-now-playing-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #00e676;
    color: #000000;
    font-size: 10.5px;
    font-weight: 800;
    text-align: center;
    padding: 3px 0;
    letter-spacing: 0.8px;
}

/* Episode Card Body */
.cinejoy-ep-body {
    padding-top: 12px;
}

.cinejoy-ep-name {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    transition: color 0.15s ease;
}

.cinejoy-ep-card:hover .cinejoy-ep-name {
    color: var(--mm-accent);
}

.cinejoy-ep-card.is-playing .cinejoy-ep-name {
    color: #ffffff;
    font-weight: 800;
}

.cinejoy-ctrl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cinejoy-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.cinejoy-ep-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 5px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================= CINEJOY 1:1 CLONE DESIGN SYSTEM ================= */

/* Header Left Back Button & Brand Alignment */
.header-left-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cinejoy-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    flex-shrink: 0;
}

.cinejoy-back-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.06);
}

/* CineJoy Floating Pill Active Tab (Pure White Highlight) */
.nav-link.active {
    background: #ffffff !important;
    color: #070709 !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
}

.nav-link.active .nav-icon {
    color: #070709 !important;
    stroke: #070709 !important;
    opacity: 1;
}

/* CineJoy Hero Action Buttons & Minimalist Dots */
.hero-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.hero-circle-btn:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.08);
}

.hero-dots-wrap {
    position: absolute;
    bottom: 32px;
    right: 48px;
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 25;
}

.hero-dot-pill {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.hero-dot-pill.active {
    width: 22px;
    border-radius: 9999px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* CineJoy 1:1 Provider App Squircles */
.provider-row-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 24px 32px 24px;
}

.provider-row-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.2px;
    margin-bottom: 18px;
}

.provider-grid {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.provider-grid::-webkit-scrollbar {
    display: none;
}

.provider-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    min-width: 76px;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.provider-tile:hover {
    transform: translateY(-5px);
}

.provider-squircle {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.provider-tile:hover .provider-squircle {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.provider-label {
    margin-top: 8px;
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.provider-tile:hover .provider-label {
    color: #ffffff;
}

/* ================= CINEJOY 1:1 HERO DETAIL STAGE ================= */
.cinejoy-detail-stage {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 100px 0 36px 0;
    position: relative;
    z-index: 10;
}

.cinejoy-detail-main {
    flex: 1;
    max-width: 720px;
}

.cinejoy-detail-title {
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.08;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.cinejoy-detail-genres {
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 22px;
}

.cinejoy-detail-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.cinejoy-btn-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 9999px;
    background: #ffffff;
    color: #070709;
    font-weight: 800;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinejoy-btn-play:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 26px rgba(255, 255, 255, 0.4);
}

.cinejoy-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinejoy-circle-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.08);
}

.cinejoy-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.cinejoy-meta-pill {
    font-size: 12.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cinejoy-badge-hd {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.25);
}

.cinejoy-score-pill {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.25);
}

.cinejoy-detail-director {
    font-size: 13.5px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cinejoy-detail-overview {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    max-width: 640px;
}

/* CineJoy Right Side Floating Glass Spec Box */
.cinejoy-spec-box {
    width: 280px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 22px;
    flex-shrink: 0;
}

.cinejoy-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12.5px;
}

.cinejoy-spec-row:last-of-type {
    border-bottom: none;
}

.cinejoy-spec-label {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.cinejoy-spec-val {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
}

.cinejoy-spec-network {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
}

/* CineJoy Cast Grid & Avatars */
.cinejoy-cast-section {
    margin: 44px 0 28px 0;
}

.cinejoy-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: 0.2px;
}

.cinejoy-cast-grid {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.cinejoy-cast-grid::-webkit-scrollbar {
    display: none;
}

.cinejoy-cast-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 88px;
    text-align: center;
}

.cinejoy-cast-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cinejoy-cast-card:hover .cinejoy-cast-img {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.cinejoy-cast-name {
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cinejoy-cast-role {
    margin-top: 2px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* CineJoy Recommendations Pure 2:3 Poster Squircles */
.cinejoy-rec-section {
    margin: 40px 0 32px 0;
}

.cinejoy-rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 18px;
}

.cinejoy-rec-card {
    display: block;
    aspect-ratio: 2/3;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}

.cinejoy-rec-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.7);
}

.cinejoy-rec-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .cinejoy-detail-stage {
        flex-direction: column;
        gap: 24px;
        padding-top: 80px;
    }
    .cinejoy-spec-box {
        width: 100%;
    }
}

/* CineJoy Homepage Latest Episodes 16:9 Cards */
.cinejoy-home-ep-card {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.25s ease;
}
.cinejoy-home-ep-card:hover {
    transform: translateY(-4px);
}
.cinejoy-home-ep-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #0d111a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    display: block;
}
.cinejoy-home-ep-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.cinejoy-home-ep-card:hover .cinejoy-home-ep-thumb img {
    transform: scale(1.06);
}
.cinejoy-home-ep-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 2px;
}
.cinejoy-home-ep-show {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cinejoy-home-ep-show:hover {
    color: var(--mm-accent);
}
.cinejoy-home-ep-title {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.55);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* CineJoy Top 10 Ranked Cards */
.cinejoy-rank-card {
    display: flex;
    align-items: flex-end;
    position: relative;
    flex-shrink: 0;
    padding-left: 28px;
}
.cinejoy-rank-num {
    position: absolute;
    left: -4px;
    bottom: -8px;
    font-size: 80px;
    font-weight: 900;
    line-height: 0.85;
    color: rgba(255, 255, 255, 0.08);
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.35);
    z-index: 2;
    pointer-events: none;
    font-family: Impact, sans-serif;
}


