:root {
  --night: #170a2e;
  --night-2: #221045;
  --night-3: #2e165c;
  --violet: #8d35f5;
  --yellow: #ffd326;
  --pink: #ff4c9a;
  --cyan: #35d8f5;
  --ink: #ffffff;
  --dim: #d7c8ff;
  --faint: #9b88c9;
  --outline: #10071f;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Space Grotesk", "Avenir Next", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--night);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--night);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(141, 53, 245, 0.55), transparent 70%),
    radial-gradient(900px 600px at 110% 110%, rgba(255, 76, 154, 0.25), transparent 70%),
    radial-gradient(800px 500px at -10% 90%, rgba(53, 216, 245, 0.16), transparent 70%),
    var(--night);
}

.backdrop svg.rays {
  position: absolute;
  left: 50%;
  top: -40vmax;
  width: 160vmax;
  height: 160vmax;
  transform: translateX(-50%);
  opacity: 0.22;
  animation: qb-spin 120s linear infinite;
}

.backdrop .floor {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -2px;
  height: 46vh;
  background-image:
    linear-gradient(rgba(53, 216, 245, 0.35) 2px, transparent 2px),
    linear-gradient(90deg, rgba(53, 216, 245, 0.35) 2px, transparent 2px);
  background-size: 80px 80px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, black 10%, transparent 85%);
  animation: qb-floor 6s linear infinite;
}

.backdrop .scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 4px);
  pointer-events: none;
}

@keyframes qb-spin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes qb-floor {
  to {
    background-position: 0 80px, 0 0;
  }
}

.sr,
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

header,
main,
footer {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.top {
  padding: 28px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.mark {
  width: min(320px, 72vw);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.tag {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  font-size: 13px;
}

.hero {
  padding: 36px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 12px 24px;
  align-items: end;
}

.cast {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  min-height: 420px;
  padding-bottom: 0;
}

.cast .host {
  height: 380px;
  width: auto;
  max-width: 46%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.cast .host:nth-child(1) {
  margin-right: -8%;
  z-index: 1;
}

.cast .host:nth-child(2) {
  z-index: 3;
}

.cast .host:nth-child(3) {
  margin-left: -8%;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}

h1,
h2,
strong {
  font-family: var(--display);
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-shadow: 4px 4px 0 var(--outline);
  max-width: 16ch;
}

h2 {
  margin: 0 0 28px;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.lede {
  max-width: 42rem;
  color: var(--dim);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.45;
}

.waitlist {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: 640px;
}

.waitlist input[type="email"] {
  flex: 1 1 240px;
  min-height: 56px;
  border: 3px solid var(--outline);
  border-radius: 16px;
  padding: 0 16px;
  background: var(--night-2);
  color: var(--ink);
  font: inherit;
  font-size: 18px;
}

.waitlist button {
  min-height: 56px;
  padding: 0 22px;
  border: 3px solid var(--outline);
  border-radius: 16px;
  background: var(--yellow);
  color: var(--night);
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--violet);
}

.waitlist button:hover {
  transform: translateY(-1px);
}

.waitlist button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-note {
  flex: 1 1 100%;
  margin: 4px 0 0;
  color: var(--faint);
  font-size: 14px;
}

.form-note.ok {
  color: var(--cyan);
}

.form-note.err {
  color: var(--pink);
}

.stills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 36px 0 12px;
}

figure {
  margin: 0;
  background: var(--night-2);
  border: 3px solid var(--outline);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 0 var(--violet);
}

.still-frame {
  height: 180px;
  overflow: hidden;
  position: relative;
}

figure img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.crop-host img {
  object-position: 82% center;
  transform: scale(1.28);
  transform-origin: 82% center;
}

figcaption {
  position: relative;
  z-index: 1;
  padding: 12px 14px 14px;
  font-weight: 700;
  color: var(--dim);
  background: var(--night-2);
}

.lineup ul,
.rules ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.lineup ul {
  grid-template-columns: repeat(3, 1fr);
}

.lineup li,
.rules li {
  background: linear-gradient(180deg, var(--night-3), var(--night-2));
  border: 3px solid var(--outline);
  border-radius: 22px;
  padding: 22px;
}

.lineup .portrait {
  display: block;
  width: auto;
  height: 250px;
  margin: -8px auto 8px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.45));
}

.hosted {
  margin: 6px 0 0;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.chip {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(53, 216, 245, 0.14);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lineup strong {
  display: block;
  font-size: 28px;
}

.lineup p,
.rules p {
  margin: 10px 0 0;
  color: var(--dim);
}

.rules {
  padding: 48px 0 24px;
}

.rules ol {
  grid-template-columns: repeat(3, 1fr);
}

.rules strong {
  font-size: 22px;
}

footer {
  padding: 28px 0 48px;
  color: var(--faint);
  font-size: 14px;
}

footer a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
}

footer a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.fine {
  margin-top: 6px;
}

@media (max-width: 820px) {
  .hero,
  .stills,
  .lineup ul,
  .rules ol {
    grid-template-columns: 1fr;
  }

  .cast {
    min-height: 280px;
    order: -1;
  }

  .cast .host {
    height: 260px;
  }

  .lineup .portrait {
    height: 220px;
  }

  figure img,
  .still-frame {
    height: 220px;
  }

  .waitlist {
    justify-content: center;
    max-width: none;
  }

  .waitlist input[type="email"] {
    flex: 1 1 100%;
  }

  .waitlist button {
    margin: 0 auto;
  }

  .form-note {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .backdrop svg.rays,
  .backdrop .floor {
    animation: none;
  }
}
