:root {
  color-scheme: dark;
  --navy: #07152d;
  --panel: rgba(12, 34, 73, .82);
  --cyan: #66eeff;
  --blue: #168bff;
  --royal: #3154e8;
  --pale: #b9d5ff;
  --gold: #ffd35a;
  --white: #f7fbff;
  --muted: #9fb5d7;
  --line: rgba(102, 238, 255, .22);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--navy); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(22, 139, 255, .3), transparent 34rem),
    radial-gradient(circle at 88% 28%, rgba(49, 84, 232, .24), transparent 30rem),
    linear-gradient(145deg, #061126, #081c3d 58%, #07152d);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(102, 238, 255, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 238, 255, .2) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 64px;
  position: relative;
}
.shell.compact { width: min(760px, calc(100% - 32px)); }
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 42px;
}
.brand img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(102, 238, 255, .25);
  image-rendering: pixelated;
}
.brand h1 { margin: 0; font-size: clamp(1.35rem, 4vw, 2rem); letter-spacing: -.03em; }
.eyebrow {
  display: block;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero, .result, .notice, .terms {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}
.hero { padding: clamp(28px, 7vw, 64px); }
.hero h2, .result h2 {
  max-width: 760px;
  margin: 12px 0 14px;
  font-size: clamp(2.15rem, 7vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.055em;
  background: linear-gradient(100deg, var(--white), var(--cyan) 48%, var(--pale));
  -webkit-background-clip: text;
  color: transparent;
}
.hero p, .result p { max-width: 680px; margin: 0; color: var(--pale); font-size: 1.08rem; }
.spark { color: var(--gold); font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0;
}
.offers article {
  min-height: 190px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(22, 139, 255, .18), rgba(7, 21, 45, .92));
}
.offers article.featured { border-color: rgba(255, 211, 90, .6); box-shadow: inset 0 0 36px rgba(255, 211, 90, .07); }
.offers strong { color: var(--cyan); font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1; }
.offers span { color: var(--pale); margin-top: 8px; }
.offers b { color: var(--gold); font-size: 1.45rem; margin-top: auto; }
.offers em {
  align-self: flex-start;
  margin: -8px 0 14px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold);
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.notice, .terms { padding: 26px 30px; margin-top: 18px; }
.notice h2, .terms h2 { color: var(--cyan); margin: 0 0 8px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.notice p, .terms p, .notice li { color: var(--muted); }
.notice ol { margin: 12px 0 18px; padding-left: 24px; }
code {
  padding: 2px 7px;
  border: 1px solid rgba(102, 238, 255, .25);
  border-radius: 7px;
  color: var(--cyan);
  background: rgba(0, 0, 0, .24);
  font: 700 .94em ui-monospace, SFMono-Regular, Consolas, monospace;
}
.result { padding: clamp(28px, 7vw, 58px); }
.result h2 { font-size: clamp(2rem, 7vw, 4rem); }
.result-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--cyan);
  box-shadow: 0 0 34px rgba(102, 238, 255, .35);
  font-size: 2rem;
  font-weight: 900;
}
.cancelled .result-icon { background: var(--gold); }
.result p + p { margin-top: 16px; }
@media (max-width: 720px) {
  .shell { padding-top: 24px; }
  .brand { margin-bottom: 24px; }
  .offers { grid-template-columns: 1fr; }
  .offers article { min-height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
