@font-face {
  font-family: Geist;
  src: url("./geist-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Geist;
  src: url("./geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  font-family: Geist, system-ui, sans-serif;
  color: #152449;
  background: #eef2fa;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  --blue: #174bc9;
  --navy: #132f80;
  --muted: #4e5d78;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100svh;
  isolation: isolate;
  background: #edf4fc;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('./winter-background.webp') center / cover no-repeat;
}
h1, h2, p { margin: 0; }
button, a { font: inherit; }
.page { width: min(100%, 520px); margin-inline: auto; padding: 36px 14px 48px; }
.campaign-label {
  text-align: center;
  margin-bottom: 13px;
  color: #334d83;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.entry-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d4dfef;
  border-radius: 22px;
  box-shadow: 0 15px 50px #1c3f7626;
}
.prize-banner {
  padding: 21px 18px;
  background: linear-gradient(115deg, #123bb9, #237ce9 68%, #214ac9);
  color: #fff;
  text-align: center;
}
.prize-banner p { font-size: 15px; line-height: 1.35; font-weight: 550; }
.prize-banner strong {
  display: block;
  margin: 5px 0 2px;
  font-size: clamp(36px, 10vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
}
.card-content { padding: 24px 22px; }
.greeting {
  margin-bottom: 11px;
  font-size: 21px;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.stage { display: grid; gap: 14px; }
.stage h1, .stage h2 {
  font-size: clamp(27px, 7.5vw, 35px);
  line-height: 1.12;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.stage-copy { color: var(--muted); font-size: 16px; line-height: 1.6; }
.button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 54px;
  margin-top: 5px;
  padding: 13px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #123da7; }
.button:focus-visible { outline: 3px solid #152449; outline-offset: 4px; }
.button:disabled { cursor: wait; }
.entry-note { margin: 16px auto 0; max-width: 36ch; padding: 5px 10px; border-radius: 8px; background: #ffffffdb; color: var(--muted); text-align: center; font-size: 13px; }
.loading-stage { padding-block: 13px; text-align: center; justify-items: center; }
.spinner {
  width: 48px;
  height: 48px;
  margin-block: 1px 9px;
  border: 4px solid #e1eafd;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.ready-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f0ff;
  color: var(--blue);
  font-size: 23px;
  font-weight: 700;
}
.script-fallback { margin-top: 12px; color: var(--muted); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 359px) {
  .page { padding: 16px 12px; }
  .prize-banner { padding: 17px 15px; }
  .card-content { padding: 21px 18px; }
  .greeting { font-size: 20px; }
  .stage { gap: 12px; }
}
@media (min-width: 600px) {
  .page { padding-block: 48px; }
  .prize-banner { padding-block: 26px; }
  .card-content { padding: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
}
