/* ============ DEF LEPPARD — REGALO PARA PA ============ */

:root {
  --bg: #0a0a11;
  --bg2: #14101f;
  --hot: #ff2d55;
  --amber: #ff9e00;
  --ice: #6ec9ff;
  --paper: #fff6ea;
  --ink: #1a1420;
  --text: #f4eef6;
  --dim: #b9aec7;
}

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

html { scroll-behavior: smooth; }

body {
  background: radial-gradient(120% 90% at 50% 0%, var(--bg2) 0%, var(--bg) 55%, #060609 100%);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ---- fondo: canvas de chispas + glow de escenario ---- */
#sparks {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.stage-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 38% at 18% 8%, rgba(255, 45, 85, .22), transparent 70%),
    radial-gradient(45% 38% at 82% 6%, rgba(110, 201, 255, .16), transparent 70%),
    radial-gradient(60% 45% at 50% 110%, rgba(255, 158, 0, .14), transparent 70%);
  animation: glowShift 9s ease-in-out infinite alternate;
}

@keyframes glowShift {
  from { opacity: .75; filter: hue-rotate(0deg); }
  to   { opacity: 1;   filter: hue-rotate(-14deg); }
}

/* ---- layout ---- */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  width: min(1080px, 92%);
  margin: 0 auto;
  padding: clamp(2.4rem, 6vh, 5rem) 0 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.2rem, 2.6vh, 2rem);
}

.eyebrow {
  font-size: clamp(.72rem, 1.6vw, .95rem);
  font-weight: 700;
  letter-spacing: .32em;
  color: var(--amber);
  border: 1px solid rgba(255, 158, 0, .35);
  border-radius: 999px;
  padding: .55em 1.4em;
  background: rgba(255, 158, 0, .07);
}

/* ---- título ---- */
.title {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  line-height: .98;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .12em;
}

.title .line {
  display: block;
  font-size: clamp(1.6rem, 5.2vw, 3.4rem);
  letter-spacing: .04em;
}

.title .big {
  font-size: clamp(3rem, 10vw, 6.6rem);
  background: linear-gradient(92deg, var(--hot) 10%, var(--amber) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 45, 85, .45));
}

.title .band {
  font-size: clamp(3.4rem, 12vw, 8rem);
  letter-spacing: .06em;
  color: #fff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, .55),
    0 0 30px rgba(255, 45, 85, .85),
    0 0 70px rgba(255, 45, 85, .55),
    0 0 120px rgba(255, 158, 0, .35);
}

@keyframes neonPulse {
  0%, 100% { text-shadow: 0 0 8px rgba(255,255,255,.55), 0 0 30px rgba(255,45,85,.85), 0 0 70px rgba(255,45,85,.55), 0 0 120px rgba(255,158,0,.35); }
  50%      { text-shadow: 0 0 10px rgba(255,255,255,.7), 0 0 42px rgba(255,45,85,1), 0 0 95px rgba(255,45,85,.7), 0 0 150px rgba(255,158,0,.5); }
}

/* ---- fecha ---- */
.datebar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
}

.chip {
  font-size: clamp(.8rem, 1.8vw, 1rem);
  font-weight: 700;
  letter-spacing: .12em;
  padding: .7em 1.3em;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
}

/* ---- tickets ---- */
.tickets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  width: 100%;
  margin-top: .6rem;
  perspective: 900px;
}

.ticket {
  display: flex;
  width: min(430px, 100%);
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .35s ease, box-shadow .35s ease;
  transform: rotate(-1.2deg);
}

.ticket:nth-child(2) { transform: rotate(1.4deg); }

.ticket:hover, .ticket:focus-visible {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: 0 26px 60px rgba(255, 45, 85, .28), 0 0 0 1px rgba(255, 255, 255, .12);
  outline: none;
}

.ticket-side {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: linear-gradient(180deg, var(--hot), var(--amber));
  color: #fff;
  font-family: "Anton", Impact, sans-serif;
  font-size: .8rem;
  letter-spacing: .35em;
  padding: .9em .45em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-body {
  flex: 1;
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.ticket-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: #8a7f92;
}

.ticket-name {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: .03em;
  background: linear-gradient(92deg, #d40e3f, #e88a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ticket-meta {
  display: flex;
  gap: 1.3rem;
  margin-top: .45rem;
  font-size: .8rem;
  color: #4c4356;
}

.ticket-meta b {
  display: block;
  font-size: .62rem;
  letter-spacing: .22em;
  color: #9a8fa5;
}

.ticket-stub {
  border-left: 2px dashed #cbbfd4;
  padding: .9rem .85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: #f7ecdc;
}

.stub-num {
  font-family: "Anton", Impact, sans-serif;
  font-size: 1rem;
  letter-spacing: .15em;
  color: #d40e3f;
}

.stub-rock { font-size: 1.3rem; }

/* ---- botón + nota ---- */
.rock-btn {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  letter-spacing: .14em;
  color: #fff;
  background: linear-gradient(92deg, var(--hot), var(--amber));
  border: none;
  border-radius: 999px;
  padding: .85em 2.2em;
  cursor: pointer;
  box-shadow: 0 10px 34px rgba(255, 45, 85, .4);
  transition: transform .25s ease, box-shadow .25s ease;
}

.rock-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 44px rgba(255, 45, 85, .55); }
.rock-btn:active { transform: scale(.97); }

.note {
  max-width: 34rem;
  color: var(--dim);
  font-size: clamp(.9rem, 2vw, 1.05rem);
  line-height: 1.6;
}

.note em { color: var(--amber); font-style: italic; }

/* ---- marquee ---- */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  padding: .8rem 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: scrollLoop 28s linear infinite;
}

.marquee-track span {
  font-family: "Anton", Impact, sans-serif;
  font-size: .95rem;
  letter-spacing: .28em;
  color: rgba(244, 238, 246, .45);
  padding-right: 1em;
}

@keyframes scrollLoop {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- reveals de entrada (CSS puro: siempre terminan visibles) ---- */
.anim {
  opacity: 0;
  transform: translateY(22px);
  animation: rise .8s cubic-bezier(.22, .8, .3, 1) forwards;
}

.d1 { animation-delay: .1s; }
.d2 { animation-delay: .3s; }
.d3 { animation-delay: .5s; }
.d4 { animation-delay: .75s; }
.d5 { animation-delay: .95s; }
.d6 { animation-delay: 1.25s; }
.d7 { animation-delay: 1.5s; }
.d8 { animation-delay: 1.8s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* la banda entra con zoom extra y después late con brillo de neón */
.title .band.anim {
  animation:
    bandIn .9s cubic-bezier(.22, .8, .3, 1) .95s forwards,
    neonPulse 2.6s ease-in-out 1.9s infinite;
}

@keyframes bandIn {
  from { opacity: 0; transform: translateY(26px) scale(.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- mobile ---- */
@media (max-width: 560px) {
  .hero { gap: 1.1rem; }
  .ticket { transform: rotate(0); }
  .ticket:nth-child(2) { transform: rotate(0); }
  .ticket-meta { gap: .9rem; flex-wrap: wrap; }
  .datebar { gap: .5rem; }
}
