/* ============================================================
   Info Film ID — Cinema21 Style Theme
   ============================================================ */

    /* ============================================================
       Design Tokens — Red Brand Theme
       ============================================================ */
    :root {
      --brand: #ED1C24;
      --brand-hover: #C8171E;
      --brand-dim: rgba(237, 28, 36, 0.08);
      --brand-gradient: linear-gradient(135deg, #ED1C24, #C8171E);
      --bg-primary: #ffffff;
      --bg-secondary: #F4F5F7;
      --bg-card: #ffffff;
      --bg-card-hover: #FAFAFA;
      --text-primary: #1a1a2e;
      --text-secondary: #6B7280;
      --text-muted: #9CA3AF;
      --border: #E5E7EB;
      --border-strong: #D1D5DB;
      --radius: 10px;
      --radius-sm: 6px;
      --radius-lg: 16px;
      --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
      --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
      --transition: all 0.2s ease;
      --container: 1200px;
    }

    /* ============================================================
       Reset + Base
       ============================================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
    }

    img { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg-secondary); }
    ::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--brand); }

    /* Selection */
    ::selection { background: var(--brand-dim); color: var(--brand); }

    /* ============================================================
       Layout
       ============================================================ */
    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 16px;
    }

    @media (min-width: 640px) {
      .container { padding: 0 24px; }
    }

    /* ============================================================
       Header — Cinema21 Style
       ============================================================ */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--bg-primary);
      border-bottom: 1px solid transparent;
      box-shadow: none;
      transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .site-header.scrolled {
      background: rgba(255, 255, 255, 0.97);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom-color: var(--border);
      box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    }

    /* Mobile: solid bg instead of blur (performance + no content bleed) */
    @media (max-width: 639px) {
      .site-header.scrolled {
        background: var(--bg-primary);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
      }
    }

    .header-inner {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 56px;
    }

    @media (min-width: 640px) {
      .header-inner { padding: 0 24px; height: 64px; }
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 1.2rem;
      font-weight: 800;
      color: var(--brand);
      letter-spacing: -0.02em;
    }

    .logo svg { flex-shrink: 0; }

    .logo-text { line-height: 1; }
    .logo-text span { display: none; }

    @media (min-width: 400px) {
      .logo-text span { display: block; font-size: 0.6rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0.05em; }
    }

    .main-nav {
      display: none;
    }

    @media (min-width: 768px) {
      .main-nav {
        display: flex;
        gap: 4px;
        align-items: center;
      }
    }

    .main-nav a {
      padding: 5px 10px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--text-secondary);
      transition: var(--transition);
      white-space: nowrap;
    }

    @media (min-width: 900px) {
      .main-nav a { padding: 6px 14px; font-size: 0.875rem; }
    }

    .main-nav a:hover,
    .main-nav a.active {
      background: var(--brand-dim);
      color: var(--brand);
    }

    .nav-cta {
      display: none;
      padding: 8px 20px;
      background: var(--brand);
      color: #fff !important;
      border-radius: 20px;
      font-size: 0.875rem;
      font-weight: 600;
    }

    .nav-cta:hover { background: var(--brand-hover) !important; }

    @media (min-width: 640px) {
      .nav-cta { display: inline-flex; }
    }

    /* Mobile nav toggle */
    .nav-toggle {
      display: flex;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      color: var(--text-primary);
    }

    @media (min-width: 768px) {
      .nav-toggle { display: none; }
    }

    .mobile-nav {
      display: none;
      position: absolute;
      top: 56px;
      left: 0;
      right: 0;
      background: var(--bg-primary);
      border-bottom: 1px solid var(--border);
      padding: 8px 12px;
      box-shadow: var(--shadow);
      z-index: 99;
    }

    @media (min-width: 640px) {
      .mobile-nav { top: 64px; }
    }

    .mobile-nav.open { display: block; }

    .mobile-nav a {
      display: block;
      padding: 10px 16px;
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      color: var(--text-secondary);
      transition: var(--transition);
    }

    .mobile-nav a:hover { background: var(--bg-secondary); color: var(--brand); }

    /* ============================================================
       Hero Carousel
       ============================================================ */
    .hero-carousel {
      position: relative;
      width: 100%;
      height: 320px;
      overflow: hidden;
      background: var(--bg-secondary);
    }

    @media (min-width: 480px) { .hero-carousel { height: 380px; } }
    @media (min-width: 640px) { .hero-carousel { height: 460px; } }
    @media (min-width: 768px) { .hero-carousel { height: 500px; } }
    @media (min-width: 1024px) { .hero-carousel { height: 560px; } }

    .carousel-track {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .carousel-slide {
      min-width: 100%;
      height: 100%;
      position: relative;
      display: flex;
      align-items: flex-end;
      background-size: cover;
      background-position: center;
    }

    .carousel-slide::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(10,10,20,0.92) 0%, rgba(10,10,20,0.4) 50%, rgba(10,10,20,0.1) 100%);
    }

    .carousel-content {
      position: relative;
      z-index: 2;
      width: 100%;
      padding: 0 16px 80px;
    }

    @media (min-width: 640px) {
      .carousel-content { padding: 0 40px 60px; }
    }

    .carousel-badge {
      display: inline-block;
      background: var(--brand);
      color: #fff;
      padding: 3px 10px;
      border-radius: 3px;
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 8px;
    }

    @media (min-width: 480px) {
      .carousel-badge { padding: 4px 12px; font-size: 0.75rem; margin-bottom: 12px; }
    }

    .carousel-title {
      font-size: clamp(1rem, 5vw, 2.2rem);
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
      letter-spacing: -0.02em;
      margin-bottom: 6px;
      max-width: 600px;
    }

    @media (min-width: 480px) {
      .carousel-title { font-size: clamp(1.1rem, 5vw, 2.2rem); margin-bottom: 8px; }
    }

    .carousel-meta {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 12px;
    }

    .carousel-meta span {
      color: rgba(255,255,255,0.75);
      font-size: 0.8rem;
    }

    .carousel-meta .rating-inline {
      display: flex;
      align-items: center;
      gap: 3px;
      color: #fbbf24;
      font-weight: 600;
      font-size: 0.85rem;
    }

    .carousel-cta {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 18px;
      background: var(--brand);
      color: #fff;
      border-radius: 20px;
      font-weight: 600;
      font-size: 0.82rem;
      transition: var(--transition);
    }

    @media (min-width: 480px) {
      .carousel-cta { padding: 10px 24px; font-size: 0.9rem; }
    }

    .carousel-cta:hover {
      background: var(--brand-hover);
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(237, 28, 36, 0.4);
    }

    /* Carousel controls */
    .carousel-prev,
    .carousel-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,0.2);
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }

    .carousel-prev:hover,
    .carousel-next:hover {
      background: rgba(255,255,255,0.3);
    }

    .carousel-prev { left: 12px; }
    .carousel-next { right: 12px; }

    @media (max-width: 480px) {
      .carousel-prev, .carousel-next { display: none; }
    }

    .carousel-dots {
      position: absolute;
      bottom: 16px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      display: flex;
      gap: 6px;
    }

    .carousel-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255,255,255,0.4);
      cursor: pointer;
      transition: var(--transition);
      border: none;
    }

    .carousel-dot.active {
      background: var(--brand);
      width: 24px;
      border-radius: 4px;
    }

    /* ============================================================
       Main Content
       ============================================================ */
    .main-content {
      padding-bottom: 60px;
    }

    /* ============================================================
       Section Headers — Cinema21 Style
       ============================================================ */
    .section {
      padding: 24px 0 0;
    }

    @media (min-width: 640px) {
      .section { padding: 40px 0 0; }
    }

    .section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 24px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--border);
    }

    .section-title {
      font-size: 0.95rem;
      font-weight: 800;
      color: var(--text-primary);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    @media (min-width: 640px) {
      .section-title { font-size: 1.1rem; }
    }

    .section-title::before {
      content: '';
      width: 3px;
      height: 16px;
      background: var(--brand);
      border-radius: 2px;
    }

    @media (min-width: 640px) {
      .section-title::before { height: 20px; }
    }

    .section-link {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--brand);
      display: flex;
      align-items: center;
      gap: 4px;
      transition: gap 0.2s;
    }

    .section-link:hover { gap: 8px; }

    /* ============================================================
       Film Grid — Mobile First
       ============================================================ */
    .film-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    @media (min-width: 400px) {
      .film-grid { gap: 12px; }
    }

    @media (min-width: 480px) {
      .film-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    }

    @media (min-width: 640px) {
      .film-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 20px; }
    }

    @media (min-width: 768px) {
      .film-grid { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); }
    }

    @media (min-width: 1024px) {
      .film-grid { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); }
    }

    /* ============================================================
       Film Row Header (title + Lihat Semua top-right)
       ============================================================ */
    .film-row-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }

    .btn-lihat {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--brand);
      text-decoration: none;
      letter-spacing: 0.02em;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .btn-lihat:hover {
      color: var(--brand-hover);
      text-decoration: underline;
    }

    /* ============================================================
       Film Row Wrapper (arrows on sides of scrollable row)
       ============================================================ */
    .film-row-wrapper {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* ============================================================
       Scroll Side Buttons (prev/next flanking the row)
       ============================================================ */
    .scroll-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255,255,255,0.95);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--text-primary);
      box-shadow: 0 2px 8px rgba(0,0,0,0.12);
      transition: all 0.2s;
      flex-shrink: 0;
      z-index: 2;
    }

    .scroll-btn:hover {
      background: var(--brand);
      border-color: var(--brand);
      color: #fff;
      box-shadow: 0 2px 12px rgba(237,28,36,0.3);
    }

    .scroll-btn:disabled {
      opacity: 0.3;
      cursor: not-allowed;
      box-shadow: none;
    }

    .scroll-btn:disabled:hover {
      background: rgba(255,255,255,0.95);
      border-color: var(--border);
      color: var(--text-primary);
    }

    /* ============================================================
       Film Scroll Row (horizontal scroll, centered)
       ============================================================ */
    .film-scroll-row {
      display: flex;
      gap: 16px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 12px;
      flex: 1;
      min-width: 0;
    }

    /* Center the scroll row — no side padding needed */
    .film-scroll-row::-webkit-scrollbar { height: 4px; }
    .film-scroll-row::-webkit-scrollbar-track { background: transparent; }
    .film-scroll-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

    .film-scroll-row .film-card {
      flex: 0 0 calc(50% - 8px);
      min-width: 140px;
      max-width: 180px;
      scroll-snap-align: start;
    }

    @media (min-width: 480px) {
      .film-scroll-row {
        gap: 20px;
      }
      .film-scroll-row .film-card {
        flex: 0 0 calc(33.333% - 14px);
        min-width: 155px;
        max-width: 200px;
      }
    }

    @media (min-width: 640px) {
      .film-row-wrapper { gap: 12px; }
      .film-scroll-row .film-card {
        flex: 0 0 calc(25% - 15px);
        min-width: 160px;
        max-width: 210px;
      }
    }

    @media (min-width: 768px) {
      .film-scroll-row .film-card {
        flex: 0 0 calc(25% - 15px);
        min-width: 170px;
        max-width: 220px;
      }
    }

    @media (min-width: 1024px) {
      .film-scroll-row .film-card {
        flex: 0 0 200px;
        min-width: 180px;
        max-width: 220px;
      }
    }

    .film-scroll-row .film-card .film-poster {
      aspect-ratio: 2/3;
      border-radius: 10px;
    }

    .film-scroll-row .film-info {
      padding: 8px 4px 0;
    }

    .film-scroll-row .film-title {
      font-size: 0.8rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .film-scroll-row .film-meta {
      font-size: 0.7rem;
    }

    /* ============================================================
       Film Card
       ============================================================ */
    .film-card {
      display: block;
      border-radius: var(--radius);
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      background: var(--bg-card);
    }

    .film-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-lg);
    }

    .film-poster {
      position: relative;
      aspect-ratio: 2/3;
      border-radius: var(--radius-sm);
      overflow: hidden;
      background: var(--bg-secondary);
    }

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

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

    .film-poster-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--bg-secondary);
      color: var(--text-muted);
    }

    /* Age rating badge — top left on poster */
    .age-badge {
      position: absolute;
      top: 6px;
      left: 6px;
      background: rgba(0,0,0,0.8);
      color: #fff;
      font-size: 0.6rem;
      font-weight: 800;
      padding: 2px 5px;
      border-radius: 3px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      line-height: 1;
    }

    @media (min-width: 480px) {
      .age-badge { top: 8px; left: 8px; font-size: 0.65rem; padding: 2px 6px; }
    }

    /* Rating badge — top right on poster */
    .rating-badge {
      position: absolute;
      top: 6px;
      right: 6px;
      background: rgba(0,0,0,0.8);
      color: #fbbf24;
      font-size: 0.65rem;
      font-weight: 700;
      padding: 2px 5px;
      border-radius: 3px;
      display: flex;
      align-items: center;
      gap: 2px;
      line-height: 1;
    }

    @media (min-width: 480px) {
      .rating-badge { top: 8px; right: 8px; font-size: 0.7rem; padding: 2px 6px; }
    }

    /* Hover overlay */
    .film-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 8px;
      background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    .film-card:hover .film-overlay { opacity: 1; }

    .film-overlay-genre {
      font-size: 0.65rem;
      font-weight: 600;
      background: var(--brand);
      color: #fff;
      padding: 2px 6px;
      border-radius: 3px;
    }

    /* Card info below poster */
    .film-info {
      padding: 8px 2px 2px;
    }

    .film-title {
      font-size: 0.75rem;
      font-weight: 600;
      line-height: 1.3;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      color: var(--text-primary);
      margin-bottom: 2px;
    }

    @media (min-width: 480px) {
      .film-info { padding: 10px 2px 4px; }
      .film-title { font-size: 0.85rem; margin-bottom: 3px; }
    }

    .film-meta {
      display: flex;
      gap: 4px;
      align-items: center;
      font-size: 0.7rem;
      color: var(--text-muted);
      flex-wrap: wrap;
    }

    .film-genre-tag {
      background: var(--bg-secondary);
      color: var(--text-secondary);
      padding: 1px 5px;
      border-radius: 3px;
      font-size: 0.65rem;
      font-weight: 500;
    }

    /* Coming Soon */
    .coming-section {
      background: var(--bg-secondary);
      margin-top: 24px;
      padding: 28px 0;
    }

    @media (min-width: 640px) {
      .coming-section { margin-top: 40px; padding: 40px 0; }
    }

    .coming-section .section-header {
      border-bottom-color: var(--border-strong);
    }

    /* ============================================================
       Genre Showcase — 3 Column Cards
       ============================================================ */
    .genre-showcase {
      padding: 32px 0 0;
    }

    .genre-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }

    @media (min-width: 480px) {
      .genre-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    }

    @media (min-width: 768px) {
      .genre-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    }

    .genre-card {
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      background: var(--bg-card);
    }

    .genre-card:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
    }

    .genre-card-header {
      padding: 14px 16px 12px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 12px;
    }

    @media (min-width: 640px) {
      .genre-card-header { padding: 18px 20px 14px; }
    }

    .genre-card-icon {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      flex-shrink: 0;
    }

    @media (min-width: 640px) {
      .genre-card-icon { width: 40px; height: 40px; }
    }

    .genre-card-title {
      font-size: 0.9rem;
      font-weight: 800;
      color: var(--text-primary);
    }

    @media (min-width: 640px) {
      .genre-card-title { font-size: 1rem; }
    }

    .genre-card-count {
      font-size: 0.72rem;
      color: var(--text-muted);
      margin-top: 1px;
    }

    .genre-card-body {
      padding: 10px 16px 16px;
    }

    @media (min-width: 640px) {
      .genre-card-body { padding: 12px 20px 20px; }
    }

    .genre-film-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .genre-film-item {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .genre-film-item-poster {
      width: 42px;
      height: 64px;
      border-radius: 5px;
      overflow: hidden;
      flex-shrink: 0;
      background: var(--bg-secondary);
    }

    @media (min-width: 640px) {
      .genre-film-item-poster { width: 48px; height: 72px; }
    }

    .genre-film-item-poster img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .genre-film-item-info { flex: 1; min-width: 0; }

    .genre-film-item-title {
      font-size: 0.78rem;
      font-weight: 600;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      line-height: 1.3;
      margin-bottom: 2px;
    }

    .genre-film-item-meta {
      font-size: 0.68rem;
      color: var(--text-muted);
    }

    /* ============================================================
       Loading State
       ============================================================ */
    .loading-spinner {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 60px 20px;
      gap: 16px;
      color: var(--text-muted);
    }

    .spinner {
      width: 36px;
      height: 36px;
      border: 3px solid var(--border);
      border-top-color: var(--brand);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    /* ============================================================
       Error
       ============================================================ */
    .error-card {
      background: rgba(239, 68, 68, 0.06);
      border: 1px solid rgba(239, 68, 68, 0.2);
      border-radius: var(--radius);
      padding: 20px;
      color: #dc2626;
      text-align: center;
      margin-bottom: 32px;
    }

    /* ============================================================
       Empty State
       ============================================================ */
    .empty-state {
      text-align: center;
      padding: 48px 20px;
    }

    .empty-icon {
      width: 64px;
      height: 64px;
      background: var(--bg-secondary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      color: var(--text-muted);
    }

    .empty-title {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .empty-desc {
      color: var(--text-muted);
      font-size: 0.875rem;
    }

    /* ============================================================
       Buttons
       ============================================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 20px;
      border-radius: var(--radius-sm);
      font-size: 0.875rem;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: var(--transition);
      white-space: nowrap;
    }

    .btn-primary {
      background: var(--brand);
      color: #fff;
    }

    .btn-primary:hover {
      background: var(--brand-hover);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(237, 28, 36, 0.3);
    }

    .btn-secondary {
      background: var(--bg-secondary);
      color: var(--text-primary);
      border: 1px solid var(--border);
    }

    .btn-secondary:hover {
      background: var(--bg-card);
      border-color: var(--brand);
      color: var(--brand);
    }

    .btn:active { transform: translateY(0); }

    /* ============================================================
       Search Box
       ============================================================ */
    .search-section {
      padding: 24px 0 4px;
    }

    .search-wrapper {
      max-width: 560px;
      margin: 0 auto;
      padding: 0 4px;
    }

    .search-box {
      display: flex;
      gap: 6px;
      background: var(--bg-card);
      border: 1.5px solid var(--border);
      border-radius: 24px;
      padding: 5px 5px 5px 16px;
      transition: var(--transition);
      box-shadow: var(--shadow);
      flex-wrap: nowrap;
    }

    .search-box:focus-within {
      border-color: var(--brand);
      box-shadow: 0 0 0 3px var(--brand-dim);
    }

    .search-icon {
      color: var(--text-muted);
      align-self: center;
      flex-shrink: 0;
    }

    .search-input {
      flex: 1;
      background: none;
      border: none;
      outline: none;
      color: var(--text-primary);
      font-size: 0.9rem;
      padding: 6px 0;
      min-width: 0;
    }

    .search-input::placeholder { color: var(--text-muted); }

    .search-btn {
      border-radius: 20px;
      flex-shrink: 0;
      padding: 8px 16px;
      font-size: 0.85rem;
    }

    .search-info {
      text-align: center;
      margin-top: 10px;
      font-size: 0.8rem;
      color: var(--text-secondary);
      padding: 0 4px;
    }

    /* ============================================================
       Tags
       ============================================================ */
    .tag {
      display: inline-block;
      background: var(--bg-secondary);
      color: var(--text-secondary);
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 500;
    }

    /* ============================================================
       Breadcrumb
       ============================================================ */
    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 16px 0 0;
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    .breadcrumb a { color: var(--brand); }
    .breadcrumb a:hover { text-decoration: underline; }

    /* ============================================================
       Film Detail Page (synced to red theme)
       ============================================================ */
    .movie-hero {
      width: 100%;
      min-height: 300px;
      background: var(--bg-secondary);
    }

    .movie-hero.has-backdrop {
      background-size: cover;
      background-position: center top;
      min-height: 400px;
    }

    .movie-info-grid {
      display: grid;
      grid-template-columns: 120px 1fr;
      gap: 20px;
      padding: 24px 0 0;
      align-items: start;
    }

    @media (min-width: 480px) {
      .movie-info-grid { grid-template-columns: 150px 1fr; gap: 28px; }
    }

    @media (max-width: 360px) {
      .movie-info-grid { grid-template-columns: 100px 1fr; gap: 14px; }
    }

    .movie-info-poster-col {
      position: sticky;
      top: 72px;
    }

    @media (max-width: 360px) {
      .movie-info-poster-col { position: static; max-width: 140px; margin: 0 auto; }
    }

    .movie-detail-poster-wrap {
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    .movie-detail-poster-img {
      width: 100%;
      aspect-ratio: 2/3;
      object-fit: cover;
    }

    .movie-detail-poster-fallback {
      width: 100%;
      aspect-ratio: 2/3;
      background: var(--bg-secondary);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      color: var(--text-muted);
      font-size: 0.75rem;
    }

    .movie-info-content-col { padding-bottom: 32px; }

    .movie-detail-title {
      font-size: clamp(1.4rem, 4vw, 2.2rem);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.02em;
      margin-bottom: 6px;
    }

    .movie-tagline {
      color: var(--brand);
      font-style: italic;
      font-size: 0.95rem;
      margin-bottom: 12px;
    }

    .movie-rating {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
    }

    .rating-score {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--brand);
      line-height: 1;
    }

    .star-filled { color: #fbbf24; }
    .star-empty { color: var(--border-strong); }

    .rating-count { font-size: 0.75rem; color: var(--text-muted); }

    .movie-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 14px;
    }

    .info-table {
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      overflow: hidden;
      margin: 12px 0;
    }

    .info-row {
      display: flex;
      gap: 10px;
      padding: 6px 10px;
      font-size: 0.8rem;
      border-bottom: 1px solid var(--border);
      word-break: break-word;
    }

    .info-row:last-child { border-bottom: none; }
    .info-row:nth-child(even) { background: var(--bg-secondary); }

    .info-label {
      color: var(--text-muted);
      min-width: 70px;
      flex-shrink: 0;
    }

    @media (min-width: 480px) {
      .info-label { min-width: 90px; }
    }

    .info-value { color: var(--text-primary); word-break: break-word; }

    .text-link { color: var(--brand); }
    .text-link:hover { color: var(--brand-hover); }

    .detail-section {
      padding: 28px 0;
      border-top: 1px solid var(--border);
    }

    .synopsis-text {
      color: var(--text-secondary);
      line-height: 1.8;
      font-size: 0.92rem;
      max-width: 760px;
    }

    /* Cast */
    .cast-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
      gap: 12px;
    }

    @media (min-width: 480px) {
      .cast-grid { grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)); gap: 16px; }
    }

    @media (min-width: 640px) {
      .cast-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 20px; }
    }

    .cast-card { display: flex; flex-direction: column; align-items: center; text-align: center; }

    .cast-photo {
      width: 100%;
      aspect-ratio: 2/3;
      border-radius: 8px;
      overflow: hidden;
      background: var(--bg-secondary);
      margin-bottom: 6px;
    }

    .cast-photo img { width: 100%; height: 100%; object-fit: cover; }

    .cast-photo-fallback {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
    }

    .cast-name {
      font-size: 0.75rem;
      font-weight: 600;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .cast-character {
      font-size: 0.68rem;
      color: var(--text-muted);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Trailer */
    .trailer-embed {
      position: relative;
      padding-bottom: 56.25%;
      height: 0;
      overflow: hidden;
      border-radius: var(--radius);
    }

    .trailer-embed iframe {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      border: none;
    }

    /* Backdrop gallery */
    .backdrop-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }

    @media (min-width: 480px) {
      .backdrop-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
    }

    @media (min-width: 768px) {
      .backdrop-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    }

    .backdrop-item {
      border-radius: var(--radius-sm);
      overflow: hidden;
      aspect-ratio: 16/9;
      background: var(--bg-secondary);
    }

    .backdrop-item img { width: 100%; height: 100%; object-fit: cover; }

    /* ============================================================
       Movie List Card (jadwal.html)
       ============================================================ */
    .movie-list-card {
      display: flex;
      gap: 14px;
      padding: 16px 0;
      border-bottom: 1px solid var(--border);
    }

    @media (min-width: 480px) {
      .movie-list-card { gap: 16px; padding: 20px 0; }
    }

    @media (max-width: 400px) {
      .movie-list-card { gap: 10px; }
    }

    .movie-list-poster {
      flex-shrink: 0;
      width: 80px;
    }

    @media (min-width: 480px) { .movie-list-poster { width: 100px; } }
    @media (min-width: 640px) { .movie-list-poster { width: 110px; } }

    .movie-list-poster img,
    .movie-list-poster > div {
      border-radius: var(--radius-sm);
      width: 100%;
      aspect-ratio: 2/3;
      object-fit: cover;
    }

    .movie-list-info { flex: 1; min-width: 0; }

    .movie-list-title {
      font-size: 0.9rem;
      font-weight: 700;
      display: block;
      margin-bottom: 3px;
      line-height: 1.3;
    }

    @media (min-width: 480px) {
      .movie-list-title { font-size: 1rem; margin-bottom: 4px; }
    }

    .movie-list-title:hover { color: var(--brand); }

    .movie-list-meta {
      display: flex;
      gap: 8px;
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    @media (min-width: 480px) {
      .movie-list-meta { gap: 10px; font-size: 0.8rem; margin-bottom: 6px; }
    }

    .movie-list-overview {
      font-size: 0.78rem;
      color: var(--text-secondary);
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    @media (min-width: 480px) {
      .movie-list-overview { font-size: 0.85rem; }
    }

    /* Tab filter */
    .tab-filter {
      display: flex;
      gap: 0;
      margin-bottom: 20px;
      border-bottom: 2px solid var(--border);
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }

    @media (min-width: 640px) {
      .tab-filter { gap: 4px; margin-bottom: 28px; }
    }

    .tab-btn {
      padding: 8px 12px;
      background: none;
      border: none;
      border-bottom: 2px solid transparent;
      color: var(--text-muted);
      font-size: 0.8rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      margin-bottom: -2px;
      white-space: nowrap;
    }

    @media (min-width: 640px) {
      .tab-btn { padding: 8px 18px; font-size: 0.875rem; }
    }

    .tab-btn:hover { color: var(--text-primary); }
    .tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); }

    /* Page header */
    .page-header { padding: 20px 0 16px; }

    @media (min-width: 640px) {
      .page-header { padding: 28px 0 20px; }
    }

    .page-title {
      font-size: clamp(1.15rem, 4vw, 2rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 4px;
    }

    .page-subtitle { color: var(--text-muted); font-size: 0.82rem; }

    @media (min-width: 640px) {
      .page-subtitle { font-size: 0.9rem; }
    }

    /* ============================================================
       Footer — Cinema21 Style
       ============================================================ */
    .site-footer {
      background: #1a1a2e;
      color: rgba(255,255,255,0.7);
      padding: 32px 0 20px;
      margin-top: 40px;
    }

    @media (min-width: 640px) {
      .site-footer { padding: 48px 0 24px; margin-top: 60px; }
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-bottom: 24px;
    }

    @media (min-width: 640px) {
      .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
    }

    @media (max-width: 400px) {
      .footer-grid { grid-template-columns: 1fr; }
    }

    .footer-brand .logo {
      margin-bottom: 12px;
      color: #fff;
    }

    .footer-brand p {
      font-size: 0.85rem;
      line-height: 1.7;
      color: rgba(255,255,255,0.5);
    }

    .footer-col-title {
      font-size: 0.8rem;
      font-weight: 700;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 14px;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .footer-links a {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.6);
      transition: color 0.15s;
    }

    .footer-links a:hover { color: #fff; }

    .app-buttons {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .app-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 14px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 8px;
      color: rgba(255,255,255,0.8);
      font-size: 0.78rem;
      font-weight: 500;
      transition: var(--transition);
    }

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

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 20px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }

    .footer-copyright {
      font-size: 0.8rem;
      color: rgba(255,255,255,0.4);
    }

    .footer-social {
      display: flex;
      gap: 8px;
    }

    .footer-social a {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(255,255,255,0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255,255,255,0.5);
      transition: var(--transition);
    }

    .footer-social a:hover {
      background: var(--brand);
      color: #fff;
    }

    /* ============================================================
       Modal
       ============================================================ */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(4px);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      overflow-y: auto;
    }

    .modal-content {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      max-width: 640px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
      box-shadow: var(--shadow-lg);
    }

    .modal-close {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      transition: var(--transition);
      z-index: 2;
    }

    .modal-close:hover { background: var(--brand-dim); color: var(--brand); }

    .modal-header {
      display: grid;
      grid-template-columns: 140px 1fr;
      gap: 24px;
      padding: 24px;
      align-items: start;
    }

    @media (max-width: 480px) {
      .modal-header { grid-template-columns: 100px 1fr; gap: 16px; padding: 20px; }
    }

    .modal-poster img {
      width: 100%;
      aspect-ratio: 2/3;
      object-fit: cover;
      border-radius: var(--radius);
    }

    .modal-info { padding-top: 4px; }

    .modal-title {
      font-size: 1.2rem;
      font-weight: 800;
      line-height: 1.3;
      letter-spacing: -0.02em;
      margin-bottom: 10px;
      padding-right: 40px;
    }

    .modal-meta {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .modal-synopsis {
      padding: 0 24px 24px;
    }

    .modal-synopsis h3 {
      font-size: 0.9rem;
      font-weight: 700;
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
    }

    .modal-synopsis p {
      font-size: 0.9rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    .modal-trailer {
      padding: 0 24px 24px;
    }

    .modal-source {
      border-top: 1px solid var(--border);
      padding: 12px 24px;
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    .modal-source a { color: var(--brand); }

    .modal-loading {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 60px 20px;
      gap: 12px;
    }

    /* City filter */
    .city-filter {
      margin-bottom: 24px;
    }

    .city-select {
      padding: 8px 16px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      background: var(--bg-card);
      color: var(--text-primary);
      font-size: 0.875rem;
      cursor: pointer;
      outline: none;
      transition: var(--transition);
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      padding-right: 36px;
    }

    .city-select:focus {
      border-color: var(--brand);
      box-shadow: 0 0 0 3px var(--brand-dim);
    }

    .city-select:hover { border-color: var(--brand); }

    /* Cineplex badge on poster */
    .cineplex-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      background: var(--brand);
      color: #fff;
      font-size: 0.6rem;
      font-weight: 800;
      padding: 2px 6px;
      border-radius: 4px;
      display: flex;
      align-items: center;
      gap: 3px;
      z-index: 2;
      letter-spacing: 0.03em;
    }

    .film-card-cineplex {
      position: relative;
    }

    .film-card-cineplex .film-poster {
      position: relative;
    }

    /* Modal actions row */
    .modal-actions {
      padding: 0 24px 20px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    /* Tab count badge */
    .tab-count {
      background: var(--brand-dim);
      color: var(--brand);
      font-size: 0.7rem;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 999px;
      margin-left: 6px;
    }

    .tab-btn.active .tab-count {
      background: var(--brand);
      color: #fff;
    }

    /* Theater summary */
    .theater-summary {
      margin-bottom: 4px;
    }

    /* Bioskop grid */
    .bioskop-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 16px;
      margin-top: 20px;
    }

    .bioskop-card {
      background: var(--bg-card);
      border: 1.5px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 20px;
      display: flex;
      gap: 16px;
      align-items: flex-start;
      transition: var(--transition);
    }

    .bioskop-card:hover {
      border-color: var(--brand);
      box-shadow: 0 0 0 3px var(--brand-dim);
      transform: translateY(-2px);
    }

    .bioskop-icon {
      width: 48px;
      height: 48px;
      background: var(--brand-dim);
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .bioskop-info { flex: 1; min-width: 0; }

    .bioskop-name {
      font-size: 0.95rem;
      font-weight: 700;
      margin-bottom: 8px;
      line-height: 1.3;
      letter-spacing: -0.01em;
    }

    .bioskop-detail {
      display: flex;
      align-items: flex-start;
      gap: 6px;
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    .bioskop-detail svg { flex-shrink: 0; margin-top: 2px; }

    /* Theater list containers */
    .theater-list { padding-top: 4px; }

    /* btn-sm */
    .btn-sm {
      padding: 6px 14px;
      font-size: 0.8rem;
      border-radius: var(--radius);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--border);
      color: var(--text-secondary);
    }

    .btn-outline:hover {
      background: var(--brand-dim);
      border-color: var(--brand);
      color: var(--brand);
    }

    @media (max-width: 480px) {
      .bioskop-grid {
        grid-template-columns: 1fr;
      }
      .bioskop-card {
        padding: 16px;
      }
    }

    /* ============================================================
       Film Detail Page
       ============================================================ */
    /* .film-header uses .site-header styles — no override needed */

    .detail-loading {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 60vh;
      gap: 16px;
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .detail-hero {
      width: 100%;
      min-height: 300px;
      background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
      display: flex;
      align-items: flex-end;
      position: relative;
    }

    .detail-hero.has-backdrop {
      min-height: 400px;
      background-size: cover;
      background-position: center top;
    }

    .detail-hero.cineplex-hero {
      min-height: 420px;
    }

    /* Source badge */
    .source-badge {
      padding: 16px 0 0;
    }

    .badge-tmdb, .badge-cineplex {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 4px 12px;
      border-radius: 999px;
    }

    .badge-tmdb {
      background: #01b4e4;
      color: #fff;
    }

    .badge-cineplex {
      background: var(--brand);
      color: #fff;
    }

    /* Breadcrumb in detail page */
    .detail-breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.85rem;
      color: var(--text-muted);
      padding: 16px 0;
    }

    .detail-breadcrumb a {
      color: var(--text-muted);
      transition: var(--transition);
    }

    .detail-breadcrumb a:hover { color: var(--brand); }

    /* Info grid */
    .detail-info-grid {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 40px;
      padding: 24px 0 32px;
      align-items: start;
    }

    @media (max-width: 640px) {
      .detail-info-grid {
        grid-template-columns: 140px 1fr;
        gap: 20px;
      }
    }

    @media (max-width: 480px) {
      .detail-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }
    }

    .detail-poster-col { }

    .detail-poster-wrap {
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
      aspect-ratio: 2/3;
      background: var(--bg-secondary);
    }

    @media (max-width: 480px) {
      .detail-poster-wrap {
        max-width: 180px;
      }
    }

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

    .detail-poster-fallback {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: var(--text-muted);
      font-size: 0.75rem;
    }

    .detail-content-col { }

    .detail-title {
      font-size: 1.8rem;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -0.03em;
      margin-bottom: 6px;
    }

    @media (max-width: 640px) {
      .detail-title { font-size: 1.4rem; }
    }

    .detail-tagline {
      font-size: 0.95rem;
      color: var(--text-muted);
      font-style: italic;
      margin-bottom: 16px;
    }

    .detail-rating-row {
      margin-bottom: 16px;
    }

    .detail-rating {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .detail-rating-score {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--brand);
      line-height: 1;
    }

    .detail-rating-stars {
      display: flex;
      gap: 2px;
      font-size: 0.9rem;
    }

    .star-filled { color: #f59e0b; }
    .star-empty { color: var(--border); }

    .detail-rating-count {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 2px;
    }

    .detail-genres {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 20px;
    }

    /* Info table */
    .detail-info-table {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      margin-bottom: 8px;
    }

    .info-row {
      display: flex;
      gap: 16px;
      padding: 8px 12px;
      border-bottom: 1px solid var(--border);
      font-size: 0.875rem;
    }

    .info-row:last-child { border-bottom: none; }
    .info-row:nth-child(even) { background: var(--bg-secondary); }

    .info-label {
      font-weight: 600;
      color: var(--text-muted);
      min-width: 90px;
      flex-shrink: 0;
    }

    .info-value {
      color: var(--text-primary);
      word-break: break-word;
    }

    /* Synopsis */
    .detail-section {
      padding: 0 0 32px;
      border-top: 1px solid var(--border);
      margin-top: 8px;
    }

    .detail-section:first-of-type {
      border-top: none;
      padding-top: 0;
    }

    .detail-synopsis {
      font-size: 0.95rem;
      line-height: 1.8;
      color: var(--text-secondary);
      margin-top: 12px;
    }

    /* Data source */
    .data-source {
      border-top: 1px solid var(--border);
      padding: 16px 0;
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    .data-source a { color: var(--brand); }

    /* Trailer video */
    .trailer-embed {
      margin-top: 12px;
    }


