:root {
  --bg: #0A0A0D; --surface: #15151B; --surface-2: #1F1F27; --line: #2A2A33;
  --lime: #C6FF3D; --lime-ink: #142000; --lime-soft: #1A2208;
  --text: #F4F4F5; --text-2: #D4D4D8; --muted: #A1A1AA;
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: Inter, system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--body); padding-bottom: 92px; }
img { display: block; max-width: 100%; }
h1, h2, h3, blockquote { margin: 0; font-family: var(--display); text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line) var(--bg); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--lime-ink); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 8px; font: 800 21px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.logo .tile { width: 30px; height: 30px; border-radius: 9px; background: var(--lime); display: grid; place-items: center; }
.logo svg { width: 20px; height: 20px; fill: none; stroke: var(--lime-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.logo .fm { color: var(--muted); font-weight: 600; }

/* header (mobile) */
.top { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); }
.top-cta { font-weight: 600; font-size: 14px; text-decoration: none; padding: 9px 14px; border-radius: 999px; background: rgba(10,10,13,.6); border: 1px solid var(--line); }
.top-cta:hover { border-color: var(--lime); }

/* icons in buttons */
.i-play, .i-pause { width: 26px; height: 26px; fill: currentColor; }
.i-pause, [aria-pressed="true"] .i-play, .dock[data-playing="true"] .dock-btn .i-play { display: none; }
[aria-pressed="true"] .i-pause, .dock[data-playing="true"] .dock-btn .i-pause { display: block; }
.dock:not([data-playing="true"]) .dock-btn .i-pause { display: none; }

/* reel: three full-screen scenes (mobile) */
.scene { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.scene-bg { position: absolute; inset: 0 0 auto; width: 100%; height: 78%; object-fit: cover; object-position: center top; z-index: -2; opacity: .62; filter: saturate(.75); transition: opacity 1.2s var(--ease), filter 1.2s var(--ease), transform 8s linear; }
.scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,13,.85) 0%, rgba(10,10,13,0) 20%, rgba(10,10,13,.75) 40%, var(--bg) 52%); }
.scene.is-playing .scene-bg { opacity: .9; filter: saturate(1); transform: scale(1.06); }
.scene-body { padding: 0 var(--gutter) 64px; width: 100%; max-width: 640px; }
.line { font-weight: 800; font-size: clamp(40px, 11.5vw, 64px); line-height: .98; letter-spacing: -.03em; }
.scene-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.scene-meta strong { font: 800 20px/1.1 var(--display); }
.scene-meta span { color: var(--muted); font-size: 14px; }
.scene-pitch { margin-top: 8px; color: var(--text-2); font-size: 15px; max-width: 46ch; }
.scene-act { margin-top: 22px; display: flex; align-items: center; gap: 14px; font-weight: 600; line-height: 1.25; }
.scene-act small { color: var(--muted); font-weight: 400; font-size: 13px; }
.play { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0,0,0,.8); transition: transform .3s var(--ease); }
.play:hover { transform: scale(1.06); }
.play:active { transform: scale(.96); }
.bar { height: 3px; background: var(--line); border-radius: 3px; margin-top: 18px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--lime); }

/* cartelera */
.cartelera { padding: 72px var(--gutter) 24px; }
.side .logo { display: none; }
.side h1 { font-weight: 800; font-size: clamp(34px, 8.5vw, 52px); line-height: 1.02; letter-spacing: -.03em; max-width: 14ch; }
.lede { margin-top: 14px; color: var(--text-2); font-size: 17px; max-width: 40ch; }
.install { margin-top: 22px; }
.badge img { width: 180px; height: auto; margin-left: -10px; }
.badge:hover img { filter: brightness(1.12); }
.qr, .hint { display: none; }
.wall { margin-top: 48px; }
.wall-h { font-weight: 800; font-size: 24px; letter-spacing: -.02em; margin-bottom: 16px; }
.posters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
.poster button { position: relative; display: block; width: 100%; border-radius: 14px; overflow: hidden; background: var(--surface); aspect-ratio: 2 / 3; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s var(--ease); }
.poster-line { position: absolute; inset: auto 0 0; padding: 40% 12px 14px; font: 800 17px/1.08 var(--display); letter-spacing: -.01em; text-align: left; background: linear-gradient(rgba(10,10,13,0), var(--bg) 34%); opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.poster-play { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); }
.poster-play svg { width: 20px; height: 20px; }
.poster p { margin-top: 10px; display: grid; gap: 2px; }
.poster p strong { font: 600 15px/1.2 var(--display); }
.poster p span { color: var(--muted); font-size: 13px; }
.poster button[aria-pressed="true"] { outline: 3px solid var(--lime); outline-offset: 3px; }
.poster button[aria-pressed="true"] .poster-line { opacity: 1; transform: none; }

/* noche */
.noche { padding: 72px var(--gutter); max-width: 1180px; margin: 0 auto; }
.noche h2 { font-weight: 800; font-size: clamp(30px, 7vw, 44px); letter-spacing: -.03em; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 88px 1fr; column-gap: 16px; padding: 18px 0; border-top: 1px solid var(--surface-2); }
.steps time { grid-row: span 2; font: 800 26px/1 var(--display); color: var(--lime); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.steps li:nth-child(n+3) time { color: var(--muted); }
.steps h3 { font-weight: 600; font-size: 20px; line-height: 1.2; }
.steps p { margin-top: 4px; color: var(--muted); font-size: 15px; max-width: 52ch; }

/* cierre */
.cierre { padding: 64px var(--gutter) 72px; text-align: center; display: grid; justify-items: center; gap: 14px; border-top: 1px solid var(--surface-2); }
.cierre h2 { font-weight: 800; font-size: clamp(30px, 7vw, 52px); line-height: 1.04; letter-spacing: -.03em; max-width: 18ch; }
.cierre > p { color: var(--text-2); max-width: 44ch; }
.cierre .badge img { width: 200px; margin: 4px 0 0; }
.small { font-size: 13px; color: var(--muted) !important; }

/* footer */
.foot { padding: 32px var(--gutter) 40px; border-top: 1px solid var(--surface-2); display: grid; gap: 16px; color: var(--muted); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a:hover { color: var(--lime); }

/* dock: install bar / mini player */
.dock { position: fixed; z-index: 10; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); background: rgba(21,21,27,.94); border: 1px solid var(--surface-2); border-radius: 18px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dock-idle, .dock-play { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; }
.dock-idle p, .dock-play p { flex: 1; min-width: 0; display: grid; font-size: 14px; line-height: 1.3; }
.dock-idle span, .dock-play span { color: var(--muted); font-size: 13px; }
.dock-play strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .badge img { width: 136px; margin: -6px -4px; }
.dock-play { display: none; flex-wrap: wrap; padding-left: 8px; }
.dock[data-state="play"] .dock-idle { display: none; }
.dock[data-state="play"] .dock-play { display: flex; }
.dock-cover { width: 34px; height: 51px; border-radius: 6px; object-fit: cover; }
.dock-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; flex: none; }
.dock-btn svg { width: 22px; height: 22px; }
.dock-install { font-weight: 600; font-size: 13px; text-decoration: none; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); flex: none; }
.dock-install:hover { background: var(--lime-soft); color: var(--lime); }
@media (max-width: 899px) { .dock-play span { display: none; } .dock-install { padding: 10px; } }
.dock .bar { flex-basis: 100%; margin: 2px 6px 0; height: 2px; }

/* legal */
.legal .top { position: static; }
.doc { padding: 16px var(--gutter) 64px; max-width: 72ch; margin: 0 auto; }
.doc h1 { font-weight: 800; font-size: clamp(32px, 7vw, 48px); letter-spacing: -.03em; margin: 12px 0 20px; }
.doc h2 { font-weight: 600; font-size: 22px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0; }
.doc p + p { margin-top: 10px; }
body.legal { padding-bottom: 0; }

/* tablet / desktop: la cartelera */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .top, .reel { display: none; }
  .cartelera { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); gap: 56px; padding: 0 var(--gutter) 0 var(--gutter); max-width: 1560px; margin: 0 auto; align-items: start; }
  .side { order: 2; position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
  .side-in { padding: 40px 0; }
  .side .logo { display: inline-flex; margin-bottom: 40px; }
  .side h1 { font-size: clamp(40px, 3.6vw, 58px); }
  .qr { display: flex; gap: 16px; align-items: center; margin-top: 26px; padding: 14px; background: var(--surface); border: 1px solid var(--surface-2); border-radius: 18px; max-width: 360px; }
  .qr img { background: #fff; border-radius: 10px; padding: 6px; width: 112px; height: 112px; }
  .qr p { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
  .qr strong { color: var(--text); font: 600 17px/1.2 var(--display); }
  .hint { display: block; margin-top: 22px; color: var(--muted); font-size: 14px; max-width: 34ch; }
  .wall { order: 1; margin: 0; padding: 40px 0 64px; }
  .wall-h { font-size: 15px; font-family: var(--body); font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 18px; }
  .posters { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
  .poster:nth-child(3n+2) { transform: translateY(48px); }
  .poster-play { opacity: 0; visibility: hidden; transform: scale(.8); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .poster button:hover .poster-line, .poster button:focus-visible .poster-line { opacity: 1; transform: none; }
  .poster button:hover .poster-play, .poster button:focus-visible .poster-play, .poster button[aria-pressed="true"] .poster-play { opacity: 1; visibility: visible; transform: none; }
  .poster button:hover img { transform: scale(1.04); filter: brightness(.8); }
  .poster-line { font-size: clamp(18px, 1.5vw, 24px); padding: 45% 16px 18px; }
  .noche { padding: 96px var(--gutter); }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps li { grid-template-columns: 1fr; border-top: 2px solid var(--surface-2); padding-top: 22px; }
  .steps li:first-child { border-top-color: var(--lime); }
  .steps time { grid-row: auto; font-size: 34px; margin-bottom: 14px; }
  .cierre { padding: 96px var(--gutter); }
  .dock { left: 50%; right: auto; bottom: 20px; transform: translateX(-50%); width: min(560px, calc(100% - 40px)); }
  .dock[data-state="idle"] { display: none; }
  .foot { grid-template-columns: auto 1fr auto; align-items: center; }
  .foot nav { justify-content: center; }
}
@media (min-width: 1400px) { .posters { grid-template-columns: repeat(4, 1fr); } .poster:nth-child(3n+2) { transform: none; } .poster:nth-child(even) { transform: translateY(56px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
