/* =====================================================
   KURDSAZ — Premium Kurdish Streaming UI (Blue Edition)
   ===================================================== */

@font-face {
    font-family: 'GoodSeresKurdish';
    src: url('../fonts/kurdish-sorani.woff2') format('woff2');
    font-display: swap;
}

/* ── CSS Variables ───────────────────────────────── */
:root {
    --bg-main:       #060608;
    --bg-card:       #0f0f12;
    --bg-hover:      #18181d;
    --primary:       #0ea5e9; /* Changed to Vibrant Sky Blue */
    --primary-hover: #0284c7; /* Darker blue for hover states */
    --accent:        #F5C518;
    --text-main:     #F0F0EC;
    --text-muted:    #8A8A9A;
    --border-light:  rgba(255,255,255,0.07);
    --glass-bg:      rgba(6,6,8,0.82);
    --shadow-glow:   0 8px 30px rgba(14, 165, 233, 0.3); /* Blue shadow */
    --radius-sm:     6px;
    --radius-md:     12px;
    --radius-lg:     18px;
    --transition:    0.28s cubic-bezier(0.4,0,0.2,1);
    --header-h:      86px;
}

/* ── Reset ───────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg-main);
    color: var(--text-main);
    font-family: 'GoodSeresKurdish','Noto Sans Arabic',Tahoma,sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
}
a  { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: inherit; background: none; }

.container { width: 92%; max-width: 1400px; margin: 0 auto; }
.section-space { padding: 50px 0; }

/* =====================================================
   1. HEADER — Buttery Smooth Floating Capsule
   ===================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: 100px;
    pointer-events: none; /* Allows you to click the posters behind the empty spaces! */
}

.header-inner {
    pointer-events: auto; /* Re-enables clicking for the actual bar */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 96%;
    max-width: 1400px; /* Starts wide at the top */
    height: var(--header-h); /* 85px */
    margin: 0 auto;
    padding: 0 4px;
    border-radius: 20px;
    background: rgba(10, 10, 15, 0); /* Transparent start */
    backdrop-filter: blur(0px); /* 0 blur start for smooth fade */
    -webkit-backdrop-filter: blur(0px);
    border: 1px solid transparent;
    
    /* This magic transition makes EVERYTHING glide smoothly without snapping */
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                background 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                -webkit-backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- SCROLLED STATE (The Dynamic Island) --- */
.site-header.scrolled .header-inner {
    margin-top: 14px;
    height: 74px; /* Slightly taller for the avatar */
    max-width: 1080px; /* INCREASES THE LENGTH so everything fits perfectly */
    padding: 0 34px;   /* ADDS SPACE inside the edges so items don't touch the border */
    border-radius: 99px;
    background: rgba(10, 10, 15, 0.85); 
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* ── Brand ── */
.brand-box {
    display: flex; align-items: center; gap: 10px; flex-shrink: 0;
    text-decoration: none;
}
.brand-logo-img { height: 34px; width: auto; }
.brand-mark {
    width: 42px; height: 42px;
    background: var(--primary);
    color: #fff;
    font-weight: 800; font-size: 1rem;
    border-radius: 12px;
    display: grid; place-items: center;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 14px rgba(14, 165, 233, 0.5), /* Blue shadow */
                inset 0 1px 0 rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.brand-copy strong {
    font-size: 1.05rem; color: #fff;
    display: block; line-height: 1.2; font-weight: 700;
}
.brand-copy small { color: var(--accent); font-size: 0.75rem; display: block; }

/* ── Nav Pill (iOS 26 capsule) ── */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* The pill wrapper */
.main-nav > * { flex-shrink: 0; }
.nav-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 99px;
    padding: 8px 12px;
    backdrop-filter: blur(35px) saturate(200%);
    -webkit-backdrop-filter: blur(35px) saturate(200%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4),
                inset 0 1px 1px rgba(255,255,255,0.1);
}
.nav-pill a,
.nav-dropdown-trigger {
    color: #a0a0a0;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.2px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.nav-pill a:hover,
.nav-dropdown-trigger:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
/* The perfectly stable Active state */
.nav-pill a.active {
    color: #fff !important;
    background: rgba(255,255,255,0.2) !important;
    
    /* THE FIX: We removed the outer drop shadow (0 2px 10px rgba(0,0,0,0.2)) 
       that causes Chrome to glitch during the page load fade-in. 
       We kept the premium inner highlight (inset). */
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3) !important;
    
    /* 🚨 Force Chrome to NEVER draw outside the curves during page load 🚨 */
    border-radius: 99px !important;
    -webkit-background-clip: padding-box !important;
    background-clip: padding-box !important;
    contain: paint !important; 
}
.nav-separator { display: none; } 

.nav-pill a svg,
.nav-dropdown-trigger svg { opacity: 0.7; flex-shrink: 0; }
.nav-pill a.active svg { opacity: 1; }

/* ── Genres dropdown ── */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    right: 50%;
    transform: translateX(50%) translateY(-6px);
    background: rgba(20,20,25,0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 10px;
    min-width: 230px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8),
                inset 0 1px 0 rgba(255,255,255,0.1);
    z-index: 200;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
    opacity: 1; visibility: visible;
    transform: translateX(50%) translateY(0);
}
.nav-dropdown a {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: 0.15s ease;
    display: block;
}
.nav-dropdown a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ── Header Actions ── */
.header-actions {
    display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}

/* Glass icon buttons */
.icon-action {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    color: rgba(255,255,255,0.7);
    transition: 0.2s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.icon-action:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

/* Auth buttons */
.btn-header-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    padding: 10px 20px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.2s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255,255,255,0.05);
}
.btn-header-outline:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.btn-header-solid {
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.2s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4), /* Blue shadow */
                inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(14, 165, 233, 0.6); /* Blue border */
}
.btn-header-solid:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 25px rgba(14, 165, 233, 0.6); /* Blue shadow */
    transform: translateY(-2px);
}

/* ── User avatar menu ── */
.user-menu-wrap { position: relative; }
.user-avatar-btn {
    width: 44px; height: 44px;
    border-radius: 12px;
    /* CHANGED TO BLUE THEME */
    background: linear-gradient(135deg, var(--primary) 0%, #003a5c 100%);
    color: #fff; font-weight: 800; font-size: 1rem;
    overflow: hidden;
    /* CHANGED TO BLUE THEME */
    border: 1.5px solid rgba(14, 165, 233, 0.5);
    display: grid; place-items: center;
    transition: 0.2s ease;
    /* CHANGED TO BLUE THEME */
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35),
                inset 0 1px 0 rgba(255,255,255,0.2);
}
.user-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.user-avatar-btn:hover {
    /* CHANGED TO BLUE THEME */
    border-color: rgba(14, 165, 233, 0.9);
    box-shadow: 0 6px 25px rgba(14, 165, 233, 0.5);
    transform: scale(1.08);
}

/* Glass dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    background: rgba(15,15,20,0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 8px;
    min-width: 200px;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px) scale(0.97);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8),
                inset 0 1px 0 rgba(255,255,255,0.1);
    z-index: 200;
}
.user-menu-wrap:hover .user-dropdown,
.user-menu-wrap:focus-within .user-dropdown {
    opacity: 1; visibility: visible;
    transform: translateY(0) scale(1);
}
.user-dropdown-name {
    padding: 12px 14px;
    font-weight: 700; font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 6px;
    color: #fff;
}
.user-dropdown a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    transition: 0.15s ease;
}
.user-dropdown a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.logout-link { color: #ff4545 !important; }
.logout-link:hover { background: rgba(255,69,69,0.15) !important; }
.dropdown-divider { border-top: 1px solid rgba(255,255,255,0.1); margin: 6px 0; }

/* ── Hamburger ── */
.hamburger {
    display: none;
    flex-direction: column; gap: 6px;
    padding: 10px; border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =====================================================
   2. SEARCH OVERLAY
   ===================================================== */
.search-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    z-index: 1100;
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: 15vh;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.search-overlay.is-open { opacity: 1; visibility: visible; }

.search-overlay-inner { width: 100%; max-width: 680px; padding: 0 20px; position: relative; }
.search-close {
    position: absolute; top: -50px; left: 0;
    color: var(--text-muted);
    padding: 8px;
    transition: var(--transition);
}
.search-close:hover { color: #fff; transform: rotate(90deg); }

.search-form {
    display: flex; align-items: center; gap: 16px;
    border-bottom: 2px solid rgba(255,255,255,0.15);
    padding-bottom: 16px;
    transition: var(--transition);
}
.search-form:focus-within { border-bottom-color: var(--primary); }
.search-form svg { color: var(--text-muted); flex-shrink: 0; }
.search-input {
    flex: 1;
    background: none; border: none; outline: none;
    color: #fff; font-size: 1.6rem;
    font-family: inherit;
    caret-color: var(--primary);
}
.search-input::placeholder { color: var(--text-muted); }
.search-hint { color: var(--text-muted); font-size: 0.85rem; margin-top: 14px; text-align: center; }

/* =====================================================
   3. MOBILE MENU — Premium Blue Glass Slide (Left)
   ===================================================== */
.mobile-menu-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 950;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.mobile-menu-overlay.is-open { opacity: 1; visibility: visible; }

.mobile-menu {
    position: fixed;
    top: 0; left: -100%; /* CHANGED TO SLIDE FROM LEFT */
    width: 320px; height: 100%;
    background: rgba(10, 15, 30, 0.65); /* Beautiful deep blue-tinted glass */
    backdrop-filter: blur(35px) saturate(200%);
    -webkit-backdrop-filter: blur(35px) saturate(200%);
    z-index: 960;
    padding: 70px 24px 40px;
    border-right: 1px solid rgba(255,255,255,0.08); /* Border on the right edge */
    box-shadow: 20px 0 50px rgba(0,0,0,0.5);
    transition: left 0.4s cubic-bezier(0.4,0,0.2,1); /* Smooth left animation */
    overflow-y: auto;
}
.mobile-menu.is-open { left: 0; }

.mobile-nav { display: flex; flex-direction: column; gap: 8px; }

/* Premium App-Like Buttons */
.mobile-nav-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem; font-weight: 500;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
    text-decoration: none;
    width: 100%; text-align: right; cursor: pointer; font-family: inherit;
}
.mobile-nav-item:hover, .mobile-nav-item:active { 
    color: #fff; 
    background: rgba(14, 165, 233, 0.15); 
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateX(-4px); /* Little slide effect when tapped */
}

.mobile-nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 10px 0;
}

**Second:** Scroll down to **Section 17. RESPONSIVE** and update the `@media (max-width: 960px)` block. I've added a single line here (`.header-actions .icon-action { display: none; }`) that magically hides the Search and Wishlist bubbles from the header, leaving only your Avatar and the Hamburger!

```css
@media (max-width: 960px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .btn-header-outline, .btn-header-solid { display: none; }
    
    /* NEW: Hides Search & Wishlist from the top bar on mobile! */
    .header-actions .icon-action { display: none; } 
    
    .hero-genre-ribbon { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-grid { grid-template-columns: 220px 1fr; }
    .watch-layout { grid-template-columns: 1fr; }
    .auth-card-premium { grid-template-columns: 1fr; max-width: 480px; }
    .auth-brand-side { display: none; }
    .dashboard-layout { flex-direction: column; }
    .dashboard-sidebar { width: 100%; height: auto; position: static; }
    .dashboard-main { width: 100%; padding: 20px; }
}

/* =====================================================
   4. FLASH MESSAGES
   ===================================================== */
.flash {
    position: fixed; top: calc(var(--header-h) + 12px); left: 50%;
    transform: translateX(-50%);
    z-index: 800;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 24px; border-radius: 99px;
    font-size: 0.9rem; font-weight: 500;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    animation: flashIn 0.4s ease, flashOut 0.4s ease 4s forwards;
    white-space: nowrap;
}
.flash-success { background: rgba(39,197,125,0.15); border: 1px solid rgba(39,197,125,0.4); color: #27c57d; }
.flash-error   { background: rgba(229,9,20,0.15); border: 1px solid rgba(229,9,20,0.4); color: #ff5a65; }
@keyframes flashIn  { from { opacity:0; transform: translate(-50%,-10px); } to { opacity:1; transform: translate(-50%,0); } }
@keyframes flashOut { from { opacity:1; } to { opacity:0; pointer-events:none; } }

/* =====================================================
   5. HERO BANNER — KurdCinema style
   ===================================================== */
.hero-banner {
    position: relative;
    height: 88vh;
    min-height: 620px;
    width: 100%;
    overflow: hidden;
    margin-top: calc(-1 * var(--header-h)); /* Pull the banner exactly to the top */
    padding-top: var(--header-h);
    background: #000;
    box-shadow: inset 0 -20px 30px -10px var(--bg-main); /* Force bottom shadow to blend with background */
}

.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity 0.9s ease;
    background-size: cover;
    background-position: center top;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

/* Cinematic dual gradient like KurdCinema */
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, var(--bg-main) 0%, rgba(6,6,8,0.75) 45%, rgba(6,6,8,0.1) 100%),
        linear-gradient(0deg, var(--bg-main) 0%, rgba(6,6,8,0.2) 35%, transparent 70%);
}

/* Side genre ribbon */
.hero-genre-ribbon {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    background: var(--primary);
    color: #fff;
    padding: 16px 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 0 6px 6px 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 4px 0 20px rgba(14, 165, 233, 0.4); /* Blue shadow */
}

/* Hero Content */
.hero-slide-inner {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-copy { max-width: 560px; }

.badge-row { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    display: inline-flex; align-items: center; gap: 5px;
}
.badge-type { background: var(--primary); color: #fff; }
.badge-plain { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); color: var(--text-muted); }

.hero-title {
    font-size: clamp(1.8rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.8);
    letter-spacing: -0.5px;
}
.hero-synopsis {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 480px;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-watch {
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700; font-size: 1rem;
    display: inline-flex; align-items: center; gap: 9px;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}
.btn-watch:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(14, 165, 233, 0.45); /* Blue shadow */
}
.btn-info {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600; font-size: 1rem;
    display: inline-flex; align-items: center; gap: 8px;
    transition: var(--transition);
}
.btn-info:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* Rating pill — bottom right of hero */
.hero-rating {
    position: absolute;
    bottom: 100px;
    left: 4%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245,197,24,0.3);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    display: inline-flex; align-items: center; gap: 7px;
    z-index: 20;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Hero Controls: counter + dots */
.hero-controls {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero-counter {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.hero-counter span:first-child { color: #fff; font-size: 1rem; }

.hero-dots { display: flex; gap: 7px; align-items: center; }
.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: 0.35s ease;
    padding: 0;
}
.hero-dot.is-active {
    width: 28px;
    border-radius: 10px;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5); /* Blue shadow */
}

/* Arrow buttons */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 46px; height: 46px;
    border-radius: 50%;
    display: grid; place-items: center;
    transition: var(--transition);
    opacity: 0;
}
.hero-banner:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: rgba(14, 165, 233, 0.7); border-color: var(--primary); }
.hero-prev { right: 20px; }
.hero-next { left: 20px; }

.hero-empty {
    height: 100%;
    display: grid; place-items: center;
    color: var(--text-muted); font-size: 1.1rem;
}

/* =====================================================
   6. SECTION HEAD
   ===================================================== */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}
.section-head h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    display: flex; align-items: center; gap: 10px;
    border-right: 4px solid var(--primary);
    padding-right: 14px;
}
.section-icon { font-size: 1.1rem; }

.inline-link {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex; align-items: center; gap: 4px;
    transition: var(--transition);
}
.inline-link:hover { color: var(--primary); }

/* =====================================================
   7. HORIZONTAL SCROLL ROW (Netflix-style)
   ===================================================== */
.cards-row-wrap {
    position: relative;
}
.cards-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cards-row::-webkit-scrollbar { display: none; }

/* Row scroll arrows */
.row-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    z-index: 10;
    background: rgba(6,6,8,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 42px; height: 42px;
    border-radius: 50%;
    display: grid; place-items: center;
    transition: var(--transition);
    opacity: 0;
}
.cards-row-wrap:hover .row-arrow { opacity: 1; }
.row-arrow:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-60%) scale(1.06); }
.row-prev { right: -14px; }
.row-next { left: -14px; }

/* =====================================================
   8. CONTENT CARDS
   ===================================================== */
.content-card {
    flex: 0 0 185px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid transparent;
    transition: var(--transition);
    position: relative;
}
.content-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    z-index: 5;
}

.content-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: var(--bg-hover);
}
.content-poster img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.content-card:hover .content-poster img { transform: scale(1.06); }

/* Play overlay */
.card-play-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.5);
    display: grid; place-items: center;
    opacity: 0;
    transition: var(--transition);
}
.content-card:hover .card-play-overlay { opacity: 1; }
.card-play-btn {
    width: 52px; height: 52px;
    background: rgba(14, 165, 233, 0.9); /* Blue play button */
    border-radius: 50%;
    display: grid; place-items: center;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5); /* Blue shadow */
    transform: scale(0.8);
    transition: transform 0.25s ease;
}
.content-card:hover .card-play-btn { transform: scale(1); }

/* Rating badge */
.card-rating {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    color: var(--accent);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: 4px;
    border: 1px solid rgba(245,197,24,0.2);
}

/* Type label */
.card-type-label {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
}

.content-body { padding: 12px 14px 14px; }
.content-title {
    font-size: 0.9rem; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 5px; color: #fff;
}
.card-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex; align-items: center; gap: 5px;
    flex-wrap: wrap;
}
.meta-dot { opacity: 0.4; }

/* =====================================================
   9. DETAIL PAGE
   ===================================================== */
.detail-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    background-size: cover;
    background-position: center 20%;
    margin-top: 0; /* REMOVED margin-top */
    padding-top: var(--header-h); /* Add padding to push content down */
}
.detail-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, var(--bg-main) 0%, rgba(6,6,8,0.85) 50%, rgba(6,6,8,0.35) 100%);
}
.detail-grid {
    position: relative; z-index: 10;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px; align-items: end;
}
.detail-poster {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.08);
}
.detail-info h1 { font-size: clamp(1.8rem,3.5vw,3rem); margin-bottom: 14px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--text-muted); margin-bottom: 22px; font-size: 0.92rem; }
.detail-synopsis { font-size: 1rem; line-height: 1.85; color: #c5c5d0; margin-bottom: 28px; max-width: 780px; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =====================================================
   10. WATCH PAGE
   ===================================================== */
.watch-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    margin-top: calc(var(--header-h) + 24px);
    margin-bottom: 40px;
}
.player-container {
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}
.player-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; }
.player-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.server-toggles {
    display: flex; gap: 8px; padding: 14px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto; scrollbar-width: none;
}
.server-btn {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    padding: 7px 15px;
    border-radius: 99px;
    font-size: 0.85rem;
    transition: var(--transition);
    white-space: nowrap;
}
.server-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.server-btn.active { background: var(--primary); color: #fff; font-weight: 600; box-shadow: var(--shadow-glow); }

.episode-sidebar {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    display: flex; flex-direction: column;
    max-height: 75vh;
    overflow: hidden;
}
.episode-sidebar-head { padding: 18px 20px; border-bottom: 1px solid var(--border-light); font-weight: 700; }
.episode-list { overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.episode-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 11px 14px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.02);
    transition: var(--transition);
}
.episode-item:hover { background: rgba(255,255,255,0.07); }
.episode-item.active { background: rgba(14, 165, 233, 0.1); border-right: 3px solid var(--primary); }

/* =====================================================
   11. BROWSE & FILTER
   ===================================================== */
.page-header { margin-top: calc(var(--header-h) + 30px); margin-bottom: 28px; }
.page-header h1 { font-size: clamp(1.6rem,3vw,2.4rem); }
.filter-bar {
    background: var(--bg-card);
    padding: 18px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    margin-bottom: 28px;
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.filter-bar input,
.filter-bar select {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    flex: 1; min-width: 140px;
    outline: none;
    transition: var(--transition);
    font-family: inherit; font-size: 0.9rem;
}
.filter-bar input:focus, .filter-bar select:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
}
.empty-state {
    text-align: center; padding: 60px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-light);
    color: var(--text-muted);
}

/* Grid view for browse */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 20px;
}
.grid-cards .content-card { flex: unset; }

/* =====================================================
   12. AUTH PAGES
   ===================================================== */
.auth-page-bg {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: calc(var(--header-h) + 40px) 20px 60px;
    background: radial-gradient(circle at top center, rgba(14, 165, 233, 0.12) 0%, transparent 55%), var(--bg-main); /* Blue radial */
}
.auth-card-premium {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    width: 100%; max-width: 980px;
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}
.auth-brand-side {
    padding: 60px 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    display: flex; flex-direction: column; justify-content: center;
    border-left: 1px solid var(--border-light);
}
.auth-brand-side h1 { font-size: 2.6rem; margin-bottom: 18px; line-height: 1.2; }
.auth-brand-side p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 28px; }
.auth-features { display: flex; flex-direction: column; gap: 12px; }
.auth-feature-item {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,0.03);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.auth-feature-item:hover { background: rgba(255,255,255,0.06); transform: translateX(-4px); }
.auth-form-side {
    padding: 60px 50px;
    background: rgba(10,10,13,0.95);
    display: flex; flex-direction: column; justify-content: center;
}
.auth-form-side h2 { margin-bottom: 28px; font-size: 1.7rem; text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 7px; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    color: #fff; padding: 13px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem; transition: var(--transition); outline: none;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12); /* Blue shadow */
}
.auth-footer-text { margin-top: 22px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.alert { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 0.9rem; text-align: center; }
.alert-error { background: rgba(229,9,20,0.12); border: 1px solid rgba(229,9,20,0.3); color: #ff6b74; }

/* =====================================================
   13. PROFILE
   ===================================================== */
.profile-hero {
    position: relative; min-height: 480px;
    margin-top: 0;
    padding-top: var(--header-h);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background-size: cover; background-position: center 20%;
    text-align: center; padding-bottom: 40px; padding-left: 20px; padding-right: 20px;
    border-bottom: none; /* Removed border */
    /* Add a solid background color behind the image just in case */
    background-color: var(--bg-main); 
}

/* * THE ULTIMATE SHADOW FIX: 
 * We use two elements. 
 * 1. The overlay darkens the image.
 * 2. An ::after element creates a solid block of background color that perfectly overlaps the gap. 
 */
.profile-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6,6,8,0.6) 0%, rgba(6,6,8,0.85) 60%, var(--bg-main) 98%);
    z-index: 1;
}

.profile-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; /* Pull it down slightly to cover any sub-pixel gap */
    left: 0;
    right: 0;
    height: 50px; /* Make it tall enough to blend */
    background: linear-gradient(to bottom, transparent, var(--bg-main) 40%, var(--bg-main));
    z-index: 2;
    pointer-events: none;
}

.profile-hero-content { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; }
.profile-hero-content { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; }
.profile-avatar-wrapper {
    position: relative; width: 110px; height: 110px;
    border-radius: 22px; background: var(--bg-card);
    border: 2px solid var(--border-light);
    display: grid; place-items: center;
    font-size: 2.8rem; font-weight: bold; color: #fff;
    margin-bottom: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}
.profile-avatar-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero-content h1 { font-size: 2rem; margin-bottom: 5px; }
.profile-stats-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.stat-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 14px 22px;
    min-width: 100px; text-align: center;
    transition: var(--transition);
}
.stat-box:hover { background: rgba(255,255,255,0.06); transform: translateY(-3px); }
.stat-box strong { display: block; font-size: 1.4rem; color: #fff; margin-bottom: 4px; }
.stat-box span { color: var(--text-muted); font-size: 0.82rem; }

/* =====================================================
   14. ADMIN DASHBOARD
   ===================================================== */
.dashboard-layout { display: flex; min-height: 100vh; background: var(--bg-main); }
.dashboard-sidebar {
    width: 260px; flex-shrink: 0;
    background: var(--bg-card);
    border-left: 1px solid var(--border-light);
    height: 100vh; position: sticky; top: 0;
    padding: 28px 18px; overflow-y: auto;
}
.dashboard-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; }
.dashboard-nav a {
    padding: 11px 16px; border-radius: var(--radius-sm);
    color: var(--text-muted);
    display: flex; align-items: center; gap: 10px;
    transition: var(--transition); font-size: 0.9rem;
}
.dashboard-nav a:hover,
.dashboard-nav a.active { background: rgba(14, 165, 233, 0.1); color: var(--primary); border-right: 3px solid var(--primary); }
.dashboard-main { flex-grow: 1; padding: 36px; width: calc(100% - 260px); }
.dashboard-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid var(--border-light); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 18px; margin-bottom: 36px; }
.stat-card {
    background: var(--bg-card); border: 1px solid var(--border-light);
    padding: 22px 18px; border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    transition: var(--transition); position: relative; overflow: hidden;
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.12); }
.stat-card::after {
    content: ''; position: absolute; top: -20px; left: -20px;
    width: 90px; height: 90px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 70%); /* Blue radial */
    border-radius: 50%;
}
.stat-card span { color: var(--text-muted); font-size: 0.88rem; }
.stat-card strong { display: block; font-size: 2rem; color: #fff; margin-top: 8px; font-weight: 800; }
.table-card { background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border-light); overflow: hidden; padding: 18px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; text-align: right; margin-top: 12px; }
.table th, .table td { padding: 14px 18px; border-bottom: 1px solid var(--border-light); }
.table th { background: rgba(255,255,255,0.02); color: var(--text-muted); font-weight: 600; font-size: 0.85rem; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-panel { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 22px; margin-bottom: 26px; }
.admin-panel h3 { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light); color: #fff; display: flex; align-items: center; gap: 8px; }

/* =====================================================
   15. FOOTER
   ===================================================== */
.site-footer { background: #07070a; border-top: 1px solid var(--border-light); padding: 64px 0 22px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer-brand p { color: var(--text-muted); line-height: 1.85; margin-top: 18px; max-width: 380px; font-size: 0.92rem; }
.footer-links h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; padding-bottom: 10px; position: relative; }
.footer-links h4::after { content: ''; position: absolute; bottom: 0; right: 0; width: 36px; height: 3px; background: var(--primary); border-radius: 2px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); display: inline-block; }
.footer-links a:hover { color: var(--primary); transform: translateX(-6px); }
.footer-bottom { text-align: center; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.04); color: var(--text-muted); font-size: 0.85rem; }

/* =====================================================
   16. UTILITIES
   ===================================================== */
.button {
    background: var(--primary); color: #fff;
    padding: 10px 22px; border-radius: 8px;
    font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
    transition: var(--transition); font-size: 0.95rem;
}
.button:hover { background: var(--primary-hover); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.button-dark { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.button-dark:hover { background: rgba(255,255,255,0.12); box-shadow: none; }

@keyframes fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* =====================================================
   17. RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
    .nav-dropdown-wrap { display: none; }
    .nav-separator { display: none; }
}
@media (max-width: 960px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .btn-header-outline, .btn-header-solid { display: none; }
    .hero-genre-ribbon { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-grid { grid-template-columns: 220px 1fr; }
    .watch-layout { grid-template-columns: 1fr; }
    .auth-card-premium { grid-template-columns: 1fr; max-width: 480px; }
    .auth-brand-side { display: none; }
    .dashboard-layout { flex-direction: column; }
    .dashboard-sidebar { width: 100%; height: auto; position: static; }
    .dashboard-main { width: 100%; padding: 20px; }
}
@media (max-width: 640px) {
    .hero-banner { height: 65vh; min-height: 480px; }
    .hero-rating { display: none; }
    .hero-copy { max-width: 100%; }
    .detail-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .detail-poster { width: 180px; }
    .detail-actions { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .grid-cards { grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 14px; }
    .content-card { flex: 0 0 150px; }
}

/* =====================================================
   18. USER LISTS (Followers / Following)
   ===================================================== */
.user-list-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 450px; 
    overflow-y: auto;
    padding: 15px 8px; /* <-- CHANGED: 15px top/bottom gives the hover shadow room to glow! */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

/* Scrollbar styles for webkit browsers */
.user-list-grid::-webkit-scrollbar {
    width: 6px;
}
.user-list-grid::-webkit-scrollbar-track {
    background: transparent;
}
.user-list-grid::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.user-list-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 12px 20px;
    border-radius: 16px;
    transition: var(--transition);
    text-decoration: none;
}
.user-list-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.user-list-avatar {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-hover);
    border: 2px solid rgba(255,255,255,0.1);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}
.user-list-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-list-info {
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.user-list-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

/* ==========================================
   🚨 THE FINAL BOSS: BUBBLING SHADOW SHIELD 🚨
   ========================================== */

/* Stop the header background from being clickable or selectable */
.site-header {
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* Protect the Main Header from losing its shadow during ANY click inside it */
.site-header .header-inner,
.site-header .header-inner:active,
.site-header .header-inner:focus,
.site-header .header-inner:focus-within {
    box-shadow: none !important; 
}

/* Protect the Scrolled Header's dark drop-shadow from flashing */
.site-header.scrolled .header-inner,
.site-header.scrolled .header-inner:active,
.site-header.scrolled .header-inner:focus,
.site-header.scrolled .header-inner:focus-within {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
}

/* Protect the Pill Wrapper's 3D glass effect from disappearing */
.nav-pill,
.nav-pill:active,
.nav-pill:focus,
.nav-pill:focus-within {
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.1) !important;
}

/* ==========================================
   🚨 OVERSCROLL LOCKS (Stop Scroll Bleeding) 🚨
   ========================================== */
.nav-dropdown, 
.user-dropdown, 
.mobile-menu, 
.custom-options, 
.user-list-grid,
.episode-list {
    /* This tells the browser: "Do not pass scroll momentum to the body!" */
    overscroll-behavior: contain !important;
}

/* Ensure the main genre dropdown has a height limit so it actually scrolls */
.nav-dropdown {
    max-height: 70vh !important;
    overflow-y: auto !important;
}