:root{
  --bg-dark: #1b140f;
  --cream: #e9e2d3;
  --accent: #dd6b45;
  --accent-bright: #ea8a63;
  --silver: #c9c2b6;
  --content-max: 1200px; /* ancho maximo del contenido en toda la pagina; los fondos siguen a 100% */
  --line: rgba(233,226,211,0.12);
  --section-padding-y: clamp(56px, 8vh, 96px); /* ritmo vertical compartido por las 5 secciones */
  --section-gap: clamp(28px, 4vh, 48px); /* espacio entre elementos dentro de una seccion */
}

*{ box-sizing: border-box; margin: 0; padding: 0; }

html, body{ background: var(--bg-dark); }

/* Oculta visualmente sin quitar el elemento del DOM ni de la lectura de
   lectores de pantalla / buscadores. Usado en el h1 de SEO del hero. */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body{
  font-family: 'Roboto Mono', sans-serif;
  overflow-x: hidden;
}

/* ==========================================================================
   Seccion 1: Hero
   ========================================================================== */

.hero{
  position: relative;
  width: 100%;
  height: min(100dvh, 1080px);
  min-height: 480px;
  overflow: hidden;
  container-type: size;
  container-name: hero;
}

.hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg--mobile{ display: none; }

.hero-artists{
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: clamp(30px, 20cqh, 140px);
  transform: translateX(-50%);
  height: clamp(320px, 62cqh, 820px);
  width: auto;
  pointer-events: none;
  z-index: 2;
}

.hero-band-logo{
  position: absolute;
  z-index: 2;
  top: clamp(24px, 7cqh, 96px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(320px, 80cqw, 780px);
  height: auto;
  z-index: 1;
}

/* Degradado de salida: funde el hero hacia el fondo oscuro de las secciones
   siguientes, evitando el corte abrupto entre la foto y el resto del sitio. */
.hero-fade{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: clamp(160px, 32cqh, 340px);
  background: linear-gradient(180deg, rgba(27,20,15,0) 0%, var(--bg-dark) 100%);
  pointer-events: none;
}

.hero-content.desktop{ display: flex; }
.hero-content.mobile{ display: none; }

.hero-content{
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--content-max);
  bottom: clamp(50px, 9cqh, 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 3cqh, 32px);
  padding: 0 24px;
  text-align: center;
}

.hero-info{
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5cqw, 28px);
}

.hero-date{
  display: flex;
  align-items: baseline;
  gap: clamp(6px, 0.5cqw, 10px);
  font-family: 'Roboto Mono', monospace;
  line-height: 1;
}

.hero-date__day{
  font-weight: 700;
  font-size: clamp(80px, 7cqw, 120px);
  color: var(--accent);
  letter-spacing: -1px;
}

.hero-date__month{
  font-weight: 700;
  font-size: clamp(80px, 7cqw, 120px);
  color: var(--cream);
}

.hero-venue-logo{
  width: clamp(240px, 16cqw, 520px);
  height: auto;
  padding-left: clamp(14px, 3cqw, 28px);
  border-left: 1px solid rgba(233,226,211,0.4);
}

.hero-tickets{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 5cqh, 22px);
}

.hero-tickets p{
  font-size: clamp(14px, .85cqw, 20px);
  color: var(--silver);
  font-weight: 500;
}

.hero-tickets p a{
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(233,226,211,0.4);
}

.hero-tickets p a:hover{
  color: var(--accent-bright);
  border-color: var(--accent-bright);
}

.cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #1b140f;
  font-weight: 800;
  font-size: clamp(13px, 0.9cqw, 16px);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta:hover{ background: var(--accent-bright); transform: translateY(-1px); }
.cta:focus-visible{ outline: 2px solid var(--accent-bright); outline-offset: 3px; }

@media (max-width: 640px){
  .hero-bg--desktop{ display: none; }
  .hero-bg--mobile{ display: block; }

  .hero-content.desktop{ display: none; }
  .hero-content.mobile{ display: flex; }

  .hero-artists{
    height: clamp(240px, 60cqh, 280px);
    top: clamp(16px, 18cqh, 180px);
  }

  .hero-band-logo{
    top: clamp(16px, 8cqh, 80px);
    width: clamp(200px, 95cqw, 640px);
  }

  .hero-content{ bottom: clamp(16px, 20cqh, 200px); }

  .hero-info{ flex-direction: column; gap: 10px; }

  .hero-venue-logo{
    border-left: none;
    padding-left: 0;
  }

  .hero-content.mobile .hero-date{
    border-top: 1px solid rgba(233,226,211,0.4);
    padding-top: 10px;
  }

  .hero-fade{ height: clamp(120px, 24cqh, 220px); }
}

@media (max-width: 440px){
  .hero-date__day{ font-size: clamp(60px, 5cqw, 60px); }
  .hero-date__month{ font-size: clamp(60px, 5cqw, 60px); }
  .hero-content.mobile { bottom: 10%; }
  .hero-artists{ height: clamp(180px, 50cqh, 220px); }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; }
}

/* ==========================================================================
   Sistema compartido de secciones (2. Plataformas, 3. Lanzamientos,
   4. Social, 5. Footer). Mismo ancho, mismo padding vertical, misma
   separacion entre ellas via borde superior sutil.
   ========================================================================== */

.section{
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-padding-y) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
}

/* La primera seccion tras el hero no lleva linea: la transicion ya la
   resuelve el degradado (.hero-fade). A partir de ahi, cada seccion nueva
   se marca con una linea sutil para que el cambio de contenido sea claro. */
.section + .section{
  border-top: 1px solid var(--line);
}

.section-title{
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: clamp(22px, 2vw, 32px);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cream);
  text-align: center;
}

/* ---------- Seccion 2: Plataformas ---------- */

.platforms-grid{
  width: 100%;
  max-width: 640px; /* evita que los iconos se separen demasiado en pantallas anchas */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 40px);
}

.platform-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: clamp(72px, 18vw, 88px); /* ancho fijo por item para que el wrap quede parejo */
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.platform-item img{
  width: clamp(56px, 6vw, 72px);
  height: clamp(56px, 6vw, 72px);
}

.platform-item span{
  font-family: 'Roboto Mono', monospace;
  font-weight: 500;
  font-size: clamp(12px, 1vw, 14px);
  color: var(--cream);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.platform-item:hover{
  transform: translateY(-3px);
  opacity: 0.85;
}

@media (max-width: 640px){
  .platforms-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Seccion 3: Lanzamientos, aspecto de cine ---------- */

/* Marco negro con "letterbox": el video conserva 16:9 pero el marco es
   ligeramente mas alto, dejando barras negras arriba y abajo como en una
   sala de cine. Ademas, un resplandor calido difuso alrededor del marco. */
.cinema-frame{
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 14px;
  padding: clamp(14px, 3.5vh, 44px) 0;
  box-shadow:
    0 0 0 1px var(--line),
    0 40px 90px rgba(0,0,0,0.55),
    0 0 160px rgba(221,107,69,0.10);
  transition: box-shadow 0.4s ease;
}

.cinema-frame.is-active{
  position: relative;
  z-index: 41;
  box-shadow:
    0 0 0 1px rgba(233,226,211,0.2),
    0 60px 140px rgba(0,0,0,0.7),
    0 0 220px rgba(221,107,69,0.16);
}

.video-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-wrap iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Caratula: miniatura real + boton de reproduccion, en vez de cargar el
   iframe de YouTube de entrada */
.video-poster{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: #000;
  display: block;
}

.video-poster img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) brightness(0.82);
  transition: filter 0.35s ease, transform 0.6s ease;
}

.video-poster:hover img,
.video-poster:focus-visible img{
  filter: saturate(1) brightness(0.92);
  transform: scale(1.02);
}

.video-poster__scrim{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
}

.play-button{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 8vw, 92px);
  height: clamp(64px, 8vw, 92px);
  border-radius: 50%;
  background: var(--accent);
  color: #1b140f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 36px rgba(221,107,69,0.45);
  transition: transform 0.25s ease, background 0.25s ease;
}

.play-button svg{ margin-left: 3px; } /* centrado optico del triangulo */

.video-poster:hover .play-button,
.video-poster:focus-visible .play-button{
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent-bright);
}

.video-poster:focus-visible{ outline: 2px solid var(--accent-bright); outline-offset: 4px; }

/* Modo cine: oscurece el resto de la pagina mientras el video esta activo */
#theater-overlay{
  position: fixed;
  inset: 0;
  background: rgba(10,7,5,0.92);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#theater-overlay.is-active{
  opacity: 1;
  pointer-events: auto;
}

.theater-exit{
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 42;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(233,226,211,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.theater-exit:hover{
  background: rgba(255,255,255,0.14);
  border-color: rgba(233,226,211,0.4);
}

#theater-overlay.is-active + .theater-exit{
  display: flex;
}

/* ---------- Modal: Aviso de Privacidad ---------- */

body.modal-open{
  overflow: hidden;
}

.privacy-modal{
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vh, 48px) 20px;
}

.privacy-modal.is-active{
  display: flex;
}

.privacy-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(10,7,5,0.88);
}

.privacy-modal__panel{
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.privacy-modal__panel:focus{
  outline: none;
}

.privacy-modal__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.privacy-modal__header h2{
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cream);
}

.privacy-modal__close{
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.privacy-modal__close:hover{
  background: rgba(255,255,255,0.1);
  border-color: rgba(233,226,211,0.35);
}

.privacy-modal__body{
  padding: 24px;
  overflow-y: auto;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.privacy-modal__body h3{
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--accent-bright);
  margin-top: 28px;
  margin-bottom: 10px;
}

.privacy-modal__body h3:first-child{
  margin-top: 0;
}

.privacy-modal__body p{
  margin-bottom: 14px;
}

.privacy-modal__body ul{
  margin: 0 0 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-modal__body li{
  list-style: disc;
}

.privacy-modal__body strong{
  color: var(--cream);
}

.privacy-modal__body a{
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(233,226,211,0.4);
}

.privacy-modal__body a:hover{
  color: var(--accent-bright);
  border-color: var(--accent-bright);
}

@media (prefers-reduced-motion: reduce){
  .privacy-modal *{ transition: none !important; }
}

/* ---------- Seccion 4: Footer (redes + texto legal) ---------- */

.social-links{
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.5vw, 36px);
}

.social-links a{
  display: flex;
  width: clamp(44px, 5vw, 52px);
  height: clamp(44px, 5vw, 52px);
}

.social-links img{
  width: 100%;
  height: 100%;
  transition: opacity 0.2s ease;
}

.social-links a:hover img{
  opacity: 0.7;
}

/* Bloque de texto legal, separado de los iconos por el gap de .section
   y con su propio espaciado interno menor entre las dos lineas */
.footer-text{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2vh, 20px);
  line-height: 2;
}

.historia{
  font-family: 'Roboto Mono', monospace;
  font-size: clamp(14px, 1vw, 16px);
  color: var(--accent);
  text-align: center;
  text-transform: uppercase;
}

.footer{
  font-family: 'Roboto Mono', monospace;
  font-size: clamp(12px, 1vw, 14px);
  color: var(--silver);
  text-align: center;
}

.footer .nobr{
  white-space: nowrap;
}

.footer a{
  color: var(--silver);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,194,182,0.4);
}

.footer-link-button{
  font-family: 'Roboto Mono', monospace;
  font-size: inherit;
  color: var(--silver);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(201,194,182,0.4);
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-link-button:hover,
.footer-link-button:focus-visible{
  color: var(--accent-bright);
  border-color: var(--accent-bright);
  outline: none;
}