@font-face { font-family: Fredoka; src: url(/assets/fredoka.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
:root { color-scheme: dark; --gold: #FFC21A; --ink: #fff; --ink2: #98989F; --surface: #1C1C1E; --raised: #2C2C2E; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: #000; color: var(--ink); }
body { font: 17px/1.45 -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif; -webkit-font-smoothing: antialiased;
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; padding: 0 16px; }
/* Fond « poussière d'or » */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 500px at 50% -10%, rgba(255,194,26,.30), transparent 70%),
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,194,26,.7), transparent 60%),
    radial-gradient(1px 1px at 78% 14%, rgba(255,194,26,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 64% 38%, rgba(255,194,26,.5), transparent 60%),
    radial-gradient(1px 1px at 30% 55%, rgba(255,194,26,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 62%, rgba(255,194,26,.4), transparent 60%),
    radial-gradient(1px 1px at 20% 80%, rgba(255,194,26,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 52% 90%, rgba(255,194,26,.3), transparent 60%); }
main { width: 100%; max-width: 440px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; padding: 48px 0; text-align: center; }
.logo { width: min(300px, 80%); height: auto; }
.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 12px 40px rgba(255,194,26,.25); }
h1, .fd { font-family: Fredoka, -apple-system, system-ui, sans-serif; font-weight: 700; }
h1 { font-size: 30px; line-height: 1.15; }
.muted { color: var(--ink2); }
.code { display: flex; gap: 8px; justify-content: center; }
.code span { font-family: Fredoka, system-ui, sans-serif; font-weight: 700; font-size: 34px; width: 46px; height: 58px;
  display: grid; place-items: center; background: var(--surface); border-radius: 14px; color: var(--gold); }
.buttons { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 27px; font-weight: 600;
  font-size: 17px; text-decoration: none; color: var(--ink); background: var(--raised); border: 0; cursor: pointer; }
.btn.primary { background: var(--gold); color: #000; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
footer { padding: 24px 0 32px; font-size: 13px; color: #636366; text-align: center; }
footer a { color: inherit; }
.toast { position: fixed; bottom: 32px; left: 50%; transform: translate(-50%, 20px); opacity: 0; transition: .25s;
  background: var(--raised); padding: 10px 18px; border-radius: 20px; font-size: 15px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
