/* ================= Royal Casino — thème ================= */
:root {
  --bg: #0a0a1a; --bg2: #11112b; --panel: #1a1510; --panel2: #231b13; --line: rgba(255, 255, 255, .09);
  --txt: #efe4cc; --mut: #9a9cc4; --gold: #ffc83d; --gold2: #ff9d00; --pink: #d0243d; --cyan: #4cc9f0; --green: #2ee59d; --red: #ff4d6d; --purple: #c9a24a;
  --r: 16px; --shadow: 0 10px 40px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif; color: var(--txt); min-height: 100vh;
  background: radial-gradient(1200px 600px at 10% -10%, #2a1262 0%, transparent 60%), radial-gradient(900px 500px at 100% 0%, #5b0f58 0%, transparent 55%), var(--bg); background-attachment: fixed; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
h1, h2, h3 { margin: 0 0 10px; }
small { color: var(--mut); }
b { font-weight: 800; }
.muted { color: var(--mut); }
.pos { color: var(--green); } .neg { color: var(--red); }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: #4a3a22; border-radius: 10px; } ::-webkit-scrollbar-track { background: transparent; }

/* ---------- Cadre ---------- */
#announce { background: linear-gradient(90deg, #7c1426, #c9a24a); text-align: center; padding: 6px 12px; font-size: 13px; font-weight: 600; }
body:not(.logged) #header, body:not(.logged) #ticker, body:not(.logged) #announce, body.no-chrome #header, body.no-chrome #ticker, body.no-chrome #announce { display: none; }
#header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 10px 24px; background: rgba(10, 10, 26, .88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { font-size: 22px; font-weight: 300; letter-spacing: 3px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo b { color: var(--gold); font-weight: 900; }
.logo-crown { color: var(--gold); font-size: 30px; filter: drop-shadow(0 0 10px rgba(255, 200, 61, .7)); animation: float 3s ease-in-out infinite; }
.logo-crown.big { font-size: 64px; display: block; }
#nav { display: flex; gap: 4px; flex: 1; }
#nav a { padding: 8px 14px; border-radius: 10px; font-weight: 600; color: var(--mut); transition: .2s; white-space: nowrap; }
#nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
#nav a.active { color: #fff; background: linear-gradient(135deg, #7c1426, #c9a24a); box-shadow: 0 4px 18px rgba(219, 39, 119, .4); }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.wallet { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 30px; background: var(--panel); border: 1px solid var(--line); font-weight: 800; font-variant-numeric: tabular-nums; }
.wallet .ico { font-size: 18px; } .wallet.gems { color: #8be9ff; transition: .2s; } .wallet.gems:hover { background: var(--panel2); }
#bal-coins { transition: color .3s; } .pulse-up { animation: pulseUp .8s; } .pulse-down { animation: pulseDown .6s; }
.icon-btn { background: var(--panel); border: 1px solid var(--line); border-radius: 50%; width: 38px; height: 38px; }
.user-chip { position: relative; display: flex; align-items: center; gap: 8px; padding: 5px 12px 9px 6px; border-radius: 30px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.user-chip .av { font-size: 22px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--panel2); border-radius: 50%; }
.un { display: flex; flex-direction: column; line-height: 1.1; font-size: 13px; } .un small { font-size: 10px; }
.xp-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .08); } .xp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--pink)); width: 0; transition: width .6s; }
#ticker { overflow: hidden; background: rgba(0, 0, 0, .35); border-bottom: 1px solid var(--line); height: 32px; display: flex; align-items: center; font-size: 13px; }
.tk-track { display: flex; gap: 60px; white-space: nowrap; animation: marquee 60s linear infinite; padding-left: 100%; } .tk b { color: var(--gold); } .tk.gacha b { color: var(--pink); }
@keyframes marquee { to { transform: translateX(-100%); } }
#app { min-height: calc(100vh - 160px); }
.page { max-width: 1280px; margin: 0 auto; padding: 24px 20px 60px; animation: fadeUp .4s both; }
#footer { text-align: center; padding: 24px 20px 30px; color: var(--mut); font-size: 12px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); }
body:not(.logged) #footer { display: none; }
.loading { display: grid; place-items: center; height: 50vh; } .spinner { width: 46px; height: 46px; border: 4px solid #4a3a22; border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
.page-title { font-size: 30px; margin-bottom: 16px; }

/* ---------- Composants ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-direction: row; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel2); font-weight: 700; transition: .18s; user-select: none; }
.btn:hover:not(:disabled) { transform: translateY(-2px); background: #33281c; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.btn:active:not(:disabled) { transform: translateY(0) scale(.98); }
.btn small { display: block; color: inherit; opacity: .75; font-size: 11px; font-weight: 600; }
.btn.big { padding: 14px 22px; font-size: 16px; border-radius: 14px; }
.btn.gold { background: linear-gradient(180deg, #ffd96a, #ff9d00); color: #3a2200; border: 0; box-shadow: 0 6px 24px rgba(255, 157, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .5); }
.btn.gold:hover:not(:disabled) { background: linear-gradient(180deg, #ffe38d, #ffae1f); }
.btn.green { background: linear-gradient(180deg, #4df2b5, #12b886); color: #032a1b; border: 0; box-shadow: 0 6px 24px rgba(46, 229, 157, .3); }
.btn.danger { background: linear-gradient(180deg, #ff6b87, #d6254a); border: 0; }
.btn.ghost { background: transparent; } .btn.on { background: var(--purple); border-color: transparent; box-shadow: 0 0 18px rgba(139, 92, 246, .6); }
.btn.mini { padding: 5px 10px; font-size: 12px; border-radius: 8px; }
.btn.pulse { animation: glow 1.6s infinite; }
.btn.big small { display: block; }
.btn-mini { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel2); font-weight: 800; font-size: 12px; }
.btn-mini:hover { background: #3a2d1c; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 800; background: var(--purple); letter-spacing: .5px; margin-left: 6px; vertical-align: middle; }
.badge.anim { background: linear-gradient(90deg, #d0243d, #ff9d00); } .badge.red { background: var(--red); }
.card-box { background: linear-gradient(180deg, var(--panel), #14100d); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
input, select, textarea { background: #0f0c09; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; outline: none; max-width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139, 92, 246, .25); }
input[type=range] { padding: 0; accent-color: var(--gold); width: 100%; background: none; border: 0; box-shadow: none; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--gold); }
input[type=color] { padding: 0; width: 44px; height: 34px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .between { justify-content: space-between; } .wrap { align-items: flex-end; }
.bar { height: 10px; background: rgba(255, 255, 255, .08); border-radius: 10px; overflow: hidden; } .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink)); border-radius: 10px; transition: width .6s; } .bar.vipbar i { background: linear-gradient(90deg, #ffd700, #ff9d00); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 16px; border-radius: 30px; border: 1px solid var(--line); background: var(--panel); font-weight: 700; color: var(--mut); transition: .2s; display: inline-flex; gap: 8px; align-items: center; }
.pill small { font-size: 10px; background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 1px 7px; color: inherit; }
.pill:hover { color: #fff; border-color: var(--purple); } .pill.active { color: #fff; background: linear-gradient(135deg, #7c1426, #c9a24a); border-color: transparent; box-shadow: 0 4px 16px rgba(219, 39, 119, .4); }
.pill.gachapill { background: linear-gradient(135deg, #0ea5e9, #c9a24a); color: #fff; border: 0; } .pill.gachapill small { background: var(--pink); }
.search { min-width: 220px; border-radius: 30px; padding: 9px 16px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; } .tbl th { text-align: left; color: var(--mut); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; } .tbl td { padding: 8px 10px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.tbl.hover tbody tr:hover { background: rgba(255, 255, 255, .04); } .tbl th.sortable { cursor: pointer; } .tbl th.sortable:hover { color: #fff; } tr.banned { opacity: .55; } .tbl td.sym { font-size: 26px; }
.scroll { overflow: auto; max-width: 100%; } .scroll.tall { max-height: 360px; }
.empty { text-align: center; color: var(--mut); padding: 30px; }
.seg { display: flex; background: #0f0c09; border-radius: 12px; padding: 4px; border: 1px solid var(--line); } .seg button { flex: 1; border: 0; background: none; padding: 8px; border-radius: 9px; font-weight: 700; color: var(--mut); } .seg button.on { background: linear-gradient(135deg, #7c1426, #c9a24a); color: #fff; } .seg.big button { padding: 14px; font-size: 16px; }
.fld { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 150px; margin: 6px 0; } .fld > span { font-size: 12px; font-weight: 700; color: var(--mut); } .fld small { font-size: 11px; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; } .switch input { display: none; } .switch span { width: 44px; height: 24px; border-radius: 20px; background: #3a3a6a; position: relative; transition: .2s; } .switch span::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: .2s; } .switch input:checked + span { background: var(--green); } .switch input:checked + span::after { left: 23px; } .switch em { font-style: normal; font-size: 13px; color: var(--mut); }
.rules h2 { margin-bottom: 12px; } .rules ul { padding-left: 20px; line-height: 1.7; color: #d8cdb4; } .rules p { line-height: 1.6; color: #d8cdb4; }

/* ---------- Toasts / modales / effets ---------- */
#toasts { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast { background: var(--panel2); border: 1px solid var(--line); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); transform: translateX(120%); opacity: 0; transition: .3s; font-weight: 600; max-width: 360px; }
.toast.in { transform: none; opacity: 1; } .toast.err { border-color: var(--red); background: #3a1424; } .toast.good { border-color: var(--green); background: #0f3a2b; }
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(5, 5, 20, .75); backdrop-filter: blur(6px); display: grid; place-items: center; opacity: 0; transition: .2s; padding: 16px; overflow: auto; } .overlay.in { opacity: 1; }
.modal { position: relative; background: linear-gradient(180deg, #1f1812, #14100d); border: 1px solid var(--line); border-radius: 20px; padding: 26px; max-width: 560px; width: 100%; box-shadow: var(--shadow); transform: scale(.94); transition: .2s; max-height: 92vh; overflow: auto; } .overlay.in .modal { transform: none; } .modal.wide { max-width: 860px; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); }
.daily-modal { text-align: center; } .big-num { font-size: 46px; font-weight: 900; color: var(--gold); text-shadow: 0 0 24px rgba(255, 200, 61, .6); } .big-num.gem { color: #8be9ff; font-size: 34px; text-shadow: 0 0 24px rgba(76, 201, 240, .6); }
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 400; }
.float-text { position: fixed; z-index: 350; font-weight: 900; font-size: 28px; pointer-events: none; transform: translate(-50%, -50%); animation: floatUp 1.5s ease-out forwards; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); } .float-text.win { color: var(--gold); } .float-text.lose-t { color: #aab; font-size: 20px; }
.bigwin { position: fixed; inset: 0; z-index: 380; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle, rgba(255, 200, 61, .25), rgba(0, 0, 0, .75)); animation: fadeIn .3s; pointer-events: none; } .bigwin.out { opacity: 0; transition: opacity .5s; }
.bw-title { font-size: clamp(40px, 9vw, 110px); font-weight: 900; letter-spacing: 6px; background: linear-gradient(180deg, #fff6b0, #ffb300 60%, #ff6b00); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px rgba(255, 150, 0, .8)); animation: zoomIn .6s cubic-bezier(.2, 1.6, .4, 1); }
.bw-num { font-size: clamp(36px, 8vw, 90px); font-weight: 900; color: #fff; text-shadow: 0 0 30px var(--gold); font-variant-numeric: tabular-nums; } .bw-x { font-size: 30px; color: var(--gold); font-weight: 800; }
.shake { animation: shake .5s; }

/* ---------- Connexion ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; position: relative; overflow: hidden; padding: 20px; }
.falling { position: absolute; inset: 0; pointer-events: none; } .fall { position: absolute; top: -60px; opacity: .22; animation: fall linear infinite; filter: blur(.5px); }
.auth-card { position: relative; width: 100%; max-width: 430px; padding: 34px 30px; border-radius: 26px; background: rgba(20, 20, 50, .78); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 80px rgba(139, 92, 246, .25); }
.auth-logo { text-align: center; margin-bottom: 18px; } .auth-logo h1 { font-weight: 300; letter-spacing: 6px; font-size: 30px; margin: 0; } .auth-logo b { color: var(--gold); font-weight: 900; } .auth-logo p { color: var(--mut); margin: 6px 0 0; }
.auth-form { display: flex; flex-direction: column; gap: 12px; } .auth-form input { padding: 14px 16px; font-size: 16px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #0f0c09; border-radius: 12px; padding: 4px; } .tabs button { background: none; border: 0; padding: 10px; border-radius: 9px; font-weight: 700; color: var(--mut); } .tabs button.active { background: linear-gradient(135deg, #7c1426, #c9a24a); color: #fff; }
.form-err { color: var(--red); min-height: 18px; font-size: 13px; font-weight: 600; } .hint { color: var(--green); font-size: 13px; margin: 0; text-align: center; } .fine { text-align: center; color: var(--mut); font-size: 12px; margin: 16px 0 0; }

/* ---------- Lobby ---------- */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; padding: 30px; border-radius: 26px; margin-bottom: 24px; position: relative; overflow: hidden;
  background: radial-gradient(500px 300px at 90% 10%, rgba(255, 45, 149, .35), transparent), radial-gradient(500px 300px at 0% 100%, rgba(76, 201, 240, .25), transparent), linear-gradient(135deg, #1d1250, #2a0f4f); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(28px, 4vw, 44px); } .hero h1 b { color: var(--gold); } .hero p { color: #d8cdb4; max-width: 520px; line-height: 1.6; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--cyan); text-transform: uppercase; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 8px; }
.hero-side { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.hero-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-game { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, var(--c1), var(--c2)); transition: .25s; position: relative; overflow: hidden; } .mini-game span { font-size: 32px; } .mini-game small { color: rgba(255, 255, 255, .8); font-weight: 800; letter-spacing: 1px; } .mini-game:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.promo-box { display: flex; gap: 8px; } .promo-box input { flex: 1; text-transform: uppercase; }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gcard { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: .3s; animation: fadeUp .5s both; position: relative; }
.gcard:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 40px color-mix(in srgb, var(--c2) 40%, transparent); border-color: var(--c2); }
.gc-art { height: 150px; display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--c2)); position: relative; overflow: hidden; }
.gc-art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .35), transparent 50%); }
.gc-art::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: shine 3.5s infinite; }
.gc-emoji { font-size: 76px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); animation: float 3.4s ease-in-out infinite; z-index: 1; } .gcard:hover .gc-emoji { animation: wiggle .6s infinite; }
.gc-anim { position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); padding: 3px 9px; border-radius: 20px; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.gc-tag { position: absolute; right: 10px; top: 10px; z-index: 2; background: var(--gold); color: #3a2200; padding: 3px 9px; border-radius: 20px; font-size: 10px; font-weight: 900; }
.gc-off { position: absolute; inset: 0; z-index: 3; background: rgba(0, 0, 0, .7); display: grid; place-items: center; font-weight: 800; } .gcard.disabled { filter: grayscale(.8); cursor: not-allowed; }
.gc-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; } .gc-body h3 { margin: 0; font-size: 19px; } .gc-body p { margin: 0; color: var(--mut); font-size: 13px; line-height: 1.5; flex: 1; }
.gc-foot { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--mut); margin-top: 8px; } .gc-play { color: var(--gold); font-weight: 900; letter-spacing: 1px; font-size: 13px; }
.gacha-promo { margin-top: 36px; padding: 28px 34px; border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; cursor: pointer; background: linear-gradient(120deg, #0c4a6e, #3a0d14 60%, #7c1426); border: 1px solid var(--line); transition: .3s; } .gacha-promo:hover { transform: scale(1.01); box-shadow: 0 0 60px rgba(139, 92, 246, .45); } .gacha-promo p { color: #dde; max-width: 520px; }
.gp-chars { display: flex; gap: 8px; font-size: 54px; } .gp-chars span { animation: float 2.4s ease-in-out infinite; }

/* ---------- Profil / classement ---------- */
.profile-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; } .profile-grid .wide { grid-column: 1 / -1; }
.p-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; } .p-avatar { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 46px; background: linear-gradient(135deg, #7c1426, #c9a24a); box-shadow: 0 0 30px rgba(219, 39, 119, .5); } .vip { border: 1px solid; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 800; }
.lvl { margin: 12px 0; } .lvl-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--mut); margin-bottom: 5px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; } .stat { background: #0f0c09; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 3px; } .stat b { font-size: 18px; }
.avatars { display: flex; flex-wrap: wrap; gap: 8px; } .avatars button { width: 46px; height: 46px; font-size: 24px; border-radius: 12px; border: 2px solid transparent; background: var(--panel2); } .avatars button:hover { transform: scale(1.1); } .avatars button.sel { border-color: var(--gold); box-shadow: 0 0 16px rgba(255, 200, 61, .5); }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; } .ach { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: #0f0c09; opacity: .45; filter: grayscale(1); } .ach.got { opacity: 1; filter: none; border: 1px solid rgba(255, 200, 61, .4); background: linear-gradient(135deg, #2a1d05, #0f0c09); } .ach-i { font-size: 30px; } .ach div { display: flex; flex-direction: column; } .ach em { color: #8be9ff; font-style: normal; font-size: 12px; }
.lb { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; max-width: 760px; }
.lb-row { display: grid; grid-template-columns: 44px 44px 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); } .lb-row.me { border-color: var(--gold); background: #2a2108; }
.lb-row.top1 { background: linear-gradient(90deg, #4a3a05, var(--panel)); } .lb-row.top2 { background: linear-gradient(90deg, #333a45, var(--panel)); } .lb-row.top3 { background: linear-gradient(90deg, #4a2c14, var(--panel)); }
.lb-row .rk { font-size: 24px; text-align: center; font-weight: 900; } .lb-row .av { font-size: 28px; } .lb-row .nm { display: flex; flex-direction: column; font-weight: 800; } .lb-row .val { color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- Page jeu ---------- */
.game-head { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-radius: 18px; margin-bottom: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 55%, #14100d), color-mix(in srgb, var(--c2) 40%, #14100d)); border: 1px solid var(--line); }
.back { padding: 8px 14px; border-radius: 10px; background: rgba(0, 0, 0, .3); font-weight: 700; } .back:hover { background: rgba(0, 0, 0, .5); }
.gh-title { display: flex; align-items: center; gap: 12px; flex: 1; } .gh-title h1 { margin: 0; font-size: 26px; } .gh-icon { font-size: 36px; }
.gh-actions { display: flex; gap: 8px; }
.game-layout { display: grid; grid-template-columns: 310px 1fr; gap: 20px; align-items: start; }
.panel { background: linear-gradient(180deg, var(--panel), #14100d); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; box-shadow: var(--shadow); }
.panel label { font-size: 12px; font-weight: 800; color: var(--mut); text-transform: uppercase; letter-spacing: 1px; display: flex; justify-content: space-between; }
.stage { background: radial-gradient(800px 400px at 50% 0%, #2a2018 0%, #0f0f2b 70%); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; min-height: 480px; position: relative; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.stage.felt { background: radial-gradient(900px 500px at 50% 20%, #17824f 0%, #0b4a2d 60%, #06301d 100%); }
.bet-panel { display: flex; flex-direction: column; gap: 8px; } .bet-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 6px; } .bet-row input { min-width: 0; font-weight: 800; font-size: 17px; }
.bet-chips { display: flex; gap: 6px; } .chip { flex: 1; aspect-ratio: 1; max-width: 52px; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, .7); font-weight: 900; font-size: 12px; background: radial-gradient(circle at 30% 30%, #ff6b6b, #c0392b); box-shadow: 0 4px 0 rgba(0, 0, 0, .35); transition: .15s; padding: 0; }
.chip.c3 { background: radial-gradient(circle at 30% 30%, #4cc9f0, #1d6fa5); } .chip.c4 { background: radial-gradient(circle at 30% 30%, #5ee09a, #12805a); } .chip.c5 { background: radial-gradient(circle at 30% 30%, #c9a24a, #5e35b1); } .chip:hover { transform: translateY(-3px) rotate(8deg); }
.locked { opacity: .55; pointer-events: none; }
.win-box { background: #0f0c09; border-radius: 12px; padding: 10px 14px; text-align: center; } .win-amt { font-size: 28px; font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; }
.range-lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--mut); }
.cr-hist { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; } .ch { padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 800; background: #2d2418; } .ch.hi { background: #0f6b49; color: #7bffc3; } .ch.mid { background: #5a4a0a; color: #ffe27a; } .ch.lo { background: #5c1d2d; color: #ff9aa9; }

/* ---------- Machines à sous ---------- */
.slot-machine { width: 100%; max-width: 760px; border-radius: 26px; padding: 14px 18px 22px; background: linear-gradient(180deg, #b4234d, #6d0f2a); border: 4px solid #ffcf4d; box-shadow: 0 0 60px rgba(255, 207, 77, .25), inset 0 0 40px rgba(0, 0, 0, .5); --cell: clamp(58px, 11vw, 100px); }
.slot-machine.th-pharaoh { background: linear-gradient(180deg, #8a5a10, #3a2305); border-color: #f5d76e; }
.slot-top { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 12px; } .marquee { font-weight: 900; font-size: clamp(18px, 3.2vw, 30px); letter-spacing: 4px; color: #fff6b0; text-shadow: 0 0 18px #ffb300, 0 3px 0 #8a4b00; }
.lights { display: flex; gap: 10px; } .lights i { width: 12px; height: 12px; border-radius: 50%; background: #fff3b0; box-shadow: 0 0 12px #ffd60a; animation: blink 1.2s infinite; }
.reels-wrap { position: relative; padding: 8px; background: #1a0a12; border-radius: 16px; box-shadow: inset 0 0 30px #000; }
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.reel { height: calc(var(--cell) * 3); overflow: hidden; background: linear-gradient(180deg, #f4f1ea, #fff 20%, #fff 80%, #d9d3c4); border-radius: 10px; position: relative; box-shadow: inset 0 0 18px rgba(0, 0, 0, .5); }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 22%, transparent 78%, rgba(0, 0, 0, .45)); pointer-events: none; }
.reel.spinning .strip { filter: blur(2.5px); } .strip { will-change: transform; }
.sym { height: var(--cell); display: grid; place-items: center; font-size: calc(var(--cell) * .58); position: relative; transition: opacity .25s, transform .25s; } .sym i { position: absolute; bottom: 3px; font-size: 9px; font-style: normal; font-weight: 900; color: #fff; background: #c9a24a; padding: 0 5px; border-radius: 6px; letter-spacing: .5px; } .sym.s9 i { background: #7c3aed; }
.sym.dim { opacity: .3; transform: scale(.85); } .sym.win { animation: symWin .7s infinite; z-index: 2; background: radial-gradient(circle, rgba(255, 215, 0, .55), transparent 70%); }
.payline-svg { position: absolute; left: 8px; top: 8px; right: 8px; bottom: 8px; width: calc(100% - 16px); height: calc(100% - 16px); pointer-events: none; z-index: 5; } .pl { fill: none; stroke: #d0243d; stroke-width: .07; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 .1px #fff); }
.slot-banner { position: absolute; left: 50%; bottom: -16px; transform: translate(-50%, 20px); background: linear-gradient(90deg, #7c1426, #c9a24a); padding: 8px 22px; border-radius: 30px; font-weight: 800; font-size: 14px; opacity: 0; transition: .25s; white-space: nowrap; z-index: 6; box-shadow: 0 6px 24px rgba(0, 0, 0, .5); } .slot-banner.show { opacity: 1; transform: translate(-50%, 0); }
.fs-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #ff9d00, #d0243d); padding: 5px 18px; border-radius: 20px; font-weight: 900; letter-spacing: 1px; z-index: 6; animation: glow 1s infinite; }

/* ---------- Roulette ---------- */
.r-stage { align-items: stretch; } .r-top { display: flex; gap: 24px; align-items: center; justify-content: center; flex-wrap: wrap; }
.wheel-box { position: relative; width: min(460px, 100%); } .wheel-cv { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); } .wheel-cv.big { max-width: 560px; margin: 0 auto; }
.r-pointer { position: absolute; top: -4px; left: 50%; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 20px solid #ffd700; transform: translateX(-50%); display: none; }
.r-side { display: flex; flex-direction: column; gap: 8px; align-items: center; min-width: 200px; }
.r-result { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; font-size: 46px; font-weight: 900; background: #222; border: 5px solid #ffd700; } .r-result.red, .hd.red { background: #c8102e; } .r-result.black, .hd.black { background: #161616; } .r-result.green, .hd.green { background: #0a8f3c; }
.r-hist { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 260px; } .hd { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.rtable { display: grid; gap: 4px; background: #0a5a35; padding: 10px; border-radius: 14px; border: 3px solid #ffd700; width: 100%; max-width: 900px; margin: 0 auto; overflow-x: auto; }
.r-zero { display: grid; } .r-zero .rcell { width: 100%; } .r-nums { display: grid; gap: 4px; } .r-row { display: grid; grid-template-columns: repeat(12, 1fr) 54px; gap: 4px; }
.r-doz { display: grid; grid-template-columns: repeat(3, 1fr) 0; gap: 4px; } .r-doz .pad, .r-out .pad { display: none; } .r-out { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.rcell { position: relative; min-height: 44px; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .6); border-radius: 6px; font-weight: 800; font-size: 14px; cursor: pointer; background: rgba(0, 0, 0, .25); transition: .12s; user-select: none; } .rcell:hover { background: rgba(255, 255, 255, .25); transform: scale(1.05); z-index: 2; }
.rcell.red { background: #c8102e; } .rcell.black { background: #161616; } .rcell.green { background: #0a8f3c; } .rcell.redc span { color: #ff4d6d; font-size: 20px; } .rcell.blackc span { color: #111; background: #fff; border-radius: 4px; padding: 0 6px; font-size: 20px; }
.rcell.win { animation: cellWin .6s infinite; outline: 3px solid #ffd700; z-index: 3; }
.cb { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #ffd700); color: #3a2200; font-size: 10px; font-style: normal; font-weight: 900; display: grid; place-items: center; border: 2px dashed #b8860b; box-shadow: 0 3px 6px rgba(0, 0, 0, .5); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; animation: popIn .2s; }
.chip-bar { display: flex; flex-wrap: wrap; gap: 8px; } .rchip { width: 46px; height: 46px; border-radius: 50%; border: 3px dashed #fff; font-weight: 900; font-size: 12px; box-shadow: 0 4px 0 rgba(0, 0, 0, .4); background: #c0392b; transition: .15s; padding: 0; } .rchip.rc50 { background: #1d6fa5; } .rchip.rc100 { background: #1b8a5a; } .rchip.rc500 { background: #7e3fc4; } .rchip.rc1000 { background: #d4851f; } .rchip.rc5000 { background: #111; } .rchip.sel { transform: translateY(-5px) scale(1.12); box-shadow: 0 0 16px #ffd700; border-color: #ffd700; }

/* ---------- Cartes ---------- */
.card { width: 76px; height: 108px; perspective: 700px; flex-shrink: 0; } .card.small { width: 44px; height: 62px; } .card.big { width: 150px; height: 210px; }
.card-inner { position: relative; width: 100%; height: 100%; transition: transform .6s; transform-style: preserve-3d; } .card.down .card-inner { transform: rotateY(180deg); }
.card-face { position: absolute; inset: 0; border-radius: 9px; backface-visibility: hidden; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); }
.card-face.front { background: #fff; color: #111; display: flex; flex-direction: column; justify-content: space-between; padding: 5px 6px; } .card-face.front.red { color: #d3173a; }
.cr { font-weight: 900; font-size: 18px; line-height: 1; } .card.small .cr { font-size: 11px; } .card.big .cr { font-size: 34px; } .cr.bot { transform: rotate(180deg); align-self: flex-end; } .cs { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; } .card.small .cs { font-size: 20px; } .card.big .cs { font-size: 84px; }
.card-face.back { background: repeating-linear-gradient(45deg, #7c1426 0 6px, #3a0d14 6px 12px); transform: rotateY(180deg); display: grid; place-items: center; border: 3px solid #fff; color: rgba(255, 255, 255, .7); font-size: 34px; }
.card.deal { animation: dealIn .4s both; } .card.flip-in .card-inner { animation: flipIn .5s both; }
.hand { display: flex; gap: -20px; min-height: 110px; justify-content: center; } .hand .card + .card { margin-left: -22px; }
.bj-area { display: flex; flex-direction: column; gap: 8px; align-items: center; } .who { font-weight: 800; letter-spacing: 2px; font-size: 13px; color: rgba(255, 255, 255, .8); } .total { background: #000a; padding: 2px 10px; border-radius: 20px; margin-left: 6px; }
.bj-msg { min-height: 44px; font-size: 26px; font-weight: 900; opacity: 0; transition: .3s; text-shadow: 0 3px 12px #000; } .bj-msg.show { opacity: 1; animation: zoomIn .4s; } .bj-msg.win { color: var(--gold); } .bj-msg.lose { color: #ff9aa9; } .bj-msg.push { color: #cfe; }
.bj-actions { display: grid; gap: 8px; }
.bacc-hands { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; width: 100%; } .bspots { display: grid; grid-template-columns: 1fr .6fr 1fr; gap: 14px; width: 100%; max-width: 640px; }
.bspot { position: relative; padding: 22px 10px; border-radius: 16px; text-align: center; border: 3px solid rgba(255, 255, 255, .5); cursor: pointer; display: flex; flex-direction: column; gap: 4px; background: rgba(0, 0, 0, .25); transition: .15s; } .bspot:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .15); } .bspot.player { border-color: #4cc9f0; } .bspot.banker { border-color: #ff4d6d; } .bspot.tie { border-color: #2ee59d; } .bspot small { color: #fff9; } .bspot.winner { animation: cellWin .6s infinite; background: rgba(255, 215, 0, .3); border-color: #ffd700; }

/* ---------- Crash / Plinko / canvas ---------- */
.crash-stage, .plinko-stage { padding: 12px; } .crash-cv, .plinko-cv { width: 100%; height: auto; border-radius: 14px; display: block; max-width: 900px; } .plinko-cv { max-width: 720px; }

/* ---------- Mines ---------- */
.mines-stage { gap: 12px; } .mines-mult { font-size: 54px; font-weight: 900; color: var(--gold); text-shadow: 0 0 30px rgba(255, 200, 61, .5); font-variant-numeric: tabular-nums; }
.mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; width: min(480px, 100%); }
.tile { aspect-ratio: 1; border-radius: 14px; border: 0; font-size: clamp(24px, 6vw, 44px); background: linear-gradient(180deg, #3a2d1c, #2a2018); box-shadow: 0 6px 0 #1a1510; transition: .15s; display: grid; place-items: center; padding: 0; } .tile.live:hover:not(.open) { transform: translateY(-4px); background: linear-gradient(180deg, #5252b8, #36368a); }
.tile.open { box-shadow: none; transform: translateY(5px); animation: tileFlip .4s both; } .tile.gem { background: linear-gradient(180deg, #0f6b49, #0a4a33); } .tile.gem.dim { opacity: .45; } .tile.mine { background: linear-gradient(180deg, #5c1d2d, #3a0f1a); } .tile.boom { background: linear-gradient(180deg, #ff4d4d, #a10000); animation: shake .5s; }

/* ---------- Dice ---------- */
.dice-stage { gap: 20px; } .dice-num { font-size: clamp(60px, 12vw, 120px); font-weight: 900; font-variant-numeric: tabular-nums; margin-top: 20px; transition: color .2s; } .dice-num.rolling { color: #aab; } .dice-num.win { color: var(--green); text-shadow: 0 0 40px var(--green); } .dice-num.lose { color: var(--red); text-shadow: 0 0 40px var(--red); }
.dice-bar { position: relative; width: min(760px, 100%); height: 26px; border-radius: 14px; background: #222; overflow: visible; } .dice-bar i { position: absolute; top: 0; height: 100%; border-radius: 14px; } .lose-z { background: linear-gradient(90deg, #8a1e33, #ff4d6d); } .win-z { background: linear-gradient(90deg, #12b886, #2ee59d); }
.marker { position: absolute; top: -12px; width: 6px; height: 50px; background: #fff; border-radius: 4px; transform: translateX(-50%); box-shadow: 0 0 14px #fff; transition: left .05s; }
.dice-slider { width: min(760px, 100%); } .dstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(760px, 100%); } .dstat { background: #0f0c09; border-radius: 14px; padding: 14px; text-align: center; display: flex; flex-direction: column; gap: 4px; } .dstat b { font-size: 22px; }

/* ---------- Pile ou face ---------- */
.coin-stage { gap: 10px; } .streak { font-weight: 800; color: var(--gold); }
.coin-wrap { position: relative; width: 220px; height: 280px; display: grid; place-items: center; perspective: 900px; }
.coin { width: 190px; height: 190px; position: relative; transform-style: preserve-3d; } .coin-face { position: absolute; inset: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; backface-visibility: hidden; border: 8px solid #f5c542; box-shadow: inset 0 0 30px rgba(0, 0, 0, .35), 0 0 30px rgba(255, 200, 61, .4); background: radial-gradient(circle at 30% 30%, #fff1a8, #e0a800 70%); color: #6b4700; }
.coin-face span { font-size: 80px; } .coin-face small { color: #6b4700; font-weight: 900; letter-spacing: 3px; } .coin-face.tails { transform: rotateY(180deg); background: radial-gradient(circle at 30% 30%, #e8eefc, #9aa6c4 70%); border-color: #c9d3ec; color: #2b3552; } .coin-face.tails small { color: #2b3552; }
.coin-shadow { position: absolute; bottom: 10px; width: 150px; height: 24px; border-radius: 50%; background: #000; opacity: .5; filter: blur(8px); }
.coin-msg { font-size: 24px; font-weight: 800; min-height: 34px; text-align: center; } .coin-msg.win { color: var(--gold); } .coin-msg.lose { color: #ff9aa9; }

/* ---------- Roue ---------- */
.wheel-stage { gap: 12px; } .w-pointer { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-size: 56px; color: #ffd700; filter: drop-shadow(0 4px 6px #000); line-height: 1; z-index: 3; } .wheel-box .w-pointer { top: -6px; }
.wheel-res { font-size: 28px; font-weight: 900; min-height: 40px; } .wheel-res.win { color: var(--gold); } .wheel-res.lose { color: #ff9aa9; }

/* ---------- Keno ---------- */
.keno-stage { gap: 12px; } .keno-info { font-size: 22px; font-weight: 800; min-height: 32px; color: var(--gold); text-align: center; } .keno-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; width: min(640px, 100%); }
.ktile { aspect-ratio: 1; border-radius: 12px; border: 2px solid var(--line); background: #231b13; font-weight: 800; font-size: 16px; transition: .15s; padding: 0; } .ktile:hover { transform: scale(1.08); border-color: var(--cyan); } .ktile.picked { background: linear-gradient(135deg, #7c1426, #c9a24a); border-color: #fff; }
.ktile.miss { background: #34345f; color: #fff8; animation: popIn .25s; border-radius: 50%; } .ktile.hit { background: radial-gradient(circle, #fff6b0, #ffb300); color: #3a2200; border-color: #fff; border-radius: 50%; animation: popIn .35s, glow 1s 2; }
.keno-pay { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; } .kp { background: #0f0c09; border-radius: 10px; padding: 6px 10px; min-width: 62px; text-align: center; display: flex; flex-direction: column; } .kp.zero { opacity: .35; } .kp.cur { background: #5a4a0a; box-shadow: 0 0 14px var(--gold); } .kp b { font-size: 13px; }

/* ---------- Hi-Lo ---------- */
.hilo-stage { gap: 14px; } .hilo-card { min-height: 220px; display: grid; place-items: center; } .hilo-hist { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; min-height: 66px; }
.hl-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(520px, 100%); } .btn.hi { background: linear-gradient(180deg, #4df2b5, #12b886); color: #032a1b; border: 0; flex-direction: column; } .btn.lo { background: linear-gradient(180deg, #ff6b87, #d6254a); border: 0; flex-direction: column; }

/* ---------- Ticket à gratter ---------- */
.scratch-stage { gap: 12px; } .ticket { background: linear-gradient(135deg, #ffe27a, #ff9d00); padding: 16px; border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transform: rotate(-1deg); } .ticket-head { text-align: center; font-weight: 900; letter-spacing: 4px; color: #6b2d00; margin-bottom: 10px; }
.scratch-wrap { position: relative; width: min(360px, 76vw); aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #fff8e1; } .sgrid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); } .scell { display: grid; place-items: center; font-size: clamp(36px, 10vw, 62px); border: 1px dashed #e0b34d; } .scell.win { background: radial-gradient(circle, #fff176, transparent 70%); animation: symWin .7s infinite; }
.scratch-cv { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }

/* ---------- Gacha ---------- */
.banner-tabs { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; } .btab { padding: 10px 20px; border-radius: 14px; border: 2px solid transparent; font-weight: 800; background: var(--panel); color: var(--mut); } .btab.on { color: #fff; background: linear-gradient(135deg, var(--b1), var(--b2)); box-shadow: 0 6px 24px color-mix(in srgb, var(--b2) 50%, transparent); }
.g-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; border-radius: 28px; padding: 32px; position: relative; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(600px 400px at 85% 50%, color-mix(in srgb, var(--b2) 60%, transparent), transparent), linear-gradient(135deg, color-mix(in srgb, var(--b1) 45%, #0c0a08), color-mix(in srgb, var(--b2) 35%, #0c0a08)); box-shadow: var(--shadow); }
.g-info h1 { font-size: clamp(26px, 4vw, 42px); } .g-info p { color: #dde; } .feat { margin: 10px 0; } .guar { margin-left: 10px; color: var(--green); font-weight: 800; font-size: 13px; }
.pities { display: grid; gap: 10px; margin: 14px 0 4px; max-width: 460px; } .pity-l { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; } .pity.sr .bar i { background: linear-gradient(90deg, #4cc9f0, #1d5fa8); } .pity.ur .bar i { background: linear-gradient(90deg, #ff9d00, #d0243d); }
.g-btns { display: flex; gap: 14px; margin: 18px 0 10px; flex-wrap: wrap; } .g-btns .btn { flex-direction: column; gap: 2px; min-width: 170px; }
.g-links { display: flex; gap: 16px; flex-wrap: wrap; } .linkbtn { background: none; border: 0; color: #bfe; text-decoration: underline; padding: 4px 0; }
.g-art { position: relative; display: grid; place-items: center; min-height: 260px; } .g-glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .5), transparent 65%); animation: pulseGlow 3s infinite; }
.g-char { font-size: clamp(120px, 18vw, 200px); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); animation: float 4s ease-in-out infinite; z-index: 1; } .g-cname { position: absolute; bottom: 0; text-align: center; font-weight: 900; font-size: 20px; text-shadow: 0 3px 10px #000; z-index: 2; } .g-cname small { display: block; color: #fff9; font-weight: 500; }
.g-income { margin: 18px 0; } .inc-top, .inc-bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; } .inc-top h3 { margin: 0; } .inc-rate { font-size: 22px; color: var(--gold); } .g-income .bar { margin: 12px 0; }
.g-collection { margin-top: 24px; } .col-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; } .col-head h2 { margin: 0; } .pill[style*="--pc"].active { background: var(--pc); color: #111; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.ccard { position: relative; border-radius: 16px; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 28%, #1a1510), #10102c); border: 2px solid var(--rc); box-shadow: 0 0 18px color-mix(in srgb, var(--rc) 35%, transparent); transition: .2s; overflow: hidden; }
.ccard:hover { transform: translateY(-5px) scale(1.03); } .ccard.r-UR { animation: urGlow 2.5s infinite; } .ccard.r-UR::before, .ccard.r-SSR::before { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .3), transparent); transform: skewX(-20deg); animation: shine 3s infinite; pointer-events: none; }
.cc-top { width: 100%; display: flex; justify-content: space-between; font-size: 12px; font-weight: 900; } .cc-r { background: var(--rc); color: #111; padding: 1px 8px; border-radius: 8px; }
.cc-art { width: 100%; aspect-ratio: 1; display: grid; place-items: center; font-size: 62px; border-radius: 12px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--ec) 55%, transparent), rgba(0, 0, 0, .35)); } .cc-name { font-weight: 800; font-size: 13px; text-align: center; min-height: 32px; display: grid; place-items: center; } .cc-stars { color: var(--rc); font-size: 11px; letter-spacing: 1px; }
.cc-c { position: absolute; right: 8px; top: 34px; background: #fff; color: #111; font-size: 10px; font-weight: 900; border-radius: 6px; padding: 0 5px; } .cc-new { position: absolute; left: -26px; top: 12px; transform: rotate(-45deg); background: var(--pink); width: 90px; text-align: center; font-size: 10px; font-weight: 900; }
.ccard.locked { filter: grayscale(1) brightness(.5); animation: none; box-shadow: none; } .ccard.xl { width: 240px; }.ccard.xl .cc-art { font-size: 120px; }
.detail { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; justify-content: center; }
/* animation d'invocation */
.pull-ov { position: fixed; inset: 0; z-index: 500; background: radial-gradient(circle at center, #1b0b45, #05030f 70%); display: grid; place-items: center; opacity: 0; transition: opacity .3s; overflow-y: auto; overflow-x: hidden; } .pull-ov.in { opacity: 1; }
.rays { position: absolute; width: 160vmax; height: 160vmax; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--oc) 40%, transparent) 0 6deg, transparent 6deg 18deg); animation: spin 12s linear infinite; opacity: .5; pointer-events: none; mask-image: radial-gradient(circle, #000 0, transparent 55%); -webkit-mask-image: radial-gradient(circle, #000 0, transparent 55%); }
.orb { position: absolute; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--oc) 45%, #000 100%); box-shadow: 0 0 80px var(--oc), 0 0 160px var(--oc); animation: orbCharge 1.8s ease-in forwards; } .orb i { position: absolute; inset: -14px; border-radius: 50%; border: 3px solid var(--oc); animation: ring 1.2s linear infinite; } .orb i:nth-child(2) { animation-delay: .4s; } .orb i:nth-child(3) { animation-delay: .8s; } .orb.burst { animation: orbBurst .45s forwards; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; } .flash.go { animation: flash .6s; }
.pull-out { position: relative; z-index: 2; padding: 30px 16px 90px; width: 100%; } .skip { position: fixed; right: 24px; bottom: 24px; z-index: 5; }
.pull-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 150px)); gap: 16px; justify-content: center; } .pull-grid.c1 { grid-template-columns: 220px; }
.pcard { perspective: 900px; position: relative; } .pc-in { transition: transform .7s cubic-bezier(.2, .9, .3, 1.2); transform-style: preserve-3d; transform: rotateY(180deg); } .pcard.flip .pc-in { transform: none; }
.pc-back, .pc-front { backface-visibility: hidden; } .pc-back { position: absolute; inset: 0; border-radius: 16px; background: repeating-linear-gradient(45deg, #2b1a6b 0 8px, #1a0f45 8px 16px); border: 3px solid var(--rc); display: grid; place-items: center; font-size: 50px; color: var(--rc); transform: rotateY(180deg); box-shadow: 0 0 24px var(--rc); }
.pcard.flip.pr-UR .pc-front { filter: drop-shadow(0 0 22px #d0243d); animation: float 2s infinite; } .pcard.flip.pr-SSR .pc-front { filter: drop-shadow(0 0 16px #ffb703); }
.pc-dupe { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--gold); font-weight: 800; } .pc-feat { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #ff9d00, #d0243d); font-size: 10px; font-weight: 900; padding: 2px 10px; border-radius: 10px; white-space: nowrap; z-index: 3; }
.pcard.single .ccard { transform: scale(1.35); margin: 30px 0 40px; } .pcard.single .ccard:hover { transform: scale(1.35); }

/* ---------- Admin ---------- */
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; } .admin-tabs button { padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-weight: 700; color: var(--mut); } .admin-tabs button.on { background: linear-gradient(135deg, #7c1426, #c9a24a); color: #fff; border-color: transparent; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 18px; } .kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; } .kpi b { font-size: 22px; } .kpi.ok b { color: var(--green); } .kpi.bad b { color: var(--red); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; } .admin-body .card-box { margin-bottom: 16px; }
.admin-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; margin-top: 16px; } .game-adm { margin: 0 !important; }
.ga-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 17px; } .ga-luck { display: grid; grid-template-columns: auto auto 1fr auto 56px; gap: 8px; align-items: center; } .ends { font-size: 10px; color: var(--mut); } .luckv { text-align: right; font-size: 18px; }
.sim { margin-top: 10px; font-size: 13px; line-height: 1.7; } .curve { display: flex; align-items: flex-end; gap: 8px; height: 150px; } .cv-b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 2px; } .cv-b i { width: 100%; background: linear-gradient(180deg, #4cc9f0, #1d5fa8); border-radius: 6px 6px 0 0; min-height: 3px; } .cv-b i.hot { background: linear-gradient(180deg, #ff9d00, #d0243d); } .cv-b small { font-size: 10px; } .cv-b em { font-size: 10px; color: var(--mut); font-style: normal; }
.info { background: #2a2216 !important; margin-bottom: 14px; line-height: 1.6; }
.banner-e { margin-bottom: 12px; } .edit-user { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } } @keyframes float { 50% { transform: translateY(-9px); } } @keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } } @keyframes fadeIn { from { opacity: 0; } }
@keyframes wiggle { 25% { transform: rotate(-8deg) scale(1.1); } 75% { transform: rotate(8deg) scale(1.1); } } @keyframes shine { to { left: 160%; } } @keyframes blink { 50% { opacity: .25; } }
@keyframes glow { 50% { box-shadow: 0 0 34px rgba(255, 200, 61, .9); } } @keyframes pulseGlow { 50% { transform: scale(1.2); opacity: .7; } } @keyframes zoomIn { from { transform: scale(.3); opacity: 0; } }
@keyframes shake { 20% { transform: translate(-8px, 3px); } 40% { transform: translate(8px, -4px); } 60% { transform: translate(-6px, -2px); } 80% { transform: translate(5px, 3px); } }
@keyframes floatUp { to { transform: translate(-50%, -140px); opacity: 0; } } @keyframes fall { to { transform: translateY(115vh) rotate(360deg); } }
@keyframes pulseUp { 30% { color: var(--green); transform: scale(1.18); } } @keyframes pulseDown { 30% { color: var(--red); } }
@keyframes symWin { 50% { transform: scale(1.14); filter: brightness(1.3); } } @keyframes cellWin { 50% { box-shadow: 0 0 22px #ffd700; } } @keyframes popIn { from { transform: scale(.3); opacity: 0; } }
@keyframes dealIn { from { transform: translate(180px, -160px) rotate(25deg); opacity: 0; } } @keyframes flipIn { from { transform: rotateY(90deg); } }
@keyframes tileFlip { from { transform: rotateY(90deg) translateY(5px); } to { transform: rotateY(0) translateY(5px); } }
@keyframes urGlow { 50% { box-shadow: 0 0 34px var(--rc), 0 0 60px var(--rc); } }
@keyframes orbCharge { 0% { transform: scale(.3); } 60% { transform: scale(1) translateX(0); } 100% { transform: scale(1.6); filter: brightness(1.6); } } @keyframes orbBurst { to { transform: scale(14); opacity: 0; } } @keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(2.4); opacity: 0; } } @keyframes flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .game-layout { grid-template-columns: 1fr; } .panel { position: static; } .hero, .g-hero, .profile-grid, .two-col { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pull-grid { grid-template-columns: repeat(3, minmax(0, 130px)); } .admin-games { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  #header { flex-wrap: wrap; padding: 8px 12px; gap: 8px; } #nav { order: 3; width: 100%; overflow-x: auto; } .un { display: none; } .logo { font-size: 17px; }
  .rcell { min-height: 34px; font-size: 11px; } .r-row { grid-template-columns: repeat(12, 1fr) 40px; gap: 2px; } .hand .card + .card { margin-left: -40px; } .bacc-hands { gap: 14px; grid-template-columns: 1fr; } .page { padding: 14px 10px 50px; }
}
