
/* ============================================
   COMPREHENSIVE DESIGN SYSTEM
   ============================================ */
   :root {
    /* === COLOR SYSTEM === */
    /* Primary Colors */
    --cinema-red: #e50914;
    --cinema-red-light: #ff6b6b;
    --cinema-red-dark: #b81d24;
    --cinema-red-hover: #f40612;
  
    /* Gold/Premium Colors */
    --cinema-gold: #d4af37;
    --cinema-gold-light: #f4d03f;
    --cinema-gold-dark: #b8941f;
  
    /* Background Colors */
    --cinema-black: #000000;
    --cinema-darker: #0a0a0a;
    --cinema-dark: #141414;
    --cinema-gray: #2d2d2d;
    --cinema-gray-light: #404040;
  
    /* Text Colors */
    --cinema-light: #ffffff;
    --cinema-text-primary: #ffffff;
    --cinema-text-secondary: rgba(255, 255, 255, 0.9);
    --cinema-text-muted: rgba(255, 255, 255, 0.7);
    --cinema-text-disabled: rgba(255, 255, 255, 0.5);
  
    /* Status Colors */
    --cinema-success: #10b981;
    --cinema-success-light: rgba(16, 185, 129, 0.25);
    --cinema-warning: #f59e0b;
    --cinema-warning-light: rgba(245, 158, 11, 0.25);
    --cinema-error: #ef4444;
    --cinema-error-light: rgba(239, 68, 68, 0.25);
    --cinema-info: #3b82f6;
    --cinema-info-light: rgba(59, 130, 246, 0.25);
  
    /* Gradients */
    --cinema-gradient: linear-gradient(135deg, #e50914 0%, #b81d24 100%);
    --cinema-gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    --cinema-gradient-dark: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    --cinema-gradient-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.6) 50%, transparent);
  
    /* Shadows & Effects */
    --cinema-glow: 0 0 20px rgba(229, 9, 20, 0.5);
    --cinema-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --cinema-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --cinema-shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.4);
    --cinema-shadow-xl: 0 12px 30px rgba(0, 0, 0, 0.5);
    --cinema-shadow-heavy: 0 18px 38px rgba(0, 0, 0, 0.9);
  
    /* Borders */
    --cinema-border: rgba(255, 255, 255, 0.08);
    --cinema-border-light: rgba(255, 255, 255, 0.05);
    --cinema-border-medium: rgba(255, 255, 255, 0.1);
    --cinema-border-strong: rgba(255, 255, 255, 0.15);
  
    /* === TYPOGRAPHY SYSTEM === */
    /* Font Families */
    --cinema-font-primary: 'Netflix Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --cinema-font-secondary: 'Poppins', 'Battambang', system-ui, -apple-system, sans-serif;
    --cinema-font-mono: 'Courier New', monospace;
  
    /* Font Sizes - Scale (Base: 16px) */
    --cinema-text-xs: 0.75rem;
    /* 12px */
    --cinema-text-sm: 0.875rem;
    /* 14px */
    --cinema-text-base: 1rem;
    /* 16px */
    --cinema-text-lg: 1.125rem;
    /* 18px */
    --cinema-text-xl: 1.25rem;
    /* 20px */
    --cinema-text-2xl: 1.5rem;
    /* 24px */
    --cinema-text-3xl: 1.875rem;
    /* 30px */
    --cinema-text-4xl: 2.25rem;
    /* 36px */
    --cinema-text-5xl: 3rem;
    /* 48px */
    --cinema-text-6xl: 3.75rem;
    /* 60px */
  
    /* Font Weights */
    --cinema-font-light: 300;
    --cinema-font-normal: 400;
    --cinema-font-medium: 500;
    --cinema-font-semibold: 600;
    --cinema-font-bold: 700;
    --cinema-font-extrabold: 800;
    --cinema-font-black: 900;
  
    /* Line Heights */
    --cinema-leading-none: 1;
    --cinema-leading-tight: 1.25;
    --cinema-leading-snug: 1.375;
    --cinema-leading-normal: 1.5;
    --cinema-leading-relaxed: 1.625;
    --cinema-leading-loose: 2;
  
    /* Letter Spacing */
    --cinema-tracking-tighter: -0.05em;
    --cinema-tracking-tight: -0.025em;
    --cinema-tracking-normal: 0;
    --cinema-tracking-wide: 0.025em;
    --cinema-tracking-wider: 0.05em;
    --cinema-tracking-widest: 0.1em;
  
    /* === SPACING SYSTEM === */
    /* Base unit: 4px */
    --cinema-space-0: 0;
    --cinema-space-1: 0.25rem;
    /* 4px */
    --cinema-space-2: 0.5rem;
    /* 8px */
    --cinema-space-3: 0.75rem;
    /* 12px */
    --cinema-space-4: 1rem;
    /* 16px */
    --cinema-space-5: 1.25rem;
    /* 20px */
    --cinema-space-6: 1.5rem;
    /* 24px */
    --cinema-space-8: 2rem;
    /* 32px */
    --cinema-space-10: 2.5rem;
    /* 40px */
    --cinema-space-12: 3rem;
    /* 48px */
    --cinema-space-16: 4rem;
    /* 64px */
    --cinema-space-20: 5rem;
    /* 80px */
    --cinema-space-24: 6rem;
    /* 96px */
  
    /* === BORDER RADIUS === */
    --cinema-radius-none: 0;
    --cinema-radius-sm: 0.25rem;
    /* 4px */
    --cinema-radius-md: 0.5rem;
    /* 8px */
    --cinema-radius-lg: 0.75rem;
    /* 12px */
    --cinema-radius-xl: 1rem;
    /* 16px */
    --cinema-radius-2xl: 1.5rem;
    /* 24px */
    --cinema-radius-full: 9999px;
  
    /* === TRANSITIONS === */
    --cinema-transition-fast: 150ms ease;
    --cinema-transition-base: 250ms ease;
    --cinema-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --cinema-transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
    /* === Z-INDEX SCALE === */
    --cinema-z-base: 1;
    --cinema-z-dropdown: 1000;
    --cinema-z-sticky: 1020;
    --cinema-z-fixed: 1030;
    --cinema-z-modal-backdrop: 1040;
    --cinema-z-modal: 1050;
    --cinema-z-popover: 1060;
    --cinema-z-tooltip: 1070;
    --cinema-z-toast: 10000;
  
    /* === LEGACY COMPATIBILITY === */
    --bg: var(--cinema-black);
    --bg-soft: var(--cinema-dark);
    --bg-card: var(--cinema-gray);
    --text: var(--cinema-text-primary);
    --muted: var(--cinema-text-muted);
    --accent: var(--cinema-red);
    --accent-soft: var(--cinema-red-light);
    --radius: var(--cinema-radius-lg);
    --shadow-heavy: var(--cinema-shadow-heavy);
    --border-soft: var(--cinema-border);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-size: 16px;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--cinema-font-secondary);
    background: var(--cinema-black);
    color: var(--cinema-text-primary);
    min-height: 100vh;
    font-size: var(--cinema-text-base);
    font-weight: var(--cinema-font-normal);
    line-height: var(--cinema-leading-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Typography Utilities */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: var(--cinema-font-bold);
    line-height: var(--cinema-leading-tight);
    color: var(--cinema-text-primary);
  }
  
  h1 {
    font-size: var(--cinema-text-5xl);
  }
  
  h2 {
    font-size: var(--cinema-text-4xl);
  }
  
  h3 {
    font-size: var(--cinema-text-3xl);
  }
  
  h4 {
    font-size: var(--cinema-text-2xl);
  }
  
  h5 {
    font-size: var(--cinema-text-xl);
  }
  
  h6 {
    font-size: var(--cinema-text-lg);
  }
  
  p {
    line-height: var(--cinema-leading-relaxed);
    color: var(--cinema-text-secondary);
  }
  
  small {
    font-size: var(--cinema-text-sm);
    color: var(--cinema-text-muted);
  }
  
  a {
    color: inherit;
    text-decoration: none
  }
  
  .kh {
    font-family: "Battambang", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif
  }
  
  .page-shell {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .94) 0%, #000 40%, #000 100%);
    min-height: 100vh;
  }
  
  /* ================= HEADER ================= */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    padding: 15px 4vw;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(0px);
  }
  
  .header.scrolled {
    background-color: #000;
    padding: 10px 4vw;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
  }
  
  .logo-link {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
  }
  
  .logo-img {
    width: 70px; /* Slightly more balanced icon size */
    height: 70px;
    object-fit: contain;
  }
  
  .logo-text {
    font-size: 18px; /* Slightly larger text for legibility */
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
    display: flex;
    align-items: center;
    color: #fff;
    text-transform: uppercase;
  }
  
  .logo-text .accent {
    margin-left: 5px;
    color: #e50914;
  }
  
  
  
  .primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: 20px;
    flex: 1;
  }
  
  .primary-nav a {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
  }
  
  .primary-nav a:hover {
    color: #b3b3b3;
  }
  
  .primary-nav a.active {
    color: #fff;
    font-weight: 700;
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  @media (max-width: 900px) {
    .primary-nav {
      gap: 12px;
      font-size: 0.85rem;
    }
  }
  
  @media (max-width: 768px) {
    .primary-nav {
      display: none
    }
  
    .header-search-wrapper {
      display: none
    }
  
    .header-actions .btnx:not(.mobile-menu-toggle) {
      display: none
    }
  
    .header-actions .user-info {
      display: none
    }
  }
  
  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: none !important;
    /* Hidden by default on desktop */
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    padding: 0;
    flex-shrink: 0;
  }
  
  .mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .25);
    transform: scale(1.05);
  }
  
  .mobile-menu-toggle:active {
    transform: scale(0.95);
  }
  
  .mobile-menu-toggle svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.5;
  }
  
  /* Show only on mobile screens */
  @media (max-width: 720px) {
    .mobile-menu-toggle {
      display: flex !important;
    }
  }
  
  /* Ensure it's hidden on desktop */
  @media (min-width: 721px) {
    .mobile-menu-toggle {
      display: none !important;
    }
  }
  
  /* Mobile Menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .98);
    backdrop-filter: blur(20px);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 80px 4vw 40px;
  }
  
  .mobile-menu.active {
    transform: translateX(0);
  }
  
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  
  .mobile-menu-close {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
  }
  
  .mobile-menu-close:hover {
    background: rgba(255, 255, 255, .12);
  }
  
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .mobile-nav a {
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 1rem;
    transition: all .2s ease;
    border: 1px solid transparent;
  }
  
  .mobile-nav a:hover,
  .mobile-nav a.active {
    color: #fff;
    background: rgba(229, 9, 20, .16);
    border-color: rgba(229, 9, 20, .25);
  }
  
  .mobile-search {
    margin: 24px 0;
    padding: 16px;
    background: rgba(255, 255, 255, .05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
  }
  
  .mobile-search-form {
    display: flex;
    gap: 8px;
  }
  
  .mobile-search-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    color: #fff;
    font-size: .95rem;
  }
  
  .mobile-search-input:focus {
    outline: none;
    border-color: #e50914;
    background: rgba(255, 255, 255, .12);
  }
  
  .mobile-search-input::placeholder {
    color: rgba(255, 255, 255, .4);
  }
  
  .mobile-search-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #e50914, #ff6b6b);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-menu-actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .mobile-menu-actions .btnx {
    width: 100%;
    justify-content: center;
  }
  
  /* Header Search - Enhanced */
  .header-search-wrapper {
    position: relative;
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
  }
  
  .header-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    padding: 0;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }
  
  .header-search-form:focus-within {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(229, 9, 20, .5);
    box-shadow: 0 4px 16px rgba(229, 9, 20, .2);
    transform: translateY(-1px);
  }
  
  .header-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: .85rem;
    padding: 8px 14px;
    outline: none;
    font-weight: 400;
  }
  
  .header-search-input::placeholder {
    color: rgba(255, 255, 255, .5);
  }
  
  .header-search-btn {
    background: #e50914;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
    flex-shrink: 0;
  }
  
  .header-search-btn:hover {
    background: linear-gradient(135deg, rgba(229, 9, 20, 1), rgba(255, 107, 107, 1));
    transform: scale(1.05);
  }
  
  .header-search-btn:active {
    transform: scale(0.95);
  }
  
  .header-search-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .search-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(20, 20, 20, .98), rgba(15, 15, 15, .98));
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, .1);
    margin-top: 4px;
    max-height: 500px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .05);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease;
  }
  
  .search-suggestions-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  
  .search-suggestions-dropdown::-webkit-scrollbar {
    width: 8px;
  }
  
  .search-suggestions-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .05);
    border-radius: 10px;
  }
  
  .search-suggestions-dropdown::-webkit-scrollbar-thumb {
    background: rgba(229, 9, 20, .5);
    border-radius: 10px;
  }
  
  .search-suggestions-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(229, 9, 20, .7);
  }
  
  .suggestion-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    color: #fff;
    text-decoration: none;
    transition: all .2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    position: relative;
    overflow: hidden;
  }
  
  .suggestion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #e50914, #ff6b6b);
    transform: scaleY(0);
    transition: transform .2s ease;
  }
  
  .suggestion-item:hover {
    background: rgba(229, 9, 20, .1);
    padding-left: 20px;
  }
  
  .suggestion-item:hover::before {
    transform: scaleY(1);
  }
  
  .suggestion-item:last-child {
    border-bottom: none;
  }
  
  .suggestion-poster {
    width: 60px;
    height: 85px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    flex-shrink: 0;
    transition: transform .2s ease;
  }
  
  .suggestion-item:hover .suggestion-poster {
    transform: scale(1.05);
  }
  
  .suggestion-info {
    flex: 1;
    min-width: 0;
  }
  
  .suggestion-title {
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 6px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .suggestion-meta {
    font-size: .8rem;
    color: rgba(255, 255, 255, .6);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .suggestion-type {
    font-size: .75rem;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(229, 9, 20, .2), rgba(255, 107, 107, .2));
    border-radius: 6px;
    color: #ff6b6b;
    font-weight: 600;
    flex-shrink: 0;
    border: 1px solid rgba(229, 9, 20, .3);
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .header-actions form {
    margin: 0;
  }
  
  .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
  }
  
  .user-info a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  
  .user-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(229, 9, 20, .8), rgba(180, 7, 15, .9));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
    overflow: hidden;
  }
  
  .user-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
  }
  
  .user-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(229, 9, 20, .5);
  }
  
  .user-icon::after {
    content: attr(data-phone);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 6px 10px;
    background: rgba(0, 0, 0, .9);
    color: #fff;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    margin-bottom: 4px;
  }
  
  .user-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  
  .btnx {
    border-radius: 999px;
    padding: 8px 16px;
    font-size: .9rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
    user-select: none;
  }
  
  .btn-smoke {
    background: rgba(255, 255, 255, .08);
    color: #f5f5f5;
    border-color: rgba(255, 255, 255, .12);
  }
  
  .btn-smoke:hover {
    background: rgba(255, 255, 255, .16);
    transform: translateY(-1px)
  }
  
  .btn-primaryx {
    background: radial-gradient(circle at 0 0, #ff8686, var(--accent) 40%, #bd050e 100%);
    color: #fff;
    box-shadow: 0 0 18px rgba(229, 9, 20, .7);
  }
  
  .btn-primaryx:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 0 26px rgba(229, 9, 20, .85);
  }
  
  /* ================= HERO (carousel lives behind) ================= */
  .hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 4vw 80px;
    overflow: hidden;
  }
  
  .hero-carousel-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden
  }
  
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: 100%;
    min-height: 80vh;
  }
  
  .hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
    transform: scale(1.02);
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .2), rgba(0, 0, 0, .82) 45%, #000 100%);
  }
  
  .hero-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
  }
  
  .hero-eyebrow {
    font-size: .75rem;
    text-transform: uppercase;
    color: var(--accent-soft);
    letter-spacing: .16em;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  
  .hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(229, 9, 20, .8);
  }
  
  .hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: .02em;
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    color: #e5e5e5;
    margin-bottom: 26px
  }
  
  .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    font-size: .8rem;
    margin-bottom: 18px;
  }
  
  .pill {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, .06);
  }
  
  .pill.red {
    background: rgba(229, 9, 20, .18);
    color: #ffb3ba;
    border-color: rgba(229, 9, 20, .5);
  }
  
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 9%;
    opacity: .75;
    transition: opacity .2s ease;
  }
  
  .hero-carousel .carousel-control-prev:hover,
  .hero-carousel .carousel-control-next:hover {
    opacity: 1
  }
  
  .hero-carousel .carousel-indicators [data-bs-target] {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    opacity: .35;
  }
  
  .hero-carousel .carousel-indicators .active {
    opacity: 1
  }
  
  @media (max-width:600px) {
    .hero {
      padding-top: 70px;
      min-height: 70vh
    }
  
    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
      min-height: 70vh
    }
  
    .hero-title {
      font-size: 2.15rem
    }
  }
  
  /* ================= FOOTER ================= */
  .footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 28px 4vw 20px;
    background: #050505;
    margin-top: 20px;
    color: var(--muted);
    font-size: .8rem;
  }
  
  .footer-main {
    max-width: 1280px;
    margin: 0 auto 18px;
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr);
    gap: 28px;
  }
  
  @media (max-width:900px) {
    .footer-main {
      grid-template-columns: 1fr
    }
  }
  
  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px
  }
  
  .footer-logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(229, 9, 20, .55));
  }
  
  .footer-logo-title {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .9rem;
  }
  
  .footer-logo-title span {
    color: var(--accent)
  }
  
  .footer-logo-sub {
    font-size: .75rem;
    color: var(--muted)
  }
  
  .footer-description {
    font-size: .8rem;
    color: var(--muted);
    max-width: 420px
  }
  
  .footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px
  }
  
  .badge-pill {
    font-size: .7rem;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .03);
  }
  
  .footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  
  @media (max-width:700px) {
    .footer-columns {
      grid-template-columns: repeat(2, minmax(0, 1fr))
    }
  }
  
  @media (max-width:520px) {
    .footer-columns {
      grid-template-columns: 1fr
    }
  }
  
  .footer-col-title {
    font-size: .85rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: #fff
  }
  
  .footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px
  }
  
  .footer-link-list a {
    color: var(--muted)
  }
  
  .footer-link-list a:hover {
    color: #fff
  }
  
  .footer-link-list li span {
    color: #9ca3af
  }
  
  .footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: .75rem;
  }
  
  .footer-language {
    display: flex;
    align-items: center;
    gap: 6px
  }
  
  .lang-btn {
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .03);
    color: var(--muted);
    font-size: .72rem;
    cursor: pointer;
  }
  
  .lang-btn.active {
    border-color: var(--accent);
    color: #fff
  }
  
  .footer-bottom-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
  }
  
  .footer-bottom-links a {
    color: var(--muted)
  }
  
  .footer-bottom-links a:hover {
    color: #fff
  }
  
  /* Mobile Responsive Header */
  @media (max-width: 720px) {
    .header {
      padding: 10px 4vw;
      flex-wrap: wrap;
      transform: translateY(0);
      transition: transform 0.3s ease-in-out;
    }
  
    .header.hidden {
      transform: translateY(-100%);
    }
  
    .logo-link {
      flex: 1;
      min-width: 0;
      gap: 10px;
    }
  
    .logo-link img {
      width: 48px;
      height: 48px;
    }
  
    .logo-text {
      font-size: 0.9rem;
    }
  
    .header-actions {
      gap: 8px;
    }
  }
  
  @media (max-width: 480px) {
    .header {
      padding: 10px 3vw;
    }
  
    .logo-link {
      gap: 8px;
    }
  
    .logo-link img {
      width: 42px;
      height: 42px;
    }
  
    .logo-text {
      font-size: 0.8rem;
    }
  }
  
/* =========================================
   GLOBAL CARD COMPONENT (Premium Design)
   ========================================= */
/* Card Base */
.movie-card,
.card {
  background: #17181e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  padding: 8px;
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 0;
  animation: fadeCard 0.4s ease forwards;
}

@keyframes fadeCard {
  to {
    opacity: 1;
  }
}

.card:active {
  transform: scale(0.98);
  background: #202128;
  border-color: rgba(255, 255, 255, 0.2);
}

.card:focus {
  outline: 2px solid #e50914;
  outline-offset: 2px;
}

/* Poster with Padding Hack (2:3 Ratio) */
.card-poster {
  position: relative;
  width: 100%;
  padding-top: 150%;
  /* Force 1.5 aspect ratio */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #222;
  flex-shrink: 0;
}

.card-poster img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Skeleton Loading Effect */
.card-poster.loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-100%);
  animation: skeletonLoading 1.5s infinite;
  z-index: 2;
}

@keyframes skeletonLoading {
  100% {
    transform: translateX(100%);
  }
}

/* Badges */
.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e50914;
  color: #fff;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  z-index: 5;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
  border: none;
}

/* Favorite Button */
.favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
  transition: background 0.2s;
  cursor: pointer;
}

.favorite-btn:active {
  background: rgba(229, 9, 20, 0.9);
}

.favorite-btn.favorited {
  background: #e50914;
  border-color: #e50914;
}

.favorite-btn svg {
  fill: currentColor;
}

/* Typography */
.card-info {
  padding: 0 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  justify-content: flex-start;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 0.7rem;
  font-weight: 500;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.7);
}

.info-item svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .card-title {
    font-size: 0.85rem;
  }

  .card-meta {
    font-size: 0.7rem;
    gap: 6px;
  }

  .info-item svg {
    width: 10px;
    height: 10px;
  }
}

/* Add padding-top to body to prevent content from going under the fixed header */
  body {
    padding-top: 120px;
    /* Offset for fixed header */
  }

  @media (max-width: 768px) {
    body {
      padding-top: 100px;
    }
    }

     /* Bottom Navigation Bar - Mobile First Optimization */
     .bottom-nav {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 1000;
        padding-bottom: env(safe-area-inset-bottom);
        height: calc(60px + env(safe-area-inset-bottom));
        transform: translateY(0);
        transition: transform 0.3s ease-in-out;
      }
  
      .bottom-nav.hidden {
        transform: translateY(100%);
      }
  
      @media (max-width: 768px) {
        .bottom-nav {
          display: flex;
          justify-content: space-around;
          align-items: center;
        }
  
        /* Hide regular header items on mobile to reduce clutter */
        .header {
          padding: 10px 16px;
        }
  
        .mobile-menu-toggle {
          display: none !important;
          /* Replaced by bottom nav */
        }
  
        /* Increase scroll padding so content isn't hidden behind nav */
        html {
          scroll-padding-bottom: 80px;
        }
  
        body {
          padding-bottom: 70px;
          /* Space for bottom nav */
        }
      }
  
      .bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.5);
        font-size: 10px;
        font-weight: 500;
        text-decoration: none;
        width: 100%;
        height: 100%;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 4px;
      }
  
      .bottom-nav .nav-item svg {
        transition: transform 0.2s ease, stroke 0.2s ease;
        opacity: 0.8;
      }
  
      .bottom-nav .nav-item.active {
        color: #e50914;
        /* Cinema Red */
      }
  
      .bottom-nav .nav-item.active svg {
        stroke: #e50914;
        opacity: 1;
        transform: translateY(-2px);
        filter: drop-shadow(0 4px 6px rgba(229, 9, 20, 0.3));
      }
  
      .bottom-nav .nav-item:active svg {
        transform: scale(0.9);
      }
  
      /* Skeleton Loading Animation */
      @keyframes shimmer {
        0% {
          background-position: -200% 0;
        }
  
        100% {
          background-position: 200% 0;
        }
      }
  
      .skeleton {
        background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.1) 37%,
            rgba(255, 255, 255, 0.05) 63%);
        background-size: 400% 100%;
        animation: shimmer 1.5s ease infinite;
        border-radius: 4px;
      }
  
      /* UX Improvements */
      .touch-ripple {
        position: relative;
        overflow: hidden;
      }
  
      .touch-ripple::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        pointer-events: none;
      }
  
      .touch-ripple:active::after {
        transform: translate(-50%, -50%) scale(2);
        opacity: 1;
        transition: 0s;
      }