/* Colors are the app's default theme, Neon Stage (Headliner/Views/Theme.swift). */
:root {
  color-scheme: dark;
  --stage-top: #290f3d;
  --stage: #0f0a1a;
  --panel: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.12);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.68);
  --accent: #ff409e;
  --highlight: #ffb833;
  --info: #4dd9ff;
  --good: #59f28c;
  --bad: #ff4d4d;
  --radius: 18px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stage) linear-gradient(180deg, var(--stage-top) 0, var(--stage) 640px) no-repeat;
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--info); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
[hidden] { display: none !important; }

.top, main, .foot {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.top { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { border-radius: 8px; }
.top-cta { color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }

/* Hero: copy and form first on a phone, the gig screenshot beside it on wider screens. */
.hero { display: grid; gap: 32px; padding: 20px 0 40px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { font-size: clamp(34px, 9vw, 56px); font-weight: 850; }
.lede { color: var(--muted); font-size: 18px; margin: 14px 0 24px; max-width: 34em; }
.hero-shot { display: none; margin: 0; }

.join { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; max-width: 460px; }
.join-title { font-size: 20px; margin-bottom: 14px; }
.join label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin: 12px 0 6px; }
.join input, .join select {
  width: 100%; font: inherit; font-size: 17px; color: var(--text);
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px;
  appearance: none; -webkit-appearance: none;
}
.join select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.join select:invalid { color: var(--muted); }
.join option { color: #000; }
.join input:focus, .join select:focus, .join button:focus-visible { outline: 2px solid var(--info); outline-offset: 2px; }
.join [aria-invalid="true"] { border-color: var(--bad); }
.join button, .again-button, .beta-button {
  display: block; width: 100%; margin-top: 18px; padding: 15px; border: 0; border-radius: 14px;
  background: var(--accent); color: #000; font: inherit; font-weight: 800; font-size: 17px; text-align: center; text-decoration: none; cursor: pointer;
}
.join button[disabled] { opacity: 0.6; cursor: progress; }
.status { min-height: 1.5em; margin: 12px 0 0; font-weight: 600; }
.status.ok { color: var(--good); }
.status.err { color: var(--bad); }
.fine { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.beta { max-width: 460px; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); border: 1px dashed var(--line); }
.beta-text { margin: 0; color: var(--muted); font-size: 15px; }
.beta-button { background: var(--highlight); margin-top: 12px; }

section { padding: 36px 0; }
section > h2 { font-size: 28px; font-weight: 800; margin-bottom: 18px; }

/* Screenshots scroll sideways on a phone and sit in a row on wider screens. */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter);
  scroll-padding: 0 var(--gutter);
}
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img, .hero-shot img { border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.shots figcaption { color: var(--muted); font-size: 15px; margin-top: 12px; }

.venues { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: venue; }
.venues li {
  counter-increment: venue; display: flex; align-items: center; gap: 12px;
  background: var(--panel); border-radius: 14px; padding: 12px 16px; font-weight: 700;
}
.venues li::before { content: counter(venue); color: var(--highlight); font-weight: 800; width: 1.2em; }
.venues em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 800; color: #000; background: var(--good); padding: 2px 10px; border-radius: 999px; }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.points li { padding-left: 22px; position: relative; color: var(--muted); }
.points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: var(--info); box-shadow: 0 0 10px var(--info); }
.points strong { color: var(--text); }

.plans { display: grid; gap: 14px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan p { margin: 0; color: var(--muted); }
.plan-pass { border-color: var(--accent); }
.plan ul { list-style: none; margin: 12px 0 0; padding: 0; }
.plan li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.plan b { color: var(--highlight); white-space: nowrap; }

.again { text-align: center; }
.again-button { max-width: 460px; margin: 0 auto; }

.foot { padding-top: 24px; padding-bottom: max(32px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot p { margin: 4px 0; }

@media (min-width: 760px) {
  .hero { grid-template-columns: 1.2fr 0.8fr; align-items: center; padding-top: 48px; }
  .hero-shot { display: block; max-width: 320px; justify-self: center; }
  .shots { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .plans { grid-template-columns: 1fr 1fr; }
  .venues { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.status:empty { display: none; }
