:root,
:root[data-theme="dark"] {
    --bg: #070a10;
    --bg-2: #0b1019;
    --surface: #101722;
    --surface-2: #151e2c;
    --surface-3: #1c2737;
    --text: #f4f7fb;
    --text-2: #c8d2e1;
    --muted: #7f8da3;
    --border: rgba(255,255,255,.09);
    --gold: #f5c451;
    --gold-2: #ffdf85;
    --cyan: #47d9ec;
    --purple: #8b6fff;
    --green: #35d49a;
    --red: #ff667f;
    --shadow: 0 22px 55px rgba(0,0,0,.32);
    --header: rgba(7,10,16,.88);
}
:root[data-theme="light"] {
    --bg: #f3f6fa;
    --bg-2: #eaf0f7;
    --surface: #ffffff;
    --surface-2: #f7f9fc;
    --surface-3: #edf2f7;
    --text: #172235;
    --text-2: #40506a;
    --muted: #77859a;
    --border: rgba(24,36,55,.12);
    --gold: #c68d16;
    --gold-2: #e7b73d;
    --cyan: #0a9caf;
    --purple: #6e58dc;
    --green: #168b67;
    --red: #d64b64;
    --shadow: 0 18px 45px rgba(38,57,81,.10);
    --header: rgba(255,255,255,.90);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; font-size: 14px; line-height: 1.55; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; }
button { color: inherit; }
.site-container { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.education-strip { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 16px; background: linear-gradient(90deg,#5b3b08,#8e640b,#5b3b08); color: #fff5d6; font-size: 11px; text-align: center; }
.education-strip i { color: #ffdf7d; font-size: 15px; }
.education-strip strong { letter-spacing: .08em; }
.site-header { position: sticky; top: 0; z-index: 80; background: var(--header); border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-gem { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg,var(--gold-2),var(--gold)); color: #171006; font-weight: 900; letter-spacing: -.04em; box-shadow: 0 8px 24px rgba(245,196,81,.18); }
.brand-text strong,.brand-text small { display: block; }
.brand-text strong { font-size: 15px; font-weight: 900; letter-spacing: -.02em; }
.brand-text small { margin-top: 1px; color: var(--muted); font-size: 10px; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 10px; color: var(--text-2); font-size: 12px; font-weight: 700; }
.desktop-nav a:hover,.desktop-nav a.active { background: var(--surface-2); color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); cursor: pointer; }
.icon-btn:hover { border-color: rgba(245,196,81,.45); color: var(--gold); }
.icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }
.btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 15px; border: 1px solid transparent; border-radius: 11px; font-weight: 800; font-size: 12px; cursor: pointer; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg,var(--gold-2),var(--gold)); color: #181106; box-shadow: 0 10px 28px rgba(245,196,81,.15); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-soft { background: var(--surface-2); color: var(--text-2); border-color: var(--border); }
.btn-warning { background: #33250b; color: #ffe6a3; border-color: rgba(245,196,81,.3); }
.btn-lg { min-height: 48px; padding: 12px 20px; border-radius: 13px; font-size: 13px; }
.btn-block { width: 100%; }
.wallet-pill { min-width: 112px; display: flex; flex-direction: column; justify-content: center; padding: 6px 11px; border: 1px solid rgba(245,196,81,.22); border-radius: 11px; background: rgba(245,196,81,.08); }
.wallet-pill span { color: var(--muted); font-size: 9px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.wallet-pill strong { margin-top: 1px; color: var(--gold); font-size: 13px; }
.hero-section { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 18%,rgba(139,111,255,.16),transparent 28%),radial-gradient(circle at 12% 22%,rgba(71,217,236,.10),transparent 25%),linear-gradient(180deg,var(--bg-2),var(--bg)); }
.hero-grid { min-height: 520px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; padding: 64px 0; }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker,.section-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy h1 { margin: 14px 0 18px; max-width: 680px; font-size: clamp(42px,5vw,72px); line-height: .98; letter-spacing: -.055em; }
.hero-copy h1 span { background: linear-gradient(90deg,var(--gold-2),var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { max-width: 670px; margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; color: var(--muted); font-size: 11px; font-weight: 700; }
.hero-trust i { color: var(--green); }
.hero-showcase { position: relative; min-height: 390px; display: grid; place-items: center; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(4px); }
.orb-one { width: 300px; height: 300px; background: rgba(139,111,255,.14); }
.orb-two { width: 180px; height: 180px; right: 7%; bottom: 3%; background: rgba(71,217,236,.13); }
.showcase-card { position: relative; border: 1px solid rgba(255,255,255,.12); background: rgba(16,23,34,.86); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
:root[data-theme="light"] .showcase-card { background: rgba(255,255,255,.92); }
.showcase-main { width: min(430px,100%); padding: 18px; border-radius: 24px; transform: rotate(-2deg); }
.showcase-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.showcase-top strong { color: var(--gold); }
.mini-reels { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin: 16px 0; padding: 12px; border-radius: 16px; background: #070b12; }
.mini-reels span { aspect-ratio: 1/1; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg,#1c2738,#101722); color: #c8d8ec; font-size: 26px; font-weight: 900; }
.mini-reels .scatter { color: #231a06; background: linear-gradient(145deg,#ffe99c,#f5c451); box-shadow: 0 0 20px rgba(245,196,81,.2); }
.showcase-win { display: flex; align-items: end; justify-content: space-between; padding: 2px 5px; }
.showcase-win small { color: var(--muted); font-weight: 800; }
.showcase-win strong { color: var(--gold-2); font-size: 26px; }
.floating-card { position: absolute; min-width: 165px; padding: 13px 15px; border-radius: 16px; display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; }
.floating-card i { grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(245,196,81,.1); color: var(--gold); font-size: 18px; }
.floating-card span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.floating-card strong { font-size: 11px; }
.card-a { left: -2%; top: 7%; transform: rotate(3deg); }
.card-b { right: -2%; bottom: 4%; transform: rotate(2deg); }
.quick-section { padding: 0 0 18px; }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: -18px; position: relative; z-index: 4; }
.quick-grid article { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); }
.quick-grid article>i { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: var(--gold); background: rgba(245,196,81,.09); font-size: 20px; }
.quick-grid strong,.quick-grid span { display: block; }
.quick-grid strong { font-size: 12px; }
.quick-grid span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.provider-section,.games-section,.warning-section { padding: 58px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-head h2 { margin: 4px 0 0; font-size: 27px; letter-spacing: -.035em; }
.section-head>p { max-width: 470px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.provider-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.provider-tile { width: 100%; display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); cursor: pointer; text-align: left; transition: .18s ease; }
.provider-tile:hover { transform: translateY(-2px); border-color: rgba(245,196,81,.35); background: var(--surface-2); }
.provider-logo { width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg,var(--surface-3),var(--surface-2)); color: var(--gold); font-weight: 900; }
.provider-tile strong,.provider-tile small { display: block; }
.provider-tile strong { font-size: 12px; }
.provider-tile small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.games-section { background: var(--bg-2); }
.game-section-head { align-items: center; }
.lobby-tools { display: grid; grid-template-columns: minmax(190px,1fr) 170px 150px; gap: 8px; width: min(600px,100%); }
.search-box { min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
.search-box i { color: var(--muted); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.game-tabs { display: flex; gap: 7px; margin-bottom: 18px; }
.game-tab { min-height: 38px; display: flex; align-items: center; gap: 6px; padding: 8px 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text-2); font-size: 11px; font-weight: 800; cursor: pointer; }
.game-tab.active { border-color: rgba(245,196,81,.35); background: rgba(245,196,81,.09); color: var(--gold); }
.game-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }
.game-card { min-width: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: .18s ease; }
.game-card:hover { transform: translateY(-4px); border-color: rgba(245,196,81,.38); box-shadow: var(--shadow); }
.game-cover { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--surface-2); }
.game-cover img,.game-art-fallback { width: 100%; height: 100%; object-fit: cover; }
.game-art-fallback { position: relative; display: grid; place-items: center; overflow: hidden; }
.game-art-fallback::before,.game-art-fallback::after { content: ''; position: absolute; border-radius: 50%; filter: blur(2px); }
.game-art-fallback::before { width: 130px; height: 130px; top: -25px; right: -20px; background: rgba(255,255,255,.10); }
.game-art-fallback::after { width: 100px; height: 100px; bottom: -30px; left: -20px; background: rgba(0,0,0,.18); }
.game-art-fallback i { position: absolute; left: 14px; top: 14px; z-index: 2; color: rgba(255,255,255,.74); font-size: 25px; }
.game-art-fallback span { position: relative; z-index: 2; color: rgba(255,255,255,.94); font-size: 62px; font-weight: 900; text-shadow: 0 12px 30px rgba(0,0,0,.3); }
.theme-1 { background: linear-gradient(145deg,#4e1b82,#d35b91); }
.theme-2 { background: linear-gradient(145deg,#064f67,#17aeb6); }
.theme-3 { background: linear-gradient(145deg,#783f0d,#f3b63a); }
.theme-4 { background: linear-gradient(145deg,#213c15,#73b83c); }
.theme-5 { background: linear-gradient(145deg,#173a7c,#667df4); }
.theme-6 { background: linear-gradient(145deg,#781c28,#e35658); }
.game-badge { position: absolute; left: 9px; bottom: 9px; z-index: 3; display: flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 20px; background: rgba(12,14,18,.82); color: #ffd66e; font-size: 9px; font-weight: 900; }
.play-overlay { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(4,7,12,.52); opacity: 0; transition: .18s ease; }
.play-overlay i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #1a1204; font-size: 24px; }
.game-card:hover .play-overlay { opacity: 1; }
.game-meta { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 11px; }
.game-meta div { min-width: 0; }
.game-meta strong,.game-meta span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-meta strong { font-size: 11px; }
.game-meta span { margin-top: 2px; color: var(--muted); font-size: 9px; }
.game-play-btn { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: var(--surface-2); color: var(--gold); }
.game-skeleton { aspect-ratio: 4/5.9; border-radius: 16px; background: linear-gradient(100deg,var(--surface) 20%,var(--surface-2) 40%,var(--surface) 60%); background-size: 200% 100%; animation: shimmer 1.1s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.game-empty { padding: 54px 16px; text-align: center; color: var(--muted); }
.game-empty i,.game-empty strong,.game-empty span { display: block; }
.game-empty i { font-size: 42px; }
.game-empty strong { margin-top: 8px; color: var(--text); }
.warning-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 25px; border: 1px solid rgba(245,196,81,.22); border-radius: 18px; background: linear-gradient(135deg,rgba(245,196,81,.08),rgba(139,111,255,.06)); }
.warning-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(245,196,81,.1); color: var(--gold); font-size: 28px; }
.warning-card h2 { margin: 4px 0 7px; font-size: 22px; }
.warning-card p { margin: 0; color: var(--muted); font-size: 12px; }
.site-footer { padding: 44px 0 92px; border-top: 1px solid var(--border); background: #06080d; }
:root[data-theme="light"] .site-footer { background: #e9eef5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { margin-bottom: 15px; }
.footer-grid p,.footer-grid li { color: var(--muted); font-size: 11px; }
.footer-grid ul { margin: 10px 0 0; padding-left: 17px; }
.footer-title { font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; }
.demo-only { color: var(--gold); font-weight: 800; }
.mobile-bottom-nav { display: none; }
/* Forms/auth */
.auth-section { min-height: calc(100vh - 106px); display: flex; align-items: center; padding: 58px 0 80px; background: radial-gradient(circle at 15% 10%,rgba(71,217,236,.08),transparent 24%),radial-gradient(circle at 85% 20%,rgba(139,111,255,.10),transparent 24%); }
.auth-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 60px; }
.auth-side h1 { margin: 12px 0 15px; font-size: clamp(36px,4.5vw,62px); line-height: 1.02; letter-spacing: -.05em; }
.auth-side p { max-width: 550px; color: var(--text-2); }
.auth-points { display: grid; gap: 10px; margin-top: 24px; color: var(--muted); font-size: 12px; }
.auth-points i { color: var(--green); margin-right: 6px; }
.auth-card { width: min(510px,100%); justify-self: end; padding: 26px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.auth-card-wide { width: min(640px,100%); }
.auth-card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.auth-card-head h2 { margin: 2px 0 0; font-size: 22px; }
.form-group { display: grid; gap: 7px; margin-bottom: 15px; }
.form-group label { color: var(--text-2); font-size: 11px; font-weight: 800; }
.form-group input,.form-group select,.form-group textarea,.input-icon { width: 100%; border: 1px solid var(--border); border-radius: 11px; background: var(--bg-2); color: var(--text); outline: 0; }
.form-group input,.form-group select,.form-group textarea { min-height: 44px; padding: 10px 12px; }
.form-group textarea { resize: vertical; }
.form-group input:focus,.form-group textarea:focus { border-color: rgba(245,196,81,.55); box-shadow: 0 0 0 3px rgba(245,196,81,.08); }
.input-icon { display: flex; align-items: center; padding-left: 12px; }
.input-icon>i { color: var(--muted); }
.input-icon input { border: 0; background: transparent; box-shadow: none !important; }
.password-toggle { width: 40px; height: 42px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.form-grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.terms-check { display: flex; align-items: flex-start; gap: 9px; margin: 3px 0 16px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.terms-check input { margin-top: 2px; accent-color: var(--gold); }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--muted); font-size: 10px; }
.auth-divider::before,.auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--border); }
.auth-foot { margin: 0; text-align: center; color: var(--muted); font-size: 11px; }
.auth-foot a { color: var(--gold); font-weight: 800; }
.optional { color: var(--muted); font-weight: 500; }
/* Account */
.account-section { min-height: 75vh; padding: 44px 0 80px; background: var(--bg-2); }
.account-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.account-head h1 { margin: 3px 0 2px; font-size: 29px; letter-spacing: -.04em; }
.account-head p { margin: 0; color: var(--muted); font-size: 11px; }
.wallet-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 13px; }
.wallet-card,.wallet-stat,.account-panel { border: 1px solid var(--border); border-radius: 17px; background: var(--surface); }
.wallet-main { padding: 22px; background: radial-gradient(circle at 90% 10%,rgba(245,196,81,.11),transparent 30%),var(--surface); }
.wallet-label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.wallet-value { display: block; margin-top: 7px; color: var(--gold-2); font-size: 38px; line-height: 1; letter-spacing: -.04em; }
.wallet-main small,.wallet-stat small { color: var(--muted); font-size: 9px; }
.wallet-actions { display: flex; gap: 8px; margin-top: 18px; }
.wallet-stat { display: flex; flex-direction: column; justify-content: center; padding: 20px; }
.wallet-stat>span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.wallet-stat>strong { margin: 6px 0 3px; font-size: 25px; }
.account-grid { display: grid; grid-template-columns: 1fr 310px; gap: 13px; margin-top: 13px; }
.account-panel { min-width: 0; padding: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { margin: 2px 0 0; font-size: 17px; }
.profile-list { margin: 0 0 18px; }
.profile-list>div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.profile-list dt { color: var(--muted); font-size: 10px; }
.profile-list dd { margin: 0; font-size: 11px; font-weight: 700; text-align: right; }
.table-wrap { overflow-x: auto; }
.code-text { font-family: ui-monospace,monospace; font-size: 10px; color: var(--text-2); }
.status-badge,.type-badge { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 9px; font-weight: 900; }
.status-badge.pending { background: rgba(245,196,81,.10); color: var(--gold); }
.status-badge.approved { background: rgba(53,212,154,.10); color: var(--green); }
.status-badge.rejected,.status-badge.cancelled { background: rgba(255,102,127,.10); color: var(--red); }
.type-badge.deposit { background: rgba(71,217,236,.10); color: var(--cyan); }
.type-badge.withdraw { background: rgba(139,111,255,.10); color: var(--purple); }
.muted { color: var(--muted); }
/* Modal */
.site-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.site-modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.68); backdrop-filter: blur(5px); }
.modal-dialog { position: relative; width: min(520px,100%); max-height: calc(100vh - 40px); overflow: auto; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); animation: modalIn .16s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-head,.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; }
.modal-head { border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 2px 0 0; font-size: 17px; }
.modal-body { padding: 18px; }
.modal-foot { justify-content: flex-end; border-top: 1px solid var(--border); }
.demo-notice { display: flex; gap: 9px; margin-bottom: 16px; padding: 11px 12px; border: 1px solid rgba(71,217,236,.16); border-radius: 11px; background: rgba(71,217,236,.06); color: var(--text-2); font-size: 10px; }
.demo-notice i { color: var(--cyan); font-size: 17px; }
.demo-notice.warning { border-color: rgba(245,196,81,.18); background: rgba(245,196,81,.06); }
.demo-notice.warning i { color: var(--gold); }
.quick-amounts { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin: -6px 0 15px; }
.quick-amounts button { min-height: 35px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); color: var(--gold); font-size: 10px; font-weight: 900; cursor: pointer; }
/* Play placeholder */
.placeholder-play { min-height: 70vh; padding: 40px 0 80px; background: var(--bg-2); }
.play-shell { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--surface); }
.play-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.play-head h1 { margin: 2px 0 0; font-size: 17px; }
.demo-chip { padding: 5px 9px; border-radius: 20px; background: rgba(245,196,81,.10); color: var(--gold); font-size: 9px; font-weight: 900; }
.play-stage { min-height: 470px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; text-align: center; background: radial-gradient(circle at center,rgba(139,111,255,.09),transparent 40%),#070a10; }
.stage-icon { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(145deg,var(--gold-2),var(--gold)); color: #1a1204; font-size: 37px; }
.play-stage h2 { margin: 17px 0 8px; font-size: 25px; }
.play-stage p { max-width: 620px; margin: 0; color: #8c9ab0; }
.stage-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 20px 0; }
.stage-details span { padding: 8px 10px; border-radius: 9px; background: #111823; color: #7f8da3; font-size: 10px; }
.stage-details strong { color: #f4f7fb; margin-left: 4px; }
/* Select2/DataTables */
.select2-container { width: 100% !important; }
.select2-container .select2-selection--single { height: 42px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 40px; padding-left: 12px; color: var(--text); font-size: 11px; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 40px; }
.select2-dropdown { border-color: var(--border); background: var(--surface); color: var(--text); }
.select2-results__option { font-size: 11px; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--surface-3); color: var(--gold); }
table.dataTable { color: var(--text) !important; border-collapse: collapse !important; }
table.dataTable thead th { border-bottom: 1px solid var(--border) !important; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
table.dataTable tbody td { border-top: 1px solid var(--border) !important; font-size: 10px; }
.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate { color: var(--muted) !important; font-size: 10px; }
.dataTables_wrapper input,.dataTables_wrapper select { border: 1px solid var(--border) !important; border-radius: 8px; background: var(--bg-2) !important; color: var(--text) !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button { border: 0 !important; color: var(--text-2) !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current { border: 1px solid var(--border) !important; background: var(--surface-2) !important; color: var(--gold) !important; }
.spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* SweetAlert */
.swal2-popup { background: var(--surface) !important; color: var(--text) !important; border: 1px solid var(--border) !important; }
.swal2-confirm { background: var(--gold) !important; color: #171006 !important; }
.swal2-cancel { background: var(--surface-3) !important; color: var(--text) !important; }
/* Responsive */
@media (max-width: 1080px) {
    .desktop-nav { display: none; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
    .quick-grid { grid-template-columns: repeat(2,1fr); }
    .provider-row { grid-template-columns: repeat(2,1fr); }
    .game-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .game-section-head { align-items: flex-start; flex-direction: column; }
    .lobby-tools { width: 100%; }
    .wallet-grid { grid-template-columns: 1.2fr .8fr; }
    .wallet-stat:last-child { grid-column: 2; }
    .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    body { padding-bottom: 66px; }
    .site-container { width: min(100% - 22px,1240px); }
    .education-strip { min-height: 32px; font-size: 9px; }
    .education-strip span { display: none; }
    .header-inner { min-height: 62px; }
    .brand-gem { width: 39px; height: 39px; border-radius: 11px; font-size: 12px; }
    .brand-text strong { font-size: 13px; }
    .brand-text small { font-size: 8px; }
    .header-login,.header-register,.header-account-btn { display: none; }
    .wallet-pill { min-width: 98px; padding: 5px 9px; }
    .wallet-pill span { font-size: 8px; }
    .wallet-pill strong { font-size: 11px; }
    .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 30px; padding: 40px 0 50px; }
    .hero-copy h1 { font-size: 44px; }
    .hero-copy p { font-size: 13px; }
    .hero-showcase { min-height: 310px; }
    .showcase-main { width: 92%; padding: 13px; }
    .mini-reels { gap: 5px; padding: 8px; }
    .mini-reels span { font-size: 20px; border-radius: 9px; }
    .floating-card { min-width: 145px; padding: 10px; }
    .card-a { left: 0; }
    .card-b { right: 0; }
    .quick-grid { grid-template-columns: 1fr 1fr; margin-top: -8px; gap: 8px; }
    .quick-grid article { padding: 12px; }
    .quick-grid article>i { width: 35px; height: 35px; }
    .quick-grid span { display: none; }
    .provider-section,.games-section,.warning-section { padding: 42px 0; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
    .section-head h2 { font-size: 23px; }
    .section-head>p { text-align: left; }
    .provider-row { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
    .provider-row::-webkit-scrollbar { display: none; }
    .provider-tile { min-width: 225px; }
    .lobby-tools { grid-template-columns: 1fr 1fr; }
    .search-box { grid-column: 1/-1; }
    .game-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
    .game-card { border-radius: 12px; }
    .game-meta { min-height: 58px; padding: 9px; }
    .game-meta strong { font-size: 10px; }
    .game-play-btn { display: none; }
    .warning-card { grid-template-columns: auto 1fr; padding: 18px; }
    .warning-card .btn { grid-column: 1/-1; }
    .footer-grid { grid-template-columns: 1fr; gap: 23px; }
    .footer-bottom { flex-direction: column; }
    .mobile-bottom-nav { position: fixed; left: 8px; right: 8px; bottom: max(7px,env(safe-area-inset-bottom)); z-index: 100; display: grid; grid-template-columns: repeat(5,1fr); padding: 6px; border: 1px solid var(--border); border-radius: 16px; background: rgba(12,17,25,.94); box-shadow: 0 15px 40px rgba(0,0,0,.38); backdrop-filter: blur(18px); }
    :root[data-theme="light"] .mobile-bottom-nav { background: rgba(255,255,255,.95); }
    .mobile-bottom-nav a { min-width: 0; display: grid; justify-items: center; gap: 2px; padding: 5px 2px; border-radius: 10px; color: var(--muted); font-size: 8px; font-weight: 800; }
    .mobile-bottom-nav a i { font-size: 18px; }
    .mobile-bottom-nav a.active { color: var(--gold); background: rgba(245,196,81,.08); }
    .mobile-bottom-nav .nav-wallet { color: #1a1204; background: linear-gradient(145deg,var(--gold-2),var(--gold)); transform: translateY(-13px); box-shadow: 0 8px 22px rgba(245,196,81,.2); }
    .mobile-bottom-nav .nav-wallet i { font-size: 23px; }
    .auth-section { padding: 35px 0 55px; }
    .auth-grid { grid-template-columns: 1fr; gap: 25px; }
    .auth-side h1 { font-size: 39px; }
    .auth-card { justify-self: stretch; padding: 19px; }
    .form-grid.two { grid-template-columns: 1fr; }
    .wallet-grid { grid-template-columns: 1fr 1fr; }
    .wallet-main { grid-column: 1/-1; }
    .wallet-stat:last-child { grid-column: auto; }
    .wallet-value { font-size: 34px; }
    .account-head { align-items: flex-start; }
    .account-head h1 { font-size: 24px; }
    .logout-player { padding: 8px 10px; }
    .account-panel { padding: 13px; }
    .site-modal { align-items: flex-end; padding: 0; }
    .modal-dialog { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; border-bottom: 0; }
    .play-head { grid-template-columns: auto 1fr; }
    .play-head .demo-chip { display: none; }
}
@media (max-width: 480px) {
    .public-theme-toggle { display: none; }
    .hero-copy h1 { font-size: 38px; }
    .hero-actions .btn { flex: 1; }
    .hero-trust { gap: 8px 12px; }
    .quick-grid { grid-template-columns: 1fr 1fr; }
    .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .wallet-grid { grid-template-columns: 1fr; }
    .wallet-main,.wallet-stat:last-child { grid-column: auto; }
    .wallet-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .quick-amounts { grid-template-columns: 1fr 1fr; }
}
