/* ASE Vegas — page d'accueil (mêmes couleurs et polices que les jeux) */
:root {
  --night: #14143A; --deep: #1D1E50; --deeper: #17183F; --line: #2F3175;
  --ink: #ECECFF; --muted: #A4A6D8; --indigo: #4949DF; --indigo-hi: #7272FF;
  --gold: #F4C542; --gold-ink: #3A2A00; --ok: #43D39A;
  --ball-face: #F1F1FF; --ball-ink: #23245A;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] { --night: #EEEEF9; --deep: #FFFFFF; --deeper: #F6F6FD; --line: #D8D9F1; --ink: #17173F; --muted: #5C5E92; --indigo-hi: #3C3CD0; --ball-face: #FFFFFF; color-scheme: light; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --night: #EEEEF9; --deep: #FFFFFF; --deeper: #F6F6FD; --line: #D8D9F1; --ink: #17173F; --muted: #5C5E92; --indigo-hi: #3C3CD0; --ball-face: #FFFFFF; color-scheme: light; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 16px/1.55 var(--body); min-height: 100vh; }
main, .top, .foot { width: min(1040px, 100%); margin: 0 auto; padding-inline: 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.top { display: flex; align-items: center; gap: 10px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-balls { display: flex; }
.brand-balls i { width: 14px; height: 14px; border-radius: 50%; background: var(--indigo); margin-right: -4px; border: 2px solid var(--night); }
.brand-balls i:nth-child(2) { background: var(--gold); }
.brand-balls i:nth-child(3) { background: var(--ball-face); }
.net { font-size: .75rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .1em .6em; }
.icon-btn { margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; fill: var(--muted); }

.intro { padding-block: 36px 28px; max-width: 680px; }
.intro h1 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: .98; font-size: clamp(2.6rem, 9vw, 4.8rem); margin: 0 0 18px; text-wrap: balance; }
.intro p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 60ch; }

.games { display: grid; gap: 16px; padding-bottom: 40px; }
.game { display: grid; grid-template-columns: 1fr; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--deep); transition: border-color .15s, transform .15s; }
.game:hover { border-color: var(--indigo-hi); transform: translateY(-2px); }
.game.soon { background: var(--deeper); }
.game-art { min-height: 150px; display: flex; align-items: center; justify-content: center; gap: 12px; background: radial-gradient(110% 130% at 80% 0%, rgba(73,73,223,.6), transparent 60%), var(--deeper); }
.game.soon .game-art { background: var(--deeper); }
.game-body { padding: 20px; display: grid; gap: 8px; align-content: start; }
.game h2 { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; margin: 0; line-height: 1; }
.desc { margin: 0; color: var(--muted); }
.state { margin: 0; font-size: .85rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.live .state { color: var(--ok); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(67,211,154,.18); }
.live-stats { margin: 6px 0 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.live-stats div { border-top: 1px solid var(--line); padding-top: 8px; }
.live-stats dt { font-size: .8rem; color: var(--muted); }
.live-stats dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.3rem; font-variant-numeric: tabular-nums; }

.ball { --size: 64px; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--ball-ink); background: radial-gradient(circle at 32% 28%, #fff 0 8%, var(--ball-face) 30%, #C9CAEA 100%); box-shadow: inset 0 -3px 6px rgba(35,36,90,.25), 0 4px 10px -4px rgba(0,0,0,.5); }
.ball.gold { --size: 82px; font-size: 1.9rem; color: var(--gold-ink); background: radial-gradient(circle at 32% 28%, #FFF7D6 0 8%, var(--gold) 34%, #C99A1A 100%); }
/* ancien visuel « rouleaux » (non utilisé) */
.reels span { width: 54px; height: 76px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--muted); background: var(--deep); border: 1px solid var(--line); }

.btn { justify-self: start; margin-top: 8px; border: 1px solid var(--line); padding: .62em 1.05em; border-radius: 12px; font-weight: 600; }
.btn-primary { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.btn-ghost { color: var(--muted); }
.foot { color: var(--muted); font-size: .85rem; padding-block: 0 28px; }

.slot-svg { width: 150px; height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
.next-svg { width: 104px; height: auto; color: var(--muted); }
.chute-svg { width: 118px; height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); animation: drift 6s ease-in-out infinite; }
.chute-swing { transform-origin: 60px 4px; animation: swing 3.2s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes drift { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(6px); } }
.treasure-svg { width: 170px; height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
.t-coin { animation: tbob 3s ease-in-out infinite; transform-origin: 118px 78px; }
@keyframes tbob { 50% { transform: translateY(-5px) rotate(8deg); } }
.raffle-svg { width: 190px; height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
.game.next { cursor: default; }
.game.next:hover { transform: none; border-color: var(--line); }

@media (min-width: 760px) {
  .games { grid-template-columns: 1.25fr 1fr; align-items: stretch; }
  .game:first-child { grid-row: span 3; }
  .game-art { min-height: 200px; }
  .game.soon, .game.raffle, .game.airdrop, .game.treasure { grid-template-columns: 190px 1fr; }
  .game.soon .game-art, .game.raffle .game-art, .game.airdrop .game-art, .game.treasure .game-art { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .chute-svg, .chute-swing, .t-coin { animation: none; } }
.brand-logo { width: 28px; height: 28px; filter: drop-shadow(0 0 8px rgba(240,154,88,.35)); }

/* ===================== Accueil ASE Vegas (version « intuitive ») ===================== */
.intro { padding-block: 44px 26px !important; max-width: none !important; }
.intro .eyebrow, .claim-strip .eyebrow { display: block; margin: 0 0 12px; color: var(--muted); font-family: var(--body); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; }
.intro .eyebrow::before, .claim-strip .eyebrow::before { content: "•"; margin-right: .9em; color: #5A5A5A; }
.intro h1 { -webkit-text-fill-color: currentColor; background: none !important; color: #fff !important; }
.intro h1 .accent { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.intro p:last-child { margin-top: 18px !important; }
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #0A0A0A; border: 1px solid #1F1F1F; }
.steps b { font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--accent-2); }
.steps strong { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: 4px; }
.steps span { color: var(--muted); line-height: 1.5; font-size: .88rem; }
.claim-strip { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 20px; margin-bottom: 26px; background: var(--accent-bg); border: 1px solid var(--accent-line); }
.claim-strip .eyebrow { color: var(--accent); margin-bottom: 4px; }
.claim-strip strong { font-family: var(--display); font-size: 1.4rem; }
.claim-strip .btn { margin: 0; }
.games { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)) !important; gap: 16px !important; padding-bottom: 12px !important; }
.gcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #0A0A0A; border: 1px solid #1F1F1F; transition: border-color .15s; }
.gcard:hover { border-color: var(--accent-hover); }
.gcard.airdrop { background: var(--accent-deep); border-color: var(--accent-line); }
.g-art { height: 150px; display: flex; align-items: center; justify-content: center; gap: 12px; overflow: hidden; background: #050505; background-image: radial-gradient(circle, rgba(255,255,255,.11) 1px, transparent 1.4px); background-size: 7px 7px; border-bottom: 1px solid #1F1F1F; }
.g-art .ball { --size: 54px; font-size: 1.3rem; } .g-art .ball.gold { --size: 70px; font-size: 1.6rem; }
.g-art .raffle-svg { width: 170px; } .g-art .chute-svg { width: 92px; } .g-art .treasure-svg { width: 160px; }
.g-head { display: flex; justify-content: space-between; gap: 10px; padding: 14px 20px; background: var(--dash) bottom left / 100% 1px no-repeat; font-family: var(--body); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--muted); }
.g-head > span:first-child::before { content: "•"; margin-right: .9em; color: #5A5A5A; }
.g-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.g-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.g-title h2 { margin: 0; font-size: 2rem !important; }
.g-val { font-family: var(--display); font-size: 1.5rem; }
.g-val small { font-family: var(--body); font-size: .8rem; color: var(--accent); }
.gcard .desc { margin: 0; color: #A6A6A6; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-i { background: #141414; color: #CFCFCF; padding: 6px 10px; font-family: var(--body); font-size: .74rem; }
.gcard .btn { margin-top: auto; text-align: center; justify-self: stretch; }
.btn-ghost-accent { border: 1px solid var(--accent) !important; color: var(--accent) !important; background: transparent !important; }
.foot-note { color: var(--muted); font-size: .75rem; margin: 6px 0 32px; }
