/* ==========================================================================
   BLOODSTAGE - O TEMPLO DO SLASHER & RETRO SYNTH HORROR ANOS 80
   Estilos: Slasher / Hard Rock / Retrowave / Synthwave / VHS Aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Metal+Mania&family=Orbitron:wght@400;600;800;900&family=Permanent+Marker&family=Press+Start+2P&family=Rajdhani:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Paleta Neon & Synthwave */
  --neon-pink: #ff007f;
  --neon-pink-glow: rgba(255, 0, 127, 0.6);
  --neon-magenta: #e0006c;
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.5);
  --neon-purple: #9d00ff;
  --neon-orange: #ff6600;
  --neon-yellow: #ffe600;

  /* Paleta Slasher & Sangue */
  --blood-red: #c9001b;
  --blood-bright: #ff073a;
  --blood-dark: #63000d;
  --blood-glow: rgba(255, 7, 58, 0.6);

  /* Paleta Hard Rock & Cromo */
  --chrome-light: #f5f5f7;
  --chrome-mid: #9ea4b0;
  --chrome-dark: #373b44;
  --gold-accent: #f5b041;

  /* Superfícies & Escuridão */
  --bg-deep: #08030f;
  --bg-surface: #12081d;
  --bg-card: #180b26;
  --bg-card-hover: #220f36;
  --bg-glass: rgba(20, 8, 32, 0.82);
  --border-neon: rgba(255, 0, 127, 0.35);
  --border-cyan: rgba(0, 240, 255, 0.3);

  /* Texto */
  --text-main: #f0edf6;
  --text-muted: #a79cb7;
  --text-dim: #716484;

  /* Tipografias */
  --font-horror: 'Creepster', cursive;
  --font-metal: 'Metal Mania', cursive;
  --font-rock: 'Permanent Marker', cursive;
  --font-synth: 'Orbitron', sans-serif;
  --font-pixel: 'Press Start 2P', monospace;
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transições & Sombras */
  --transition-fast: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --glow-pink-box: 0 0 20px rgba(255, 0, 127, 0.35), 0 0 45px rgba(255, 0, 127, 0.15);
  --glow-cyan-box: 0 0 20px rgba(0, 240, 255, 0.35), 0 0 45px rgba(0, 240, 255, 0.15);
  --glow-blood-box: 0 0 25px rgba(255, 7, 58, 0.4), 0 0 60px rgba(99, 0, 13, 0.3);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Foco visível e consistente para navegação por teclado (sem afetar cliques de mouse). */
:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.search-input:focus-visible,
.sort-select:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

/* Respeita quem prefere menos movimento: desliga animações e transições longas. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(157, 0, 255, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(255, 0, 127, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 15% 70%, rgba(0, 240, 255, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(197, 0, 27, 0.2) 0%, transparent 60%);
  background-attachment: fixed;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ==========================================================================
   FILTRO CRT / SCANLINES VHS (TOGGLEABLE)
   ========================================================================== */
.crt-overlay {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

body.crt-active .crt-overlay {
  opacity: 1;
  background: 
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.32) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  background-size: 100% 3px, 6px 100%;
}

body.crt-active::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: radial-gradient(circle at center, transparent 65%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
  z-index: 9998;
}

/* ==========================================================================
   HEADER & NAVBAR NAVEGAÇÃO RETRÔ
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--border-neon);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7), var(--glow-pink-box);
  transition: all var(--transition-smooth);
}

.header-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* LOGO BLOODSTAGE CROMADO & NEON */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  group: logo;
}

.brand-icon-box {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blood-red), var(--neon-pink));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px var(--blood-bright), inset 0 0 8px #fff;
  border: 1px solid #ff80a5;
  transform: rotate(-4deg);
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-icon-box {
  transform: rotate(4deg) scale(1.08);
}

.brand-icon-svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-metal);
  font-size: 2.2rem;
  letter-spacing: 3px;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #cbd2e1 35%, #8c96ab 50%, #f70240 51%, #a80026 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 7, 58, 0.7));
  text-transform: uppercase;
}

.brand-tagline {
  font-family: var(--font-pixel);
  font-size: 0.52rem;
  color: var(--neon-cyan);
  letter-spacing: 2px;
  margin-top: 3px;
  text-shadow: 0 0 6px var(--neon-cyan-glow);
}

/* Navegação Principal */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-synth);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: var(--neon-pink);
  box-shadow: 0 0 8px var(--neon-pink);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--neon-pink);
}

.nav-link:hover::after {
  width: 80%;
}

/* Ações do Header (Áudio, CRT, Busca) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Botão de Menu Mobile (Hambúrguer) — escondido no desktop, exibido via media query */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-cyan);
  border-radius: 10px;
  color: var(--neon-cyan);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-toggle:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan-box);
}

.nav-toggle-icon line {
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  transform-origin: center;
}

/* Hambúrguer -> X quando aberto */
.nav-toggle.open .nav-toggle-top {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open .nav-toggle-mid {
  opacity: 0;
}
.nav-toggle.open .nav-toggle-bot {
  transform: translateY(-6px) rotate(-45deg);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  font-family: var(--font-synth);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-neon);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-pill:hover {
  background: rgba(255, 0, 127, 0.2);
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink-box);
  color: #fff;
}

.btn-pill.active {
  background: var(--neon-pink);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 15px var(--neon-pink);
}

.btn-pill-cyan {
  border-color: var(--border-cyan);
}

.btn-pill-cyan:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan-box);
}

.btn-pill-cyan.active {
  background: var(--neon-cyan);
  border-color: #fff;
  color: #08030f;
  box-shadow: 0 0 15px var(--neon-cyan);
}

/* Indicador de Status Neon */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #555;
  display: inline-block;
  transition: background-color var(--transition-fast);
}

.status-dot.active {
  background-color: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

/* ==========================================================================
   HERO SECTION SYNTHWAVE / HORIZONTE RETRÔ ANOS 80
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem 6rem;
  overflow: hidden;
  border-bottom: 2px solid var(--neon-pink);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

/* Efeito Synthwave Sun & Grid 3D */
.synth-sun {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff007f 0%, #ff5e00 65%, #ffcc00 100%);
  box-shadow: 0 0 70px rgba(255, 0, 127, 0.65), 0 0 140px rgba(255, 94, 0, 0.35);
  z-index: 1;
  opacity: 0.85;
  mask-image: linear-gradient(to bottom, 
    #000 0%, #000 50%, 
    transparent 52%, #000 54%, 
    transparent 58%, #000 60%, 
    transparent 66%, #000 68%, 
    transparent 76%, #000 78%, 
    transparent 88%, #000 90%, 
    transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, 
    #000 0%, #000 50%, 
    transparent 52%, #000 54%, 
    transparent 58%, #000 60%, 
    transparent 66%, #000 68%, 
    transparent 76%, #000 78%, 
    transparent 88%, #000 90%, 
    transparent 100%);
}

.synth-grid {
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 200%;
  height: 48%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 127, 0.35) 1px, transparent 1px);
  background-size: 55px 55px;
  transform: perspective(350px) rotateX(68deg);
  transform-origin: bottom center;
  z-index: 2;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 15%, transparent 95%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 15%, transparent 95%);
  animation: grid-slide 18s linear infinite;
}

@keyframes grid-slide {
  0% { background-position: 0 0; }
  100% { background-position: 0 550px; }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, var(--bg-deep) 90%);
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 950px;
  margin: 0 auto;
}

/* Badge Fita VHS de Topo */
.vhs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--neon-cyan);
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  color: var(--neon-cyan);
  letter-spacing: 2px;
  box-shadow: 0 0 15px var(--neon-cyan-glow);
  margin-bottom: 1.8rem;
  text-transform: uppercase;
}

.vhs-rec {
  width: 10px;
  height: 10px;
  background: var(--blood-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blood-bright);
  animation: rec-blink 1s infinite alternate;
}

@keyframes rec-blink {
  0% { opacity: 0.2; }
  100% { opacity: 1; }
}

/* Grande Título Hero Metal / Slasher */
.hero-title {
  font-family: var(--font-metal);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #dce4f2 28%, #8e9bb5 46%, #ff0055 49%, #800018 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(255, 0, 85, 0.7)) drop-shadow(0 4px 15px rgba(0,0,0,0.9));
}

.hero-subtitle {
  font-family: var(--font-rock);
  font-size: clamp(1.2rem, 3.2vw, 2.2rem);
  color: var(--gold-accent);
  text-shadow: 2px 2px 0px #000, 0 0 15px rgba(245, 176, 65, 0.7);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  transform: rotate(-1.5deg);
}

.hero-description {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 2rem;
  background: linear-gradient(135deg, var(--blood-bright) 0%, var(--neon-pink) 100%);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-synth);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 0 25px var(--blood-glow), inset 0 0 10px rgba(255,255,255,0.4);
  border: 1px solid #ffa3be;
  transition: all var(--transition-fast);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px var(--blood-glow), 0 10px 20px rgba(0,0,0,0.6);
  filter: brightness(1.15);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 2rem;
  background: rgba(8, 3, 15, 0.85);
  color: var(--neon-cyan);
  text-decoration: none;
  font-family: var(--font-synth);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan-glow);
  transition: all var(--transition-fast);
}

.btn-hero-secondary:hover {
  background: rgba(0, 240, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--neon-cyan-glow);
  color: #fff;
}

/* ==========================================================================
   TICKER / MARQUEE DE FITAS CASSETE DOS ANOS 80
   ========================================================================== */
.tape-ticker {
  background: #000;
  border-top: 1px solid var(--border-neon);
  border-bottom: 1px solid var(--border-neon);
  padding: 0.65rem 0;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 15px rgba(255, 0, 127, 0.2);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-slide 32s linear infinite;
  gap: 3rem;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-pixel);
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.ticker-item span.highlight {
  color: var(--neon-pink);
  text-shadow: 0 0 6px var(--neon-pink);
}

.ticker-item span.cyan {
  color: var(--neon-cyan);
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SEÇÕES GERAIS E CONTAINER
   ========================================================================== */
.section-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 0.68rem;
  color: var(--neon-cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 8px var(--neon-cyan-glow);
}

.section-title {
  font-family: var(--font-metal);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff 20%, #ff80a5 60%, var(--blood-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(255, 7, 58, 0.5));
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   SEÇÃO INTRODUTÓRIA: O MANIFESTO BLOODSTAGE & O SUBGÊNERO SLASHER
   ========================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(145deg, rgba(24, 11, 38, 0.9), rgba(14, 5, 23, 0.95));
  border: 1px solid var(--border-neon);
  border-radius: 14px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), var(--glow-pink-box);
  position: relative;
  overflow: hidden;
}

.intro-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-pink), var(--blood-bright));
}

.intro-lead {
  font-family: var(--font-rock);
  font-size: 1.7rem;
  color: var(--gold-accent);
  line-height: 1.35;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.intro-text p {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.intro-text p strong {
  color: #fff;
  font-weight: 600;
}

.intro-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.pillar-card {
  background: rgba(10, 4, 16, 0.7);
  border: 1px solid rgba(255, 0, 127, 0.25);
  border-radius: 8px;
  padding: 1.2rem;
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan-box);
}

.pillar-card h4 {
  font-family: var(--font-synth);
  font-size: 0.92rem;
  color: var(--neon-cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Painel de Aparelho VHS Ilustrado da Introdução */
.intro-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.vcr-console {
  width: 100%;
  background: #111419;
  border: 2px solid #333a48;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), inset 0 2px 5px rgba(255,255,255,0.1);
  position: relative;
}

.vcr-slot {
  width: 100%;
  height: 28px;
  background: #000;
  border: 2px solid #222;
  border-radius: 4px;
  margin-bottom: 1.2rem;
  position: relative;
  box-shadow: inset 0 4px 8px rgba(0,0,0,0.9);
}

.vcr-slot::after {
  content: 'INSERT VHS TAPE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  color: #444;
}

.vcr-display {
  background: #030806;
  border: 2px solid #00ff8830;
  border-radius: 6px;
  padding: 0.8rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-pixel);
  color: #00ff88;
  font-size: 0.85rem;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.7);
  margin-bottom: 1.2rem;
}

.vcr-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.rock-badge {
  background: #000;
  border: 1px dashed var(--gold-accent);
  color: var(--gold-accent);
  font-family: var(--font-rock);
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  transform: rotate(-2deg);
}

.slasher-badge {
  background: var(--blood-dark);
  border: 1px solid var(--blood-bright);
  color: #fff;
  font-family: var(--font-horror);
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 7, 58, 0.4);
  transform: rotate(3deg);
}

.synth-badge {
  background: #140529;
  border: 1px solid var(--neon-pink);
  color: var(--neon-pink);
  font-family: var(--font-synth);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--neon-pink-glow);
}

/* ==========================================================================
   INFOGRÁFICO INTERATIVO: REGRAS DE SOBREVIVÊNCIA SLASHER DOS ANOS 80
   ========================================================================== */
.rules-container {
  margin-top: 4rem;
  background: rgba(14, 6, 22, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.rules-heading {
  font-family: var(--font-rock);
  font-size: 1.9rem;
  color: var(--neon-cyan);
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px var(--neon-cyan-glow);
}

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

.rule-item {
  background: rgba(0, 0, 0, 0.6);
  border-left: 4px solid var(--blood-bright);
  padding: 1.2rem;
  border-radius: 0 8px 8px 0;
  transition: all var(--transition-fast);
}

.rule-item:hover {
  background: rgba(255, 7, 58, 0.1);
  transform: translateX(6px);
  border-left-color: var(--neon-pink);
}

.rule-number {
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--neon-pink);
  display: block;
  margin-bottom: 0.4rem;
}

.rule-title {
  font-family: var(--font-synth);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.rule-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   BARRA DE CONTROLE: PESQUISA, FILTROS E ORDENAÇÃO
   ========================================================================== */
.controls-bar {
  background: rgba(16, 7, 26, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-neon);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), var(--glow-pink-box);
}

.controls-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.search-box {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 0, 127, 0.4);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan-glow);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--neon-pink);
  pointer-events: none;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: var(--text-muted);
  font-family: var(--font-synth);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(255, 0, 127, 0.15);
  border-color: var(--neon-pink);
  color: #fff;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--neon-pink), var(--blood-bright));
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 14px var(--neon-pink-glow);
}

.sort-select {
  padding: 0.65rem 1.2rem;
  background: #0b0313;
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  color: var(--neon-cyan);
  font-family: var(--font-synth);
  font-size: 0.8rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* ==========================================================================
   OS 8 POSTS DE FILMES - CARDS ESTILO FITA VHS / DOSSIÊ COLECIONADOR
   ========================================================================== */
.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 2.5rem;
}

.movie-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 380px 880px;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-pink);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.9), var(--glow-pink-box);
}

/* Topo do Card Estilo VHS Cassete */
.vhs-header {
  background: #0a0412;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.65rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  color: var(--neon-cyan);
  letter-spacing: 1px;
}

.vhs-tracking {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.vhs-index {
  color: var(--neon-pink);
  font-weight: bold;
}

/* Imagem do Pôster com Moldura e Efeito Hover */
.poster-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: radial-gradient(circle at center, #180628 0%, #06020c 100%);
}

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease, opacity 0.35s ease;
  filter: contrast(1.08) brightness(0.95);
  opacity: 0;
}

.poster-img.loaded,
.poster-img:not([loading="lazy"]) {
  opacity: 1;
}

.movie-card:hover .poster-img {
  transform: scale(1.05);
  filter: contrast(1.15) brightness(1.05);
}

.poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(8, 3, 15, 0.2) 0%, 
    transparent 40%, 
    rgba(8, 3, 15, 0.7) 75%, 
    var(--bg-card) 100%);
  pointer-events: none;
}

/* Badges sobre o pôster */
.poster-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 4.5rem;
  max-width: calc(100% - 5.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  z-index: 2;
  pointer-events: none;
}

.year-badge {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-synth);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--neon-cyan-glow);
  white-space: nowrap;
  display: inline-block;
}

.killer-badge {
  background: rgba(99, 0, 13, 0.9);
  border: 1px solid var(--blood-bright);
  color: #fff;
  font-family: var(--font-horror);
  font-size: 0.95rem;
  padding: 0.15rem 0.65rem;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 7, 58, 0.4);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

/* Botão de Favoritar Rápido no Pôster */
.btn-fav {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  color: #fff;
  transition: all var(--transition-fast);
}

.btn-fav:hover {
  background: var(--neon-pink);
  border-color: #fff;
  box-shadow: 0 0 12px var(--neon-pink);
  transform: scale(1.1);
}

.btn-fav.active {
  background: var(--blood-bright);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 15px var(--blood-bright);
}

/* Corpo Informativo do Card */
.movie-content {
  padding: 1.5rem 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.movie-title-row {
  margin-bottom: 0.5rem;
  min-width: 0;
  overflow: hidden;
}

.movie-title {
  font-family: var(--font-metal);
  font-size: 2rem;
  letter-spacing: 1.5px;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.movie-card:hover .movie-title {
  color: var(--neon-pink);
  text-shadow: 0 0 12px var(--neon-pink-glow);
}

.movie-tagline {
  font-family: var(--font-rock);
  font-size: 0.95rem;
  color: var(--gold-accent);
  margin-bottom: 1rem;
  line-height: 1.35;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Meta dados técnicos em pílulas */
.movie-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.85rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.meta-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.meta-label {
  font-family: var(--font-synth);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.meta-val {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  min-width: 0;
  width: 100%;
}

/* Sinopse / Enredo */
.movie-synopsis-box {
  margin-bottom: 1.3rem;
}

.synopsis-title {
  font-family: var(--font-synth);
  font-size: 0.82rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.synopsis-text {
  font-size: 0.94rem;
  color: #d1c7dc;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Destaque de Curiosidade */
.movie-curio-box {
  background: rgba(255, 0, 127, 0.08);
  border-left: 3px solid var(--neon-pink);
  padding: 0.85rem 1rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.5rem;
}

.curio-label {
  font-family: var(--font-rock);
  font-size: 0.85rem;
  color: var(--neon-pink);
  margin-bottom: 0.25rem;
  display: block;
}

.curio-snippet {
  font-size: 0.86rem;
  color: var(--text-main);
  line-height: 1.45;
  font-style: italic;
}

/* Ações do Card */
.movie-actions {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
}

.btn-dossier {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.2), rgba(197, 0, 27, 0.3));
  border: 1px solid var(--neon-pink);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-synth);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-dossier:hover {
  background: var(--neon-pink);
  box-shadow: 0 0 20px var(--neon-pink-glow);
  transform: translateY(-2px);
}

.btn-seen {
  padding: 0.75rem 0.95rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: var(--font-synth);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-seen:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.btn-seen.active {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan-glow);
}

/* ==========================================================================
   LINHA DO TEMPO CRONOLÓGICA 1978 - 1988
   ========================================================================== */
.timeline-section {
  position: relative;
  margin-top: 3rem;
}

.timeline-track {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--neon-cyan) 0%, var(--neon-pink) 50%, var(--blood-bright) 100%);
  box-shadow: 0 0 12px var(--neon-pink);
  transform: translateX(-50%);
}

.timeline-node {
  position: relative;
  width: 50%;
  padding: 1.5rem 2.5rem;
  box-sizing: border-box;
}

.timeline-node:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-node:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--neon-pink);
  box-shadow: 0 0 12px var(--neon-pink);
  z-index: 2;
}

.timeline-node:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-node:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-box {
  background: rgba(18, 8, 30, 0.85);
  border: 1px solid var(--border-neon);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  transition: all var(--transition-fast);
}

.timeline-box:hover {
  border-color: var(--neon-cyan);
  transform: scale(1.03);
  box-shadow: var(--glow-cyan-box);
}

.timeline-year {
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  color: var(--neon-cyan);
  margin-bottom: 0.4rem;
}

.timeline-film {
  font-family: var(--font-metal);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

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

/* ==========================================================================
   SINTETIZADOR BLOODSTAGE (WEB AUDIO API RACK)
   ========================================================================== */
.synth-rack {
  background: linear-gradient(180deg, #181a20 0%, #0d0f14 100%);
  border: 3px solid #2d3340;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.85), inset 0 0 20px rgba(0,0,0,0.8);
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.rack-ears {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.rack-screw {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3c424e;
  border: 1px solid #1a1e24;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.2);
  position: relative;
}

.rack-screw::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 20%;
  width: 60%;
  height: 2px;
  background: #111;
  transform: translateY(-50%) rotate(45deg);
}

.synth-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #222834;
  padding-bottom: 1.2rem;
}

.synth-title-box h3 {
  font-family: var(--font-synth);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
}

.synth-title-box p {
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  color: var(--neon-pink);
  margin-top: 4px;
}

.synth-controls-top {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Botão Play do Sintetizador Atmosférico */
.btn-synth-play {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.6rem;
  background: linear-gradient(135deg, var(--neon-pink), var(--blood-bright));
  border: none;
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-synth);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 20px var(--neon-pink-glow);
  transition: all var(--transition-fast);
}

.btn-synth-play:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--neon-pink);
}

.btn-synth-play.playing {
  background: var(--neon-cyan);
  color: #08030f;
  box-shadow: 0 0 25px var(--neon-cyan);
}

/* Seletor de Mood / Faixa Sonora */
.mood-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-mood {
  padding: 0.45rem 0.85rem;
  background: #141822;
  border: 1px solid #2f384a;
  border-radius: 4px;
  color: var(--text-muted);
  font-family: var(--font-synth);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-mood:hover {
  color: #fff;
  border-color: var(--neon-pink);
}

.btn-mood.active {
  background: rgba(255, 0, 127, 0.25);
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink-glow);
}

/* Teclado Virtual & Visualizador de Frequência */
.synth-interactive {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.oscilloscope-box {
  background: #020704;
  border: 2px solid #00ff8840;
  border-radius: 8px;
  height: 90px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 255, 136, 0.2);
}

.oscilloscope-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.keyboard-grid {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.synth-key {
  flex: 1;
  min-width: 48px;
  max-width: 80px;
  height: 110px;
  background: linear-gradient(180deg, #f0f0f0 0%, #d8d8d8 85%, #b0b0b0 100%);
  border: 1px solid #999;
  border-radius: 0 0 6px 6px;
  color: #222;
  font-family: var(--font-synth);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 0.75rem;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.4), inset 0 1px 0 #fff;
  transition: all 0.1s ease;
  user-select: none;
}

.synth-key:hover {
  background: #fff;
  box-shadow: 0 0 12px var(--neon-cyan);
}

.synth-key:active, .synth-key.pressed {
  transform: translateY(3px);
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 20px var(--neon-cyan);
}

.synth-key.black-key {
  background: linear-gradient(180deg, #2b2b2b 0%, #151515 85%, #050505 100%);
  color: #fff;
  border-color: #000;
  height: 85px;
  margin: 0 -12px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0,0,0,0.8);
}

.synth-key.black-key:hover {
  background: #333;
}

.synth-key.black-key:active, .synth-key.black-key.pressed {
  background: var(--neon-pink);
  color: #fff;
  box-shadow: 0 0 20px var(--neon-pink);
}

/* ==========================================================================
   MODAL DE DOSSIÊ COMPLETO ESTILO ARQUIVO CONFIDENCIAL VHS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 2, 8, 0.88);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 2px solid var(--neon-pink);
  border-radius: 14px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), var(--glow-pink-box);
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header-tape {
  background: #000;
  border-bottom: 2px solid var(--border-neon);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-tape-label {
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow: hidden;
  white-space: nowrap;
}

.btn-close-modal {
  width: 36px;
  height: 36px;
  background: rgba(255, 0, 127, 0.2);
  border: 1px solid var(--neon-pink);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-close-modal:hover {
  background: var(--neon-pink);
  box-shadow: 0 0 15px var(--neon-pink);
}

.modal-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
  overflow-x: hidden;
}

.modal-hero-split {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  min-width: 0;
}

.modal-poster-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.8);
  border: 1px solid var(--border-neon);
  max-width: 100%;
}

.modal-poster-img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-info-col {
  min-width: 0;
  overflow: hidden;
}

.modal-info-col h2 {
  font-family: var(--font-metal);
  font-size: 2.6rem;
  color: #fff;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.modal-tagline {
  font-family: var(--font-rock);
  font-size: 1.15rem;
  color: var(--gold-accent);
  margin-bottom: 1.2rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.modal-dossier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  table-layout: fixed;
}

.modal-dossier-table td {
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.modal-dossier-table td.label {
  font-family: var(--font-synth);
  font-size: 0.72rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  width: 140px;
  min-width: 140px;
  white-space: nowrap;
}

.modal-dossier-table td.val {
  color: var(--text-main);
  font-weight: 500;
  word-break: break-word;
  overflow-wrap: break-word;
}
}

.modal-full-text h3 {
  font-family: var(--font-synth);
  font-size: 1.1rem;
  color: var(--neon-pink);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-full-text p {
  color: #e2dbed;
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.modal-curiosities-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.modal-curiosities-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text-main);
  line-height: 1.6;
  font-size: 0.95rem;
}

.modal-curiosities-list li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-accent);
}

.modal-quote-box {
  background: rgba(0, 0, 0, 0.65);
  border-left: 4px solid var(--blood-bright);
  padding: 1.2rem 1.5rem;
  border-radius: 0 8px 8px 0;
  font-family: var(--font-rock);
  font-size: 1.1rem;
  color: var(--gold-accent);
}

/* ==========================================================================
   FOOTER RETRÔ ANOS 80 & CRÉDITOS VHS
   ========================================================================== */
.site-footer {
  background: #040108;
  border-top: 2px solid var(--neon-pink);
  padding: 4rem 1.5rem 3rem;
  position: relative;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-metal);
  font-size: 2.2rem;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 420px;
}

.footer-col h4 {
  font-family: var(--font-synth);
  font-size: 0.9rem;
  color: var(--neon-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--neon-pink);
  transform: translateX(4px);
  display: inline-block;
}

.vhs-sticker {
  display: inline-block;
  background: #000;
  border: 2px dashed #ffe600;
  color: #ffe600;
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  padding: 0.6rem 1rem;
  transform: rotate(-3deg);
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  margin-top: 1rem;
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-dev {
  font-family: var(--font-synth);
  font-size: 0.85rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid var(--neon-pink);
  padding: 0.45rem 1.15rem;
  border-radius: 20px;
  box-shadow: 0 0 14px var(--neon-pink-glow);
  letter-spacing: 0.6px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-dev:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--neon-pink);
}

.footer-dev .dev-name {
  color: var(--neon-cyan);
  font-weight: 800;
  letter-spacing: 0.8px;
  text-shadow: 0 0 8px var(--neon-cyan-glow);
}

/* Aviso de Nenhum Registro Encontrado */
.empty-notice {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1.5rem;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  border: 1px dashed var(--neon-pink);
  margin-top: 1.5rem;
}

.empty-code {
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  color: var(--neon-pink);
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.empty-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ==========================================================================
   BOTÃO VOLTAR AO TOPO
   ========================================================================== */
.btn-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--neon-pink);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), var(--glow-pink-box);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.btn-back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.btn-back-to-top:hover {
  background: var(--neon-pink);
  transform: translateY(-4px);
  box-shadow: 0 0 25px var(--neon-pink);
}

/* ==========================================================================
   RESPONSIVIDADE & MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .modal-hero-split {
    grid-template-columns: 1fr;
  }
  .modal-poster-wrap {
    max-width: 320px;
    margin: 0 auto;
  }
  .timeline-track::before {
    left: 20px;
  }
  .timeline-node {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 55px;
    padding-right: 15px;
  }
  .timeline-dot {
    left: 12px !important;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== NAVEGAÇÃO MOBILE/TABLET: HAMBÚRGUER + OVERLAY =====
   Colapsa até 1024px: acima disso o nav completo (6 links + marca + pills) cabe inline. */
@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1000; /* acima do overlay (999) p/ o X seguir clicável */
  }

  /* O <nav> vira um overlay fixo de tela cheia. display:none/block garante
     repaint ao abrir (evita bug de camada composta do painel translúcido);
     z-index 999 fica abaixo do header (1000) p/ o botão X seguir clicável. */
  #primaryNav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #0a0412;
    z-index: 999;
    padding-top: 92px;
    overflow-y: auto;
  }

  #primaryNav.open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1.1rem;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 1.1rem 0.5rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 768px) {
  .movies-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .controls-top {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box,
  .sort-select {
    width: 100%;
  }
  /* Ticker e tabela do modal não devem forçar scroll horizontal */
  .modal-dossier-table td {
    word-break: break-word;
  }
}

/* ===== TELAS PEQUENAS (CELULAR) ===== */
@media (max-width: 480px) {
  .header-container {
    padding: 0.7rem 0.6rem;
    gap: 0.5rem;
  }
  .brand-title {
    font-size: 1.5rem;
    letter-spacing: 1.5px;
  }
  .brand-tagline {
    font-size: 0.42rem;
    letter-spacing: 1px;
  }
  .brand-icon-box {
    width: 40px;
    height: 40px;
  }
  .header-actions {
    gap: 0.35rem;
  }

  /* Hero: botões empilhados em largura total */
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Espaçamento geral mais compacto */
  .section-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* Intro: padding grande (48px) estoura no mobile; itens precisam poder encolher */
  .intro-grid {
    padding: 1.25rem;
  }
  .intro-grid > *,
  .intro-text,
  .pillar-card {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .movie-content {
    padding: 1.1rem;
  }
  .movie-meta-grid {
    grid-template-columns: 1fr;
  }

  /* Synth: cabeçalho empilhado e botões de modo com wrap */
  .synth-header {
    flex-direction: column;
  }
  .synth-controls-top,
  .mood-buttons {
    width: 100%;
  }
  .mood-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  .btn-mood {
    flex: 1 1 auto;
  }
  .synth-rack {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Synth: teclado compacto e osciloscópio contido */
  .synth-key {
    min-width: 34px;
    max-width: 52px;
    height: 84px;
    font-size: 0.6rem;
  }
  .keyboard-grid {
    gap: 0.25rem;
  }
  .synth-rack,
  .oscilloscope-box,
  .oscilloscope-canvas {
    max-width: 100%;
  }

  /* Modal mais compacto */
  .modal-body {
    padding: 1.1rem;
  }
  .modal-dossier-table td {
    font-size: 0.82rem;
  }
}

/* ===== PILLS DO HEADER VIRAM ÍCONE-ONLY NO MOBILE (cabem ao lado do hambúrguer) ===== */
.btn-ico {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 600px) {
  .header-actions .btn-pill {
    padding: 0.45rem 0.45rem;
    gap: 0.3rem;
  }
  .btn-pill .btn-label {
    display: none;
  }
  .btn-pill .btn-ico {
    font-size: 1rem;
  }
}
