/* ==========================================================================
   FLASHBACK EXPERIENCE - DESIGN SYSTEM & STYLES (taste-skill compliant)
   Colors: Bordeaux Red (#5C0614), Dark Violet (#1D0A1C), Rich Black (#0B090A), White (#F5F3F4)
   Fonts: Syne (Display), Space Mono (Monospace / Subtitles), Plus Jakarta Sans (Body)
   ========================================================================== */

/* --- Font Faces --- */
@font-face {
  font-family: 'Rudelsberg';
  src: url('assets/fonts/Rudelsberg.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Amsterdam';
  src: url('assets/fonts/Amsterdam 400.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Amsterdam Four';
  src: url('assets/fonts/Amsterdam Four_ttf 400.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables & Root --- */
:root {
  --color-black: #0B090A;
  --color-black-light: #161214;
  --color-bordeaux: #5C0614;
  --color-bordeaux-light: #7E0E20;
  --color-violet: #1D0A1C;
  --color-violet-light: #321030;
  --color-white: #F5F3F4;
  --color-white-cream: #E5E0E2;
  --color-gray: #A3969A;
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --header-height: 72px;
  
  /* Scrollbar */
  scrollbar-color: var(--color-bordeaux) var(--color-black);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* --- Film Grain & CRT Effects --- */
.film-grain {
  position: fixed;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200%;
  background: transparent url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E') repeat;
  opacity: 0.045;
  pointer-events: none;
  z-index: 9999;
  animation: grain 8s steps(10) infinite;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 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% 4px, 6px 100%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.4;
}

@keyframes grain {
  0%, 100% { transform:translate(0, 0); }
  10% { transform:translate(-5%, -10%); }
  20% { transform:translate(-15%, 5%); }
  30% { transform:translate(7%, -25%); }
  40% { transform:translate(-5%, 25%); }
  50% { transform:translate(-15%, 10%); }
  60% { transform:translate(15%, 0%); }
  70% { transform:translate(0%, 15%); }
  80% { transform:translate(3%, 35%); }
  90% { transform:translate(-10%, 10%); }
}

/* --- Typography System --- */
h1, h2, h3, h4, .section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
}

h2, .section-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.tickets-section .section-title {
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-white-cream);
}

.mono-text, blockquote, cite, .script-label, .hero-eyebrow, .frame-tag, .frame-director {
  font-family: var(--font-mono);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Main Header / Navigation --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(11, 9, 10, 0.85);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid rgba(92, 6, 20, 0.2);
  z-index: 20000;
}

.header-container {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--color-white);
  transition: opacity 0.2s ease;
}

.brand-logo-img {
  display: block;
  height: 42px;
  width: auto;
}

.brand-logo:hover {
  opacity: 0.9;
}

.brand-logo .accent-text {
  color: var(--color-bordeaux-light);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-white-cream);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--color-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-bordeaux-light);
  transition: width 0.2s ease;
}

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

.nav-cta {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--color-white);
  background-color: var(--color-bordeaux);
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--color-bordeaux-light);
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--color-bordeaux-light);
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: translateY(0);
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height); /* Top padding cap: only 72px for header, letting hero content breath */
  overflow: hidden; /* Prevent snow translation overflow */
  background-color: #000;
}

/* TV Static (No Signal) background effect */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.95) 100%), #060606;
  z-index: -2;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.16; /* Visible, analog TV snow effect */
  z-index: -1;
  pointer-events: none;
  animation: tv-static-snow 0.12s steps(4) infinite;
}

@keyframes tv-static-snow {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-10px, 5px); }
  50% { transform: translate(5px, -15px); }
  75% { transform: translate(-5px, 10px); }
  100% { transform: translate(10px, -5px); }
}

.hero-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-bordeaux-light);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Amsterdam', var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  text-transform: none; /* Importante para que la cursiva no se renderice en mayúsculas */
  letter-spacing: normal;
  line-height: 1.6;
  color: var(--color-white);
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  overflow: visible;
}

.hero-subtext {
  font-size: 1.15rem;
  color: var(--color-white-cream);
  max-width: 50ch;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 0.95rem;
  color: var(--color-white);
  background-color: var(--color-bordeaux);
  padding: 1rem 2rem;
  border: 1px solid var(--color-bordeaux-light);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-btn:hover {
  background-color: var(--color-bordeaux-light);
  box-shadow: 0 4px 15px rgba(92, 6, 20, 0.4);
  transform: translateY(-2px);
}

.primary-btn:active {
  transform: translateY(-1px);
}

.secondary-btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 0.95rem;
  color: var(--color-white);
  background-color: transparent;
  padding: 1rem 2rem;
  border: 1px solid var(--color-white-cream);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.secondary-btn:active {
  transform: translateY(-1px);
}

/* Tarantino-style film frame placeholder right card */
.hero-cinematic-card {
  position: relative;
  width: 100%;
  max-width: 520px; /* Hace el reproductor de video más chico */
  justify-self: center; /* Lo centra horizontalmente en su celda del grid */
  aspect-ratio: 16/9;
  background-color: var(--color-black-light);
  border: 4px solid var(--color-violet-light);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  background-image: linear-gradient(0deg, rgba(11,9,10,0.8) 0%, rgba(11,9,10,0) 60%), url('assets/foto_1.jpg');
  background-size: cover;
  background-position: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hero-cinematic-card:hover {
  transform: scale(1.02) rotate(1deg);
}

/* Video Elements Styles */
.hero-cinematic-card video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-cinematic-card.playing video {
  opacity: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.hero-cinematic-card.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.play-button-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-bordeaux);
  border: 1px solid var(--color-bordeaux-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(92, 6, 20, 0.6);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.hero-cinematic-card:hover .play-button-icon {
  transform: scale(1.1);
  background-color: var(--color-bordeaux-light);
}

.hero-cinematic-card .card-frame {
  z-index: 3; /* Keep it on top of the playing video */
  width: 100%;
  pointer-events: none; /* Let clicks pass to the video card */
}

/* Timeline Controls */
.video-timeline-bar {
  position: absolute;
  bottom: 3.2rem; /* Just above card-frame */
  left: 1.5rem;
  right: 1.5rem;
  height: 14px;
  display: flex;
  align-items: center;
  z-index: 5; /* Clickable above card-frame and video */
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-cinematic-card.playing:hover .video-timeline-bar,
.hero-cinematic-card.playing:focus-within .video-timeline-bar {
  opacity: 1; /* Only visible on hover/focus when playing */
}

.timeline-track {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: height 0.15s ease;
}

.video-timeline-bar:hover .timeline-track {
  height: 6px;
}

.timeline-fill {
  width: 0%;
  height: 100%;
  background-color: var(--color-bordeaux-light);
  position: absolute;
  top: 0;
  left: 0;
  transition: width 0.1s linear; /* Smooth progress update */
}

.card-frame {
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-white-cream);
  letter-spacing: 0.05em;
  opacity: 0.8;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 0.75rem;
}

/* Backdrop for expanded video lightbox */
.video-lightbox-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 30000; /* Raised above header (20000) and static-free sections (10000) */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.video-expanded {
  overflow: hidden; /* Prevent scrolling when lightbox is active */
}

body.video-expanded .video-lightbox-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* Elevate the hero section stacking context above backdrop */
body.video-expanded .hero-section {
  z-index: 30002; /* Raised above backdrop */
}

/* Dim and make unclickable the background text when expanded */
body.video-expanded .hero-text-block {
  opacity: 0.05;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.video-expanded .hero-cinematic-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1) !important;
  width: 90vw;
  max-width: 1000px;
  aspect-ratio: 16/9;
  z-index: 30005; /* Raised above backdrop and header */
  border-color: var(--color-bordeaux-light);
  box-shadow: 0 0 50px rgba(92, 6, 20, 0.5);
  animation: expand-modal-anim 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes expand-modal-anim {
  from {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* Expand Button inside Cinematic Card */
.expand-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 38px;
  height: 38px;
  background-color: rgba(11, 9, 10, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--color-white-cream);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 6; /* Clickable above card-frame and video overlay */
  transition: all 0.2s ease;
}

.expand-btn:hover {
  background-color: var(--color-bordeaux);
  border-color: var(--color-bordeaux-light);
  color: var(--color-white);
  transform: scale(1.05);
}

.expand-btn svg {
  transition: transform 0.2s ease;
}

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

.expand-btn .hidden {
  display: none !important;
}

/* --- Manifesto / Script Section --- */
/* --- Manifesto / Concept & Backstage Section --- */
.manifesto-section {
  background-color: #000000; /* Fondo negro liso puro */
  background-image: none; /* Sin degradado */
  padding: 8rem 0; /* Add generous top and bottom padding */
  position: relative;
  z-index: 10000; /* Se eleva sobre la estática para un negro liso total */
}

/* Part 1: Grid Layout */
.manifesto-new-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.5rem; /* Espacio entre el título y el bloque de texto */
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .manifesto-new-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}

.manifesto-left-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.manifesto-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-bordeaux-light);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem; /* Muy poco espacio abajo */
}

.manifesto-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  text-transform: none;
  font-style: italic;
  font-weight: 400;
  line-height: 1.15; /* Líneas del título muy juntas */
  color: var(--color-white);
  padding: 0;
  margin: 0;
}

.manifesto-right-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* Párrafos muy juntos verticalmente */
  width: 100%;
  max-width: 100%; /* Ocupa el largo de toda la pantalla */
}

.manifesto-p-highlight {
  font-size: 1.15rem;
  line-height: 1.5; /* Interlineado del texto más ajustado */
  color: var(--color-white);
  font-weight: 500;
}

.manifesto-p-normal {
  font-size: 0.98rem;
  line-height: 1.5; /* Interlineado del texto más ajustado */
  color: var(--color-white-cream);
  opacity: 0.85;
}

.manifesto-pillars {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: 0.6rem;
  margin-top: 1.2rem; /* Pilares más cerca del texto */
  align-items: center;
}

.pillar-tag {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem; /* Tamaño sutilmente más chico y compacto */
  font-style: italic; /* Elegante y con hermosas curvas */
  font-weight: 500;
  color: #b31934; /* Rojo bordo elegante y perfectamente visible en fondo negro */
  background: none; /* Eliminado el fondo */
  border: none; /* Eliminado el recuadro/borde */
  padding: 0;
  border-radius: 0;
}

.pillar-tag:not(:last-child)::after {
  content: "·";
  margin-left: 1.5rem;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font-body);
  font-style: normal;
  display: inline-block;
}

/* Separator Line */
.manifesto-separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
  margin: 2.2rem 0; /* Espacio reducido entre Manifesto y Backstage */
}

.backstage-header-block {
  margin-bottom: 1.5rem;
  text-align: left;
}

/* Part 2: Backstage Grid */
.backstage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem; /* Menos espacio entre la imagen y la información */
  align-items: center;
}

@media (min-width: 768px) {
  .backstage-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.5rem; /* Menos espacio horizontal en desktop */
  }
}

.backstage-image-col {
  display: flex;
  justify-content: center;
}

.backstage-img-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15); /* Borde sutil y elegante en lugar de violeta neón */
  padding: 0; /* Removido el relleno para que la foto llene el marco limpiamente */
  background-color: transparent;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
  width: 100%;
  max-width: 480px;
}

.backstage-img {
  width: 100%;
  aspect-ratio: 3/2; /* Formato horizontal/apaisado elegante */
  object-fit: cover;
  display: block;
}

.backstage-frame-tag {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  background-color: #fffafb; /* Fondo blanco/tiza tipo sticker de papel */
  color: #a6122d; /* Texto en elegante rojo bordo para contraste */
  border: 2px solid #ffffff; /* Borde del sticker */
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 3px; /* Esquinas apenas redondeadas tipo troquelado */
  box-shadow: 3px 5px 15px rgba(0, 0, 0, 0.45); /* Sombra 3D para despegarlo de la foto */
  transform: rotate(-3deg); /* Inclinación de sticker pegado manualmente */
  transition: transform 0.2s ease-in-out;
  letter-spacing: 0.02em;
}

.backstage-frame-tag:hover {
  transform: rotate(-1deg) scale(1.05); /* Efecto al pasar el cursor */
}

.backstage-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem; /* Espaciado original elegante y más separado */
}

.backstage-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-bordeaux-light);
  font-weight: 700;
  text-transform: uppercase;
}

.backstage-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4.5vw, 2.5rem); /* Tamaño elegante restaurado */
  text-transform: none;
  font-style: italic; /* Letra cursiva con hermosas curvas elegantes */
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-white);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.backstage-names {
  font-family: 'Amsterdam', var(--font-display);
  font-size: 1.8rem; /* Tamaño original restaurado */
  line-height: 1.3;
  color: var(--color-white-cream);
  text-transform: none;
}

.backstage-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem; /* Espacio elegante */
  align-items: center;
  margin-top: 0.3rem;
  margin-bottom: 0.6rem;
}

.social-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--color-bordeaux-light);
}

.social-dot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

.backstage-text {
  font-size: 1.05rem; /* Tamaño y lectura más espaciada y elegante */
  line-height: 1.7; /* Interlineado original amplio */
  color: var(--color-white-cream);
  opacity: 0.85;
}

/* --- Pairings Bento Section --- */
.pairings-section {
  background-color: #000000; /* Fondo negro liso puro */
  position: relative;
  z-index: 10000; /* Se eleva sobre la estática para un negro liso total */
}

.section-header-block {
  text-align: left;
  margin-bottom: 4rem;
  max-width: 600px;
}

.pairings-section .section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  line-height: 1.15;
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray);
  margin-top: 0.75rem;
}

/* Wine Stand Stacked Cards */
.winestand-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Menos espacio entre bloques */
  margin-top: 3rem;
  width: 100%;
}

.winestand-card {
  display: flex;
  flex-direction: column;
  padding: 1.8rem 2.2rem;
  background-color: #0b090a; /* Fondo muy oscuro sutil */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--color-bordeaux-light); /* Borde acentuado bordo */
  cursor: pointer;
  user-select: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.winestand-card:hover {
  border-left-color: #e63946; /* Brillo bordo más claro al pasar el mouse */
  background-color: #120f11;
  transform: translateY(-2px);
}

.winestand-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 1rem;
}

.winestand-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--color-white-cream);
  opacity: 0.75;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.winestand-card:hover .winestand-action {
  opacity: 1;
  color: var(--color-white);
}

.winestand-chevron {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.winestand-card.active .winestand-chevron {
  transform: rotate(180deg);
}

.winestand-card.active .winestand-trigger-text {
  color: #ffccd5;
}

.winestand-right {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease,
              margin-top 0.35s ease,
              padding-top 0.35s ease,
              border-color 0.35s ease;
}

.winestand-card.active .winestand-right {
  max-height: 300px;
  opacity: 1;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top-color: rgba(255, 255, 255, 0.12);
}

.winestand-left {
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* Mayor espacio para separar los bloques de texto */
}

.winestand-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em; /* Mayor espaciado entre letras */
  color: #ffb3c1; /* Tono rosa suave */
  text-transform: uppercase;
  font-weight: 600;
}

.winestand-character {
  font-family: 'Amsterdam', var(--font-display);
  font-size: 2.3rem;
  color: var(--color-white);
  line-height: 1.2;
  text-transform: none;
  margin: 0.4rem 0; /* Mayor espacio vertical */
  overflow: visible;
  padding-top: 1.2rem; /* Mayor separación superior para evitar superposición */
  padding-bottom: 0.8rem; /* Mayor separación inferior */
}

.winestand-concept {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
  color: #e63946; /* Rojo bordo */
  letter-spacing: 0.15em; /* Mayor espaciado entre letras */
}

.winestand-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-white-cream);
  opacity: 0.85;
}

/* Custom Marilyn Monroe Card Styles */
.winestand-card.card-marilyn {
  background-image: linear-gradient(rgba(11, 9, 10, 0.78), rgba(11, 9, 10, 0.78)), url('assets/foto4.jpg');
  background-size: cover;
  background-position: center;
  border-left-color: #ffa6c9; /* Borde izquierdo rosa claro */
}

.winestand-card.card-marilyn:hover {
  background-image: linear-gradient(rgba(11, 9, 10, 0.68), rgba(11, 9, 10, 0.68)), url('assets/foto4.jpg');
  border-left-color: #ffccd5;
}

.card-marilyn .winestand-tag {
  color: #ffa6c9; /* Rosa claro para la etiqueta */
}

.card-marilyn .winestand-character {
  color: #ffffff; /* Blanco puro para el personaje */
}

.card-marilyn .winestand-concept {
  color: #ffa6c9; /* Rosa claro para el concepto */
}

.card-marilyn .winestand-desc {
  color: #ffffff; /* Blanco puro para el párrafo de descripción */
  opacity: 0.95;
}

/* Custom Samantha Jones Card Styles */
.winestand-card.card-samantha {
  background-image: linear-gradient(rgba(11, 9, 10, 0.82), rgba(11, 9, 10, 0.82)), url('assets/foto5.jpg');
  background-size: cover;
  background-position: center;
  border-left-color: var(--color-bordeaux-light);
}

.winestand-card.card-samantha:hover {
  background-image: linear-gradient(rgba(11, 9, 10, 0.72), rgba(11, 9, 10, 0.72)), url('assets/foto5.jpg');
  border-left-color: #ffccd5;
}

.card-samantha .winestand-tag {
  color: #ffb3c1;
}

.card-samantha .winestand-character {
  color: #ffffff; /* Blanco puro para legibilidad impecable */
}

.card-samantha .winestand-concept {
  color: #ff4d6d; /* Rojo bordo sensual vibrante */
}

.card-samantha .winestand-desc {
  color: #f8f9fa; /* Blanco crema claro de alta visibilidad */
  opacity: 0.95;
}

/* Custom Cruella de Vil Card Styles */
.winestand-card.card-cruella {
  background-image: linear-gradient(rgba(11, 9, 10, 0.6), rgba(11, 9, 10, 0.6)), url('assets/foto6.jpg');
  background-size: cover;
  background-position: center;
  border-left-color: #9d4edd;
}

.winestand-card.card-cruella:hover {
  background-image: linear-gradient(rgba(11, 9, 10, 0.48), rgba(11, 9, 10, 0.48)), url('assets/foto6.jpg');
  border-left-color: #c084fc;
}

.card-cruella .winestand-tag {
  color: #c084fc; /* Violeta claro para la etiqueta */
}

.card-cruella .winestand-character {
  color: #ffffff; /* Firma en blanco puro para máxima legibilidad */
}

.card-cruella .winestand-concept {
  color: #e0aaff; /* Violeta claro / lavanda suave */
}

.card-cruella .winestand-desc {
  color: #f3e8ff; /* Blanco con un sutil tinte lavanda, muy legible */
  opacity: 0.95;
}

/* --- Tech Jazzing Experience Player Section --- */
.experience-section {
  background-color: var(--color-black-light);
}

.player-intro {
  text-align: left;
  margin-bottom: 4rem;
}

.experience-section .section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  line-height: 1.15;
  color: var(--color-white);
}

/* Retro Deck Widget Styling */
.retro-player-container {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}

.player-deck {
  background-color: var(--color-black);
  border: 4px solid var(--color-bordeaux);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

@media (min-width: 768px) {
  .player-deck {
    grid-template-columns: 1fr 1.1fr;
  }
}

/* Left: Turntable Side */
.deck-turntable {
  background-color: #120c0e;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  position: relative;
  border-bottom: 2px solid var(--color-bordeaux);
}

@media (min-width: 768px) {
  .deck-turntable {
    border-bottom: none;
    border-right: 2px solid var(--color-bordeaux);
  }
}

.vinyl-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.vinyl-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  /* La animacion esta siempre puesta pero congelada. Asi, al pausar, el
     disco se queda donde estaba en vez de pegar un salto a cero, y al
     volver a dar play sigue desde ese mismo punto. */
  animation: spinRecord 4s linear infinite;
  animation-play-state: paused;
}

/* Spinning Animation */
.vinyl-spinning {
  animation-play-state: running;
}

@keyframes spinRecord {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-center-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #d1cbd4;
  border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
  border: 1px solid var(--color-black);
}

.turntable-tonearm {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 25px;
  height: 140px;
  background-color: #cfc8d2;
  border-radius: 4px;
  transform-origin: top center;
  transform: rotate(-35deg); /* Default off record */
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
  z-index: 10;
}

/* Stylized Tonearm needle head */
.turntable-tonearm::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5px;
  width: 15px;
  height: 25px;
  background-color: var(--color-bordeaux);
  border-radius: 2px;
  transform: rotate(5deg);
}

.tonearm-active {
  transform: rotate(2deg); /* Swung over the record */
}

/* Right: Screen & Playlist Controls */
.deck-controls {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  background-image: linear-gradient(180deg, var(--color-black) 0%, var(--color-violet) 100%);
  min-width: 0;
  overflow: hidden;
}

.player-screen {
  background-color: #0f1c11; /* Matrix retro CRT green tint */
  border: 2px solid #1c331f;
  border-radius: 4px;
  padding: 1.5rem;
  font-family: var(--font-mono);
  color: #55ee64;
  text-shadow: 0 0 5px rgba(85,238,100,0.5);
  position: relative;
  overflow: hidden;
}

.screen-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(85, 238, 100, 0.08) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  animation: screenScroll 10s linear infinite;
}

@keyframes screenScroll {
  from { background-position-y: 0px; }
  to { background-position-y: 200px; }
}

.track-status {
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(85,238,100,0.2);
  padding-bottom: 0.25rem;
}

.track-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-time {
  font-size: 0.8rem;
  opacity: 0.8;
}

.control-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-control {
  background-color: var(--color-black-light);
  color: var(--color-white-cream);
  border: 1px solid rgba(255,255,255,0.15);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-control:hover {
  background-color: var(--color-bordeaux);
  color: var(--color-white);
  border-color: var(--color-bordeaux-light);
}

.btn-control:active {
  transform: scale(0.96);
}

.btn-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-bordeaux);
  border-color: var(--color-bordeaux-light);
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(92, 6, 20, 0.3);
}

.btn-play:hover {
  background-color: var(--color-bordeaux-light);
  box-shadow: 0 4px 15px rgba(92, 6, 20, 0.5);
  transform: scale(1.04);
}

.btn-play:active {
  transform: scale(0.98);
}

.hidden {
  display: none !important;
}

/* El HTML la usaba en 4 lugares pero nunca estuvo definida: el titulo
   "RESERVAR PASE", su descripcion y el "LUGAR:" quedaban a la izquierda. */
.text-center {
  text-align: center;
}

/* Playlist */
.player-playlist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.playlist-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background-color: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  min-width: 0; /* Evita que crezca horizontalmente */
}

.playlist-item:hover, .playlist-item:focus {
  background-color: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}

.playlist-item.active {
  background-color: rgba(92, 6, 20, 0.15);
  border-color: var(--color-bordeaux-light);
}

.playlist-item.active .track-num {
  color: var(--color-bordeaux-light);
  font-weight: normal;
}

.track-num {
  color: var(--color-gray);
  flex-shrink: 0; /* No se achica */
}

.track-label {
  color: var(--color-white-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.playlist-item.active .track-label {
  color: var(--color-white);
  font-weight: normal;
}

/* --- Registration Section --- */
.tickets-section {
  background-color: #000000; /* Fondo negro liso puro */
  position: relative;
  z-index: 10000; /* Se eleva sobre la estática para un negro liso total */
}

.tickets-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 768px) {
  .tickets-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.tickets-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

.tickets-section .section-title {
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

.tickets-description {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 48ch;
}

.event-details-card {
  background-color: var(--color-black-light);
  border-left: 3px solid var(--color-bordeaux-light);
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-details-card strong {
  color: var(--color-bordeaux-light);
}

/* Form Styles */
.retro-form {
  background-color: var(--color-black-light);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.form-title {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--color-white);
  border-bottom: 2px solid var(--color-bordeaux);
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--color-gray);
  letter-spacing: 0.05em;
}

.form-group input, .form-group select {
  background-color: var(--color-black);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--color-bordeaux-light);
  box-shadow: 0 0 0 2px rgba(92, 6, 20, 0.25);
}

/* Form Validation & Accessibility */
.form-group input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #e63946;
}

.form-error {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #e63946;
  min-height: 1rem;
}

.submit-btn {
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 1rem;
  background-color: var(--color-bordeaux);
  border: 1px solid var(--color-bordeaux-light);
  color: var(--color-white);
  padding: 1.1rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--color-bordeaux-light);
  box-shadow: 0 4px 15px rgba(92, 6, 20, 0.4);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* Success State Widget */
.form-success-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
  background-color: var(--color-black-light);
  border: 2px dashed var(--color-bordeaux-light);
  padding: 2.5rem;
}

.success-ticket {
  background-color: var(--color-bordeaux);
  background-image: linear-gradient(135deg, var(--color-bordeaux) 0%, var(--color-violet) 100%);
  padding: 2.5rem;
  border-left: 6px solid var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  position: relative;
}

.ticket-header {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.25em;
  color: var(--color-white-cream);
}

.ticket-status-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-white);
  line-height: 1;
}

.ticket-text {
  font-size: 0.95rem;
  color: var(--color-white-cream);
  line-height: 1.5;
}

.ticket-barcodes {
  height: 40px;
  background: linear-gradient(90deg, 
    #fff 0%, #fff 2%, transparent 2%, transparent 4%,
    #fff 4%, #fff 8%, transparent 8%, transparent 10%,
    #fff 10%, #fff 11%, transparent 11%, transparent 14%,
    #fff 14%, #fff 18%, transparent 18%, transparent 20%,
    #fff 20%, #fff 21%, transparent 21%, transparent 25%,
    #fff 25%, #fff 29%, transparent 29%, transparent 30%,
    #fff 30%, #fff 35%, transparent 35%, transparent 38%,
    #fff 38%, #fff 40%, transparent 40%, transparent 44%,
    #fff 44%, #fff 48%, transparent 48%, transparent 50%,
    #fff 50%, #fff 51%, transparent 51%, transparent 55%,
    #fff 55%, #fff 59%, transparent 59%, transparent 60%,
    #fff 60%, #fff 65%, transparent 65%, transparent 68%,
    #fff 68%, #fff 70%, transparent 70%, transparent 74%,
    #fff 74%, #fff 78%, transparent 78%, transparent 80%,
    #fff 80%, #fff 81%, transparent 81%, transparent 85%,
    #fff 85%, #fff 89%, transparent 89%, transparent 90%,
    #fff 90%, #fff 95%, transparent 95%, transparent 98%,
    #fff 98%, #fff 100%
  );
  opacity: 0.7;
  margin-top: 1rem;
}

/* --- Footer --- */
.main-footer {
  background-color: var(--color-black);
  padding: 4rem 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-gray);
  border-top: 2px solid var(--color-bordeaux);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
  }
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--color-gray);
  line-height: 1.5;
}

.social-icon-link {
  color: var(--color-gray);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-link:hover {
  color: var(--color-white);
  border-color: var(--color-bordeaux-light);
  background: var(--color-bordeaux);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(92, 6, 20, 0.4);
}

.footer-partners {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .footer-partners {
    align-items: center;
  }
}

.partners-title {
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--color-white-cream);
}

.partner-logos-row {
  display: flex;
  gap: 1.5rem;
}

.partner-logo {
  color: var(--color-gray);
  transition: color 0.2s ease;
}

.partner-logo:hover {
  color: var(--color-white);
}

/* Logo real de partner: la imagen viene con fondo blanco en las esquinas,
   el border-radius recorta el circulo y evita el recuadro sobre el pie oscuro */
.partner-logo-img {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  /* clip-path come el borde antialiasado del JPG, que a 56px se ve como un aro claro */
  clip-path: circle(47%);
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.partner-logo:hover .partner-logo-img {
  opacity: 1;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer-copyright {
    text-align: right;
  }
}

.footer-credits {
  font-weight: bold;
  color: var(--color-bordeaux-light);
}

/* --- Reduced Motion Query --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .film-grain {
    animation: none;
  }
  /* El disco girando y el brazo apoyandose NO se apagan aca a proposito:
     son el contenido mismo del tocadiscos, no un adorno. Un disco quieto
     se lee como que la pagina esta rota. Se los deja andando, mas lentos
     y suaves, en lugar de suprimirlos. */
  .vinyl-spinning {
    animation-duration: 6s;
  }
  .bento-cell:hover {
    transform: none;
  }
  .hero-cinematic-card:hover {
    transform: none;
  }
}

/* Page / Section Tabbing System */
.page-section {
  display: none !important;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#hero.page-section.active-page {
  display: flex !important;
}
#manifesto.page-section.active-page {
  display: block !important;
}
#pairing.page-section.active-page {
  display: block !important;
}
#experience.page-section.active-page {
  display: block !important;
}
#tickets.page-section.active-page {
  display: block !important;
}

.page-section.show-transition {
  opacity: 1;
  transform: translateY(0);
}

/* Active navigation link styling */
.nav-link.active-nav {
  color: var(--color-white) !important;
}
.nav-link.active-nav::after {
  width: 100% !important;
}

/* Make wine cards clickable */
.winestand-card {
  cursor: pointer;
}

/* --- Wine Stand Modal --- */
.winestand-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200000; /* Se eleva sobre todo, incluyendo Grain y Scanlines */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 9, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 550px;
  background-color: #0b090a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 4px solid var(--color-bordeaux-light);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  max-height: 90vh;
  overflow-y: auto;
}

.winestand-modal.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Temas del borde superior del modal según stand */
.modal-content.theme-tinto {
  border-top-color: #e63946;
}
.modal-content.theme-bonarda {
  border-top-color: #9d4edd;
}
.modal-content.theme-blanco {
  border-top-color: #ffa6c9;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.2rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  line-height: 1;
}

.modal-close:hover {
  opacity: 1;
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-bordeaux-light);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 0.8rem;
}

.modal-content.theme-tinto .modal-tag {
  color: #ff85a1;
}
.modal-content.theme-bonarda .modal-tag {
  color: #c084fc;
}
.modal-content.theme-blanco .modal-tag {
  color: #ffa6c9;
}

.modal-character {
  font-family: 'Amsterdam', var(--font-display);
  font-size: 3rem;
  color: var(--color-white);
  line-height: 1.1;
  text-transform: none;
  margin-bottom: 1.8rem;
  overflow: visible;
  padding-top: 0.5rem;
}

.modal-text {
  font-family: var(--font-body);
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--color-white-cream);
  opacity: 0.9;
}

.modal-text p {
  margin-bottom: 1.2rem;
}

.modal-text p:last-child {
  margin-bottom: 0;
}

/* --- Quiz Trigger Banner --- */
.quiz-trigger-container {
  margin-top: 4rem;
  width: 100%;
}

.quiz-trigger-card {
  background-color: rgba(92, 6, 20, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.quiz-trigger-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.quiz-trigger-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-gray);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.quiz-btn {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  padding: 0.9rem 2.2rem;
}

/* --- Quiz Modal Custom Elements --- */
.quiz-modal-content {
  max-width: 620px;
  padding-bottom: 3rem;
}

.quiz-question-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 1.8rem;
  line-height: 1.3;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.quiz-option-btn {
  width: 100%;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 1.4rem;
  color: var(--color-white-cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.quiz-option-btn:hover, .quiz-option-btn:focus {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-bordeaux-light);
  color: var(--color-white);
  transform: translateY(-1px);
}

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

.quiz-result-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--color-gray);
  display: block;
  margin-top: -1.2rem;
  margin-bottom: 1.8rem;
  font-weight: bold;
}

.quiz-result-btn {
  margin-top: 2rem;
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Result Screen Themes */
.theme-tinto .quiz-result-subtitle {
  color: #ff85a1;
}
.theme-bonarda .quiz-result-subtitle {
  color: #c084fc;
}
.theme-blanco .quiz-result-subtitle {
  color: #ffa6c9;
}

/* --- Passes Grid & Pass Cards --- */
.passes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

@media (min-width: 576px) {
  .passes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pass-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 230px;
  outline: none;
}

.pass-card:hover, .pass-card:focus {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-bordeaux-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(92, 6, 20, 0.2);
}

.pass-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--color-bordeaux-light);
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.pass-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-style: italic;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 1.2rem;
  text-transform: none;
}

.pass-card-details {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pass-card-details strong {
  color: var(--color-white-cream);
}

.pass-card-footer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-white-cream);
  font-weight: bold;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.pass-card:hover .pass-card-footer, .pass-card:focus .pass-card-footer {
  color: var(--color-white);
}

.pass-location-note {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-top: 1.2rem;
}

.pass-location-note strong {
  color: var(--color-white-cream);
}

/* Centered layout for Reservation Section */
.centered-tickets-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.full-width-info-col {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.pass-details-modal-content {
  max-width: 600px;
}

/* Destinations Selector Layout */
.destinations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .destinations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dest-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.8rem 1rem;
  color: var(--color-white-cream);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-accent);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dest-btn:hover {
  background: rgba(230, 57, 70, 0.04);
  border-color: var(--color-bordeaux-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.12);
}

.dest-btn .dest-title {
  font-weight: 500;
  transition: color 0.3s ease;
}

.dest-btn .dest-subtitle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--color-gray);
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.85;
  transition: color 0.3s ease;
}

.dest-btn:hover .dest-title {
  color: var(--color-white);
}

.dest-btn:hover .dest-subtitle {
  color: #ffb3c1;
  opacity: 1;
}

.dest-btn .dest-stock {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-bordeaux-light);
  opacity: 0.85;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.dest-btn:hover .dest-stock {
  color: var(--color-white-cream);
  opacity: 1;
}


/* ==========================================================================
   MENU MOVIL (hamburguesa)
   Antes de esto, a 390px el boton "RESERVAR PASE" quedaba 241px fuera de
   la pantalla y "WINE STAND" / "SONIDO" aparecian cortados.
   ========================================================================== */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  z-index: 20002;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transition: transform 0.28s ease, opacity 0.2s ease;
}

/* La hamburguesa se vuelve una X cuando el menu esta abierto */
body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .brand-logo {
    font-size: 1.35rem;
  }

  .brand-logo-img {
    height: 32px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background-color: rgba(11, 9, 10, 0.98);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-bottom: 1px solid rgba(92, 6, 20, 0.35);
    /* Oculto por defecto, sin sacarlo del arbol de accesibilidad de golpe */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 20001;
  }

  body.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

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

  .nav-link {
    display: block;
    width: 100%;
    padding: 1.1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  /* El subrayado animado no tiene sentido apilado en vertical */
  .nav-link::after {
    display: none;
  }

  .nav-cta {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    text-align: center;
    padding: 1rem;
  }
}

/* ==========================================================================
   MODALES CERRADOS: QUE NO ROBEN CLICKS
   Los botones de destino (Madrid / Lyon / Lago di Como) quedaban activos e
   invisibles sobre el centro de la pagina y se comian los clicks de las
   tarjetas de vinos: tocabas "Samantha Jones" y te mandaba a reservas.
   Esta regla lo vuelve imposible aunque algo aplique estilos en linea.
   ========================================================================== */

.winestand-modal:not(.active),
.winestand-modal:not(.active) * {
  pointer-events: none !important;
}

.winestand-modal.active,
.winestand-modal.active * {
  pointer-events: auto;
}

/* Destino sin lugares: lo dibuja el CSS, no estilos en linea desde el JS */
.dest-btn.dest-agotado {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================================================
   PAGO ONLINE (solo El Mundo): moneda, total y pantalla de vuelta
   ========================================================================== */

.payment-heading {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--color-bordeaux-light);
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.currency-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.currency-btn {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.6rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-gray);
  cursor: pointer;
  font-family: var(--font-mono);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.currency-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-white-cream);
}

.currency-btn.active {
  border-color: var(--color-bordeaux-light);
  background-color: rgba(92, 6, 20, 0.25);
  color: var(--color-white);
}

.currency-code {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.currency-sym {
  font-size: 0.95rem;
  font-weight: 700;
}

.payment-summary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.1rem;
  margin-bottom: 0.9rem;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-gray);
  padding: 0.35rem 0;
}

.payment-row-total {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  color: var(--color-white);
  font-size: 1rem;
}

.payment-row-total .payment-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
}

.payment-value {
  font-weight: 700;
  color: var(--color-white-cream);
  white-space: nowrap;
}

.payment-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--color-gray);
}

/* Aviso cuando esa moneda todavia no tiene link de pago cargado */
.payment-note.payment-unavailable {
  color: var(--color-bordeaux-light);
}

.submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* --- Pantalla de vuelta del pago --- */
.payment-return-content {
  max-width: 520px;
}

.payment-check {
  color: #4ade80;
  margin-bottom: 0.75rem;
}

.payment-return-title {
  font-family: var(--font-script, var(--font-display));
  font-size: 2.6rem;
  line-height: 1.05;
  color: var(--color-white);
  margin: 0.4rem 0 1rem;
}

.payment-return-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-white-cream);
  margin-bottom: 1rem;
}

.payment-return-small {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--color-gray);
  margin-bottom: 1.8rem;
}

#payment-return-btn {
  display: inline-block;
  text-decoration: none;
}

/* Mobile Optimization for Modal Form Container */
@media (max-width: 650px) {
  .modal-content {
    width: 95% !important;
    padding: 1.8rem 1.25rem 1.5rem 1.25rem !important;
  }

  .pass-booking-container .retro-form,
  .retro-form {
    padding: 1.8rem 1.2rem !important;
    gap: 1.4rem !important;
    background-color: var(--color-black-light);
  }

  .form-title {
    font-size: 1.65rem !important;
    padding-top: 1.5rem !important;
    margin-top: 1.2rem !important;
  }

  .form-group label {
    font-size: 0.85rem !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.08em !important;
  }

  .form-group input, 
  .form-group select {
    font-size: 1.05rem !important;
    padding: 1.05rem 0.9rem !important;
  }

  .primary-btn {
    font-size: 1rem !important;
    padding: 1.1rem 1.5rem !important;
  }

  /* Centered and generously spaced hero title for mobile */
  .hero-text-block {
    align-items: center !important;
    text-align: center !important;
    gap: 2.2rem !important;
  }

  .hero-title {
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    width: 100% !important;
    padding-bottom: 1.8rem !important;
  }

  .hero-actions {
    justify-content: center !important;
    margin-top: 1.5rem !important;
    gap: 1.2rem !important;
    width: 100% !important;
  }
}


/* ==========================================================================
   BOTON DE IDIOMA (ES / EN)
   Vive en el header, entre el logo y el menu. El margin-left:auto es lo que
   lo empuja a la derecha junto con la navegacion.
   ========================================================================== */

.lang-switch {
  margin-left: auto;
  margin-right: 1.5rem;
  min-width: 44px;
  padding: 0.45rem 0.7rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--color-white-cream);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.lang-switch:hover {
  color: var(--color-bordeaux-light);
  border-color: var(--color-bordeaux-light);
  background-color: rgba(126, 14, 32, 0.12);
}

.lang-switch:focus-visible {
  outline: 2px solid var(--color-bordeaux-light);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  /* Al lado de la hamburguesa, con aire suficiente para el dedo. */
  .lang-switch {
    margin-right: 0.85rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.72rem;
  }
}
