/* =========================================================
   CARLO PAZO 2027 — styles
   ========================================================= */
:root {
  --pink: #ff2e88;
  --yellow: #ffd400;
  --cyan: #00f0ff;
  --lime: #7cff4f;
  --violet: #9b5cff;
  --orange: #ff7a00;
  --ink: #0b0614;
  --paper: #fff6e9;
  --display: "Bungee", "Rubik Mono One", system-ui, sans-serif;
  --mono: "Rubik Mono One", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: none; }
@media (hover: none) { button { cursor: pointer; } }
::selection { background: var(--pink); color: var(--ink); }

/* ---------- LOADER ---------- */
#loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  background: radial-gradient(circle at 50% 40%, #2a0a3a, var(--ink) 70%);
  transition: clip-path 1s cubic-bezier(.77,0,.18,1);
  clip-path: circle(150% at 50% 50%);
}
#loader.done { clip-path: circle(0% at 50% 50%); pointer-events: none; }
.glass {
  position: relative; width: 110px; height: 150px;
  border: 4px solid rgba(255,255,255,.85); border-top: none;
  border-radius: 6px 6px 22px 22px;
  overflow: hidden; transform: perspective(300px) rotateX(-6deg);
  box-shadow: 0 0 40px rgba(255,46,136,.5), inset 0 0 20px rgba(255,255,255,.15);
}
.glass__liquid {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill, 0%);
  background: linear-gradient(#5a1d06, #2a0c02);
  transition: height .2s;
}
.glass__foam {
  position: absolute; left: 0; right: 0; height: 22px;
  bottom: calc(var(--fill, 0%) - 4px);
  background: #e9c9a3; border-radius: 40% 40% 0 0;
  filter: blur(1px);
  transition: bottom .2s;
}
.glass__ice { position: absolute; width: 30px; height: 30px; background: rgba(255,255,255,.35); border-radius: 6px; animation: bob 2s ease-in-out infinite; }
.glass__ice.i1 { left: 14px; bottom: 30%; transform: rotate(12deg); }
.glass__ice.i2 { right: 18px; bottom: 50%; animation-delay: -.8s; }
@keyframes bob { 50% { translate: 0 -8px; rotate: 20deg; } }
.loader__text { font-family: var(--display); font-size: clamp(18px, 4vw, 28px); margin: 0; }
.loader__pct { margin: 0; opacity: .7; font-size: 14px; }
.dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* ---------- CURSOR / FX ---------- */
#trail { position: fixed; inset: 0; pointer-events: none; z-index: 999; }
.trail-dot {
  position: fixed; pointer-events: none; font-size: 22px;
  translate: -50% -50%;
  animation: trailFade .9s ease-out forwards;
}
@keyframes trailFade {
  to { opacity: 0; transform: translateY(40px) scale(.3) rotate(var(--r, 90deg)); }
}
.cursor {
  position: fixed; z-index: 1001; pointer-events: none; width: 34px; height: 34px;
  border: 3px solid var(--yellow); border-radius: 50%;
  translate: -50% -50%; mix-blend-mode: difference;
  transition: width .2s, height .2s, background .2s;
}
.cursor.big { width: 80px; height: 80px; background: var(--yellow); }
@media (hover: none) { .cursor { display: none; } }
#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 998; }
#smoke { position: fixed; inset: 0; pointer-events: none; z-index: 997; overflow: hidden; }
.puff {
  position: absolute; bottom: -120px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(170,255,170,.55), rgba(124,255,79,0) 70%);
  filter: blur(14px);
  animation: puff 6s ease-out forwards;
}
@keyframes puff {
  to { transform: translate(var(--dx, 0), -120vh) scale(4); opacity: 0; }
}
.leaf { position: absolute; top: -60px; font-size: 32px; animation: leafFall linear forwards; }
@keyframes leafFall { to { transform: translate(var(--dx, 0), 115vh) rotate(var(--rot, 720deg)); } }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 12px; left: var(--gutter); right: var(--gutter); z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(11,6,20,.55); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .4s;
}
.nav.hidden { transform: translateY(-140%); }
.nav__logo { font-family: var(--display); font-size: 22px; text-decoration: none; letter-spacing: -1px; }
.nav__logo span { color: var(--pink); }
.nav__links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-weight: 700; font-size: 14px; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px; background: var(--lime); transition: right .3s; }
.nav__links a:hover::after { right: 0; }
.nav__party {
  border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 13px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--lime), var(--cyan), var(--violet), var(--pink));
  background-size: 300% 100%; color: var(--ink); animation: slide 4s linear infinite;
  white-space: nowrap;
}
@keyframes slide { to { background-position: 300% 0; } }
@media (max-width: 760px) { .nav__links { display: none; } }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; isolation: isolate; padding: 100px var(--gutter) 60px;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.1); }
.hero__tint {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255,46,136,.55), transparent 60%),
    linear-gradient(180deg, rgba(11,6,20,.35), rgba(11,6,20,.15) 40%, rgba(11,6,20,.95));
}
.hero__grain {
  position: absolute; inset: -50%; z-index: -1; opacity: .12; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .5s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 4%); } }
.hero__content { text-align: center; max-width: 1200px; }
.hero__kicker { font-family: var(--mono); font-size: clamp(10px, 1.6vw, 14px); letter-spacing: 2px; margin: 0 0 10px; }
.blink { color: #ff3030; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__title { margin: 0; line-height: .82; font-family: var(--display); font-weight: 400; }
.hero__title .line { display: block; }
.line--1, .line--2 { font-size: clamp(64px, 18vw, 260px); letter-spacing: -.04em; }
.line--1 { color: var(--yellow); text-shadow: 6px 6px 0 var(--pink), 12px 12px 0 var(--violet); }
.line--2 { color: var(--paper); -webkit-text-stroke: 0; text-shadow: -6px 6px 0 var(--cyan), -12px 12px 0 var(--pink); }
.line--3 { font-size: clamp(48px, 12vw, 170px); margin-top: .1em; }
.char { display: inline-block; will-change: transform; }
.hero__title .char { opacity: 0; transform: translateY(120%) rotate(20deg) scale(.4); }
.loaded .hero__title .char { animation: charIn .9s cubic-bezier(.2,1.6,.4,1) forwards; animation-delay: calc(var(--i) * 60ms + 200ms); }
@keyframes charIn { to { opacity: 1; transform: none; } }
.hero__title .char:hover { animation: jelly .6s; color: var(--lime); }
@keyframes jelly {
  0% { transform: scale(1,1); } 30% { transform: scale(1.3,.7); } 40% { transform: scale(.75,1.25); }
  50% { transform: scale(1.15,.85); } 65% { transform: scale(.95,1.05); } 100% { transform: scale(1,1); }
}

/* glitch year */
.year {
  position: relative; display: inline-block; color: transparent;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--lime), var(--cyan), var(--violet), var(--pink));
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
  animation: slide 3s linear infinite;
  -webkit-text-stroke: 2px rgba(255,255,255,.9);
}
[data-glitch]::before, [data-glitch]::after {
  content: attr(data-glitch); position: absolute; inset: 0;
  -webkit-text-stroke: 0; pointer-events: none;
}
.year::before { color: var(--cyan); animation: glitch 2.5s infinite steps(1); mix-blend-mode: screen; }
.year::after { color: var(--pink); animation: glitch 2.1s infinite steps(1) reverse; mix-blend-mode: screen; }
@keyframes glitch {
  0%, 88%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  89% { clip-path: inset(10% 0 60% 0); transform: translate(-8px, 2px); }
  91% { clip-path: inset(50% 0 20% 0); transform: translate(8px, -2px); }
  93% { clip-path: inset(30% 0 40% 0); transform: translate(-4px, 0); }
  95% { clip-path: inset(70% 0 5% 0); transform: translate(6px, 2px); }
}

.hero__dates { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 28px 0 10px; }
.pill {
  font-family: var(--display); font-size: clamp(14px, 2.4vw, 22px);
  padding: 8px 16px; border-radius: 999px; color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  animation: wobble 3s ease-in-out infinite;
}
.pill:nth-child(3) { animation-delay: -1s; } .pill:nth-child(4) { animation-delay: -2s; }
@keyframes wobble { 50% { transform: rotate(-4deg) translateY(-4px); } }
.pill--pink { background: var(--pink); } .pill--yellow { background: var(--yellow); } .pill--cyan { background: var(--cyan); }
.arrow { font-size: 28px; animation: nudge 1s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.hero__sub { font-size: clamp(16px, 2.4vw, 22px); font-weight: 700; margin: 10px 0 30px; }
.hero__sub s { opacity: .6; }

.btn-mega {
  position: relative; display: inline-block; text-decoration: none;
  font-family: var(--display); font-size: clamp(18px, 3vw, 28px);
  padding: 20px 36px; border-radius: 18px; border: 4px solid var(--ink);
  background: var(--lime); color: var(--ink);
  box-shadow: 8px 8px 0 var(--pink), 16px 16px 0 var(--violet);
  transition: box-shadow .2s, translate .2s;
}
.btn-mega:hover { box-shadow: 2px 2px 0 var(--pink), 4px 4px 0 var(--violet); translate: 6px 6px; }
.btn-mega span { display: inline-block; pointer-events: none; }
.btn-mega--dark { background: var(--yellow); }

.hero__stickers .sticker {
  position: absolute; font-size: clamp(34px, 6vw, 72px); z-index: 1;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.5));
  animation: float 6s ease-in-out infinite; user-select: none;
}
.s1 { top: 16%; left: 8%; } .s2 { top: 22%; right: 9%; animation-delay: -1s !important; }
.s3 { bottom: 20%; left: 12%; animation-delay: -2s !important; } .s4 { bottom: 16%; right: 14%; animation-delay: -3s !important; }
.s5 { top: 48%; left: 3%; animation-delay: -4s !important; } .s6 { top: 10%; left: 46%; animation-delay: -2.5s !important; }
.s7 { top: 55%; right: 4%; animation-delay: -1.5s !important; } .s8 { bottom: 6%; left: 42%; animation-delay: -3.5s !important; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-30px) rotate(14deg); } }
.scroll-hint { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; font-family: var(--mono); font-size: 11px; text-align: center; animation: bob 1.5s infinite; letter-spacing: 3px; }

/* ---------- TAPES ---------- */
.tape { position: relative; z-index: 5; overflow: hidden; border-block: 4px solid var(--ink); }
.tape--a { background: var(--yellow); color: var(--ink); transform: rotate(-2.5deg) scale(1.05); margin-top: -40px; }
.tape--b { background: var(--pink); color: var(--ink); transform: rotate(2deg) scale(1.05); margin-top: -10px; }
.tape__track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.tape__track--rev { animation-direction: reverse; animation-duration: 28s; }
.tape__track span { font-family: var(--display); font-size: clamp(20px, 3.5vw, 40px); padding: 10px 0; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
section { position: relative; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.section-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(44px, 10vw, 140px);
  line-height: .9; margin: 0 0 16px; letter-spacing: -.03em; text-align: center;
}
.section-title--light { color: var(--paper); }
.stroke, .outline { color: transparent; -webkit-text-stroke: 2px var(--paper); }
.outline { font-family: "Bungee Shade", var(--display); -webkit-text-stroke: 0; color: var(--yellow); }
.hl { background: var(--lime); color: var(--ink); padding: 0 .15em; display: inline-block; transform: rotate(-2deg); }
.section-sub { text-align: center; font-size: clamp(15px, 2vw, 20px); opacity: .85; margin: 0 auto 48px; max-width: 640px; }

.reveal { opacity: 0; transform: translateY(80px) skewY(6deg); transition: opacity 1s, transform 1s cubic-bezier(.2,1.3,.4,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- COUNTDOWN ---------- */
.countdown { overflow: hidden; text-align: center; }
.countdown__bg {
  position: absolute; inset: -20%; z-index: -1;
  background: conic-gradient(from 0deg, #2a0640, #0b0614, #00303a, #0b0614, #3a0626, #2a0640);
  animation: spin 30s linear infinite; filter: blur(40px);
}
@keyframes spin { to { transform: rotate(360deg); } }
.clock { display: flex; justify-content: center; align-items: flex-start; gap: clamp(6px, 1.5vw, 20px); flex-wrap: nowrap; }
.clock__unit { display: grid; gap: 22px; }
.clock__num {
  font-family: var(--display); font-size: clamp(40px, 12vw, 170px); line-height: 1;
  padding: .12em .14em; border-radius: .14em; color: var(--ink);
  background: var(--yellow); border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--pink), 12px 12px 0 var(--cyan);
  font-variant-numeric: tabular-nums; min-width: 1.6em;
}
.clock__unit:nth-child(3) .clock__num { background: var(--pink); box-shadow: 6px 6px 0 var(--yellow), 12px 12px 0 var(--violet); }
.clock__unit:nth-child(5) .clock__num { background: var(--cyan); box-shadow: 6px 6px 0 var(--lime), 12px 12px 0 var(--pink); }
.clock__unit:nth-child(7) .clock__num { background: var(--lime); box-shadow: 6px 6px 0 var(--orange), 12px 12px 0 var(--violet); }
.clock__num.tick { animation: tick .45s cubic-bezier(.2,1.8,.4,1); }
@keyframes tick { 0% { transform: rotateX(90deg) scale(.8); } 100% { transform: none; } }
.clock__lbl { font-family: var(--mono); font-size: clamp(10px, 1.6vw, 16px); letter-spacing: 3px; }
.clock__sep { font-family: var(--display); font-size: clamp(30px, 8vw, 120px); line-height: 1.2; animation: blink 1s steps(2) infinite; }
.countdown__target { font-size: clamp(16px, 2.4vw, 24px); margin: 50px 0 8px; }
.countdown__joke { font-family: var(--mono); color: var(--lime); font-size: clamp(12px, 1.8vw, 16px); min-height: 1.5em; }
.countdown.arrived .clock__num { animation: party .3s infinite alternate; }
@keyframes party { to { filter: hue-rotate(180deg); transform: scale(1.1) rotate(4deg); } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; max-width: 1100px; margin: 80px auto 0; }
.stat { padding: 24px; border: 3px solid rgba(255,255,255,.2); border-radius: 22px; background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.stat__n { font-family: var(--display); font-size: clamp(40px, 6vw, 72px); color: var(--cyan); }
.stat:nth-child(2) .stat__n { color: var(--pink); } .stat:nth-child(3) .stat__n { color: var(--yellow); } .stat:nth-child(4) .stat__n { color: var(--lime); }
.stat__l { font-weight: 700; opacity: .8; }

/* ---------- CREW ---------- */
.crew { background: var(--paper); color: var(--ink); }
.crew .stroke { -webkit-text-stroke-color: var(--ink); }
.crew__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 34px; max-width: 1240px; margin: 0 auto; perspective: 1200px; }
.card {
  position: relative; aspect-ratio: 3 / 4.4; transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2,1.4,.4,1);
  opacity: 0; transform: translateY(120px) rotate(var(--rot, 0deg)) scale(.7);
}
.card.in { opacity: 1; transform: rotate(var(--rot, 0deg)); transition: opacity .6s, transform .9s cubic-bezier(.2,1.6,.4,1); transition-delay: calc(var(--i) * 90ms); }
.card__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3,1.5,.5,1); }
.card.flipped .card__inner { transform: rotateY(180deg); }
.card__face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 24px; border: 5px solid var(--ink); overflow: hidden;
  box-shadow: 10px 10px 0 var(--c, var(--pink));
  background: var(--c, var(--pink));
}
.card__front picture, .place picture { position: absolute; inset: 0; }
.card__front img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__front img { transform: scale(1.08) rotate(-2deg); }
.card__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%);
  background-size: 250% 100%; background-position: var(--sx, 100%) 0; mix-blend-mode: overlay;
}
.card__name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px 14px;
  background: linear-gradient(transparent, rgba(11,6,20,.85));
  color: var(--paper);
}
.card__name h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; text-shadow: 3px 3px 0 var(--c); }
.card__name p { margin: 4px 0 0; font-weight: 700; font-size: 14px; }
.card__badge {
  position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-size: 12px;
  background: var(--ink); color: var(--c); padding: 6px 10px; border-radius: 999px; transform: rotate(6deg);
}
.card__back { transform: rotateY(180deg); padding: 22px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.card__back h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 34px; }
.card__back .quote { font-weight: 700; font-style: italic; margin: 0; }
.bar { display: grid; gap: 4px; font-weight: 700; font-size: 13px; }
.bar__track { height: 14px; border: 3px solid var(--ink); border-radius: 999px; background: rgba(255,255,255,.5); overflow: hidden; }
.bar__fill { height: 100%; width: 0; background: var(--ink); transition: width 1.2s cubic-bezier(.2,1.4,.4,1) .3s; }
.card.flipped .bar__fill { width: var(--v); }
.card__hint { margin-top: auto; font-family: var(--mono); font-size: 10px; opacity: .7; }
.card__face img[data-missing] { display: none; }
.card__emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: 120px; }

/* ---------- RUTA ---------- */
.ruta { min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ruta__tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,6,20,.9), rgba(255,122,0,.25) 50%, rgba(11,6,20,.95)); }
.ruta__content { width: min(1100px, 100%); text-align: center; }
.road { position: relative; height: 140px; margin: 40px auto 20px; }
.road__line { position: absolute; left: 6%; right: 6%; top: 60px; height: 14px; border-radius: 8px; background: #222; border: 3px solid var(--ink); overflow: hidden; }
.road__line::after { content: ""; position: absolute; inset: 4px 0; background: repeating-linear-gradient(90deg, var(--yellow) 0 30px, transparent 30px 60px); animation: road 0.6s linear infinite; }
@keyframes road { to { background-position: -60px 0; } }
.road__car { position: absolute; top: 10px; left: 6%; font-size: 64px; transform: scaleX(-1); transition: left .1s linear; filter: drop-shadow(0 8px 6px rgba(0,0,0,.6)); }
.road__car.vroom { animation: vroom .25s infinite; }
@keyframes vroom { 50% { translate: 0 -3px; } }
.road__pin { position: absolute; top: 90px; font-size: 36px; display: grid; justify-items: center; font-weight: 700; }
.road__pin span { font-size: 13px; background: var(--ink); padding: 2px 8px; border-radius: 999px; }
.road__pin--start { left: 3%; } .road__pin--end { right: 3%; }
.ruta__caption { font-size: 18px; max-width: 640px; margin: 0 auto; }

/* ---------- AGENDA ---------- */
.agenda { padding-inline: 0; background: var(--violet); color: var(--ink); overflow: hidden; }
.agenda .section-title, .agenda .section-sub { padding-inline: var(--gutter); }
.agenda .stroke { -webkit-text-stroke-color: var(--ink); }
.agenda__rail {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px var(--gutter) 50px; scrollbar-width: thin;
}
.day {
  flex: 0 0 min(340px, 82vw); scroll-snap-align: center;
  background: var(--paper); border: 5px solid var(--ink); border-radius: 28px; padding: 26px;
  box-shadow: 10px 10px 0 var(--ink); transform: rotate(var(--rot)); transition: transform .4s cubic-bezier(.2,1.6,.4,1);
}
.day:hover { transform: rotate(0) translateY(-12px) scale(1.03); }
.day__date { display: flex; align-items: baseline; gap: 10px; }
.day__num { font-family: var(--display); font-size: 84px; line-height: .9; color: var(--c); -webkit-text-stroke: 3px var(--ink); }
.day__dow { font-family: var(--mono); font-size: 14px; }
.day h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 12px 0 10px; }
.day ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; font-weight: 600; }
.day li::before { content: attr(data-e) " "; }
.day__tag { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 11px; padding: 6px 10px; background: var(--ink); color: var(--c); border-radius: 999px; }

/* ---------- LUGARES ---------- */
.lugares__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; max-width: 1240px; margin: 0 auto; }
.place {
  position: relative; background: #2a0640; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3;
  border: 4px solid var(--paper); clip-path: inset(100% 0 0 0 round 26px);
  transition: clip-path 1.1s cubic-bezier(.77,0,.18,1);
}
.place.in { clip-path: inset(0 0 0 0 round 26px); }
.place img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); transition: transform 1.4s cubic-bezier(.2,1,.3,1); }
.place.in img { transform: scale(1); }
.place:hover img { transform: scale(1.12) rotate(1deg); }
.place__label {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  display: flex; justify-content: space-between; align-items: end; gap: 10px;
}
.place__label h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; background: var(--ink); padding: 4px 12px; border-radius: 12px; transform: rotate(-2deg); }
.place__label span { font-size: 40px; animation: float 4s ease-in-out infinite; }
.place__desc {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 26px; text-align: center;
  font-size: 20px; font-weight: 700; background: rgba(255,46,136,.88); color: var(--ink);
  opacity: 0; transition: opacity .3s;
}
.place:hover .place__desc, .place:focus-within .place__desc { opacity: 1; }
.place:nth-child(6n+2) { border-color: var(--yellow); } .place:nth-child(6n+3) { border-color: var(--cyan); }
.place:nth-child(6n+4) { border-color: var(--lime); } .place:nth-child(6n+5) { border-color: var(--pink); } .place:nth-child(6n) { border-color: var(--orange); }

/* ---------- BOLICHE ---------- */
.boliche { min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.boliche::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at center, rgba(11,6,20,.2), rgba(11,6,20,.85)); }
.boliche__lasers { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.boliche__lasers i {
  position: absolute; bottom: -10%; left: 50%; width: 4px; height: 140%; transform-origin: bottom center;
  background: linear-gradient(transparent, var(--c)); filter: blur(1px) drop-shadow(0 0 8px var(--c));
  animation: laser 3s ease-in-out infinite alternate;
}
.boliche__lasers i:nth-child(1) { --c: var(--pink); --a: -40deg; }
.boliche__lasers i:nth-child(2) { --c: var(--cyan); --a: 30deg; animation-delay: -.5s; }
.boliche__lasers i:nth-child(3) { --c: var(--lime); --a: -15deg; animation-delay: -1s; }
.boliche__lasers i:nth-child(4) { --c: var(--yellow); --a: 45deg; animation-delay: -1.5s; }
.boliche__lasers i:nth-child(5) { --c: var(--violet); --a: -55deg; animation-delay: -2s; }
.boliche__lasers i:nth-child(6) { --c: var(--pink); --a: 10deg; animation-delay: -2.5s; }
@keyframes laser { from { transform: rotate(var(--a)); } to { transform: rotate(calc(var(--a) * -1)); } }
.boliche__title {
  position: relative; margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(60px, 16vw, 230px); line-height: .9; color: var(--paper);
  text-shadow: 0 0 20px var(--pink), 0 0 60px var(--pink);
  animation: flicker 4s infinite;
}
.boliche__title::before { color: var(--cyan); animation: glitch 1.8s infinite steps(1); }
.boliche__title::after { color: var(--lime); animation: glitch 2.3s infinite steps(1) reverse; }
.boliche__title--2 { font-size: clamp(22px, 4.5vw, 60px); text-shadow: 0 0 12px var(--cyan), 0 0 40px var(--cyan); margin-bottom: 40px; animation-delay: -2s; }
@keyframes flicker { 0%, 19%, 21%, 23%, 55%, 57%, 100% { opacity: 1; } 20%, 22%, 56% { opacity: .3; } }

/* ---------- CALC ---------- */
.calc { background: var(--lime); color: var(--ink); }
.calc .stroke { -webkit-text-stroke-color: var(--ink); }
.calc__box { max-width: 820px; margin: 0 auto; background: var(--paper); border: 5px solid var(--ink); border-radius: 30px; padding: clamp(20px, 4vw, 40px); box-shadow: 14px 14px 0 var(--ink); }
.calc__row { display: grid; grid-template-columns: 1fr 1.2fr 50px; align-items: center; gap: 16px; font-weight: 700; margin-bottom: 18px; }
@media (max-width: 600px) { .calc__row { grid-template-columns: 1fr 50px; } .calc__row input { grid-column: 1 / -1; grid-row: 2; } }
.calc__row output { font-family: var(--display); font-size: 28px; text-align: right; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 16px; border-radius: 999px; background: var(--ink); border: 3px solid var(--ink); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); border: 4px solid var(--ink); }
input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--pink); border: 4px solid var(--ink); }
.calc__results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 26px; }
.calc__results div { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 16px; text-align: center; }
.calc__results b { display: block; font-family: var(--display); font-size: 42px; color: var(--yellow); }
.calc__results div:nth-child(2) b { color: var(--pink); } .calc__results div:nth-child(3) b { color: var(--cyan); } .calc__results div:nth-child(4) b { color: var(--lime); }
.calc__verdict { margin: 24px 0 0; font-family: var(--mono); font-size: clamp(13px, 2vw, 18px); text-align: center; }

/* ---------- VALIJA ---------- */
.valija { background: var(--paper); color: var(--ink); }
.valija .stroke { -webkit-text-stroke-color: var(--ink); }
.valija__progress { position: relative; max-width: 820px; height: 36px; margin: 0 auto 30px; border: 4px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; }
.valija__bar { height: 100%; width: 0; background: repeating-linear-gradient(45deg, var(--pink) 0 18px, var(--yellow) 18px 36px); transition: width .6s cubic-bezier(.2,1.6,.4,1); animation: stripes 1s linear infinite; background-size: 51px 51px; }
@keyframes stripes { to { background-position: 51px 0; } }
.valija__progress span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); }
.valija__list { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.valija__list label {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 3px solid var(--ink); border-radius: 16px;
  font-weight: 700; background: #fff; transition: transform .2s, background .2s; user-select: none;
}
.valija__list label:hover { transform: rotate(-1.5deg) scale(1.03); }
.valija__list input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; border: 3px solid var(--ink); border-radius: 8px; flex: none; display: grid; place-items: center; background: #fff; }
.valija__list input:checked { background: var(--lime); }
.valija__list input:checked::after { content: "✓"; font-weight: 900; }
.valija__list input:checked + span { text-decoration: line-through 3px var(--pink); opacity: .55; }
.valija__list li:has(input:checked) label { background: #eaffdf; }

/* ---------- REGLAS ---------- */
.reglas { background: var(--ink); overflow: hidden; }
.reglas__list { counter-reset: r; list-style: none; padding: 0; margin: 40px auto 0; max-width: 980px; display: grid; gap: 16px; }
.reglas__list li {
  counter-increment: r; position: relative; padding: 22px 22px 22px 110px; border-radius: 22px;
  font-size: clamp(16px, 2.2vw, 22px); font-weight: 700; background: rgba(255,255,255,.05);
  border: 2px solid rgba(255,255,255,.15);
  opacity: 0; transform: translateX(var(--from, -120px)) rotate(var(--rr, -3deg));
  transition: opacity .7s, transform .9s cubic-bezier(.2,1.5,.4,1), background .3s;
}
.reglas__list li:nth-child(even) { --from: 120px; --rr: 3deg; }
.reglas__list li.in { opacity: 1; transform: none; }
.reglas__list li:hover { background: var(--pink); color: var(--ink); }
.reglas__list li::before {
  content: counter(r, decimal-leading-zero); position: absolute; left: 20px; top: 50%; translate: 0 -50%;
  font-family: var(--display); font-size: 48px; color: var(--yellow);
}
.reglas__list li:hover::before { color: var(--ink); }

/* ---------- FOOTER ---------- */
.footer { padding: 100px var(--gutter) 60px; text-align: center; background: linear-gradient(180deg, var(--ink), #2a0640); overflow: hidden; }
.footer__big { font-family: var(--display); font-size: clamp(36px, 9vw, 130px); line-height: .9; margin-bottom: 30px; color: var(--yellow); }
.footer__big .char { animation: wave 2s ease-in-out infinite; animation-delay: calc(var(--i) * 80ms); }
@keyframes wave { 50% { transform: translateY(-18px); color: var(--pink); } }
.footer p { font-weight: 700; }
.footer__small { opacity: .6; font-weight: 400 !important; font-size: 14px; }
kbd { background: var(--paper); color: var(--ink); padding: 2px 6px; border-radius: 6px; font-family: var(--mono); font-size: 12px; }

/* ---------- TOAST ---------- */
#toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 160%; z-index: 1002;
  background: var(--yellow); color: var(--ink); font-family: var(--display); font-size: clamp(14px, 2.4vw, 20px);
  padding: 14px 22px; border-radius: 16px; border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--pink);
  transition: translate .5s cubic-bezier(.2,1.6,.4,1); text-align: center; max-width: calc(100vw - 32px);
}
#toast.show { translate: -50% 0; }

/* ---------- PARTY MODE ---------- */
body.party { animation: partyHue 1.2s linear infinite; }
body.party .section-title, body.party .hero__title { animation: shake .18s infinite; }
@keyframes partyHue { to { filter: hue-rotate(360deg) saturate(1.6); } }
@keyframes shake { 0% { transform: translate(1px,-1px) rotate(-.5deg); } 50% { transform: translate(-2px,2px) rotate(.5deg); } 100% { transform: translate(1px,1px); } }
body.party::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 996;
  background: radial-gradient(circle at var(--px, 50%) var(--py, 50%), rgba(255,255,255,.18), transparent 40%);
  animation: strobe .25s steps(2) infinite;
}
@keyframes strobe { 50% { opacity: 0; } }
body.drop { animation: dropShake .08s 12; }
@keyframes dropShake { 0% { transform: translate(6px, -4px) scale(1.01); } 50% { transform: translate(-6px, 6px); } 100% { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}
