:root {
  --black: #000;
  --ink: #0b0b0b;
  --red: #ad1824;
  --gold: #c5ab6b;
  --cream: #f4efe4;
  --muted: #9a9488;
  --display: "Anton", "Impact", sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--black); color: var(--cream); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .95; margin: 0; text-transform: uppercase; }

.demo-flag { position: fixed; bottom: 12px; right: 12px; z-index: 60; font-size: 11px; color: var(--muted); background: rgba(0,0,0,.7); border: 1px solid #222; padding: 6px 10px; border-radius: 99px; }

/* Cabecera */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 4vw, 48px); background: linear-gradient(#000c, #0000); }
.brand { display: block; line-height: 0; }
.brand img { width: 56px; height: 56px; }
.top nav { display: flex; gap: 22px; align-items: center; font-size: 14px; font-weight: 600; }
.top nav > a:not(.btn) { text-decoration: none; opacity: .8; }
.top nav > a:not(.btn):hover { opacity: 1; }

.btn { display: inline-block; padding: 11px 18px; border-radius: 99px; font-weight: 700; font-size: 14px; text-decoration: none; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #c21d2b; }
.btn-ghost { border: 1px solid #ffffff40; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Película de scroll */
.film { height: 420vh; position: relative; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.stage canvas, .stage .still { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage .still { object-fit: cover; object-position: 62% 50%; }
.stage .still[hidden], .stage canvas[hidden] { display: none; }
.stage canvas { background: #000 url("assets/frames/d/001.webp") 62% 50% / auto 85% no-repeat; }
.stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000d 0%, #0008 28%, #0000 52%); pointer-events: none; }

.beat, .layers { position: absolute; z-index: 2; left: clamp(16px, 6vw, 96px); top: 50%; transform: translateY(-50%); max-width: 440px; opacity: 0; transition: opacity .35s ease, transform .35s ease; }
.beat.on, .layers.on { opacity: 1; }
.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; margin: 0 0 14px; }
.beat h1 { font-size: clamp(56px, 7.5vw, 108px); }
.lead { font-size: 17px; line-height: 1.5; color: #d8d2c6; margin: 18px 0 0; max-width: 360px; }
.hint { margin-top: 36px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hint::after { content: " ↓"; }
.big { font-family: var(--display); font-size: clamp(44px, 6vw, 84px); text-transform: uppercase; line-height: .95; margin: 0; }
.price { font-family: var(--display); font-size: clamp(64px, 7.5vw, 108px); color: var(--gold); margin: 0; line-height: 1; }
.beat-price .btn { margin-top: 24px; }

.layers { list-style: none; padding: 0; margin: 0; }
.layers li { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; padding: 8px 0; color: #ffffff55; transition: color .3s; }
.layers li::before { content: attr(data-n); font-size: 12px; font-weight: 700; padding-top: 6px; color: inherit; }
.layers li b { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; }
.layers li span { grid-column: 2; font-size: 14px; max-height: 0; overflow: hidden; transition: max-height .35s, opacity .35s; opacity: 0; }
.layers li.done { color: #ffffffa0; }
.layers li.active { color: var(--cream); }
.layers li.active::before { color: var(--red); }
.layers li.active b { font-size: 38px; }
.layers li.active span { max-height: 40px; opacity: 1; color: #d8d2c6; }


/* Secciones */
section.menu, section.places, section.order { padding: clamp(72px, 10vw, 140px) clamp(16px, 6vw, 96px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 32px; margin-bottom: 40px; }
.sec-head .kicker { width: 100%; margin: 0; }
.sec-head h2 { font-size: clamp(48px, 7vw, 96px); }
.city-toggle { margin-left: auto; display: flex; gap: 6px; background: #151515; padding: 5px; border-radius: 99px; }
.city-toggle button { border: 0; background: none; color: var(--muted); font: 600 14px var(--body); padding: 9px 16px; border-radius: 99px; cursor: pointer; }
.city-toggle button[aria-selected="true"] { background: var(--cream); color: var(--black); }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cards li { background: var(--ink); border: 1px solid #1d1d1d; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s; }
.cards li:hover { border-color: var(--red); }
.cards h3 { font-size: 30px; }
.cards p { margin: 0; color: #c9c3b7; line-height: 1.5; font-size: 15px; }
.cards .p { margin-top: auto; padding-top: 10px; color: var(--gold); font-weight: 700; font-size: 17px; }
.note { color: var(--muted); font-size: 14px; margin-top: 24px; }

.places { background: var(--ink); }
.place-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.place-grid article { border: 1px solid #222; border-radius: 16px; padding: 28px; background: var(--black); }
.place-grid h3 { font-size: 34px; margin-bottom: 14px; }
.place-grid p { color: #c9c3b7; line-height: 1.6; margin: 0 0 10px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.order { text-align: center; background: radial-gradient(60% 80% at 50% 100%, #ad182433, #000 70%); }
.order h2 { font-size: clamp(48px, 7vw, 96px); }
.order p { color: #c9c3b7; font-size: 17px; }
.order .row { justify-content: center; }

.foot { padding: 40px clamp(16px, 6vw, 96px) 64px; border-top: 1px solid #1a1a1a; color: var(--muted); font-size: 14px; }
.foot .small { font-size: 12px; }

/* Franja en movimiento */
.ticker { overflow: hidden; background: var(--red); color: #fff; padding: 18px 0; transform: rotate(-1.5deg); margin: -10px -20px 0; position: relative; z-index: 4; box-shadow: 0 20px 60px #ad182455; }
.ticker-track { display: flex; gap: 28px; width: max-content; animation: ticker 28s linear infinite; font-family: var(--display); font-size: clamp(28px, 4vw, 52px); text-transform: uppercase; white-space: nowrap; align-items: center; }
.ticker-track i { font-style: normal; color: var(--gold); font-size: .6em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Ficha técnica */
.spec { padding: clamp(96px, 12vw, 180px) clamp(16px, 6vw, 96px) clamp(64px, 8vw, 120px); position: relative; }
.spec-head h2 { font-size: clamp(64px, 11vw, 168px); }
.spec-head h2 span { display: inline-block; font-size: .32em; color: var(--gold); vertical-align: top; margin: .4em 0 0 .3em; letter-spacing: .06em; }
.spec-fig { position: relative; margin: 32px 0 0; border-radius: 24px; overflow: hidden; background: #000; }
.spec-fig img { display: block; width: 100%; height: auto; }
.hot { list-style: none; margin: 0; padding: 0; }
.hot li { position: absolute; left: var(--x); top: var(--y); width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.hot li::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px #c5ab6b33; }
.hot li::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.4s ease-out infinite; }
.hot b, .hot span { position: absolute; white-space: nowrap; top: 50%; }
.hot b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(16px, 1.6vw, 24px); transform: translateY(-110%); }
.hot span { font-size: 13px; color: #d8d2c6; transform: translateY(15%); }
.hot li[data-side="r"] b, .hot li[data-side="r"] span { left: 84px; }
.hot li[data-side="l"] b, .hot li[data-side="l"] span { right: 84px; text-align: right; }
.hot i { position: absolute; top: 50%; height: 1px; width: 64px; background: linear-gradient(90deg, var(--gold), #c5ab6b00); }
.hot li[data-side="r"] i { left: 14px; }
.hot li[data-side="l"] i { right: 14px; transform: scaleX(-1); }
.hot li { opacity: 0; transform: scale(.6); transition: opacity .5s, transform .5s; }
.spec-fig.in .hot li { opacity: 1; transform: none; }
.spec-fig.in .hot li:nth-child(2) { transition-delay: .12s; }
.spec-fig.in .hot li:nth-child(3) { transition-delay: .24s; }
.spec-fig.in .hot li:nth-child(4) { transition-delay: .36s; }
.spec-fig.in .hot li:nth-child(5) { transition-delay: .48s; }
.spec-fig.in .hot li:nth-child(6) { transition-delay: .6s; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 32px 0 0; border-top: 1px solid #222; }
.facts div { padding: 28px 0 0; }
.facts dt { font-family: var(--display); font-size: clamp(44px, 6vw, 88px); color: var(--gold); line-height: 1; }
.facts dd { margin: 8px 0 0; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; }

/* Carta editorial */
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #222; }
.list li { display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline; column-gap: 24px; padding: 26px 0; border-bottom: 1px solid #222; position: relative; transition: padding .3s; }
.list li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--red); transition: width .5s; }
.list li:hover::after { width: 100%; }
.list .idx { font-size: 13px; font-weight: 700; color: var(--red); }
.list h3 { font-size: clamp(36px, 5.5vw, 76px); transition: color .25s, transform .3s; }
.list li:hover h3 { color: var(--gold); transform: translateX(8px); }
.list .ing { grid-column: 2; margin: 10px 0 0; color: #bdb7ab; max-width: 560px; font-size: 15px; line-height: 1.5; }
.list .p { grid-row: 1; grid-column: 3; margin: 0; font-weight: 700; color: var(--cream); font-size: 17px; white-space: nowrap; }

/* Locales a pantalla partida */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.city { padding: clamp(64px, 8vw, 120px) clamp(16px, 5vw, 80px); display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.city:first-child { background: var(--red); }
.city:last-child { background: var(--ink); }
.city h2 { font-size: clamp(88px, 15vw, 240px); line-height: .82; margin: 8px 0 28px; }
.city:first-child .kicker { color: #ffd9a8; }
.city p { color: #f4efe4d0; line-height: 1.6; margin: 0; }
.city:first-child .btn-red { background: #000; }
.city:first-child .btn-ghost { border-color: #ffffff80; }

/* Cierre */
.order { padding: clamp(96px, 12vw, 180px) 16px; }
.order .huge { font-family: var(--display); text-transform: uppercase; font-size: clamp(64px, 15vw, 260px); line-height: .9; white-space: nowrap; margin: 0 0 24px; background: linear-gradient(180deg, var(--cream) 30%, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-xl { padding: 16px 26px; font-size: 16px; }

/* Aparición al bajar */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Filtros de la carta */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 28px; }
.chip { border: 1px solid #333; background: none; color: var(--cream); font: 600 14px var(--body); padding: 9px 16px; border-radius: 99px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--gold); }
.chip.on { background: var(--red); border-color: var(--red); color: #fff; }
.list li[hidden] { display: none; }

/* Monta tu smash */
.build { padding: clamp(72px, 10vw, 140px) clamp(16px, 6vw, 96px); background: var(--cream); color: var(--black);
  background-image: radial-gradient(#0000000d 1.2px, transparent 1.2px); background-size: 18px 18px; }
.build .kicker { color: var(--red); }
.build .lead { color: #3b3833; }
.build-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.size { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.sz { border: 2px solid #000; background: #fff; color: #000; padding: 16px; border-radius: 14px; font: 400 24px var(--display); text-transform: uppercase; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; }
.sz b { font: 700 15px var(--body); }
.sz.on { background: #000; color: var(--cream); }
.extras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.ex { width: 100%; display: flex; justify-content: space-between; gap: 8px; border: 1px solid #0000002a; background: #fff; color: #000; padding: 13px 14px; border-radius: 12px; font: 600 14px var(--body); cursor: pointer; transition: transform .15s, background .2s, border-color .2s; }
.ex span { text-align: left; }
.ex b { color: var(--red); font-weight: 700; }
.ex:hover { border-color: #000; }
.ex[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.ex[aria-pressed="true"] b { color: #fff; }
.build .note { color: #6b665c; }
.ticket { position: sticky; top: 96px; background: #fff; color: #000; padding: 28px 24px 0; border-radius: 6px; box-shadow: 0 30px 60px #0000002a; transform: rotate(1.2deg); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px;
  -webkit-mask: radial-gradient(10px at 50% 100%, #0000 98%, #000) 50% 100% / 20px 100% repeat-x; mask: radial-gradient(10px at 50% 100%, #0000 98%, #000) 50% 100% / 20px 100% repeat-x; padding-bottom: 34px; }
.t-brand { font-family: var(--display); font-size: 30px; text-transform: uppercase; text-align: center; margin: 0; }
.t-sub { text-align: center; color: #666; font-size: 12px; margin: 4px 0 18px; padding-bottom: 14px; border-bottom: 1px dashed #0006; }
.t-lines { list-style: none; margin: 0; padding: 0; min-height: 60px; }
.t-lines li { display: flex; justify-content: space-between; padding: 5px 0; animation: tline .3s ease; }
.t-lines li.add { color: #444; }
@keyframes tline { from { opacity: 0; transform: translateX(-6px); } }
.t-fries { color: #666; font-size: 12px; margin: 10px 0 0; }
.t-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 18px; padding-top: 14px; border-top: 1px dashed #0006; font-weight: 700; text-transform: uppercase; }
.t-total b { font-family: var(--display); font-weight: 400; font-size: 40px; color: var(--red); }
.t-total b.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.12); } }
.ticket .btn { display: block; text-align: center; font-family: var(--body); }
.t-bar { height: 34px; margin: 20px 0 0; background: repeating-linear-gradient(90deg, #000 0 2px, #0000 2px 4px, #000 4px 5px, #0000 5px 8px); opacity: .85; }

/* Logotipo gigante al pie */
.mega { font-family: var(--display); text-transform: uppercase; font-size: clamp(56px, 22.5vw, 380px); line-height: .85; margin: 0 0 32px; color: var(--cream); white-space: nowrap; letter-spacing: -.01em; }
.mega span { color: var(--red); font-size: .55em; margin: 0 .06em; vertical-align: .32em; }

/* Móvil */
@media (max-width: 760px) {
  .top nav > a:not(.btn) { display: none; }
  .top nav .btn-ghost { display: none; }
  .stage .still { object-fit: contain; object-position: 50% 38%; transform: scale(2.2); transform-origin: 50% 38%; }
  .stage canvas { background-image: none; }
  .stage::after { background: linear-gradient(0deg, #000e 0%, #0009 30%, #0000 55%); }
  .beat, .layers { top: auto; bottom: 48px; transform: none; right: 16px; max-width: none; }
  .beat h1 { font-size: 64px; }
  .layers li { display: none; }
  .layers li.active { display: grid; }
  .city-toggle { margin-left: 0; }
  .ticker { transform: rotate(-2deg); }
  .spec-fig { overflow: visible; background: none; }
  .spec-fig img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; border-radius: 20px; transform: scale(1); }
  .hot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 20px; }
  .hot li { position: relative; left: auto; top: auto; width: auto; height: auto; margin: 0; padding-left: 18px; opacity: 1; transform: none; }
  .hot li::before { inset: auto; left: 0; top: 6px; width: 8px; height: 8px; box-shadow: none; }
  .hot li::after, .hot i { display: none; }
  .hot b, .hot span, .hot li[data-side] b, .hot li[data-side] span { position: static; display: block; transform: none; left: auto; right: auto; text-align: left; white-space: normal; }
  .hot b { font-size: 18px; }
  .hot span { font-size: 13px; margin-top: 2px; }
  .facts { grid-template-columns: 1fr; }
  .list li { grid-template-columns: 36px 1fr; }
  .list .p { grid-row: auto; grid-column: 2; margin-top: 8px; color: var(--gold); }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .city { min-height: 70vh; }
  .build-grid { grid-template-columns: 1fr; }
  .ticket { position: static; transform: none; }
  .extras { grid-template-columns: 1fr 1fr; }
  .ex { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* Sin animación: foto fija y todo visible */
@media (prefers-reduced-motion: reduce) {
  .film { height: auto; }
  .stage { position: relative; height: 100vh; }
  .stage canvas { display: none; }
  .stage .still { display: block; }
  .beat, .layers { transition: none; }
  .beat-claim, .beat-price, .layers { display: none; }
  .beat-intro { opacity: 1; }
  .btn:hover { transform: none; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hot li { opacity: 1; transform: none; }
  .hot li::after { animation: none; }
}
