/* ==========================================================================
   KERABATFILM - DESIGN SYSTEM & STYLESHEET
   Palette: Dark Obsidian, Deep Forest Green, Subtle Luminous Neon Emerald
   Professional, High-End, Non-garish Cinematic Aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-primary: #070c09;
  --bg-secondary: #0b1410;
  --bg-tertiary: #101c17;
  --bg-card: rgba(15, 27, 22, 0.75);
  --bg-glass: rgba(11, 20, 16, 0.85);
  --bg-glass-elevated: rgba(18, 33, 27, 0.92);

  /* Emerald & Neon Accents (Subtle & Elegant, not harsh) */
  --neon-emerald: #00ff87;
  --neon-glow: rgba(0, 255, 135, 0.22);
  --neon-glow-strong: rgba(0, 255, 135, 0.45);
  --emerald-primary: #00e676;
  --emerald-deep: #0f3d2a;
  --emerald-dark: #072317;
  --emerald-border: rgba(0, 255, 135, 0.18);
  --emerald-border-active: rgba(0, 255, 135, 0.55);

  /* Neutral Text & Accents */
  --text-primary: #f2fdf7;
  --text-secondary: #9db5a9;
  --text-muted: #647b71;
  --text-dark: #070c09;
  --star-gold: #fbbf24;
  --danger: #ef4444;

  /* Geometry & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  --shadow-neon: 0 0 25px -5px rgba(0, 255, 135, 0.25);
  --shadow-glow-button: 0 4px 20px rgba(0, 230, 118, 0.35);

  /* Fonts */
  --font-heading: 'Baloo 2', 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 50% -10%, rgba(0, 255, 135, 0.08), transparent 45%),
              radial-gradient(circle at 100% 40%, rgba(15, 61, 42, 0.15), transparent 40%),
              radial-gradient(circle at 0% 80%, rgba(0, 230, 118, 0.05), transparent 50%),
              var(--bg-primary);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Lights */
.ambient-glow-top {
  position: fixed;
  top: -150px;
  left: 30%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 255, 135, 0.09) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #19362a;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 135, 0.1);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  outline: none;
  background: none;
}

/* ==========================================================================
   NAVIGATION BAR & BRANDING
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.5%;
  z-index: 100;
  transition: var(--transition-smooth);
  background: linear-gradient(180deg, rgba(7, 12, 9, 0.95) 0%, rgba(7, 12, 9, 0.65) 75%, transparent 100%);
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--emerald-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

/* Nav Left: Hamburger Button (Garis 3) + Clean Logo */
.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-hamburger-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(16, 31, 24, 0.7);
  border: 1px solid var(--emerald-border);
  color: var(--text-primary);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-hamburger-btn:hover {
  background: rgba(0, 255, 135, 0.12);
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  box-shadow: 0 0 16px rgba(0, 255, 135, 0.28);
  transform: scale(1.05);
}

.nav-hamburger-btn:active {
  transform: scale(0.95);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  color: #ffffff;
  user-select: none;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo .brand-highlight {
  color: var(--neon-emerald);
  text-shadow: 0 0 16px rgba(0, 255, 135, 0.6);
}

/* Nav Center: Centered Search Input */
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.nav-search-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 460px;
  cursor: pointer;
}

.nav-search-input {
  width: 100%;
  background: rgba(16, 31, 24, 0.65);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-full);
  padding: 9px 42px 9px 42px;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.nav-search-container:hover .nav-search-input,
.nav-search-input:focus {
  background: rgba(16, 31, 24, 0.95);
  border-color: var(--neon-emerald);
  box-shadow: 0 0 18px rgba(0, 255, 135, 0.22);
  outline: none;
}

.nav-search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.nav-search-container:hover .nav-search-icon {
  color: var(--neon-emerald);
}

.shortcut-badge {
  position: absolute;
  right: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

/* Nav Right: Language Switcher */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switcher-wrap {
  position: relative;
  user-select: none;
}

.lang-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  background: rgba(16, 31, 24, 0.75);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-pill-btn:hover {
  background: rgba(0, 255, 135, 0.12);
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.25);
}

.lang-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.lang-code {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.lang-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.lang-switcher-wrap.open .lang-arrow {
  transform: rotate(180deg);
  color: var(--neon-emerald);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 175px;
  background: rgba(13, 24, 19, 0.96);
  border: 1px solid var(--emerald-border-active);
  border-radius: 14px;
  padding: 6px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 255, 135, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: var(--transition-smooth);
  z-index: 1000;
}

.lang-switcher-wrap.open .lang-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-opt:hover {
  background: rgba(0, 255, 135, 0.12);
  color: var(--text-primary);
}

.lang-opt.active {
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.2), rgba(15, 61, 42, 0.5));
  color: var(--neon-emerald);
  font-weight: 700;
}

.lang-opt .opt-flag {
  font-size: 1.1rem;
}

.lang-opt .opt-name {
  flex: 1;
}

.lang-opt .opt-check {
  font-size: 0.75rem;
  color: var(--neon-emerald);
  display: none;
}

.lang-opt.active .opt-check {
  display: inline-block;
}

/* ==========================================================================
   SIDE DRAWER (MENU SAMPING DENGAN GARIS 3)
   ========================================================================== */
.side-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.side-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: rgba(8, 14, 11, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-right: 1px solid var(--emerald-border);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 255, 135, 0.08);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.side-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(0, 255, 135, 0.12);
}

.drawer-header .drawer-logo {
  font-size: 1.45rem;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--danger);
  color: #ff6b6b;
  transform: rotate(90deg);
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-group-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-left: 6px;
  text-transform: uppercase;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
  cursor: pointer;
}

.drawer-nav-link:hover {
  background: rgba(0, 255, 135, 0.08);
  color: var(--text-primary);
  transform: translateX(4px);
}

.drawer-nav-link.active {
  background: linear-gradient(90deg, rgba(0, 255, 135, 0.18) 0%, rgba(0, 255, 135, 0.04) 100%);
  color: var(--neon-emerald);
  font-weight: 700;
  border-left: 3px solid var(--neon-emerald);
}

.drawer-nav-link .nav-icon {
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
  color: inherit;
}

.drawer-badge {
  margin-left: auto;
  font-size: 0.72rem;
  background: var(--neon-emerald);
  color: #070c09;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.4);
}

.drawer-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drawer-chip {
  background: rgba(16, 31, 24, 0.7);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-full);
  padding: 7px 12px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.drawer-chip:hover {
  background: rgba(0, 255, 135, 0.14);
  border-color: var(--neon-emerald);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.drawer-chip.active {
  background: var(--neon-emerald);
  color: #070c09;
  border-color: var(--neon-emerald);
  font-weight: 700;
}

.admin-pill {
  border: 1px dashed var(--emerald-border);
}

.admin-pill:hover {
  border-color: var(--neon-emerald);
  background: rgba(0, 255, 135, 0.1);
}

.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(0, 255, 135, 0.1);
  background: rgba(7, 12, 9, 0.8);
}

.drawer-quality-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.drawer-quality-badge .dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 8px var(--neon-emerald);
}

/* ==========================================================================
   HERO SPOTLIGHT SECTION (Smooth Draggable & Swipeable Horizontal Slider)
   ========================================================================== */
.hero-spotlight-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  cursor: grab;
}

.hero-spotlight-slider.is-dragging {
  cursor: grabbing;
}

.hero-slider-viewport {
  width: 100%;
  overflow: hidden;
}

.hero-slides-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-slides-track.no-transition {
  transition: none !important;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 110px 5% 70px;
  box-sizing: border-box;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 25%;
  z-index: 1;
}

.hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #070c096b 0%, rgb(7 12 9 / 15%) 45%, rgba(7, 12, 9, 0.45) 75%, rgba(7, 12, 9, 0.8) 100%), 
              linear-gradient(0deg, #070c09 0%, transparent 40%), 
              radial-gradient(circle at 75% 35%, rgba(0, 255, 135, 0.12) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  pointer-events: auto;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.badge-pill {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-neon {
  background: rgba(0, 255, 135, 0.15);
  color: var(--neon-emerald);
  border: 1px solid var(--emerald-border-active);
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.badge-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--star-gold);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 14px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-synopsis {
  color: #c0d8cc;
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

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

/* Floating Hero Navigation Arrows (Left & Right) */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(7, 12, 9, 0.7);
  border: 1px solid var(--emerald-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 15;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
  transition: var(--transition-smooth);
  opacity: 0;
}

.hero-spotlight-slider:hover .hero-nav-arrow {
  opacity: 1;
}

.hero-nav-arrow:hover {
  background: var(--neon-emerald);
  color: #070c09;
  border-color: var(--neon-emerald);
  box-shadow: 0 0 25px rgba(0, 255, 135, 0.6);
  transform: translateY(-50%) scale(1.12);
}

.hero-nav-arrow.prev {
  left: 20px;
}

.hero-nav-arrow.next {
  right: 20px;
}

/* Hero Slider Indicators / Dots */
.hero-indicators {
  position: absolute;
  bottom: 28px;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 15;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hero-dot:hover {
  background: var(--neon-emerald);
  transform: scale(1.2);
}

.hero-dot.active {
  width: 34px;
  border-radius: 6px;
  background: var(--neon-emerald);
  box-shadow: 0 0 14px var(--neon-emerald);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--neon-emerald) 0%, var(--emerald-primary) 100%);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow-button);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 255, 135, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 33, 26, 0.8);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--emerald-border);
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(25, 48, 38, 0.95);
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  transform: translateY(-2px);
}

.btn-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 33, 26, 0.7);
  border: 1px solid var(--emerald-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
  transition: var(--transition-smooth);
}

.btn-icon-circle:hover {
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  transform: scale(1.08);
}

/* ==========================================================================
   GENRE / CATEGORY PILL FILTER
   ========================================================================== */
.filter-section {
  padding: 10px 5% 25px;
  position: relative;
  z-index: 10;
}

.filter-scroll-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.filter-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(14, 25, 20, 0.7);
  border: 1px solid rgba(0, 255, 135, 0.1);
  transition: var(--transition-smooth);
}

.filter-pill:hover {
  color: var(--text-primary);
  border-color: var(--emerald-border-active);
  background: rgba(19, 36, 29, 0.85);
}

.filter-pill.active {
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.18), rgba(15, 61, 42, 0.6));
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  box-shadow: 0 0 16px rgba(0, 255, 135, 0.25);
}

/* ==========================================================================
   CONTENT ROWS & CARDS
   ========================================================================== */
.content-section {
  padding: 24px 5%;
  position: relative;
  z-index: 5;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-accent-bar {
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--neon-emerald) 0%, #0f3d2a 100%);
  border-radius: 4px;
  box-shadow: 0 0 8px var(--neon-emerald);
}

.section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
}

.section-view-all {
  color: var(--neon-emerald);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.section-view-all:hover {
  gap: 10px;
  text-shadow: 0 0 8px rgba(0, 255, 135, 0.4);
}

/* Movies Horizontal Grid / Carousel */
.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}

.carousel-outer-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 12, 9, 0.88);
  border: 1px solid var(--emerald-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  transition: var(--transition-smooth);
  opacity: 0;
  pointer-events: none;
}

.carousel-outer-wrapper:hover .carousel-nav-btn {
  opacity: 1;
  pointer-events: auto;
}

.carousel-nav-btn:hover {
  background: var(--neon-emerald);
  color: #070c09;
  border-color: var(--neon-emerald);
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
  left: -15px;
}

.carousel-nav-btn.next {
  right: -15px;
}

.movies-carousel-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 4px 20px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
}

.movies-carousel-row::-webkit-scrollbar {
  display: none;
}

/* Movie Card Style */
.movie-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 135, 0.12);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: auto;
}

.movies-carousel-row .movie-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: var(--emerald-border-active);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.9), 0 0 24px rgba(0, 255, 135, 0.22);
}

.card-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  flex-shrink: 0;
  overflow: hidden;
  background: #0a1410;
}

.card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-top-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.card-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-star-glass {
  background: rgba(7, 12, 9, 0.85);
  color: var(--star-gold);
  border: 1px solid rgba(251, 191, 36, 0.35);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.badge-quality {
  background: rgba(7, 12, 9, 0.85);
  color: var(--neon-emerald);
  border: 1px solid var(--emerald-border-active);
  backdrop-filter: blur(6px);
}

.badge-highlight {
  background: linear-gradient(135deg, var(--neon-emerald), #00a855);
  color: #050d09;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.4);
}

.card-bookmark-btn {
  pointer-events: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(7, 12, 9, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.card-bookmark-btn:hover {
  background: var(--neon-emerald);
  color: #050d09;
  border-color: var(--neon-emerald);
  transform: scale(1.1);
}

.card-bookmark-btn.active {
  background: var(--neon-emerald);
  color: #050d09;
  border-color: var(--neon-emerald);
}

/* Hover Quick Overlay on Card */
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #070c09 0%, rgba(7, 12, 9, 0.85) 45%, rgba(7, 12, 9, 0.2) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  gap: 12px;
  transition: var(--transition-smooth);
  z-index: 4;
}

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

.card-overlay-actions {
  display: flex;
  gap: 8px;
}

.btn-card-play {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--neon-emerald);
  color: #050d09;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 14px rgba(0, 255, 135, 0.35);
  transition: var(--transition-smooth);
}

.btn-card-play:hover {
  background: #ffffff;
}

.btn-card-info {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.btn-card-info:hover {
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
}

.card-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--star-gold);
  font-weight: 700;
}

.card-genres-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.genre-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Top 10 Numbered Rank Cards */
.ranked-card-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.rank-number {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 0.85;
  color: #070c09;
  -webkit-text-stroke: 2px rgba(0, 255, 135, 0.6);
  text-shadow: 0 0 16px rgba(0, 255, 135, 0.3);
  position: absolute;
  left: -20px;
  bottom: 0;
  z-index: 5;
  pointer-events: none;
  user-select: none;
}

/* ==========================================================================
   MODAL / HALAMAN RINGKASAN FILM (DETAIL VIEW)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 7, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #0b1410;
  border: 1px solid var(--emerald-border-active);
  border-radius: var(--radius-lg);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 255, 135, 0.15);
  transform: scale(0.96) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(7, 12, 9, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--neon-emerald);
  color: #070c09;
  border-color: var(--neon-emerald);
  transform: rotate(90deg);
}

/* Modal Hero Banner */
.modal-hero {
  position: relative;
  height: 380px;
  width: 100%;
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.modal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0b1410 0%, rgba(11, 20, 16, 0.8) 40%, rgba(11, 20, 16, 0.3) 100%);
}

.modal-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.modal-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

.modal-actions-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

/* Modal Body Content */
.modal-body {
  padding: 28px 32px 40px;
}

.modal-grid-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  margin-bottom: 30px;
}

.modal-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neon-emerald);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-synopsis-text {
  color: #cde0d6;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.meta-info-card {
  background: rgba(16, 29, 23, 0.6);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-item-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.meta-item-value {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Cast & Crew */
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(14, 25, 20, 0.5);
  border: 1px solid rgba(0, 255, 135, 0.1);
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.cast-card:hover {
  border-color: var(--neon-emerald);
  transform: translateY(-3px);
}

.cast-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  border: 2px solid var(--emerald-border);
}

.cast-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cast-role {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* Series Episodes List */
.episodes-section {
  margin-top: 30px;
  border-top: 1px solid rgba(0, 255, 135, 0.15);
  padding-top: 24px;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.episode-card {
  background: rgba(15, 27, 21, 0.8);
  border: 1px solid rgba(0, 255, 135, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.episode-card:hover {
  border-color: var(--neon-emerald);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 135, 0.2);
}

.episode-thumb-wrap {
  position: relative;
  width: 100%;
  height: 120px;
}

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

.episode-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-emerald);
  font-size: 1.8rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.episode-info {
  padding: 12px;
}

.episode-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.episode-duration {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TEMPAT NONTON FILM (CINEMA ROOM / THEATER PLAYER VIEW)
   ========================================================================== */
.cinema-view {
  position: fixed;
  inset: 0;
  background: #050806;
  z-index: 300;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.cinema-view.active {
  opacity: 1;
  pointer-events: auto;
}

.cinema-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4%;
  background: rgba(7, 12, 9, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--emerald-border);
  z-index: 50;
}

.cinema-title-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-cinema-back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 33, 26, 0.7);
  border: 1px solid var(--emerald-border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-cinema-back:hover {
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.2);
}

.cinema-movie-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.cinema-controls-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-light-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 33, 26, 0.6);
  border: 1px solid var(--emerald-border);
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-light-switch.active {
  background: var(--neon-emerald);
  color: #050d09;
  border-color: var(--neon-emerald);
}

/* Theater Screen Box with Bias Lighting */
.cinema-stage-wrapper {
  max-width: 1240px;
  margin: 25px auto 0;
  padding: 0 20px;
}

.cinema-screen-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 255, 135, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
}

/* Ambient Backlight (Bias Lighting) */
.cinema-screen-container::before {
  content: '';
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(0, 255, 135, 0.28) 0%, rgba(15, 61, 42, 0.15) 50%, transparent 80%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.custom-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.custom-embed-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
  z-index: 15;
  display: none;
}

.custom-embed-player.active {
  display: block;
}

/* Custom Player Overlays */
.player-overlay-ui {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 8, 6, 0.9) 0%, transparent 35%, rgba(5, 8, 6, 0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.cinema-screen-container:hover .player-overlay-ui,
.cinema-screen-container.paused .player-overlay-ui {
  opacity: 1;
}

.player-top-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

.player-stream-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--neon-emerald);
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid var(--emerald-border-active);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.center-play-button-large {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-emerald), var(--emerald-primary));
  color: #070c09;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 30px rgba(0, 255, 135, 0.5);
  cursor: pointer;
  transition: var(--transition-bounce);
  z-index: 15;
}

.center-play-button-large:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

/* Player Bottom Control Bar */
.player-controls-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.player-progress-bar-wrap {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: height 0.2s ease;
}

.player-progress-bar-wrap:hover {
  height: 9px;
}

.player-progress-filled {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00e676, var(--neon-emerald));
  border-radius: 4px;
  position: relative;
  box-shadow: 0 0 10px var(--neon-emerald);
}

.player-progress-thumb {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: #ffffff;
  border: 2px solid var(--neon-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-emerald);
}

.player-buttons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.player-buttons-left, .player-buttons-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-player-action {
  color: #ffffff;
  font-size: 1.15rem;
  transition: var(--transition-smooth);
}

.btn-player-action:hover {
  color: var(--neon-emerald);
  transform: scale(1.15);
}

.player-time-display {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  margin-left: 6px;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-slider {
  width: 75px;
  height: 4px;
  accent-color: var(--neon-emerald);
  cursor: pointer;
}

/* Stream Server Switcher Bar */
.cinema-server-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-top: 20px;
}

.server-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.server-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(14, 25, 20, 0.7);
  border: 1px solid rgba(0, 255, 135, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.server-chip:hover {
  border-color: var(--neon-emerald);
  color: var(--text-primary);
}

.server-chip.active {
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.2), rgba(15, 61, 42, 0.7));
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.2);
}

.server-chip .speed-tag {
  font-size: 0.68rem;
  background: rgba(0, 255, 135, 0.15);
  color: var(--neon-emerald);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Cinema Details & Community Reviews Section */
.cinema-lower-details {
  max-width: 1240px;
  margin: 30px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.cinema-movie-desc-card {
  background: var(--bg-card);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.cinema-reviews-card {
  background: var(--bg-card);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comment-input-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-textarea {
  width: 100%;
  background: rgba(7, 12, 9, 0.7);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  resize: vertical;
  min-height: 80px;
}

.comment-textarea:focus {
  outline: none;
  border-color: var(--neon-emerald);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.15);
}

.comment-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.star-rating-select {
  display: flex;
  gap: 4px;
  color: var(--star-gold);
  font-size: 1.1rem;
  cursor: pointer;
}

.comment-item {
  border-bottom: 1px solid rgba(0, 255, 135, 0.08);
  padding-bottom: 14px;
  display: flex;
  gap: 12px;
}

.comment-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--emerald-border);
}

.comment-content-wrap {
  flex: 1;
}

.comment-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.comment-author-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.comment-timestamp {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.comment-body-text {
  font-size: 0.84rem;
  color: #c0d8cc;
  line-height: 1.5;
}

/* Cinema Similar & Recommended Movies */
.cinema-recommendations-wrapper {
  max-width: 1240px;
  margin: 10px auto 70px;
  padding: 0 20px;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.cinema-rec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 255, 135, 0.12);
}

.cinema-rec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid rgba(0, 255, 135, 0.28);
  color: var(--neon-emerald);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.cinema-rec-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.cinema-rec-subtitle {
  font-size: 0.86rem;
  color: #a2b8ad;
  margin: 6px 0 0 0;
}

.cinema-rec-subtitle b {
  color: var(--neon-emerald);
}

.cinema-similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .cinema-similar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* Lights Out Mode Effect */
body.lights-out-mode .cinema-header,
body.lights-out-mode .cinema-lower-details,
body.lights-out-mode .cinema-recommendations-wrapper,
body.lights-out-mode .cinema-server-bar {
  opacity: 0.08;
  filter: blur(4px);
  pointer-events: none;
  transition: var(--transition-smooth);
}

body.lights-out-mode .cinema-stage-wrapper {
  transform: scale(1.03);
  transition: transform 0.4s ease;
}

/* ==========================================================================
   GLOBAL SEARCH RESULTS OVERLAY
   ========================================================================== */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 6, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 250;
  display: flex;
  flex-direction: column;
  padding: 35px 8% 45px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow: hidden;
}

.search-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-modal-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--emerald-border-active);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.search-modal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  outline: none;
}

.search-results-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  grid-auto-rows: max-content;
  align-items: start;
  gap: 22px;
  overflow-y: auto;
  padding: 10px 10px 40px 2px;
}

.search-results-grid .movie-card {
  width: 100%;
  height: auto;
  min-height: fit-content;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.search-results-grid .card-poster-wrap {
  width: 100%;
  aspect-ratio: 2 / 3;
  flex-shrink: 0;
}

.search-results-grid::-webkit-scrollbar {
  width: 6px;
}

.search-results-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

.search-results-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 135, 0.35);
  border-radius: 4px;
}

.search-results-grid::-webkit-scrollbar-thumb:hover {
  background: var(--neon-emerald);
}

/* ==========================================================================
   DAFTAR SAYA (WATCHLIST) VIEW
   ========================================================================== */
.watchlist-page-section {
  display: none;
  padding: 100px 5% 60px;
  min-height: 80vh;
}

.watchlist-page-section.active {
  display: block;
}

.empty-watchlist-state {
  text-align: center;
  padding: 80px 20px;
  max-width: 450px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 3.5rem;
  color: var(--emerald-primary);
  opacity: 0.5;
  margin-bottom: 16px;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f241a;
  border: 1px solid var(--neon-emerald);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 135, 0.3);
  font-size: 0.88rem;
  font-weight: 600;
  animation: slideToast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
/* ==========================================================================
   FOOTER (Enhanced Modern Cinema Design)
   ========================================================================== */
.site-footer {
  background: radial-gradient(circle at 50% 0%, rgba(0, 255, 135, 0.06) 0%, #050806 75%);
  border-top: 1px solid rgba(0, 255, 135, 0.18);
  padding: 70px 5% 35px;
  position: relative;
  z-index: 10;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.6);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.3fr 1.5fr;
  gap: 45px;
  margin-bottom: 50px;
}

.footer-desc {
  color: #a4c4b5;
  font-size: 0.88rem;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 380px;
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 14px;
  background: rgba(0, 255, 135, 0.06);
  border: 1px solid rgba(0, 255, 135, 0.22);
  border-radius: 20px;
  font-size: 0.76rem;
  color: var(--neon-emerald);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 10px var(--neon-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(0, 255, 135, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 135, 0); }
}

.footer-social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 135, 0.18);
  color: #c7ded5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.footer-social-btn:hover {
  background: rgba(0, 255, 135, 0.15);
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 255, 135, 0.2);
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col-title i {
  color: var(--neon-emerald);
  font-size: 0.85rem;
}

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

.footer-link-item {
  color: #92ab9e;
  font-size: 0.88rem;
  transition: all 0.22s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.footer-link-item:hover {
  color: var(--neon-emerald);
  transform: translateX(5px);
}

.footer-security-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 255, 135, 0.1);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8da498;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-legal-btn {
  color: #a4c4b5;
  font-size: 0.84rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-legal-btn:hover {
  color: var(--neon-emerald);
  text-decoration: underline;
}

.footer-scroll-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--neon-emerald);
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.footer-scroll-top:hover {
  background: rgba(0, 255, 135, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 135, 0.25);
}

/* ==========================================================================
   LEGAL & HELP CENTER MODAL (Kebijakan Privasi, Syarat & Ketentuan, FAQ)
   ========================================================================== */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 6, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.legal-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-container {
  max-width: 900px;
  width: 95%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #080f0c;
  border: 1px solid rgba(0, 255, 135, 0.28);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(0, 255, 135, 0.15);
  animation: legalModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes legalModalPop {
  from { transform: scale(0.95) translateY(15px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.legal-modal-header {
  padding: 24px 28px 16px;
  background: rgba(11, 20, 16, 0.95);
  border-bottom: 1px solid rgba(0, 255, 135, 0.15);
  position: relative;
}

.legal-tabs-nav {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.legal-tab-btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #c7ded5;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.legal-tab-btn:hover {
  color: #ffffff;
  background: rgba(0, 255, 135, 0.08);
  border-color: rgba(0, 255, 135, 0.3);
}

.legal-tab-btn.active {
  background: rgba(0, 255, 135, 0.16);
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  box-shadow: 0 0 14px rgba(0, 255, 135, 0.2);
}

.legal-modal-body {
  padding: 26px 30px 40px;
  overflow-y: auto;
  flex: 1;
}

.legal-tab-content {
  display: none;
}

.legal-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.legal-article-card {
  background: rgba(13, 24, 19, 0.65);
  border: 1px solid rgba(0, 255, 135, 0.12);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 20px;
}

.legal-article-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-article-card h4 i {
  color: var(--neon-emerald);
  font-size: 0.95rem;
}

.legal-article-card p {
  color: #b5d2c4;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-article-card p:last-child {
  margin-bottom: 0;
}

.legal-article-card ul {
  padding-left: 20px;
  margin: 10px 0;
  color: #b5d2c4;
  font-size: 0.9rem;
  line-height: 1.7;
}

.legal-highlight-box {
  background: rgba(0, 255, 135, 0.08);
  border-left: 4px solid var(--neon-emerald);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 14px 0;
  color: #d1ebe0;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-search-box {
  position: relative;
  margin-bottom: 22px;
}

.faq-search-input {
  width: 100%;
  padding: 13px 18px 13px 44px;
  background: rgba(13, 24, 19, 0.8);
  border: 1px solid rgba(0, 255, 135, 0.25);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s ease;
}

.faq-search-input:focus {
  border-color: var(--neon-emerald);
  box-shadow: 0 0 16px rgba(0, 255, 135, 0.2);
}

.faq-item {
  background: rgba(13, 24, 19, 0.7);
  border: 1px solid rgba(0, 255, 135, 0.12);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.open {
  border-color: rgba(0, 255, 135, 0.4);
}

.faq-header {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  user-select: none;
  transition: background 0.2s ease;
}

.faq-header:hover {
  background: rgba(0, 255, 135, 0.05);
  color: var(--neon-emerald);
}

.faq-chevron {
  color: var(--neon-emerald);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
  color: #b5d2c4;
  font-size: 0.88rem;
  line-height: 1.65;
  background: rgba(7, 13, 10, 0.5);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(0, 255, 135, 0.08);
}

.contact-support-card {
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.12), rgba(13, 24, 19, 0.9));
  border: 1px solid rgba(0, 255, 135, 0.35);
  border-radius: 14px;
  padding: 22px 26px;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .legal-modal-body {
    padding: 18px 20px 30px;
  }
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .modal-grid-details, .cinema-lower-details {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 4%;
    height: 68px;
  }
  .brand-logo {
    font-size: 1.3rem;
  }
  .nav-center {
    padding: 0 10px;
  }
  .nav-search-container {
    max-width: 240px;
  }
  .nav-search-input {
    padding: 7px 32px 7px 34px;
    font-size: 0.8rem;
  }
  .shortcut-badge {
    display: none;
  }
  .lang-pill-btn {
    height: 36px;
    padding: 0 10px;
    font-size: 0.8rem;
  }
  .hero-spotlight {
    min-height: 70vh;
    padding-top: 90px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-synopsis {
    font-size: 0.92rem;
  }
  .modal-hero {
    height: 260px;
    padding: 20px;
  }
  .modal-title {
    font-size: 1.6rem;
  }
  .cinema-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

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