/* =====================================================================
   HOME PAGE (index.html) — neon club sign, one big buzzer
   ===================================================================== */
body.lp { min-height: 100%; height: auto; overflow-x: hidden; font-size: 1.05rem; line-height: 1.55; }
[data-theme="neon"] body.lp {
  background:
    radial-gradient(70% 520px at 78% 120px, rgba(255,46,136,.16), transparent 70%),
    radial-gradient(90% 700px at 10% 0, rgba(63,230,255,.08), transparent 70%),
    linear-gradient(#0a0713, #140b28 40%, #0a0713);
  background-attachment: scroll;
}
/* the page background is drawn on the root: let it grow with the page instead of repeating every screen */
html:has(> body.lp) { height: auto; min-height: 100%; background: #0a0713; }
.lp a { color: inherit; }
.lp :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* top bar */
.lp-bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: max(12px, env(safe-area-inset-top)) clamp(16px, 4vw, 48px) 12px;
  background: rgba(10,7,19,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(63,230,255,.25);
}
.lp-brand { display: block; }
.lp-bar .pb-type { height: 38px; }
.lp-nav { display: flex; gap: 22px; margin-right: auto; }
.lp-nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.lp-nav a:hover { color: var(--text); }
.lp-bar-act { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* buttons */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 1rem var(--body); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
}
.lp-btn.primary { background: var(--pink); color: #fff; box-shadow: var(--glow-p); }
.lp-btn.primary:hover { background: #ff4b9a; }
.lp-btn.go { background: var(--go); color: var(--on-go); box-shadow: var(--glow-g); }
.lp-btn.ghost { min-height: 40px; padding: 0 16px; border: 1px solid rgba(63,230,255,.5); color: var(--text); font-size: .92rem; }
.lp-btn.ghost:hover { background: rgba(63,230,255,.1); }

/* hero: copy on the left, buzzer + join on the right */
.lp-hero {
  display: grid; gap: 28px 56px; align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  grid-template-areas: "copy stage" "copy join";
  max-width: 1180px; margin: 0 auto;
  padding: clamp(36px, 7vw, 96px) clamp(16px, 4vw, 48px) clamp(48px, 7vw, 96px);
}
.lp-copy { grid-area: copy; }
.lp-stage { grid-area: stage; justify-self: center; display: grid; justify-items: center; gap: 10px; }
.lp-join { grid-area: join; justify-self: center; width: min(100%, 380px); }
.lp-hero h1 {
  font-family: var(--display); font-weight: 900; line-height: .98; letter-spacing: -.01em;
  font-size: clamp(2.6rem, 6.6vw, 5.4rem); margin: 0 0 22px; max-width: 11ch;
  color: #fff4fa;
  text-shadow: 0 0 1px #fff, 0 0 14px rgba(255,46,136,.55), 0 0 42px rgba(255,46,136,.35);
}
.lp-lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #d9cdf0; max-width: 34em; margin: 0 0 30px; }
.lp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.lp-free { color: var(--go-text); font-weight: 600; }

/* the buzzer: an arcade button seen from above */
.lp-buzz {
  --s: clamp(190px, 24vw, 280px);
  width: var(--s); height: var(--s); border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer; user-select: none; -webkit-user-select: none;
  font: 900 clamp(1.6rem, 2.6vw, 2.2rem) var(--display); color: #fff; letter-spacing: .02em;
  background: radial-gradient(circle at 50% 38%, #ff7cc0 0%, #ff2e88 45%, #b3125c 100%);
  box-shadow:
    0 0 0 10px #1a1130, 0 0 0 12px rgba(255,46,136,.7),
    0 14px 0 10px #6e0a39, 0 0 60px 14px rgba(255,46,136,.45),
    inset 0 -10px 24px rgba(0,0,0,.35), inset 0 8px 18px rgba(255,255,255,.35);
  transition: transform .08s ease, box-shadow .08s ease, background .15s ease;
  touch-action: manipulation;
}
.lp-buzz:active, .lp-buzz.hit { transform: translateY(8px); }
.lp-buzz.hit {
  background: radial-gradient(circle at 50% 38%, #b6ffd9 0%, #39ff9f 45%, #12a86a 100%); color: var(--on-go);
  box-shadow:
    0 0 0 10px #1a1130, 0 0 0 12px rgba(57,255,159,.8),
    0 6px 0 10px #0a6e45, 0 0 80px 22px rgba(57,255,159,.5),
    inset 0 -10px 24px rgba(0,0,0,.25), inset 0 8px 18px rgba(255,255,255,.4);
}
.lp-buzz-note { color: var(--muted); font-size: .9rem; margin-top: 18px; }

/* join form */
.lp-join {
  background: rgba(18,12,34,.85); border: 1px solid rgba(57,255,159,.45); border-radius: 18px;
  padding: 18px 18px 14px; box-shadow: 0 0 22px rgba(57,255,159,.12);
}
.lp-join label { display: block; font-weight: 700; margin-bottom: 10px; }
.lp-join-row { display: flex; gap: 10px; }
.lp-code {
  flex: 1; min-width: 0; text-align: center; text-transform: uppercase;
  font: 800 1.6rem var(--display); letter-spacing: .3em; padding: 8px 0 8px .3em;
}
.lp-code::placeholder { color: rgba(164,151,194,.4); }
.lp-join small { display: block; color: var(--muted); margin-top: 8px; }

/* sections */
.lp-sec { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px); }
.lp-sec h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.1; margin: 0 0 28px; color: #fff;
}
.lp-sec p { margin: 0; }

/* how it works: a real sequence, so it's numbered */
.lp-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lp-steps li { counter-increment: s; position: relative; padding-top: 70px; }
.lp-steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font: 900 1.5rem var(--display); color: var(--cyan);
  border: 2px solid var(--cyan); box-shadow: 0 0 14px rgba(63,230,255,.45), inset 0 0 10px rgba(63,230,255,.25);
}
.lp-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: 66px; right: -14px; height: 2px;
  background: linear-gradient(90deg, rgba(63,230,255,.6), rgba(63,230,255,0));
}
.lp-steps b { display: block; font: 800 1.2rem var(--display); margin-bottom: 6px; }
.lp-steps p { color: #cfc3e6; max-width: 30em; }

/* features: plain list with glowing ticks */
.lp-ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; }
.lp-ticks li { position: relative; padding-left: 34px; color: #e6dcf7; }
.lp-ticks li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px;
  border-left: 3px solid var(--go); border-bottom: 3px solid var(--go); transform: rotate(-45deg);
  filter: drop-shadow(0 0 4px rgba(57,255,159,.8));
}

/* who it's for */
.lp-who-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.lp-who-list > div { padding: 18px 0; border-top: 1px solid rgba(255,46,136,.3); }
.lp-who-list dt { font: 800 1.2rem var(--display); color: var(--accent-text); margin-bottom: 4px; }
.lp-who-list dd { margin: 0; color: #d9cdf0; }

/* call-to-action band */
.lp-band { text-align: center; }
.lp-band > * { margin-left: auto; margin-right: auto; }
.lp-band h2 { margin-bottom: 12px; }
.lp-sec.lp-band p { color: #d9cdf0; max-width: 34em; margin: 0 auto 26px; }

/* FAQ */
.lp-faq { max-width: 820px; }
.lp-faq details { border-top: 1px solid var(--line); }
.lp-faq details:last-child { border-bottom: 1px solid var(--line); }
.lp-faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font: 700 1.5rem var(--display); color: var(--cyan);
}
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { padding: 0 0 20px; color: #cfc3e6; max-width: 40em; }

/* footer */
.lp-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
  max-width: 1180px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(63,230,255,.2); color: var(--muted);
}
.lp-foot .pb-logo { height: 64px; }
.lp-foot nav { display: flex; gap: 22px; margin-right: auto; }
.lp-foot a { text-decoration: none; font-weight: 600; }
.lp-foot a:hover { color: var(--text); }

/* small screens: players typing the address on a phone see the code box first */
@media (max-width: 860px) {
  .lp-nav { display: none; }
  .lp-hero { grid-template-columns: 1fr; grid-template-areas: "join" "copy" "stage"; padding-top: 24px; gap: 32px; }
  .lp-join { width: 100%; max-width: 460px; justify-self: stretch; margin: 0 auto; }
  .lp-hero h1 { max-width: none; }
  .lp-steps { grid-template-columns: 1fr; gap: 22px; }
  .lp-steps li { padding: 4px 0 0 70px; min-height: 52px; }
  .lp-steps li:not(:last-child)::after { display: none; }
  .lp-ticks, .lp-who-list { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .lp-bar { gap: 10px; }
  .lp-bar .pb-type { height: 30px; }
  .lp-btn.ghost { padding: 0 12px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-buzz { transition: none; }
}


/* hero phone: the real player screen in a hand; tap it to buzz */
.lp-phone {
  position: relative; display: block; width: clamp(320px, 34vw, 500px); max-width: 100%; aspect-ratio: 2178 / 2512;
  padding: 0; border: 0; background: none; cursor: pointer; touch-action: manipulation;
  /* the wrist fades into the page instead of being cut by the image edge */
  -webkit-mask-image: linear-gradient(#000 78%, transparent 99%);
          mask-image: linear-gradient(#000 78%, transparent 99%);
}
.lp-phone img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lp-phone-b { opacity: 0; transition: opacity .12s ease; }
.lp-phone.hit .lp-phone-b { opacity: 1; }
.lp-phone:active img { transform: translateY(2px); }
.lp-phone:focus-visible { outline: none; }
.lp-phone:focus-visible::after { content: ""; position: absolute; left: 10%; top: 1%; width: 46%; height: 84%; border-radius: 40px; box-shadow: 0 0 0 2px var(--cyan); }
.lp-stage .lp-buzz-note { margin-top: -6px; }
/* desktop: the phone spans both rows on the right, the code box sits under the text */
@media (min-width: 861px) {
  .lp-hero { grid-template-areas: "copy stage" "join stage"; align-items: center; }
  .lp-hero .lp-join { justify-self: start; align-self: start; }
  .lp-stage { align-self: center; }
}
@media (max-width: 860px) { .lp-phone { width: min(360px, 82vw); } }

/* "How it works": a camera moving over the living-room photo while you scroll */
.lp-story { position: relative; }
.lp-story-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000; }
.lp-cam {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, 150.03svh); aspect-ratio: 2576 / 1717;
  margin-left: calc(max(100vw, 150.03svh) / -2); margin-top: calc(max(100vw, 150.03svh) / -3.0006);
  transition: transform 1.1s cubic-bezier(.65,0,.25,1), transform-origin 1.1s cubic-bezier(.65,0,.25,1);
}
.lp-cam-img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* sharp close-up of the phone, laid exactly over it in the photo (photo px 1490–1740 × 900–1250) */
.lp-cam-tile {
  position: absolute; left: 57.842%; top: 52.417%; width: 9.705%; height: 20.384%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(transparent, #000 8%, #000 92%, transparent);
}
.lp-cam-b { opacity: 0; transition: opacity .5s ease .5s; }
.lp-cam.won .lp-cam-b { opacity: 1; }
.lp-story-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,7,19,.85) 0%, rgba(10,7,19,.35) 38%, rgba(10,7,19,0) 60%), linear-gradient(rgba(10,7,19,.6), rgba(10,7,19,0) 22%); pointer-events: none; }
.lp-story-title {
  position: absolute; left: clamp(16px, 5vw, 72px); top: clamp(80px, 12vh, 120px); margin: 0;
  font: 800 clamp(1.7rem, 3.2vw, 2.5rem)/1.1 var(--display); color: #fff; transition: opacity .5s ease;
}
.lp-story-stage.started .lp-story-title { opacity: 0; }
.lp-caps { list-style: none; margin: 0; padding: 0; position: absolute; left: clamp(16px, 5vw, 72px); bottom: clamp(60px, 12vh, 130px); width: min(420px, calc(100% - 32px)); counter-reset: s; }
.lp-caps li {
  counter-increment: s; position: absolute; left: 0; bottom: 0; width: 100%;
  padding: 20px 22px 20px 82px; border-radius: 18px; background: rgba(10,7,19,.82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(63,230,255,.35); opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease;
}
.lp-caps li::before {
  content: counter(s); position: absolute; left: 20px; top: 20px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font: 900 1.3rem var(--display); color: var(--cyan); border: 2px solid var(--cyan);
  box-shadow: 0 0 12px rgba(63,230,255,.45);
}
.lp-caps li.on { opacity: 1; transform: none; }
.lp-caps b { display: block; font: 800 1.25rem var(--display); margin-bottom: 4px; }
.lp-caps span { color: #d9cdf0; }
.lp-story-track { position: relative; margin-top: -100svh; }
.lp-story-track i { display: block; height: 100svh; }
@media (prefers-reduced-motion: reduce) { .lp-cam, .lp-cam-b, .lp-caps li, .lp-phone-b { transition: none !important; } }
.lp-story-track i:last-child { height: 160svh; }   /* let the last shot breathe before the page moves on */
