/* ==========================================================================
   SPACE FILM - VOD PLATFORM COUNTDOWN
   Master Stylesheet Supporting 5 Unique Cosmic Themes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;800;900&family=Orbitron:wght@400;600;700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Share+Tech+Mono&family=Space+Grotesk:wght@300;500;700&family=VT323&display=swap');

/* --- CSS Reset & Variables --- */
:root {
  /* Common variables */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-hud: 'Share Tech Mono', monospace;
  --font-glass: 'Plus Jakarta Sans', sans-serif;
  --font-synth: 'Orbitron', 'VT323', sans-serif;
  --font-monolith: 'Cinzel', serif;
  --font-warp: 'Space Grotesk', sans-serif;
  
  --transition-speed: 0.35s;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Active Theme Defaults (Theme 1: Cyber HUD default) */
  --bg-color: #030712;
  --bg-gradient: radial-gradient(circle at 50% 20%, #0a192f 0%, #030712 80%);
  --accent-primary: #00f0ff;
  --accent-secondary: #ffb703;
  --accent-tertiary: #00ff9f;
  --text-primary: #f0fdf4;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --card-bg: rgba(6, 18, 38, 0.75);
  --card-border: 1px solid rgba(0, 240, 255, 0.3);
  --card-glow: 0 0 25px rgba(0, 240, 255, 0.15);
  --active-font: var(--font-hud);
  --countdown-font: var(--font-hud);
}

/* ==========================================================================
   THEME 1: CYBER HUD / MISSION CONTROL (Cockpit Sci-Fi)
   ========================================================================== */
body[data-theme="hud"] {
  --bg-color: #020710;
  --bg-gradient: radial-gradient(ellipse at center, #06182c 0%, #01060e 85%);
  --accent-primary: #00f0ff;
  --accent-secondary: #ffb703;
  --accent-tertiary: #00ff9d;
  --text-primary: #00f0ff;
  --text-secondary: #7dd3fc;
  --text-muted: #0284c7;
  --card-bg: rgba(3, 14, 28, 0.85);
  --card-border: 1px solid rgba(0, 240, 255, 0.45);
  --card-glow: 0 0 30px rgba(0, 240, 255, 0.2), inset 0 0 15px rgba(0, 240, 255, 0.08);
  --active-font: var(--font-hud);
  --countdown-font: var(--font-hud);
}

/* ==========================================================================
   THEME 2: STELLAR GLASSMORPHISM / CINEMATIC PREMIERE (Luxury Streaming)
   ========================================================================== */
body[data-theme="glass"] {
  --bg-color: #090a12;
  --bg-gradient: radial-gradient(at 15% 15%, rgba(120, 40, 202, 0.25) 0px, transparent 50%),
                 radial-gradient(at 85% 80%, rgba(0, 112, 243, 0.2) 0px, transparent 55%),
                 radial-gradient(at 50% 50%, #0e1122 0%, #05060a 100%);
  --accent-primary: #e2e8f0;
  --accent-secondary: #a855f7;
  --accent-tertiary: #38bdf8;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: 1px solid rgba(255, 255, 255, 0.15);
  --card-glow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  --active-font: var(--font-glass);
  --countdown-font: var(--font-glass);
}

/* ==========================================================================
   THEME 3: RETRO 80S SYNTHWAVE / VHS SPACE TAPE (Outrun Horizon)
   ========================================================================== */
body[data-theme="synthwave"] {
  --bg-color: #0f051d;
  --bg-gradient: linear-gradient(180deg, #18022a 0%, #300947 50%, #080112 100%);
  --accent-primary: #ff007f;
  --accent-secondary: #00f6ff;
  --accent-tertiary: #ffbe0b;
  --text-primary: #ffedff;
  --text-secondary: #f472b6;
  --text-muted: #a21caf;
  --card-bg: rgba(25, 4, 45, 0.85);
  --card-border: 2px solid #ff007f;
  --card-glow: 0 0 25px rgba(255, 0, 127, 0.5), inset 0 0 15px rgba(0, 246, 255, 0.2);
  --active-font: var(--font-synth);
  --countdown-font: var(--font-synth);
}

/* ==========================================================================
   THEME 4: KUBRICKIAN MONOLITH / DEEP VOID (Art-House Minimalist)
   ========================================================================== */
body[data-theme="monolith"] {
  --bg-color: #000000;
  --bg-gradient: radial-gradient(circle at 50% 45%, #151515 0%, #000000 70%);
  --accent-primary: #e6c687;
  --accent-secondary: #ffffff;
  --accent-tertiary: #a1a1aa;
  --text-primary: #ffffff;
  --text-secondary: #d4d4d8;
  --text-muted: #71717a;
  --card-bg: rgba(12, 12, 12, 0.9);
  --card-border: 1px solid rgba(230, 198, 135, 0.25);
  --card-glow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 20px rgba(230, 198, 135, 0.08);
  --active-font: var(--font-monolith);
  --countdown-font: var(--font-monolith);
}

/* ==========================================================================
   THEME 5: GALACTIC WARP DRIVE / INTERACTIVE UNIVERSE (Hyperspace Jump)
   ========================================================================== */
body[data-theme="warp"] {
  --bg-color: #01020a;
  --bg-gradient: radial-gradient(circle at center, #0b112c 0%, #01020a 90%);
  --accent-primary: #38bdf8;
  --accent-secondary: #818cf8;
  --accent-tertiary: #c084fc;
  --text-primary: #ffffff;
  --text-secondary: #93c5fd;
  --text-muted: #475569;
  --card-bg: rgba(10, 16, 38, 0.7);
  --card-border: 1px solid rgba(56, 189, 248, 0.35);
  --card-glow: 0 0 35px rgba(56, 189, 248, 0.25);
  --active-font: var(--font-warp);
  --countdown-font: var(--font-warp);
}

/* --- Base Body & Layout --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--active-font);
  transition: background var(--transition-speed) ease, color var(--transition-speed) ease;
  position: relative;
}

/* Canvas Background for Stars */
#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}
body[data-theme="warp"] #star-canvas {
  pointer-events: auto; /* Allow mouse interaction for warp drive */
  cursor: crosshair;
}

/* Global Grid / Scanline Overlays */
.overlay-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* HUD Overlay */
body[data-theme="hud"] .overlay-layer.hud-grid {
  opacity: 1;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Synthwave Grid & Sun Overlays */
.synthwave-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: none;
  overflow: hidden;
}
body[data-theme="synthwave"] .synthwave-elements {
  display: block;
}

.synth-sun {
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffbe0b 0%, #ff007f 70%, #7928ca 100%);
  box-shadow: 0 0 90px rgba(255, 0, 127, 0.8);
  mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 52%, black 54%, black 60%, transparent 63%, black 66%, black 74%, transparent 78%, black 82%, black 90%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 52%, black 54%, black 60%, transparent 63%, black 66%, black 74%, transparent 78%, black 82%, black 90%, transparent 95%);
  opacity: 0.6;
}

.synth-grid {
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 200%;
  height: 35%;
  background: 
    linear-gradient(rgba(255, 0, 127, 0.5) 2px, transparent 2px),
    linear-gradient(90deg, rgba(0, 246, 255, 0.4) 2px, transparent 2px);
  background-size: 60px 40px;
  transform: perspective(300px) rotateX(65deg);
  animation: grid-scroll 2s linear infinite;
  mask-image: linear-gradient(to bottom, transparent 0%, black 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 70%);
}

@keyframes grid-scroll {
  0% { background-position: 0 0; }
  100% { background-position: 0 40px; }
}

/* CRT Scanlines Overlay */
.crt-scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  background: repeating-linear-gradient(
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.3) 3px,
    rgba(0, 0, 0, 0.3) 4px
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
body[data-theme="synthwave"] .crt-scanlines,
body.scanlines-active .crt-scanlines {
  opacity: 0.7;
}

/* Monolith Corona Halo */
.monolith-eclipse {
  position: fixed;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 198, 135, 0.15) 0%, rgba(212, 175, 55, 0.05) 45%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
  display: none;
  animation: eclipse-pulse 8s ease-in-out infinite alternate;
}
body[data-theme="monolith"] .monolith-eclipse {
  display: block;
}

@keyframes eclipse-pulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.85; }
}

/* --- Container App Wrapper --- */
.app-container {
  position: relative;
  z-index: 5;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem 4rem 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- Top Navigation Header --- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body[data-theme="hud"] .site-header {
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}
body[data-theme="synthwave"] .site-header {
  border-bottom: 2px solid rgba(255, 0, 127, 0.4);
}
body[data-theme="monolith"] .site-header {
  border-bottom: 1px solid rgba(230, 198, 135, 0.15);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 42px;
  height: 42px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px var(--accent-primary));
  transition: transform 0.4s ease;
}
.brand-logo:hover .brand-icon svg {
  transform: rotate(30deg) scale(1.08);
}

.brand-text {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}
.brand-subtext {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--accent-secondary);
  font-weight: 600;
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-hud);
  color: var(--accent-primary);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-tertiary);
  box-shadow: 0 0 8px var(--accent-tertiary);
  animation: pulse-glow 1.5s infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Sound Button */
.btn-icon {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}
.btn-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   FLOATING STYLE SELECTOR DOCK
   ========================================================================== */
.style-switcher-dock {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(6, 9, 22, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 240, 255, 0.1);
  transition: all 0.3s ease;
}

.dock-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 0 0.5rem;
  font-weight: 700;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.style-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.style-btn .kbd-num {
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.style-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.style-btn.active {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 0 15px var(--accent-primary);
}

/* ==========================================================================
   MAIN HERO COUNTDOWN SECTION
   ========================================================================== */
.countdown-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem 2rem 1rem;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 1.5rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}
body[data-theme="hud"] .hero-pill {
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.06);
  color: var(--accent-primary);
  font-family: var(--font-hud);
}
body[data-theme="synthwave"] .hero-pill {
  border-color: #ff007f;
  color: #00f6ff;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
  font-family: var(--font-synth);
}
body[data-theme="monolith"] .hero-pill {
  border-color: rgba(230, 198, 135, 0.3);
  color: #e6c687;
  font-family: var(--font-monolith);
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
body[data-theme="hud"] .hero-title {
  font-family: var(--font-hud);
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}
body[data-theme="glass"] .hero-title {
  font-family: var(--font-glass);
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body[data-theme="synthwave"] .hero-title {
  font-family: var(--font-synth);
  color: #ffedff;
  text-shadow: 0 0 10px #ff007f, 0 0 30px #7928ca, 0 0 50px #ff007f;
  letter-spacing: 0.08em;
}
body[data-theme="monolith"] .hero-title {
  font-family: var(--font-monolith);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}
body[data-theme="warp"] .hero-title {
  font-family: var(--font-warp);
  letter-spacing: -0.03em;
  text-shadow: 0 0 30px rgba(56, 189, 248, 0.6);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   COUNTDOWN TIMER GRID & CARDS
   ========================================================================== */
.countdown-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  position: relative;
  width: 100%;
  max-width: 960px;
}

.timer-card {
  flex: 1;
  min-width: 140px;
  max-width: 190px;
  background: var(--card-bg);
  border: var(--card-border);
  box-shadow: var(--card-glow);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.timer-card:hover {
  transform: translateY(-6px);
}

/* Corner bracket accents for HUD */
.hud-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--accent-primary);
  opacity: 0;
  pointer-events: none;
}
body[data-theme="hud"] .hud-corner {
  opacity: 1;
}
.hud-corner.top-left { top: 4px; left: 4px; border-top: 2px solid; border-left: 2px solid; }
.hud-corner.top-right { top: 4px; right: 4px; border-top: 2px solid; border-right: 2px solid; }
.hud-corner.bottom-left { bottom: 4px; left: 4px; border-bottom: 2px solid; border-left: 2px solid; }
.hud-corner.bottom-right { bottom: 4px; right: 4px; border-bottom: 2px solid; border-right: 2px solid; }

.timer-value-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.timer-value {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  font-family: var(--countdown-font);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  transition: transform 0.15s ease-out;
}

/* Special Typography Styles Per Theme */
body[data-theme="hud"] .timer-value {
  color: #00f0ff;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
}
body[data-theme="synthwave"] .timer-value {
  color: #00f6ff;
  text-shadow: 0 0 12px #00f6ff, 0 0 25px #ff007f;
}
body[data-theme="monolith"] .timer-value {
  color: #f4f4f5;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.timer-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
body[data-theme="hud"] .timer-label {
  color: var(--accent-secondary);
}
body[data-theme="synthwave"] .timer-label {
  color: #ff007f;
}
body[data-theme="monolith"] .timer-label {
  color: #a1a1aa;
  letter-spacing: 0.35em;
}

/* Milliseconds Mini-Badge */
.ms-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-hud);
  color: var(--accent-secondary);
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
}
.ms-badge .ms-number {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  min-width: 28px;
}

/* Progress Bar / Orbital Ring */
.launch-progress-wrap {
  width: 100%;
  max-width: 580px;
  margin-bottom: 2.5rem;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}
.progress-bar-fill {
  height: 100%;
  width: 76%; /* Dynamic */
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px var(--accent-primary);
  transition: width 0.5s ease;
}

/* Call to Action Buttons */
.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: var(--accent-primary);
  color: #030712;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}
body[data-theme="synthwave"] .btn-primary {
  background: linear-gradient(90deg, #ff007f, #ffbe0b);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.6);
}
body[data-theme="monolith"] .btn-primary {
  background: #e6c687;
  color: #000000;
  box-shadow: 0 0 20px rgba(230, 198, 135, 0.3);
  font-family: var(--font-monolith);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 35px var(--accent-primary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   UPCOMING PREMIERE SHOWCASE (VOD PREVIEW REEL)
   ========================================================================== */
.showcase-section {
  margin-top: 3.5rem;
  width: 100%;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.film-card {
  position: relative;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: pointer;
}
.film-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--card-glow);
}

.film-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d1322;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.film-card:hover .poster-canvas {
  transform: scale(1.08);
}

.film-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.film-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.film-card:hover .film-play-overlay {
  opacity: 1;
}
.play-btn-circle {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  color: #030712;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  transform: scale(0.8);
  transition: transform 0.2s ease;
}
.film-card:hover .play-btn-circle {
  transform: scale(1);
}

.film-info {
  padding: 1.25rem;
}
.film-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.film-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}
.film-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   PRE-REGISTRATION MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--card-bg);
  border: var(--card-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), var(--card-glow);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.perks-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.perk-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.perk-icon {
  width: 22px;
  height: 22px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: flex;
  gap: 0.75rem;
}
.input-email {
  flex: 1;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-email:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.success-state {
  display: none;
  text-align: center;
  padding: 1.5rem 0;
}
.success-state.active {
  display: block;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 255, 157, 0.15);
  border: 2px solid var(--accent-tertiary);
  color: var(--accent-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem auto;
}

/* ==========================================================================
   TRAILER TEASER MODAL
   ========================================================================== */
.trailer-modal-dialog {
  max-width: 840px;
  width: 90%;
  padding: 1.5rem;
}

.video-mockup-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #040814;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-screen-canvas {
  width: 100%;
  height: 100%;
}

.video-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast-msg {
  padding: 0.85rem 1.35rem;
  background: rgba(6, 12, 28, 0.95);
  border: 1px solid var(--accent-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px var(--accent-primary);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  pointer-events: auto;
  animation: slide-in 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- Footer --- */
.site-footer {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent-primary);
}

/* --- Responsive Adjustments --- */
@media (max-width: 860px) {
  .app-container {
    padding: 1rem 1rem 6rem 1rem;
  }
  .countdown-container {
    gap: 0.75rem;
  }
  .timer-card {
    min-width: 110px;
    padding: 1.25rem 0.5rem;
  }
  .timer-value {
    font-size: 2.2rem;
  }
  .timer-label {
    font-size: 0.65rem;
  }
  .style-switcher-dock {
    width: 95%;
    max-width: 480px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.4rem 0.6rem;
  }
  .dock-label {
    display: none;
  }
  .form-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .timer-card {
    min-width: 70px;
    padding: 0.85rem 0.25rem;
  }
  .timer-value {
    font-size: 1.6rem;
  }
  .timer-label {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
  }
  .cta-group {
    width: 100%;
    flex-direction: column;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
