/* LE SET ?! — base commune (même famille que Hit Story) */
:root {
  --bg: #0a0a24; --ink: #fff; --muted: rgba(255,255,255,.62); --line: rgba(255,255,255,.13);
  --glass: rgba(255,255,255,.07); --glass-2: rgba(255,255,255,.12);
  --a: #ff4d7d; --b: #38a3ff; --c: #ffb829; --d: #b07cff; --ok: #27e491; --bad: #ff5468; --gold: #ffd24a; --dark: #120c2e;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* Fond : halos fixes (léger pour un rétroprojecteur) et sillons de vinyle */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #17215a 0%, var(--bg) 62%); }
.bg i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); opacity: .38; }
.bg i:nth-child(1) { background: #ff2d87; left: -26vmax; top: -30vmax; }
.bg i:nth-child(2) { background: #2b6bff; right: -26vmax; top: 6vmax; }
.bg i:nth-child(3) { background: #ffb829; left: 20vmax; bottom: -48vmax; opacity: .22; }
.bg::after { content: ''; position: absolute; inset: -20%; background: repeating-radial-gradient(circle at 70% 120%, transparent 0 18px, rgba(255,255,255,.035) 19px 20px); }
.logo { font-family: var(--font-display); font-weight: 900; letter-spacing: -.02em; line-height: .95; text-transform: uppercase; margin: 0; }
.logo span { background: linear-gradient(92deg, #ff4d7d, #ffb829 55%, #ffe58a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta { padding: .8rem 1.2rem; border-radius: .9rem; font: 800 .9rem var(--font-display); text-transform: uppercase; color: var(--dark); background: linear-gradient(92deg, #ff4d7d, #ffb829); box-shadow: 0 .4rem 1.2rem rgba(255,77,125,.3); cursor: pointer; border: 0; }
.cta.blue { background: linear-gradient(92deg, #38a3ff, #27e491); box-shadow: 0 .4rem 1.2rem rgba(56,163,255,.3); }
.cta:disabled { opacity: .5; cursor: default; }
.cta:active { transform: scale(.98); }
.btn { padding: .55rem .9rem; border-radius: .7rem; background: var(--glass-2); border: 1px solid var(--line); font-weight: 700; font-size: .85rem; }
.btn:hover { background: rgba(255,255,255,.18); }
.toast { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); background: #2a1640; border: 1px solid var(--a); padding: .6rem 1rem; border-radius: .8rem; font-weight: 700; z-index: 99; }
/* Carte de thème, façon carte de jeu */
.tcard { --tc: #38a3ff; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4em; text-align: center;
  border-radius: 1.1em; padding: 1.1em .9em; background: radial-gradient(120% 90% at 50% 10%, color-mix(in srgb, var(--tc) 55%, #10163f), #0d1235 70%);
  border: .18em solid color-mix(in srgb, var(--tc) 80%, #fff); box-shadow: 0 .8em 2em rgba(0,0,0,.35), inset 0 0 0 .35em rgba(0,0,0,.18); overflow: hidden; }
.tcard::before { content: ''; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 50%, transparent 0 7px, rgba(255,255,255,.05) 8px 9px); pointer-events: none; }
.tcard .k { font: 700 .62em var(--font-display); letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.tcard .e { font-size: 2.6em; line-height: 1; filter: drop-shadow(0 .1em .2em rgba(0,0,0,.4)); }
.tcard .n { font: 900 1.25em var(--font-display); text-transform: uppercase; line-height: 1.05; letter-spacing: -.01em; }
.tcard .h { font-size: .72em; color: rgba(255,255,255,.75); line-height: 1.25; }
