/* =========================================================
   Fiesta de la Nostalgia 2026 - Theme (Disco / Retro / Gold)
   assets/css/styles.css
   Fonts: Great Vibes + Montserrat
   ========================================================= */

:root{
  --max: 1100px;

  --bg-main: #12061f;
  --bg-top:  #3b145f;
  --bg-mid:  #1b0b2e;
  --bg-soft: rgba(255,255,255,0.03);

  --panel:  rgba(255,255,255,0.10);
  --border: rgba(255,255,255,0.16);

  --gold: #e6c36a;
  --gold-2: #cfa94a;

  --text: rgba(255,255,255,0.95);
  --muted: rgba(255,255,255,0.78);
  --micro: rgba(255,255,255,0.62);

  --shadow-soft: 0 16px 40px rgba(0,0,0,0.35);
  --shadow-gold: 0 0 26px rgba(230,195,106,0.35);

  --radius: 22px;
  --pad: 18px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);

  background:
    radial-gradient(1100px 600px at 15% -10%, rgba(230,195,106,0.12), transparent 65%),
    radial-gradient(900px 500px at 85% 0%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(circle at top, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-main) 100%);
}

::selection{ background: rgba(230,195,106,0.28); }

a{ color: inherit; text-decoration: none; }
a:focus{
  outline: 2px solid rgba(230,195,106,0.55);
  outline-offset: 3px;
  border-radius: 10px;
}

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* ---------------- Header ---------------- */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18,6,31,0.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(230,195,106,0.25);
}

.nav{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a{
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.nav a:hover{
  color: var(--gold);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}

/* ---------------- Hero ---------------- */
.hero{
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero__bg{
  position: absolute;
  inset: 0;
  --hero-photo: image-set(
    url("../img/DSC04737-desktop.webp") type("image/webp") 1x,
    url("../img/DSC04737-desktop.jpg") type("image/jpeg") 1x
  );

  background:
    radial-gradient(900px 500px at 20% 10%, rgba(230,195,106,0.10), transparent 70%),
    radial-gradient(700px 380px at 80% 0%, rgba(255,255,255,0.06), transparent 65%),
    linear-gradient(to bottom, rgba(18,6,31,0.55), rgba(18,6,31,0.94)),
    var(--hero-photo) center/cover no-repeat;

  filter: blur(6px) saturate(1.1) contrast(1.05);
  transform: scale(1.08);
}

/* Sparkles */
.hero::after{
  content: "";
  position: absolute;
  inset: -40px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255,255,255,0.14) 0 1px, transparent 2px) 0 0 / 90px 90px,
    radial-gradient(circle, rgba(230,195,106,0.16) 0 1px, transparent 2px) 30px 20px / 120px 120px,
    radial-gradient(circle, rgba(255,255,255,0.10) 0 1px, transparent 2px) 60px 50px / 160px 160px;
  opacity: 0.45;
  mix-blend-mode: screen;
}

.hero__content{
  position: relative;
  padding: 82px 0 72px;
  text-align: center;
  max-width: 780px;
}

.hero-stack{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pill{
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(230,195,106,0.28);
  background: rgba(8,3,14,0.42);
  color: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-gold);
  margin: 0;
}

.hero h1{
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(64px, 9vw, 124px);
  line-height: 0.95;
  margin: 0;

  color: var(--gold);
  text-shadow:
    0 0 18px rgba(230,195,106,0.28),
    0 0 46px rgba(230,195,106,0.18),
    0 4px 30px rgba(0,0,0,0.35);
}

.hero-place{
  font-weight: 800;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 6px 24px rgba(0,0,0,0.28);
}

.lead{
  font-size: clamp(16px, 1.35vw, 19px);
  color: rgba(255,255,255,0.86);
  margin: 0;
  max-width: 62ch;
}

/* Buttons */
.cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-cta{
  width: 100%;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.btn{
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;

  -webkit-tap-highlight-color: transparent;
}


.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
}

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

/* Prevent visited/active states from breaking contrast on mobile */
a.btn:visited{ color: inherit; }
.btn--primary:visited{ color: #2a0f45; }
.btn:active{ transform: translateY(0); }
.btn--primary:active{ filter: brightness(0.95); }

.btn--primary{
  border: none;
  background: linear-gradient(135deg, #f1d37f, var(--gold-2));
  color: #2a0f45;
  font-weight: 800;
  box-shadow: var(--shadow-gold);
  padding-inline: 22px;
}

.btn--primary:hover{
  box-shadow: 0 0 34px rgba(230,195,106,0.55);
}

.btn--primary:active{ filter: brightness(0.98); }

.btn--ghost{
  border-color: rgba(230,195,106,0.22);
}

.btn--ghost:hover{
  border-color: rgba(230,195,106,0.42);
}

.btn--disabled{
  opacity: 0.55;
  pointer-events: none;
}

.micro{
  margin-top: 14px;
  color: var(--micro);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------------- Sections ---------------- */
.section{ padding: 64px 0; }

.section--soft{
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2{
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 16px rgba(230,195,106,0.18);
}

/* ---------------- Grid / Cards ---------------- */
.grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid--2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--pad);
  box-shadow: var(--shadow-soft);
}

.card h3{
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: 0.3px;
}

.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

/* Flyers */
.flyers{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.flyer-card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.flyer-card:hover{
  transform: translateY(-3px);
  border-color: rgba(230,195,106,0.38);
  box-shadow: 0 20px 38px rgba(0,0,0,0.3);
}

.flyer-card__thumb{
  flex: 0 0 auto;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.22);
}

.flyer-card__thumb img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.flyer-card--poster .flyer-card__thumb img{
  width: 88px;
  height: 110px;
}

.flyer-card--story .flyer-card__thumb img{
  width: 72px;
  height: 128px;
}

.flyer-card__meta{
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.flyer-card__meta strong{
  font-size: 17px;
  color: rgba(255,255,255,0.94);
}

.flyer-card__meta span{
  font-size: 14px;
  color: var(--gold);
}

.link{
  display: inline-block;
  margin-top: 8px;
  color: var(--gold);
  font-weight: 800;
  text-shadow: 0 0 14px rgba(230,195,106,0.20);
}

.ticket-price{
  margin-top: 18px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(230,195,106,0.18), rgba(255,255,255,0.05));
  border: 1px solid rgba(230,195,106,0.28);
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
}

.ticket-price__label{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.74);
}

.ticket-price__value{
  font-size: clamp(34px, 4vw, 44px);
  line-height: 0.95;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(230,195,106,0.18);
}

/* Info unificada */
.info-unificada{
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.info-intro{
  max-width: 58ch;
  margin: 0 auto 22px;
  color: rgba(255,255,255,0.86);
  line-height: 1.65;
  font-size: 17px;
}

.info-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li{
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  margin: 10px 0;
  letter-spacing: 0.3px;
}

.info-experience{
  margin-top: 0;
}

.info-experience h3{
  margin: 0 0 12px;
  font-size: 19px;
  color: var(--gold);
  letter-spacing: 0.3px;
}

.info-experience p{
  margin: 0 auto 12px;
  max-width: 58ch;
  color: rgba(255,255,255,0.84);
  line-height: 1.7;
}

.info-highlights{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}

.info-summary{
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.info-highlight{
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}

.info-highlight strong{
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 15px;
}

.info-highlight span{
  display: block;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  font-size: 14px;
}

/* ---------------- Burst badge (Los Fatales) ---------------- */
.hero-badge{
  width: clamp(170px, 38vw, 220px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 42%, #ffe8a8, #e6c36a 52%, #cfa94a 100%);
  color: #1b0b2e;
  box-shadow:
    0 18px 45px rgba(0,0,0,0.45),
    0 0 34px rgba(230,195,106,0.55);
  transform: rotate(-7deg) translateY(10px);
  border: 2px solid rgba(0,0,0,0.12);
  clip-path: polygon(
    50% 0%,
    58% 10%,
    70% 4%,
    74% 17%,
    87% 13%,
    86% 27%,
    100% 30%,
    91% 41%,
    99% 50%,
    91% 59%,
    100% 70%,
    86% 73%,
    87% 87%,
    74% 83%,
    70% 96%,
    58% 90%,
    50% 100%,
    42% 90%,
    30% 96%,
    26% 83%,
    13% 87%,
    14% 73%,
    0% 70%,
    9% 59%,
    1% 50%,
    9% 41%,
    0% 30%,
    14% 27%,
    13% 13%,
    26% 17%,
    30% 4%,
    42% 10%
  );
}

.hero-badge__inner{
  width: 100%;
  max-width: 132px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(7deg);
  padding: 0;
}


.hero-badge__top{
  font-weight: 900;
  letter-spacing: 1.2px;
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.1;
  margin: 0 0 8px;
  text-transform: uppercase;
}


.hero-badge__main{
  font-weight: 900;
  letter-spacing: 0.2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 0.9;
  margin-top: 0;
  font-size: clamp(23px, 2.9vw, 30px);
  text-transform: uppercase;
}
.hero-badge__main span{
  display: block;
  width: 100%;
}
.hero-badge__main span:last-child{ font-size: 0.93em; }


@supports not (clip-path: polygon(0 0)){
  .hero-badge{ border-radius: 999px; clip-path: none; }
}

/* ---------------- Reviví 2025 ---------------- */
.revivi{
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.revivi__lead{
  margin: 0 0 14px;
  color: rgba(255,255,255,0.86);
}

.revivi__actions{
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.revivi-gallery{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.95fr;
  grid-template-rows: repeat(2, minmax(140px, 1fr));
  gap: 12px;
}

.revivi-shot{
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.revivi-shot:hover{
  transform: translateY(-2px);
  border-color: rgba(230,195,106,0.45);
  box-shadow: 0 16px 32px rgba(0,0,0,0.34);
}

.revivi-shot img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.revivi-shot--hero{
  grid-row: 1 / span 2;
  min-height: 100%;
}

.revivi-shot--tall{
  min-height: 170px;
}

.revivi-shot--wide{
  min-height: 150px;
}

.video-wrap{
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  position: relative;
}

/* Ratio fallback that works everywhere */
.video-wrap::before{
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}


.video-wrap--reel{
  max-width: 360px;   /* smaller on desktop */
  margin: 0 auto;
}
.video-wrap--reel::before{
  padding-top: 177.78%; /* 9:16 */
}


@media (max-width: 520px){
  .video-wrap--reel{ max-width: 280px; }
  .revivi-gallery{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .revivi-shot--hero,
  .revivi-shot--tall,
  .revivi-shot--wide{
    grid-row: auto;
    min-height: 0;
  }
  .revivi-shot img{ aspect-ratio: 1 / 1; height: auto; }
  .ticket-price{
    width: 100%;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 820px){
  .revivi-gallery{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .revivi-shot--hero{
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .revivi-shot img{ aspect-ratio: 1 / 1; height: auto; }
}

.video-card{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: cover;
}



/* Better readability for centered list cards */
.card--center .list{
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
/* ---------------- Footer ---------------- */
.footer{
  border-top: 1px solid var(--border);
  background: rgba(10,3,18,0.70);
  padding: 24px 0;
}

.footer__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--micro);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
  .grid--2{ grid-template-columns: 1fr; }
  .hero{ min-height: 78vh; }
  .hero__bg{
    --hero-photo: image-set(
      url("../img/DSC04737-mobile.webp") type("image/webp") 1x,
      url("../img/DSC04737-mobile.jpg") type("image/jpeg") 1x
    );
  }
  .header__inner{ padding: 12px 0; }
}

@media (max-width: 520px){
  .nav{ overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .nav::-webkit-scrollbar{ display: none; }

  .nav a{ padding: 8px 8px; }
  .hero__content{ padding: 62px 0; }
  .hero h1{ font-size: clamp(54px, 11vw, 90px); }
  .pill{ padding: 8px 14px; }
  .hero-cta{
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn{
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
  }
  .info-list li{ font-size: 16px; }
  .info-intro{ font-size: 16px; }
  .info-highlights{ grid-template-columns: 1fr; }
  .hero-badge{ width: min(210px, 62vw); transform: rotate(-6deg); }
  
  
}

/* Centered section cards (Info / Horarios / Ubicación / Revivi) */
.card--center{
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Card width helpers ---------- */
.card--narrow{
  max-width: 720px;
  margin: 0 auto;
}

.card--wide{
  max-width: 980px;
  margin: 0 auto;
}

/* Inline link inside lists */
.link-inline{
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}
.link-inline:hover{ text-decoration: underline; }


/* Compact list variant (used for horarios/ubicación/contacto) */
.info-list--compact li{
  font-size: 18px;
  margin: 10px 0;
}
@media (max-width: 520px){
  .info-list--compact li{ font-size: 16px; }
}


/* --- Hero small brand (no header) --- */
.hero-brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.92;
  text-shadow: 0 0 18px rgba(230,195,106,0.25);
  font-size: 14px;
  margin-bottom: 8px;
}

/* Make sure first section isn't hidden by browser UI on mobile */
@media (max-width: 520px){
  .hero{ min-height: 82vh; }
}
