/* Neon Vault Casino — dark neon theme */
:root {
    --bg: #0a0e1a;
    --bg2: #101828;
    --card: #141d33;
    --card2: #1a2540;
    --neon: #00f0ff;
    --pink: #ff2fd6;
    --gold: #ffd257;
    --green: #39ff88;
    --red: #ff5470;
    --text: #e8eefc;
    --muted: #8b98b8;
    --border: #263354;
}

* { box-sizing: border-box; }

/* The hidden attribute must always win. Overlay/banner rules below set
   display:flex, which otherwise overrides [hidden] and leaves empty
   popups (bonus orb pick, big-win) visible on load, blocking the page.
   (Regression guard — this rule was lost once in a CSS rewrite.) */
[hidden] { display: none !important; }
body {
    margin: 0;
    background: radial-gradient(1200px 600px at 50% -10%, #16224a 0%, var(--bg) 60%);
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------- top bar ---------- */
.topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 1.2rem;
    background: rgba(10, 14, 26, 0.9);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(6px);
}
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--neon);
    text-decoration: none;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.7);
    white-space: nowrap;
}
.topbar nav { display: flex; gap: 0.2rem; flex-wrap: wrap; }
.topbar nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
}
.topbar nav a:hover, .topbar nav a.active { color: var(--neon); background: #16203a; }
.userbox { margin-left: auto; display: flex; align-items: center; gap: 0.8rem; }
.balance-pill {
    background: #0d1526;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(255, 210, 87, 0.5);
    white-space: nowrap;
}
.userbox .who { color: var(--muted); font-size: 0.9rem; }
.btn-link {
    background: none; border: none; color: var(--muted);
    cursor: pointer; font-size: 0.95rem; font-weight: 600;
}
.btn-link:hover { color: var(--red); }

/* ---------- layout ---------- */
main { flex: 1; max-width: 1100px; width: 100%; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
h1, h2, h3 { color: #fff; }
h1 .accent { color: var(--neon); text-shadow: 0 0 14px rgba(0,240,255,.6); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- cards / game tiles ---------- */
.card {
    background: linear-gradient(180deg, var(--card2), var(--card));
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.game-card {
    display: block;
    text-decoration: none;
    color: var(--text);
    background: linear-gradient(160deg, #1b2a52, #121a30);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.4rem 1rem;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.game-card:hover {
    transform: translateY(-3px);
    border-color: var(--neon);
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.25);
}
.game-card .icon { font-size: 2.6rem; }
.game-card h3 { margin: 0.6rem 0 0.3rem; color: #fff; }
.game-card p { margin: 0; color: var(--muted); font-size: 0.85rem; }

/* ---------- forms / buttons ---------- */
label { display: block; margin: 0.6rem 0 0.25rem; color: var(--muted); font-size: 0.9rem; }
input[type="text"], input[type="password"], input[type="number"], select {
    width: 100%;
    background: #0d1526;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
}
input:focus, select:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 2px rgba(0,240,255,.2); }
.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--neon), #00a8ff);
    color: #04121a;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.4rem;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 0.8rem;
    text-decoration: none;
}
.btn:hover { filter: brightness(1.1); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.pink { background: linear-gradient(90deg, var(--pink), #ff7a59); color: #1a0412; }
.btn.gold { background: linear-gradient(90deg, var(--gold), #ff9d2e); color: #1a1204; }
.btn.ghost { background: #1a2540; color: var(--text); border: 1px solid var(--border); }
.btn.small { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.form-narrow { max-width: 420px; margin: 2rem auto; }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--border); text-align: left; }
th { color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
tr:hover td { background: rgba(0, 240, 255, 0.03); }
.num { font-variant-numeric: tabular-nums; text-align: right; }
.pos { color: var(--green); } .neg { color: var(--red); }
code.hash { font-size: 0.78rem; word-break: break-all; color: var(--neon); background: #0d1526; padding: 0.3rem 0.5rem; border-radius: 6px; }

/* ---------- toast ---------- */
#toast {
    position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%) translateY(20px);
    background: #101a30; border: 1px solid var(--neon); color: var(--text);
    padding: 0.8rem 1.3rem; border-radius: 10px; opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s; z-index: 200; max-width: 90vw;
    box-shadow: 0 0 24px rgba(0,240,255,.25);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.error { border-color: var(--red); box-shadow: 0 0 24px rgba(255,84,112,.25); }

/* ---------- slots ---------- */
.reels {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem;
    max-width: 560px; margin: 1rem auto;
}
.reel-col { display: flex; flex-direction: column; gap: 0.5rem; }
.cell {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; background: #0d1526; border: 1px solid var(--border); border-radius: 10px;
}
.cell.wild {
    font-size: 1rem; font-weight: 900; color: #1a0412;
    background: linear-gradient(135deg, var(--gold), var(--pink));
    text-shadow: none;
}
.cell.spinning { animation: cellshake 0.12s infinite; }
@keyframes cellshake { 50% { transform: translateY(3px); } }
.win-banner {
    text-align: center; font-size: 1.6rem; font-weight: 900; color: var(--gold);
    text-shadow: 0 0 18px rgba(255,210,87,.7); min-height: 2.2rem;
}
.paytable { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.5rem; font-size: 0.85rem; }
.paytable div { background: #0d1526; border-radius: 8px; padding: 0.5rem 0.7rem; border: 1px solid var(--border); }

/* ---------- dice ---------- */
.dice-result {
    font-size: 4rem; font-weight: 900; text-align: center; margin: 1rem 0;
    color: var(--neon); text-shadow: 0 0 24px rgba(0,240,255,.5);
    font-variant-numeric: tabular-nums;
}
.dice-result.win { color: var(--green); text-shadow: 0 0 24px rgba(57,255,136,.5); }
.dice-result.lose { color: var(--red); text-shadow: 0 0 24px rgba(255,84,112,.5); }
input[type="range"] { width: 100%; accent-color: var(--neon); }
.choice-toggle { display: flex; gap: 0.5rem; margin: 0.5rem 0; }
.choice-toggle button { flex: 1; }

/* ---------- crash ---------- */
#crashCanvas { width: 100%; height: 280px; background: #0d1526; border: 1px solid var(--border); border-radius: 12px; }
.crash-mult { font-size: 3rem; font-weight: 900; text-align: center; color: var(--neon); font-variant-numeric: tabular-nums; }
.crash-mult.crashed { color: var(--red); }

/* ---------- roulette ---------- */
.roulette-layout { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.number-grid { display: grid; grid-template-columns: repeat(3, 56px); gap: 4px; }
.num-btn {
    height: 44px; border-radius: 8px; border: 1px solid var(--border);
    font-weight: 800; cursor: pointer; color: #fff; font-size: 1rem;
}
.num-btn.red { background: #a4133c; } .num-btn.black { background: #1c2333; } .num-btn.green { background: #0a7a4a; }
.num-btn:hover { filter: brightness(1.3); }
.num-btn.selected { outline: 3px solid var(--gold); }
.outside-bets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 0.8rem; }
.outside-bets button {
    padding: 0.7rem; border-radius: 8px; border: 1px solid var(--border);
    background: #1a2540; color: var(--text); font-weight: 700; cursor: pointer;
}
.outside-bets button.selected { outline: 3px solid var(--gold); }
.chips { display: flex; gap: 0.5rem; margin: 0.8rem 0; flex-wrap: wrap; }
.chip {
    width: 56px; height: 56px; border-radius: 50%; border: 3px dashed rgba(255,255,255,.35);
    font-weight: 900; cursor: pointer; color: #0a0e1a; font-size: 0.8rem;
}
.chip.sel { outline: 3px solid #fff; transform: scale(1.08); }
.ball {
    width: 90px; height: 90px; border-radius: 50%; margin: 1rem auto;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 900; border: 4px solid var(--border);
}

/* ---------- blackjack ---------- */
.bj-table { background: radial-gradient(ellipse at center, #0f3a2e 0%, #0a241d 70%); border: 6px solid #3a2a18; border-radius: 18px; padding: 1.5rem; }
.hand-row { display: flex; gap: 0.5rem; justify-content: center; margin: 0.6rem 0; min-height: 96px; flex-wrap: wrap; }
.playing-card {
    width: 64px; height: 92px; border-radius: 8px; background: #f5f2ea; color: #111;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.3rem; box-shadow: 0 3px 8px rgba(0,0,0,.5);
}
.playing-card.red { color: #c1121f; }
.playing-card.back { background: repeating-linear-gradient(45deg, #16224a, #16224a 8px, #1d2c5e 8px, #1d2c5e 16px); }
.hand-label { text-align: center; color: var(--muted); font-weight: 700; }
.bj-actions { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.bj-actions .btn { margin-top: 0; }

/* ---------- store ---------- */
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.pack {
    position: relative; text-align: center; padding: 1.6rem 1rem;
}
.pack .coins { font-size: 2rem; font-weight: 900; color: var(--gold); }
.pack .price { font-size: 1.3rem; font-weight: 800; color: var(--neon); margin: 0.4rem 0; }
.pack .tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(90deg, var(--pink), var(--gold)); color: #1a0412;
    font-size: 0.75rem; font-weight: 900; padding: 0.25rem 0.9rem; border-radius: 999px;
    white-space: nowrap;
}

/* ---------- footer ---------- */
footer {
    border-top: 1px solid var(--border);
    padding: 1.2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    background: rgba(10, 14, 26, 0.9);
}
footer .disclaimer { color: var(--gold); font-weight: 700; }
.bonus-banner {
    background: linear-gradient(90deg, rgba(255,210,87,.15), rgba(255,47,214,.15));
    border: 1px solid var(--gold); border-radius: 12px; padding: 1rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem;
    flex-wrap: wrap;
}
pre.verify { background: #0d1526; padding: 1rem; border-radius: 10px; overflow: auto; font-size: 0.8rem; border: 1px solid var(--border); }
.inline-form { display: flex; gap: 0.5rem; align-items: flex-end; flex-wrap: wrap; }
.inline-form > div { flex: 1; min-width: 180px; }
@media (max-width: 640px) {
    .topbar nav { display: none; }
    .reels { max-width: 100%; }
    .cell { font-size: 1.6rem; }
}

/* ================= COSMIC SLOTS ================= */
/* Per-machine accent theming — same layout, recolored via CSS variables. */
[data-theme="cosmic"]   { --accent:#00f0ff; --accent2:#ff2fd6; --glow:rgba(0,240,255,.55); }
[data-theme="fruits"]   { --accent:#8dff57; --accent2:#ffb020; --glow:rgba(141,255,87,.5); }
[data-theme="diamond"]  { --accent:#9be8ff; --accent2:#ffffff; --glow:rgba(155,232,255,.55); }
[data-theme="sevens"]   { --accent:#ff3b5c; --accent2:#ffd257; --glow:rgba(255,59,92,.55); }
[data-theme="frontier"] { --accent:#ff8c1a; --accent2:#ffd257; --glow:rgba(255,140,26,.55); }
[data-theme="ocean"]    { --accent:#00e5c0; --accent2:#4da6ff; --glow:rgba(0,229,192,.5); }
[data-theme="thunder"]  { --accent:#38bdf8; --accent2:#fbbf24; --glow:rgba(56,189,248,.65); }
[data-theme="anubis"]   { --accent:#fbbf24; --accent2:#f59e0b; --glow:rgba(251,191,36,.6); }
[data-theme="sugar"]    { --accent:#f472b6; --accent2:#38bdf8; --glow:rgba(244,114,182,.65); }
[data-theme="dynasty"]  { --accent:#ef4444; --accent2:#fbbf24; --glow:rgba(239,68,68,.65); }
[data-theme="kraken"]   { --accent:#10b981; --accent2:#06b6d4; --glow:rgba(16,185,129,.6); }

/* ---------- deep-space & world-themed stages ---------- */
.cosmos {
    position: relative;
    margin: -1.5rem -1rem 0;
    padding: 2.4rem 1rem 3rem;
    overflow: hidden;
    background:
        radial-gradient(1100px 520px at 50% -90px, #1c2c66 0%, #0b1128 52%, #04060e 100%);
}
.cosmos[data-theme="thunder"] {
    background: radial-gradient(1100px 560px at 50% -80px, #1e3a8a 0%, #0f172a 55%, #030712 100%);
}
.cosmos[data-theme="anubis"] {
    background: radial-gradient(1100px 560px at 50% -80px, #451a03 0%, #1c1008 55%, #070503 100%);
}
.cosmos[data-theme="sugar"] {
    background: radial-gradient(1100px 560px at 50% -80px, #701a75 0%, #2e1065 55%, #090418 100%);
}
.cosmos[data-theme="dynasty"] {
    background: radial-gradient(1100px 560px at 50% -80px, #7f1d1d 0%, #1f0916 55%, #070309 100%);
}
.cosmos[data-theme="kraken"] {
    background: radial-gradient(1100px 560px at 50% -80px, #064e3b 0%, #042f2e 55%, #020b12 100%);
}
.cosmos::before, .cosmos::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
}
.cosmos::before {
    background-image:
        radial-gradient(1.6px 1.6px at 8% 18%, #fff 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 22% 64%, #cfe8ff 50%, transparent 51%),
        radial-gradient(2px 2px at 35% 30%, #fff 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 48% 78%, #cfe8ff 50%, transparent 51%),
        radial-gradient(1.6px 1.6px at 61% 14%, #fff 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 73% 52%, #ffe9fb 50%, transparent 51%),
        radial-gradient(2px 2px at 86% 26%, #fff 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 93% 70%, #cfe8ff 50%, transparent 51%),
        radial-gradient(1.4px 1.4px at 15% 88%, #fff 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 55% 42%, #ffe9fb 50%, transparent 51%);
    animation: star-twinkle 3.2s ease-in-out infinite alternate;
}
.cosmos::after {
    background-image:
        radial-gradient(1.1px 1.1px at 5% 45%, #9fdcff 50%, transparent 51%),
        radial-gradient(1.8px 1.8px at 18% 8%, #fff 50%, transparent 51%),
        radial-gradient(1.1px 1.1px at 30% 82%, #9fdcff 50%, transparent 51%),
        radial-gradient(1.4px 1.4px at 44% 8%, #fff 50%, transparent 51%),
        radial-gradient(1.1px 1.1px at 58% 66%, #ffd7f4 50%, transparent 51%),
        radial-gradient(1.8px 1.8px at 70% 34%, #fff 50%, transparent 51%),
        radial-gradient(1.1px 1.1px at 82% 84%, #9fdcff 50%, transparent 51%),
        radial-gradient(1.4px 1.4px at 95% 12%, #fff 50%, transparent 51%),
        radial-gradient(1.1px 1.1px at 27% 48%, #ffd7f4 50%, transparent 51%),
        radial-gradient(1.6px 1.6px at 66% 92%, #fff 50%, transparent 51%);
    animation: star-twinkle 4.7s ease-in-out infinite alternate-reverse;
}
@keyframes star-twinkle { from { opacity: .35; } to { opacity: 1; } }

/* ---------- pink crystal clusters (pure CSS) ---------- */
.crystal-cluster { position: absolute; top: 20%; width: 120px; height: 420px; z-index: 0; pointer-events: none; }
.crystal-cluster.left { left: -14px; }
.crystal-cluster.right { right: -14px; transform: scaleX(-1); }
.crystal {
    position: absolute;
    background: linear-gradient(135deg, #ff9ae4 0%, #f2269f 42%, #8a1160 100%);
    clip-path: polygon(50% 0, 100% 36%, 76% 100%, 24% 100%, 0 36%);
    filter: drop-shadow(0 0 12px rgba(255,47,214,.75));
    animation: crystal-shimmer 4s ease-in-out infinite;
}
.crystal.c1 { width: 52px; height: 74px; left: 8px;  top: 0; }
.crystal.c2 { width: 38px; height: 54px; left: 56px; top: 44px;  animation-delay: .7s; }
.crystal.c3 { width: 64px; height: 92px; left: 22px; top: 118px; animation-delay: 1.4s; }
.crystal.c4 { width: 34px; height: 48px; left: 74px; top: 190px; animation-delay: 2.1s; }
.crystal.c5 { width: 48px; height: 68px; left: 4px;  top: 238px; animation-delay: 2.8s; }
.crystal.c6 { width: 40px; height: 58px; left: 52px; top: 320px; animation-delay: 3.5s; }
@keyframes crystal-shimmer {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(255,47,214,.75)) brightness(1); }
    50%      { filter: drop-shadow(0 0 22px rgba(255,120,230,.95)) brightness(1.25); }
}

/* ---------- machine shell ---------- */
.machine { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.back-link { display: inline-block; margin-bottom: .8rem; color: var(--muted); text-decoration: none; font-weight: 600; }
.back-link:hover { color: var(--accent); }

/* jackpot marquee */
.marquee {
    position: relative; max-width: 440px; margin: 0 auto .9rem; padding: .55rem 1rem .7rem;
    background: linear-gradient(180deg, #0e2f6e 0%, #0a1f4d 100%);
    border: 2px solid #35c4ff; border-radius: 14px;
    box-shadow: 0 0 26px rgba(53,196,255,.65), inset 0 0 20px rgba(53,196,255,.35);
    text-align: center; overflow: hidden;
}
.marquee::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 60px; left: -80px;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
    animation: marquee-shine 3.4s ease-in-out infinite;
}
@keyframes marquee-shine { 0% { left: -80px; } 55%, 100% { left: 110%; } }
.marquee-label { font-size: .72rem; letter-spacing: .4em; color: #9fdcff; font-weight: 800; }
.marquee-value {
    font-size: 2rem; font-weight: 900; color: #f2fbff; font-variant-numeric: tabular-nums;
    text-shadow: 0 0 16px #35c4ff, 0 0 40px rgba(53,196,255,.6);
}

/* body: pills + frame + pills */
.machine-body { display: flex; align-items: center; justify-content: center; gap: .7rem; }
.line-pills { display: flex; flex-direction: column; gap: .7rem; }
.line-pills span {
    display: flex; align-items: center; justify-content: center;
    min-width: 46px; min-height: 104px; border-radius: 23px;
    font-weight: 900; font-size: 1.05rem; color: #eaf7ff;
    background: linear-gradient(180deg, #123a8a 0%, #0a2358 100%);
    border: 2px solid #35c4ff;
    box-shadow: 0 0 14px rgba(53,196,255,.55), inset 0 0 12px rgba(53,196,255,.3);
}

/* chunky gunmetal reel frame */
.reel-frame {
    position: relative; flex: 1; max-width: 620px; padding: 16px 14px; border-radius: 18px;
    background: linear-gradient(165deg, #4a5468 0%, #2b3242 30%, #1b2130 55%, #333d52 100%);
    border: 2px solid var(--accent);
    box-shadow: 0 0 28px var(--glow), inset 0 2px 0 rgba(255,255,255,.28), inset 0 -4px 8px rgba(0,0,0,.55);
}
.reel-frame::before, .reel-frame::after {
    content: ""; position: absolute; left: 14px; right: 14px; height: 10px;
    background-image: radial-gradient(circle at 5px 5px, #d3dcee 2.2px, #6b7688 3px, #1a2030 3.8px, transparent 4.2px);
    background-size: 32px 10px; background-repeat: repeat-x;
}
.reel-frame::before { top: 7px; }
.reel-frame::after { bottom: 7px; }
.reel-window {
    position: relative; border-radius: 12px; padding: 12px; overflow: hidden;
    background: radial-gradient(620px 320px at 50% 0%, #111c40 0%, #070b18 72%);
    border: 1px solid rgba(0,240,255,.22);
    box-shadow: inset 0 0 34px rgba(0,0,0,.8);
}
.reels { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 8px; position: relative; z-index: 1; }
.reel-col { display: flex; flex-direction: column; gap: 8px; border-radius: 8px; }
.reel-col.expand-flash { animation: expand-flash .7s ease-out; }
@keyframes expand-flash {
    0% { box-shadow: 0 0 0 rgba(0,240,255,0); }
    35% { box-shadow: 0 0 26px var(--glow); background: rgba(0,240,255,.12); }
    100% { box-shadow: 0 0 0 rgba(0,240,255,0); }
}
.reel-col.stack-flash { animation: stack-flash .85s ease-out; }
@keyframes stack-flash {
    0%, 100% { box-shadow: 0 0 0 rgba(255,200,60,0); }
    35%, 65% { box-shadow: 0 0 26px rgba(255,200,60,.9); background: rgba(255,200,60,.14); }
}
.machine .cell {
    aspect-ratio: .94; display: flex; align-items: center; justify-content: center;
    font-size: clamp(1.5rem, 4.6vw, 2.5rem);
    background: linear-gradient(180deg, #17234c 0%, #0b1226 100%);
    border: 1px solid #2b3a63; border-radius: 10px;
    box-shadow: inset 0 2px 7px rgba(0,0,0,.65);
}
.machine .cell.blur { filter: blur(3px) brightness(1.25); }
.machine .cell.settle { animation: settle .38s cubic-bezier(.2, 1.35, .4, 1); }
@keyframes settle {
    0% { transform: translateY(-26px); }
    55% { transform: translateY(6px); }
    80% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}
.machine .cell.win {
    border-color: var(--accent); z-index: 2;
    box-shadow: 0 0 18px var(--glow), inset 0 0 12px rgba(255,255,255,.18);
    animation: winpop .55s ease-in-out infinite alternate;
}
@keyframes winpop { from { transform: scale(1); } to { transform: scale(1.14); } }
.machine .cell.sym-wild { border-color: var(--gold); box-shadow: 0 0 14px rgba(255,210,87,.6), inset 0 0 10px rgba(255,210,87,.25); }
.machine .cell.sym-scatter { animation: sym-pulse 1s ease-in-out infinite; border-color: var(--accent2); }
.machine .cell.sym-bonus { animation: sym-pulse 1s ease-in-out infinite; border-color: var(--accent2); }
@keyframes sym-pulse {
    0%, 100% { box-shadow: 0 0 6px var(--glow); }
    50% { box-shadow: 0 0 20px var(--glow); }
}

/* glowing traced win lines */
.winlines { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); z-index: 3; pointer-events: none; overflow: visible; }
.winline {
    fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
    filter: drop-shadow(0 0 7px var(--accent));
    stroke-dasharray: 16 12; animation: dashmove .9s linear infinite;
}
@keyframes dashmove { to { stroke-dashoffset: -28; } }
.winline-label {
    font-size: 13px; font-weight: 900; fill: #fff; paint-order: stroke;
    stroke: rgba(0,0,0,.85); stroke-width: 4px;
}

/* free-spins banner + big-win overlay */
.fs-banner {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 4;
    padding: .4rem 1.2rem; border-radius: 999px; white-space: nowrap;
    background: rgba(24, 8, 46, .94); border: 2px solid var(--accent2);
    color: #fff; font-weight: 900; letter-spacing: .08em;
    box-shadow: 0 0 20px var(--glow); animation: fs-pulse 1.3s ease-in-out infinite;
}
@keyframes fs-pulse { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.05); } }
.bigwin-overlay {
    position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center;
    background: rgba(4, 6, 14, .55); backdrop-filter: blur(2px); border-radius: 12px;
}
.bigwin-text {
    font-size: clamp(2.2rem, 8vw, 4.2rem); font-weight: 900; letter-spacing: .06em; text-align: center;
    color: var(--gold); text-shadow: 0 0 24px rgba(255,210,87,.9), 0 4px 0 #7a4d00;
    animation: bigwin-pop .5s cubic-bezier(.2, 1.6, .4, 1);
}
.bigwin-text small { display: block; font-size: .38em; color: #fff; text-shadow: 0 0 12px var(--accent); letter-spacing: .2em; }
.bigwin-text .bigwin-art {
    display: block; width: min(430px, 84%); height: auto; margin: 0 auto;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.55));
}
@keyframes bigwin-pop { 0% { transform: scale(.3) rotate(-6deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }

/* ---------- control deck ---------- */
.control-deck {
    margin-top: .9rem; padding: .8rem; border-radius: 16px;
    display: flex; align-items: stretch; justify-content: center; gap: .7rem; flex-wrap: wrap;
    background: linear-gradient(180deg, #3d4457 0%, #232936 60%, #2e3547 100%);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 8px 20px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.22);
}
.deck-display {
    min-width: 128px; padding: .45rem .9rem; border-radius: 10px; text-align: center;
    background: #070b16; border: 1px solid #000; box-shadow: inset 0 2px 10px rgba(0,0,0,.95);
    display: flex; flex-direction: column; justify-content: center;
}
.deck-display label { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: #8b98b8; font-weight: 700; }
.deck-display > span, .deck-display .bet-val { font-size: 1.4rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.deck-display.amber > span, .deck-display.amber .bet-val { color: #ffb020; text-shadow: 0 0 12px rgba(255,176,32,.85); }
.deck-display.cyan > span { color: #35e0ff; text-shadow: 0 0 12px rgba(53,224,255,.85); }
.bet-step { display: flex; align-items: center; justify-content: center; gap: .55rem; }
.bet-step button {
    width: 30px; height: 30px; border-radius: 8px; cursor: pointer;
    border: 1px solid #4a5468; background: #1c2230; color: #fff; font-size: 1.15rem; font-weight: 800; line-height: 1;
}
.bet-step button:hover { border-color: var(--accent); color: var(--accent); }
.deck-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
    min-width: 98px; padding: .55rem .9rem; border-radius: 12px; cursor: pointer;
    border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 800; font-size: .88rem;
    background: linear-gradient(180deg, #8b3ff7 0%, #5b1fd6 100%);
    box-shadow: 0 4px 0 #3a1170, 0 0 16px rgba(139,63,247,.55);
    transition: transform .07s, box-shadow .07s, filter .15s;
}
.deck-btn small, .deck-btn span.val { font-size: .78rem; font-weight: 900; color: #e7d4ff; }
.deck-btn:hover { filter: brightness(1.12); }
.deck-btn:active, .deck-btn.pressed { transform: translateY(3px); box-shadow: 0 1px 0 #3a1170, 0 0 10px rgba(139,63,247,.4); }
.deck-btn.armed { outline: 2px solid var(--gold); }
.play-btn {
    width: 94px; height: 94px; border-radius: 50%; cursor: pointer; border: 4px solid #d9ffe9;
    background: radial-gradient(circle at 35% 30%, #8dffb6 0%, #39ff88 42%, #0b9a4a 100%);
    box-shadow: 0 6px 0 #076c34, 0 0 30px rgba(57,255,136,.8), inset 0 -8px 14px rgba(0,0,0,.28);
    display: flex; align-items: center; justify-content: center;
    transition: transform .07s, box-shadow .07s, filter .15s;
}
.play-btn:hover:not(:disabled) { filter: brightness(1.1); transform: scale(1.04); }
.play-btn:active:not(:disabled) { transform: translateY(4px) scale(.99); box-shadow: 0 2px 0 #076c34, 0 0 20px rgba(57,255,136,.6); }
.play-btn:disabled { filter: grayscale(.55) brightness(.75); cursor: wait; }
.play-tri { width: 0; height: 0; border-left: 30px solid #053b1d; border-top: 19px solid transparent; border-bottom: 19px solid transparent; margin-left: 9px; filter: drop-shadow(0 1px 0 rgba(255,255,255,.55)); }
.play-txt { display: none; font-weight: 900; color: #053b1d; font-size: 1.05rem; letter-spacing: .05em; }
.play-btn.free .play-tri { display: none; }
.play-btn.free .play-txt { display: block; }

/* name ribbon */
.name-ribbon {
    margin: 1.1rem auto 0; max-width: 540px; padding: .6rem 2.4rem; text-align: center;
    font-weight: 900; font-size: 1.1rem; letter-spacing: .22em; color: #3a1c00;
    background: linear-gradient(90deg, #ff8c1a 0%, #ffd257 50%, #ff8c1a 100%);
    clip-path: polygon(4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%, 0 50%);
    filter: drop-shadow(0 0 14px rgba(255,160,40,.55));
}
.last-win { text-align: center; min-height: 2rem; margin-top: .5rem; font-weight: 800; color: var(--gold); text-shadow: 0 0 12px rgba(255,210,87,.6); }

/* panels under the machine */
.machine-panels { position: relative; z-index: 1; max-width: 780px; margin: 1.4rem auto 0; display: grid; gap: 1rem; }
.machine-panels .card { background: rgba(16, 22, 44, .92); }
.muted-sm { font-size: .82rem; color: var(--muted); }
.rules-list { margin: .4rem 0; padding-left: 1.2rem; }
.rules-list li { margin: .3rem 0; }

/* ---------- pick-me overlay ---------- */
.pick-overlay {
    position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
    background: rgba(4, 6, 14, .84); backdrop-filter: blur(3px); padding: 1rem;
}
.pick-box {
    text-align: center; padding: 2rem 2.4rem; border-radius: 18px; max-width: 560px;
    background: linear-gradient(180deg, #1c1548 0%, #0c0a24 100%);
    border: 2px solid var(--accent2, #ff2fd6); box-shadow: 0 0 44px var(--glow, rgba(0,240,255,.5));
}
.pick-orbs { display: flex; gap: 1.1rem; justify-content: center; margin: 1.5rem 0 1rem; flex-wrap: wrap; }
.pick-orb {
    width: 92px; height: 92px; border-radius: 50%; cursor: pointer;
    border: 3px solid rgba(255,255,255,.28);
    background: radial-gradient(circle at 32% 28%, #d8a6ff 0%, #7b2ff7 46%, #260a5e 100%);
    box-shadow: 0 0 22px rgba(139,63,247,.7), inset -6px -8px 16px rgba(0,0,0,.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; font-weight: 900; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.6);
    transition: transform .15s; animation: orb-float 3s ease-in-out infinite;
}
.pick-orb:nth-child(2n) { animation-delay: .5s; }
.pick-orb:nth-child(3n) { animation-delay: 1s; }
.pick-orb:hover:not(.revealed) { transform: scale(1.14); border-color: #fff; }
.pick-orb.revealed { cursor: default; animation: orb-pop .45s cubic-bezier(.2,1.6,.4,1); border-color: var(--gold); }
.pick-orb.picked { outline: 3px solid var(--gold); outline-offset: 3px; }
@keyframes orb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes orb-pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
.pick-result { min-height: 2rem; font-size: 1.4rem; font-weight: 900; color: var(--gold); text-shadow: 0 0 14px rgba(255,210,87,.7); }

/* ---------- win particles ---------- */
.particle {
    position: fixed; z-index: 300; width: 10px; height: 10px; border-radius: 50%;
    pointer-events: none; background: var(--pcolor, #ffd257);
    box-shadow: 0 0 10px var(--pcolor, #ffd257);
    animation: particle-fly .95s ease-out forwards;
}
@keyframes particle-fly {
    to { transform: translate(var(--tx, 0), var(--ty, -60px)) scale(.15); opacity: 0; }
}

/* ---------- slots lobby: mini machines ---------- */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.slot-card {
    position: relative; display: block; text-decoration: none; color: var(--text);
    border-radius: 16px; overflow: hidden; padding: 1rem;
    background: linear-gradient(180deg, #151c3a 0%, #0a0e20 100%);
    border: 1px solid var(--accent);
    transition: transform .18s ease, box-shadow .18s ease;
}
.slot-card::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 56px; left: -70px;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
    transform: skewX(-12deg); transition: left .6s ease; pointer-events: none;
}
.slot-card:hover { transform: translateY(-7px) scale(1.02); box-shadow: 0 10px 34px var(--glow); }
.slot-card:hover::after { left: 110%; }
.mini-marquee {
    text-align: center; font-weight: 900; font-size: .92rem; color: #f2fbff; font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #0e2f6e, #0a1f4d); border: 1px solid #35c4ff; border-radius: 10px;
    padding: .3rem .5rem; text-shadow: 0 0 10px #35c4ff; box-shadow: 0 0 12px rgba(53,196,255,.45);
}
.mini-machine {
    margin: .7rem 0; padding: .6rem; border-radius: 12px;
    background: linear-gradient(165deg, #3a4256 0%, #1c2230 60%, #2c3448 100%);
    border: 1px solid var(--accent); box-shadow: 0 0 12px var(--glow), inset 0 1px 0 rgba(255,255,255,.2);
}
.mini-reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-cell {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 1.45rem;
    background: linear-gradient(180deg, #17234c, #0b1226); border: 1px solid #2b3a63; border-radius: 8px;
}
.mini-ribbon {
    text-align: center; font-weight: 900; letter-spacing: .14em; color: #3a1c00; font-size: .92rem;
    background: linear-gradient(90deg, #ff8c1a, #ffd257 50%, #ff8c1a);
    clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%);
    padding: .4rem 1rem; margin-bottom: .6rem;
}
.slot-meta { font-size: .82rem; color: var(--muted); text-align: center; line-height: 1.5; }
.slot-tags { display: flex; gap: .35rem; justify-content: center; flex-wrap: wrap; margin: .55rem 0 .8rem; }
.slot-tags .tag {
    font-size: .72rem; font-weight: 700; padding: .18rem .6rem; border-radius: 999px;
    border: 1px solid var(--accent); color: var(--accent); background: rgba(0,0,0,.3);
}
.mini-play { display: block; text-align: center; }

@media (max-width: 680px) {
    .crystal-cluster { display: none; }
    .line-pills span { min-width: 36px; min-height: 80px; font-size: .9rem; }
    .control-deck { gap: .5rem; }
    .play-btn { width: 78px; height: 78px; }
    .deck-display { min-width: 108px; }
}

/* ---------- symbol art + reel strips (asset pack) ---------- */
.machine .cell .sym-img {
    width: 88%; height: 88%; object-fit: contain; pointer-events: none;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,.5));
}
.machine .cell .sym-txt { line-height: 1; }
.machine .reel-strip { display: flex; flex-direction: column; gap: 8px; will-change: transform; }
.machine .reel-strip.blur { filter: blur(3px) brightness(1.3); }
.machine .reel-col.spinning { overflow: hidden; }
.machine .reel-col.anticipation { animation: antic-glow .55s ease-in-out infinite alternate; }
@keyframes antic-glow {
    from { box-shadow: 0 0 6px rgba(255,47,214,.35); }
    to   { box-shadow: 0 0 26px rgba(255,47,214,.95), inset 0 0 18px rgba(255,47,214,.35); }
}
.reel-frame.shake { animation: frame-shake .32s ease-in-out; }
@keyframes frame-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    55% { transform: translateX(3px); }
    80% { transform: translateX(-1px); }
}
/* winning cells: gold glow ring over the pop */
.machine .cell.win {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold), 0 0 24px rgba(255,210,87,.9), inset 0 0 12px rgba(255,255,255,.18);
}

/* big-win rays + count-up */
.bigwin-overlay { overflow: hidden; }
.bigwin-rays {
    position: absolute; inset: -45%; pointer-events: none; opacity: .5;
    background: repeating-conic-gradient(from 0deg, rgba(255,210,87,.22) 0deg 9deg, transparent 9deg 18deg);
    animation: rays-spin 16s linear infinite;
}
@keyframes rays-spin { to { transform: rotate(360deg); } }
.bigwin-inner { position: relative; text-align: center; }
.bigwin-count {
    font-size: clamp(1.7rem, 6vw, 3.1rem); font-weight: 900; color: #fff;
    text-shadow: 0 0 18px rgba(255,210,87,.95); font-variant-numeric: tabular-nums;
}

/* balance / bet value tick */
@keyframes val-tick { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.tick { display: inline-block; animation: val-tick .35s ease; }

/* jackpot marquee ambient glow pulse */
.marquee { animation: marquee-glow 2.8s ease-in-out infinite; }
@keyframes marquee-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(53,196,255,.5), inset 0 0 20px rgba(53,196,255,.3); }
    50%      { box-shadow: 0 0 38px rgba(53,196,255,.9), inset 0 0 26px rgba(53,196,255,.45); }
}

/* paytable + win message symbol icons */
.pt-row { display: flex; align-items: center; gap: .55rem; margin: .22rem 0; }
.pt-sym { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 auto; }
.pt-sym .sym-img { width: 100%; height: 100%; object-fit: contain; }
.last-win .sym-img { width: 22px; height: 22px; object-fit: contain; vertical-align: -6px; margin: 0 1px; }
.last-win .win-syms small { font-size: .78em; color: #fff; margin-right: .3rem; }

/* ribbon + lobby mini-machine symbol art */
.name-ribbon .ribbon-sym {
    height: 1.6em; width: auto; vertical-align: -0.45em; margin-right: .35em;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}
.mini-cell .mini-sym { width: 82%; height: 82%; object-fit: contain; pointer-events: none; }

/* spin button busy pulse */
.play-btn.busy { animation: play-busy .9s ease-in-out infinite; }
@keyframes play-busy { 0%, 100% { filter: brightness(.92); } 50% { filter: brightness(1.15); } }

/* reduced motion: calm everything down */
@media (prefers-reduced-motion: reduce) {
    .machine .cell.settle, .machine .cell.win, .bigwin-rays, .marquee,
    .marquee::after, .reel-col.anticipation, .reel-frame.shake, .play-btn.busy,
    .fs-banner, .machine .cell.sym-scatter, .machine .cell.sym-bonus { animation: none !important; }
    .particle { display: none !important; }
    .machine .reel-strip.blur { filter: none; }
}

/* ================= LOYALTY & BIRTHDAY ================= */
.points-pill {
    text-decoration: none;
    border-color: #b388ff;
    color: #d9c6ff;
    text-shadow: 0 0 8px rgba(179, 136, 255, 0.5);
}
.points-pill:hover { background: #1a1430; }
.bonus-banner.birthday { border-color: #ff7ad9; background: linear-gradient(90deg, rgba(255,122,217,.16), rgba(255,210,87,.16)); }
.bonus-banner.soft { border-color: var(--border); background: rgba(10, 14, 26, 0.6); color: var(--muted); }
.progress-wrap {
    height: 14px; border-radius: 999px; background: #0d1526;
    border: 1px solid var(--border); overflow: hidden; margin: 0.8rem auto 0.4rem; max-width: 520px;
}
.progress-fill {
    height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, #b388ff, var(--gold));
    box-shadow: 0 0 10px rgba(255, 210, 87, 0.45);
    transition: width 0.6s ease;
}

/* ================= LOBBY v2 — ENTERPRISE ================= */
/* Hero with account snapshot */
.lv-hero {
    display: grid; grid-template-columns: 1fr 340px; gap: 1.6rem; align-items: stretch;
    border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
    background:
        linear-gradient(100deg, rgba(6, 10, 22, 0.93) 30%, rgba(6, 10, 22, 0.55) 68%, rgba(6, 10, 22, 0.78) 100%),
        url('/assets/img/lobby/hero-bg.png') center / cover no-repeat,
        linear-gradient(160deg, #1b2a52, #0d1526);
    padding: 2.2rem 2rem; margin-bottom: 1.4rem;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}
.lv-eyebrow {
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.7rem;
}
.lv-hero h1 { font-size: 2.3rem; line-height: 1.12; margin: 0 0 0.7rem; }
.lv-sub { color: #c3cdea; max-width: 52ch; margin: 0; font-size: 1.02rem; line-height: 1.55; }
.lv-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.3rem; }
.lv-cta .btn { margin-top: 0; }
.lv-hero-points {
    display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.4rem;
    color: var(--muted); font-size: 0.88rem; font-weight: 600;
}
.lv-snapshot {
    background: rgba(10, 15, 30, 0.82); border: 1px solid var(--border); border-radius: 14px;
    padding: 1.1rem 1.2rem; backdrop-filter: blur(4px); align-self: start;
}
.lv-snap-title {
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 0.6rem;
}
.lv-snap-row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    padding: 0.5rem 0; border-bottom: 1px solid rgba(38, 51, 84, 0.6); font-size: 0.92rem;
}
.lv-snap-row span { color: var(--muted); }
.lv-snap-row b { color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.lv-snap-row b.gold { color: var(--gold); }
.lv-snap-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.9rem; }
.lv-snap-actions .btn { margin-top: 0; }

/* KPI strip */
.lv-kpis {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.4rem;
}
.lv-kpi {
    background: linear-gradient(180deg, var(--card2), var(--card));
    border: 1px solid var(--border); border-radius: 14px; padding: 1.05rem 1.15rem;
}
.lv-kpi-label {
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 0.4rem;
}
.lv-kpi-value { font-size: 1.65rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.lv-kpi-value.gold { color: var(--gold); text-shadow: 0 0 14px rgba(255, 210, 87, 0.35); }
.lv-kpi-note { color: var(--muted); font-size: 0.83rem; margin-top: 0.35rem; line-height: 1.45; }

/* Featured slots banner */
.lv-feature {
    display: grid; grid-template-columns: 42% 1fr; text-decoration: none; color: var(--text);
    border: 1px solid var(--border); border-radius: 18px; overflow: hidden; margin-bottom: 2rem;
    background: linear-gradient(160deg, #1b2a52, #101a30);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.lv-feature:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5); }
.lv-feature img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 240px; }
.lv-feature-body { padding: 1.6rem 1.7rem; display: flex; flex-direction: column; align-items: flex-start; }
.lv-feature-tag {
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.lv-feature-body h2 { margin: 0.5rem 0 0.6rem; font-size: 1.55rem; line-height: 1.2; }
.lv-feature-body p { margin: 0; color: var(--muted); line-height: 1.55; }
.lv-feature-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0 0.4rem; }
.lv-chip {
    font-size: 0.75rem; font-weight: 700; color: var(--text);
    background: #0d1526; border: 1px solid var(--border); border-radius: 999px; padding: 0.28rem 0.7rem;
}
.lv-chip.gold { border-color: var(--gold); color: var(--gold); }

/* Game catalog */
.lv-section-head { margin-bottom: 1rem; }
.lv-section-head h2 { margin: 0 0 0.25rem; font-size: 1.45rem; }
.lv-section-head p { margin: 0; }
.lv-catalog {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.1rem; margin-bottom: 2rem;
}
.lv-card {
    display: flex; flex-direction: column; text-decoration: none; color: var(--text);
    background: linear-gradient(180deg, var(--card2), var(--card));
    border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.lv-card:hover { transform: translateY(-4px); border-color: var(--neon); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.lv-card-media img { width: 100%; height: 150px; object-fit: cover; display: block; }
.lv-card-body { padding: 1.05rem 1.15rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.lv-card-body h3 { margin: 0 0 0.35rem; font-size: 1.12rem; }
.lv-card-body p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.lv-card-meta {
    display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
    margin-top: 0.9rem; color: var(--muted); font-size: 0.8rem;
}
.lv-play { margin-top: auto; padding-top: 0.9rem; font-weight: 800; color: var(--neon); font-size: 0.92rem; }

/* Trust row */
.lv-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.lv-trust-card {
    background: linear-gradient(180deg, var(--card2), var(--card));
    border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem;
}
.lv-trust-card h3 { margin: 0 0 0.5rem; font-size: 1.02rem; }
.lv-trust-card p { line-height: 1.55; font-size: 0.9rem; margin: 0 0 0.4rem; }
.lv-trust-card .hash { display: inline-block; margin: 0.15rem 0; }

@media (max-width: 900px) {
    .lv-hero { grid-template-columns: 1fr; padding: 1.6rem 1.2rem; }
    .lv-kpis { grid-template-columns: repeat(2, 1fr); }
    .lv-feature { grid-template-columns: 1fr; }
    .lv-feature img { height: 190px; min-height: 0; }
    .lv-trust { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .lv-kpis { grid-template-columns: 1fr; }
    .lv-hero h1 { font-size: 1.8rem; }
}

/* ================= GAMES v2 — ENTERPRISE ================= */
/* Shared game layout: stage + rail */
.gv-layout { display: grid; grid-template-columns: 1fr 320px; gap: 1.2rem; align-items: start; }
.gv-rail h3 { margin: 1.1rem 0 0.45rem; font-size: 1rem; }
.gv-rail h3:first-child { margin-top: 0; }
.gv-rail p { line-height: 1.55; font-size: 0.9rem; margin: 0; }
.gv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; }
.gv-stats > div {
    display: flex; justify-content: space-between; align-items: baseline;
    background: #0d1526; border: 1px solid var(--border); border-radius: 8px; padding: 0.45rem 0.7rem;
}
.gv-stats span { color: var(--muted); font-size: 0.8rem; }
.gv-stats b { color: #fff; font-variant-numeric: tabular-nums; }
.gv-stats b.pos { color: var(--green); }
.gv-stats b.neg { color: var(--red); }

/* Dice — roll track + odds lab + history */
.dc-track {
    position: relative; height: 22px; border-radius: 999px; overflow: visible;
    background: #2a1430; border: 1px solid var(--border); max-width: 520px; margin: 0.4rem auto 0.3rem;
}
.dc-zone {
    position: absolute; top: 0; bottom: 0; border-radius: 999px;
    background: linear-gradient(90deg, rgba(57,255,136,.45), rgba(57,255,136,.65));
    transition: left .15s, width .15s;
}
.dc-marker {
    position: absolute; top: -5px; bottom: -5px; width: 4px; margin-left: -2px;
    background: #fff; border-radius: 2px; box-shadow: 0 0 10px rgba(255,255,255,.8);
    transition: left .08s linear;
}
.dc-track-scale {
    display: flex; justify-content: space-between; max-width: 520px; margin: 0 auto 0.6rem;
    color: var(--muted); font-size: 0.75rem; font-weight: 600;
}
.dc-presets { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.5rem 0 0.2rem; }
.dc-presets .btn { margin-top: 0; }
.dc-odds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin: 1rem 0; }
.dc-odd { background: #0d1526; border: 1px solid var(--border); border-radius: 10px; padding: 0.6rem 0.7rem; text-align: center; }
.dc-odd span { display: block; color: var(--muted); font-size: 0.7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 0.25rem; }
.dc-odd b { color: #fff; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.dc-odd b.gold { color: var(--gold); }
.dc-odd b.pos { color: var(--green); }
.dc-history { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.dc-hist-chip {
    font-size: 0.78rem; font-weight: 800; font-variant-numeric: tabular-nums;
    border-radius: 999px; padding: 0.22rem 0.6rem; border: 1px solid var(--border);
    background: #0d1526; color: var(--muted);
}
.dc-hist-chip.win { border-color: var(--green); color: var(--green); }
.dc-hist-chip.lose { border-color: rgba(255,84,112,.5); color: #ff8ba0; }

/* Crash — Moonshot HUD */
.cr-stage { background: linear-gradient(180deg, rgba(10,14,26,.88), rgba(10,14,26,.94)), url('/assets/img/crash/crash-bg.png') center / cover; }
.cr-hud { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.cr-hud .crash-mult { text-align: left; }
.cr-hud-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cr-hud-right { text-align: right; }
.cr-cashvalue { font-size: 1.5rem; font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; }
.cr-elapsed { font-size: 1.05rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

/* Roulette — Wheel Room */
.rl-stage-top { display: flex; gap: 1.4rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 1.2rem; }
.rl-wheel-wrap { position: relative; width: 168px; height: 168px; flex: none; }
.rl-wheel { width: 168px; height: 168px; display: block; }
.rl-wheel.spinning { animation: rl-spin 0.9s linear infinite; }
@keyframes rl-spin { to { transform: rotate(360deg); } }
.rl-ball { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; width: 74px; height: 74px; font-size: 1.6rem; background: #0d1526; }
.rl-stage-side { flex: 1; min-width: 240px; }
.rl-recent {
    width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 800; color: #fff; border: 2px solid rgba(255,255,255,.25);
}
.rl-recent.red { background: #a4133c; }
.rl-recent.black { background: #1c2333; }
.rl-recent.green { background: #0a7a4a; }
.rl-color-stats { display: flex; gap: 0.5rem; margin-top: 0.8rem; flex-wrap: wrap; }
.rl-cs { font-size: 0.8rem; font-weight: 700; border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem 0.7rem; background: #0d1526; }
.rl-cs.red { color: #ff8ba0; } .rl-cs.black { color: var(--text); } .rl-cs.green { color: var(--green); }
.rl-bet-row { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(38,51,84,.55); padding: 0.3rem 0; color: var(--text); }
.rl-bet-row b { font-variant-numeric: tabular-nums; }
.chip { background-size: cover; background-position: center; color: transparent; border: none; width: 62px; height: 62px; }
.chip.sel { outline: 3px solid #fff; }

/* Blackjack — Vault Table */
.bj-table {
    perspective: 1200px;
    background: radial-gradient(circle at 50% 20%, #15273d, #09121d 85%);
    border: 3px solid #1a2c47;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 16px;
    position: relative;
}
.bj-total {
    display: inline-block; min-width: 2rem; text-align: center;
    background: #0d1526; border: 1px solid var(--gold); color: #fff;
    border-radius: 999px; padding: 0.1rem 0.55rem; font-size: 0.85rem; font-variant-numeric: tabular-nums;
}
.bj-total.gold { color: var(--gold); }
.bj-felt-line {
    text-align: center; color: rgba(255, 210, 87, 0.55); font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.28em; margin: 0.9rem 0; text-transform: uppercase;
}
.bj-card-img {
    width: 68px; height: 98px; border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.65), 0 2px 4px rgba(0,0,0,0.4);
    animation: bj-deal-3d 0.38s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards;
    transform-origin: top center;
}
@keyframes bj-deal-3d {
    0% { transform: translateY(-50px) rotateY(90deg) scale(0.65); opacity: 0; }
    60% { transform: translateY(5px) rotateY(10deg) scale(1.03); opacity: 1; }
    100% { transform: translateY(0) rotateY(0deg) scale(1); opacity: 1; }
}

/* 3D Dice Cube Styles */
.dc-3d-scene {
    width: 72px; height: 72px; margin: 0.6rem auto 0.4rem; perspective: 500px;
}
.dc-3d-cube {
    width: 100%; height: 100%; position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-22deg) rotateY(-35deg);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dc-3d-cube.tumbling {
    animation: dc-tumble-spin 0.55s infinite linear;
}
@keyframes dc-tumble-spin {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.15); }
    50% { transform: rotateX(360deg) rotateY(180deg) rotateZ(90deg) scale(1.25); }
    100% { transform: rotateX(720deg) rotateY(360deg) rotateZ(180deg) scale(1.15); }
}
.dc-face {
    position: absolute; width: 72px; height: 72px;
    background: linear-gradient(135deg, #131d33, #0b1120);
    border: 2px solid var(--neon); border-radius: 12px;
    font-size: 2.8rem; color: var(--neon);
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.25), 0 0 10px rgba(0, 240, 255, 0.3);
    user-select: none;
}
.dc-face.front  { transform: rotateY(0deg) translateZ(36px); }
.dc-face.back   { transform: rotateY(180deg) translateZ(36px); }
.dc-face.right  { transform: rotateY(90deg) translateZ(36px); }
.dc-face.left   { transform: rotateY(-90deg) translateZ(36px); }
.dc-face.top    { transform: rotateX(90deg) translateZ(36px); }
.dc-face.bottom { transform: rotateX(-90deg) translateZ(36px); }

/* Hi-Lo 3D & Flaming Streak Ladder */
.hl-big {
    width: 90px; height: 130px; border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.7), 0 0 20px rgba(255, 140, 26, 0.35);
    animation: hl-deal-3d 0.38s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}
@keyframes hl-deal-3d {
    0% { transform: scale(0.6) rotateX(45deg) rotateY(30deg); opacity: 0; }
    100% { transform: scale(1) rotateX(0deg) rotateY(0deg); opacity: 1; }
}
.hl-streak-fire {
    position: relative; display: inline-block; padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,77,0,0.25), rgba(255,200,0,0.25));
    border: 1px solid rgba(255,140,26,0.6);
    text-shadow: 0 0 10px #ff4500;
}

@media (max-width: 900px) {
    .gv-layout { grid-template-columns: 1fr; }
    .dc-odds { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .rl-wheel.spinning, .bj-card-img { animation: none !important; }
}

/* ================= GAMES v3 — ORIGINALS ================= */
/* Lobby catalog art tiles (games without banner art) */
.lv-card-art {
    height: 150px; display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
}
.lv-art-breach { background: radial-gradient(600px 200px at 50% 0%, rgba(255,47,214,.35), transparent), linear-gradient(160deg, #33103a, #160a24); }
.lv-art-orbit  { background: radial-gradient(600px 200px at 50% 0%, rgba(0,240,255,.30), transparent), linear-gradient(160deg, #0c2b3a, #081426); }
.lv-art-hilo   { background: radial-gradient(600px 200px at 50% 0%, rgba(255,140,26,.35), transparent), linear-gradient(160deg, #38220c, #1d1206); }

/* Vault Breach */
.br-vault { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.4rem; }
.br-layer {
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(90deg, #16203c, #101828); border: 1px solid var(--border);
    border-left: 5px solid #3b4a6e; border-radius: 8px; padding: 0.5rem 0.9rem;
    font-weight: 800; letter-spacing: .06em; transition: all .2s;
}
.br-layer .br-layer-state { color: var(--muted); font-size: 0.78rem; }
.br-layer.targeted { border-left-color: var(--pink); }
.br-layer.running { border-color: var(--gold); box-shadow: 0 0 14px rgba(255,210,87,.35); }
.br-layer.running .br-layer-state { color: var(--gold); }
.br-layer.breached { border-left-color: var(--green); background: linear-gradient(90deg, rgba(57,255,136,.14), #101828); }
.br-layer.breached .br-layer-state { color: var(--green); }
.br-layer.held { border-left-color: var(--red); background: linear-gradient(90deg, rgba(255,84,112,.16), #101828); }
.br-layer.held .br-layer-state { color: var(--red); }
.br-core {
    text-align: center; font-weight: 900; letter-spacing: .3em; color: #5b6b8f;
    border: 1px dashed var(--border); border-radius: 8px; padding: 0.55rem;
}
.br-core.open { color: var(--gold); border-color: var(--gold); box-shadow: 0 0 18px rgba(255,210,87,.45); text-shadow: 0 0 12px rgba(255,210,87,.7); }
.br-depths { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.4rem 0 0.8rem; }
.br-depth {
    width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border);
    background: #0d1526; color: var(--text); font-weight: 900; font-size: 1rem; cursor: pointer;
}
.br-depth:hover { border-color: var(--pink); }
.br-depth.sel { background: linear-gradient(135deg, var(--pink), #ff7a59); color: #1a0412; border-color: transparent; }
.br-chart { display: grid; gap: 0.25rem; }
.br-chart-row {
    display: grid; grid-template-columns: 1fr auto auto; gap: 0.8rem; align-items: baseline;
    background: #0d1526; border: 1px solid var(--border); border-radius: 8px; padding: 0.35rem 0.7rem;
    font-size: 0.85rem; color: var(--muted);
}
.br-chart-row b { color: #fff; font-variant-numeric: tabular-nums; }
.br-chart-row.sel { border-color: var(--pink); color: var(--text); }

/* Orbit Drift */
.ob-stage { text-align: center; }
.ob-dial-wrap { max-width: 340px; margin: 0 auto; }
#orbitDial { width: 100%; height: auto; cursor: pointer; touch-action: none; }
.ob-ring-outer { fill: #0a1122; stroke: var(--border); stroke-width: 1.5; }
.ob-ring { fill: none; stroke: #1d2a4a; stroke-width: 1; }
.ob-arc { fill: none; stroke: var(--neon); stroke-width: 17; stroke-linecap: round; opacity: .8; filter: drop-shadow(0 0 7px rgba(0,240,255,.8)); }
.ob-sat { fill: #16233f; stroke: var(--gold); stroke-width: 2; }
.ob-sat.caught { fill: var(--green); stroke: #baffd9; }
.ob-sat.missed { fill: var(--red); stroke: #ffc2cd; }
.ob-sat-icon { font-size: 11px; }
.ob-core { fill: #101a30; stroke: var(--border); }
.ob-core-label { fill: #fff; font-weight: 900; font-size: 13px; letter-spacing: .25em; }
.ob-core-sub { fill: var(--gold); font-weight: 800; font-size: 10px; letter-spacing: .4em; }
.ob-readout { color: var(--muted); font-weight: 700; min-height: 1.4rem; margin-top: 0.3rem; }

/* Streak — Hi-Lo */
.hl-arena { display: grid; grid-template-columns: 1fr 220px; gap: 1.4rem; align-items: center; max-width: 560px; margin: 0 auto; }
.hl-card { display: flex; justify-content: center; padding: 0.6rem 0; }
.hl-big { width: 110px; height: 158px; }
.hl-meter { text-align: center; }
.hl-meter-label { font-size: 0.7rem; font-weight: 800; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.hl-flames { font-size: 1.15rem; min-height: 1.6rem; word-break: break-all; }
.hl-mult { font-size: 2rem; font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(255,210,87,.4); }
.hl-cash { font-size: 1.15rem; font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }
.hl-calls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.7rem; max-width: 640px; margin: 1rem auto 0; }
.hl-calls .btn { margin-top: 0; }
.hl-calls small { font-weight: 600; opacity: .85; }
@media (max-width: 640px) {
    .hl-arena { grid-template-columns: 1fr; }
    .hl-calls { grid-template-columns: 1fr; }
}

/* Dice Deluxe — tumblers + quick chips + win burst */
.dc-tumblers { display: flex; gap: 0.5rem; justify-content: center; align-items: flex-end; margin-top: 0.4rem; }
.dc-tumbler {
    width: 64px; height: 84px; overflow: hidden; border-radius: 12px; position: relative;
    background: linear-gradient(180deg, #0a1122, #131f3d); border: 1px solid var(--neon);
    box-shadow: inset 0 0 18px rgba(0,240,255,.18), 0 0 14px rgba(0,240,255,.15);
}
.dc-tumbler-strip { transition: transform .7s cubic-bezier(.2,.9,.25,1); }
.dc-tumbler-strip span {
    display: flex; align-items: center; justify-content: center; height: 84px;
    font-size: 3.2rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums;
}
.dc-tumbler.dec { width: 46px; height: 64px; }
.dc-tumbler.dec span { height: 64px; font-size: 2.1rem; }
.dc-tumbler-dot { font-size: 2.4rem; font-weight: 900; color: var(--neon); padding-bottom: 0.4rem; }
.dc-quick { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-top: 0.5rem; }
.dc-quick .btn { margin-top: 0; }
.dc-burst { position: relative; }
.dc-coin {
    position: absolute; left: 50%; top: 40%; font-size: 1.3rem; pointer-events: none;
    animation: dc-coin-fly 0.95s ease-out forwards;
}
@keyframes dc-coin-fly {
    to { transform: translate(var(--dx), var(--dy)) rotate(340deg) scale(.6); opacity: 0; }
}

/* Crash Deluxe — shake */
.cr-shake { animation: cr-shake .45s ease-in-out; }
@keyframes cr-shake {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(-7px, 3px); }
    40% { transform: translate(6px, -4px); }
    60% { transform: translate(-5px, -3px); }
    80% { transform: translate(4px, 2px); }
}
@media (prefers-reduced-motion: reduce) {
    .cr-shake, .dc-coin { animation: none !important; }
    .dc-tumbler-strip { transition: none; }
}

/* ===== MacLeod v4 bridge (Workstream B) — Neon Vault chrome on v4 tokens ===== */
body{background:var(--bg);color:var(--text)}
.topbar{background:rgba(10,12,15,.94);border-bottom:1px solid var(--line)}
.topbar .logo{color:var(--gold)}
.btn,.button{background:var(--accent);color:var(--ink-on-accent);border-radius:var(--r-sm)}
.btn.gold,button.gold{background:linear-gradient(180deg,var(--gold-2),var(--gold-deep));color:var(--ink-on-gold)}
.card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:var(--shadow-card)}
footer.site-footer{background:var(--bg-2);border-top:1px solid var(--line);padding:var(--sp-7) 0 var(--sp-5);margin-top:var(--sp-7)}
footer.site-footer .foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:var(--sp-6);max-width:var(--wrap);margin:0 auto;padding:0 var(--sp-5)}
footer.site-footer h4{color:var(--gold);font-size:var(--fs-sm);text-transform:uppercase;letter-spacing:var(--ls-label)}
footer.site-footer ul{list-style:none;padding:0;margin:0}
footer.site-footer li{margin:6px 0}
footer.site-footer a{color:var(--text-2)}
footer.site-footer a:hover{color:var(--gold)}
.skip-link{position:absolute;left:-999px;top:0;background:var(--gold);color:var(--ink-on-gold);padding:8px 16px;z-index:200}
.skip-link:focus{left:12px;top:12px}
@media (max-width:900px){footer.site-footer .foot-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){footer.site-footer .foot-grid{grid-template-columns:1fr}}

/* ===== TON Cashier & Crypto Wallet Styles ===== */
.wallet-header { margin-bottom: var(--sp-4); }
.cashier-balance-card {
    background: linear-gradient(135deg, rgba(20,24,33,0.95), rgba(12,15,22,0.98));
    border: 1px solid rgba(255, 215, 0, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.08);
    padding: var(--sp-5);
    margin-bottom: var(--sp-5);
}
.balance-display {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    letter-spacing: -0.02em;
}
.ton-equiv-pill {
    display: inline-block;
    background: rgba(0, 152, 234, 0.15);
    border: 1px solid rgba(0, 152, 234, 0.4);
    color: #00aaff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 4px 16px;
    border-radius: 999px;
    margin-top: 6px;
    box-shadow: 0 0 12px rgba(0, 152, 234, 0.2);
}

.cashier-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: var(--sp-4);
    overflow-x: auto;
    padding-bottom: 4px;
}
.cashier-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.cashier-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-color: var(--gold-line);
}
.cashier-tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 152, 234, 0.2), rgba(0, 152, 234, 0.05));
    border-color: #00aaff;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 152, 234, 0.25);
}

.cashier-panel { display: none; }
.cashier-panel.active { display: block; animation: cashierFadeIn 0.25s ease-out; }
@keyframes cashierFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Deposit Grid */
.deposit-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--sp-6);
    align-items: start;
}
@media (max-width: 768px) {
    .deposit-grid { grid-template-columns: 1fr; }
}
.qr-container {
    background: #ffffff;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 20px rgba(0, 152, 234, 0.3);
    display: inline-block;
    margin-bottom: var(--sp-3);
}
.ton-qr-image {
    width: 220px;
    height: 220px;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}
.btn-ton-app {
    display: block;
    background: linear-gradient(135deg, #0098ea, #0077c5);
    color: #ffffff !important;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 152, 234, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    margin-bottom: 8px;
}
.btn-ton-app:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 152, 234, 0.6);
}
.check-deposit-btn {
    width: 100%;
    margin-top: 6px;
    font-size: 0.88rem;
    padding: 8px 12px;
}

/* Copy Input Groups */
.cashier-field {
    margin-bottom: var(--sp-4);
}
.cashier-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-2);
    margin-bottom: 6px;
}
.copy-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}
.addr-box, .memo-box {
    flex: 1;
    padding: 10px 14px;
    font-family: monospace;
    font-size: 0.95rem;
    color: #fff;
    word-break: break-all;
    background: transparent;
    display: flex;
    align-items: center;
}
.btn-copy {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
    border: none;
    border-left: 1px solid var(--line);
    padding: 0 16px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.btn-copy:hover { background: rgba(255, 215, 0, 0.15); }
.btn-copy.copied { background: #28c840; color: #fff; }

.memo-highlight-field {
    background: rgba(255, 170, 0, 0.05);
    border: 1px solid rgba(255, 170, 0, 0.35);
    border-radius: 12px;
    padding: var(--sp-3);
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.1);
}
.memo-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.required-badge {
    background: #ff5555;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}
.memo-box {
    font-size: 1.3rem;
    font-weight: 900;
    color: #ffbb00;
    letter-spacing: 0.05em;
}
.memo-warning-alert {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #ffcc66;
    line-height: 1.4;
}
.rate-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--gold);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}
.deposit-steps {
    margin-top: var(--sp-4);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--line);
}
.deposit-steps h4 {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 8px;
}
.deposit-steps ol {
    margin: 0;
    padding-left: 20px;
    color: var(--text-2);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Withdraw Form */
.withdraw-form {
    max-width: 600px;
}
.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--line);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}
.form-input:focus {
    border-color: #00aaff;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 152, 234, 0.3);
}
.input-with-addons {
    display: flex;
    gap: 8px;
    align-items: center;
}
.preset-group {
    display: flex;
    gap: 4px;
}
.preset-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    color: var(--text-2);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.preset-btn:hover {
    background: rgba(0, 152, 234, 0.2);
    border-color: #00aaff;
    color: #fff;
}
.conversion-preview {
    margin-top: 8px;
    font-size: 0.88rem;
    color: var(--text-2);
}
.conversion-preview strong {
    color: #00aaff;
    font-size: 1rem;
}
.alert-box {
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: var(--sp-4);
    font-size: 0.9rem;
}
.alert-box.error {
    background: rgba(255, 68, 68, 0.15);
    border: 1px solid rgba(255, 68, 68, 0.4);
    color: #ff6666;
}

/* Table Badges */
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
}
.badge-deposit { background: rgba(40, 200, 64, 0.15); color: #28c840; border: 1px solid rgba(40, 200, 64, 0.3); }
.badge-withdraw { background: rgba(0, 152, 234, 0.15); color: #00aaff; border: 1px solid rgba(0, 152, 234, 0.3); }

.status-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
}
.tag-success { background: rgba(40, 200, 64, 0.2); color: #28c840; }
.tag-processing { background: rgba(0, 152, 234, 0.2); color: #00aaff; }
.tag-pending { background: rgba(255, 170, 0, 0.2); color: #ffaa00; }
.tag-failed { background: rgba(255, 68, 68, 0.2); color: #ff4444; }

.explorer-link {
    color: #00aaff !important;
    text-decoration: underline;
    font-size: 0.85rem;
}
.explorer-link:hover { color: #fff !important; }

/* ===== Daily Lucky Wheel Styles ===== */
.wheel-nav-btn {
    background: linear-gradient(135deg, #ffd700, #ff8800);
    color: #0a0c10 !important;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 6px 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.wheel-nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

.wheel-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 6, 10, 0.82);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.wheel-modal-overlay[hidden] { display: none !important; }

.wheel-modal-dialog {
    position: relative;
    background: linear-gradient(180deg, #131722, #0c0e15);
    border: 1px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 32px rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    padding: var(--sp-5);
    text-align: center;
    animation: wheelPopIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes wheelPopIn { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.wheel-close-btn {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.wheel-close-btn:hover { background: rgba(255, 68, 68, 0.3); color: #ff6666; }

.wheel-header h2 {
    color: var(--gold);
    font-size: 1.6rem;
    margin: 0 0 4px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* 7-Day Streak Bar */
.streak-tracker-bar {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 12px 0 16px;
}
.streak-pill {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 6px 2px;
    font-size: 0.72rem;
    color: var(--text-2);
    transition: all 0.2s ease;
}
.streak-pill.active {
    background: rgba(255, 170, 0, 0.15);
    border-color: rgba(255, 170, 0, 0.5);
    color: #ffd700;
}
.streak-pill.current {
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.4);
    border-color: #ffd700;
}
.streak-pill .streak-mult { font-weight: 800; font-size: 0.8rem; color: #fff; }
.streak-pill .streak-icon { font-size: 0.9rem; margin-top: 2px; }

/* Wheel Canvas Stage */
.wheel-stage {
    position: relative;
    width: 340px;
    height: 340px;
    margin: 0 auto 16px;
}
#wheelCanvas {
    display: block;
    width: 340px;
    height: 340px;
}
.wheel-pointer-arrow {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 26px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.9), 0 2px 4px rgba(0,0,0,0.8);
    z-index: 10;
    pointer-events: none;
    line-height: 1;
}
.wheel-center-spin-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff8800);
    border: 3px solid #fff;
    color: #0a0c10;
    font-weight: 900;
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), inset 0 0 8px rgba(255,255,255,0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    z-index: 15;
}
.wheel-center-spin-btn:hover:not(:disabled) {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 28px rgba(255, 215, 0, 0.9);
}
.wheel-center-spin-btn:disabled {
    background: #333948;
    border-color: #555e72;
    color: #8892a6;
    cursor: not-allowed;
    box-shadow: none;
}

.wheel-status-row {
    font-size: 0.95rem;
    color: var(--text-2);
    min-height: 24px;
}
.wheel-result-celebration {
    margin-top: 14px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(40, 200, 64, 0.2), rgba(0, 152, 234, 0.15));
    border: 1px solid rgba(40, 200, 64, 0.5);
    border-radius: 12px;
    box-shadow: 0 0 24px rgba(40, 200, 64, 0.3);
    animation: celebrationBounce 0.4s ease-out;
}
@keyframes celebrationBounce { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.celebration-title { font-weight: 900; font-size: 1.2rem; color: #28c840; }
.celebration-prize .win-val { font-size: 1.4rem; font-weight: 900; color: #ffd700; margin: 4px 0; }
.celebration-prize .win-sub { font-size: 0.88rem; color: var(--text-2); }

/* ===== TON Moonshot: HyperLaunch Styles ===== */
.ton-crash-hero-header { margin-bottom: var(--sp-4); }
.flagship-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(0, 152, 234, 0.4));
    border: 1px solid #00f0ff;
    color: #00f0ff;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
    margin-bottom: 6px;
}

.ton-crash-history-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 14, 22, 0.95);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 14px;
    margin-bottom: var(--sp-4);
    overflow-x: auto;
}
.history-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-2);
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.history-chips { display: flex; gap: 6px; }
.chip {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}
.chip.gold { background: rgba(255, 215, 0, 0.2); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.4); }
.chip.cyan { background: rgba(0, 240, 255, 0.15); color: #00f0ff; border: 1px solid rgba(0, 240, 255, 0.3); }
.chip.green { background: rgba(40, 200, 64, 0.15); color: #28c840; border: 1px solid rgba(40, 200, 64, 0.3); }
.chip.red { background: rgba(255, 68, 68, 0.15); color: #ff6666; border: 1px solid rgba(255, 68, 68, 0.3); }

.ton-crash-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--sp-5);
    align-items: start;
}
@media (max-width: 960px) {
    .ton-crash-container { grid-template-columns: 1fr; }
}

.ton-crash-stage {
    padding: var(--sp-4);
    background: #090c14;
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 240, 255, 0.08);
}
.ton-crash-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.stage-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #00f0ff;
    letter-spacing: 0.04em;
}
.stage-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 8px #00f0ff;
}
.multiplier-center-display {
    text-align: center;
}
.mult-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.mult-number.cyan { color: #00f0ff; text-shadow: 0 0 25px rgba(0, 240, 255, 0.6); }
.mult-number.gold { color: #ffd700; text-shadow: 0 0 30px rgba(255, 215, 0, 0.8); }
.mult-number.red { color: #ff3366; text-shadow: 0 0 25px rgba(255, 51, 102, 0.6); }
.mult-status {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-2);
    margin-top: 4px;
    letter-spacing: 0.05em;
}
.hud-right-telemetry {
    text-align: right;
}
.telem-item .label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-2);
}
.telem-item .val {
    font-weight: 800;
    font-size: 0.95rem;
    color: #00aaff;
}

.canvas-wrap {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
#tonCrashCanvas {
    display: block;
    width: 100%;
    height: auto;
    background: #04070d;
}
.crash-explosion-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(15, 5, 10, 0.9);
    border: 2px solid #ff3366;
    padding: 16px 28px;
    border-radius: 14px;
    box-shadow: 0 0 35px rgba(255, 51, 102, 0.6);
    animation: celebrationBounce 0.25s ease-out;
}
.crash-explosion-overlay[hidden] { display: none !important; }
.explosion-title { font-weight: 900; font-size: 1.3rem; color: #ff3366; }
.explosion-mult { font-weight: 900; font-size: 2.2rem; color: #fff; margin-top: 4px; }

/* Flight Controls Console */
.ton-crash-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    margin-top: var(--sp-4);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--line);
}
@media (max-width: 680px) {
    .ton-crash-controls { grid-template-columns: 1fr; }
}
.ton-crash-controls label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 6px;
}
.bet-input-row, .auto-input-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bet-input-row input, .auto-input-row input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--line);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
}
.bet-presets, .auto-presets {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.tc-preset, .tc-auto-preset {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    color: var(--text-2);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.tc-preset:hover, .tc-auto-preset:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: #00f0ff;
    color: #fff;
}

.control-actions {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
    margin-top: 4px;
}
@media (max-width: 680px) {
    .control-actions { grid-column: span 1; }
}
.tc-launch-btn {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff !important;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 114, 255, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tc-launch-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 198, 255, 0.6);
}
.tc-eject-btn {
    background: linear-gradient(135deg, #ffd700, #ff8800);
    color: #0a0c10 !important;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(255, 170, 0, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tc-eject-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.7);
}

/* Sidebar & Crew Feed */
.ton-crash-sidebar h3 { margin-top: 0; font-size: 1.15rem; }
.crew-feed-list {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: var(--sp-4);
}
.crew-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-bottom: 4px;
}
.crew-row.in-flight { background: rgba(0, 240, 255, 0.08); color: #00f0ff; }
.crew-row.cashed-out { background: rgba(40, 200, 64, 0.12); color: #28c840; }
.crew-name { font-weight: 700; }
.crew-bet { color: var(--gold); }
.crew-status { font-weight: 800; font-size: 0.75rem; }

.mission-stats-box, .fairness-spec-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: var(--sp-4);
}
.mission-stats-box h4, .fairness-spec-box h4 { margin: 0 0 8px; font-size: 0.88rem; color: var(--gold); }
.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 4px 0;
    color: var(--text-2);
}
.stat-row b { color: #fff; }
.fairness-link {
    display: inline-block;
    color: #00aaff !important;
    text-decoration: underline;
    font-size: 0.82rem;
    margin-top: 8px;
}

/* ========================================================
   CYBER STORE & VIP VAULT — PRODUCTION ULTRA-LUXURY STYLES
   ======================================================== */

/* ==========================================================================
   NEON VAULT CYBER STORE & VIP VAULT — PRODUCTION ULTRA-LUXURY STYLESHEET
   High-End Tier-1 Crypto Casino Store Styling
   ========================================================================== */

/* ---------- STORE WRAPPER & AMBIENT GLOW ---------- */
.store-page-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
    position: relative;
}

/* Ambient background radial flares */
.store-page-wrap::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.store-page-wrap::after {
    content: '';
    position: absolute;
    top: 200px;
    right: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ---------- VIP COMMAND DECK & HUB BANNER ---------- */
.store-hub-banner {
    background: linear-gradient(135deg, rgba(16, 24, 48, 0.9) 0%, rgba(10, 14, 28, 0.96) 100%);
    border: 1px solid rgba(0, 240, 255, 0.22);
    border-radius: 20px;
    padding: 1.6rem 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    z-index: 1;
}

.store-hub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.2rem;
}

.store-hub-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: -0.01em;
}

.store-hub-title .hub-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}

.vip-badge-pill {
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.vip-badge-none {
    background: rgba(255, 255, 255, 0.07);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.vip-badge-bronze {
    background: linear-gradient(90deg, rgba(217, 119, 6, 0.3), rgba(180, 83, 9, 0.45));
    color: #f59e0b;
    border: 1px solid #f59e0b;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
}
.vip-badge-silver {
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.3), rgba(203, 213, 225, 0.45));
    color: #f1f5f9;
    border: 1px solid #cbd5e1;
    box-shadow: 0 0 16px rgba(226, 232, 240, 0.35);
}
.vip-badge-overlord {
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.35), rgba(168, 85, 247, 0.45));
    color: #f472b6;
    border: 1px solid #ec4899;
    box-shadow: 0 0 22px rgba(236, 72, 153, 0.5);
    animation: overlordPulse 2.4s infinite ease-in-out;
}

@keyframes overlordPulse {
    0%, 100% { box-shadow: 0 0 14px rgba(236, 72, 153, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 26px rgba(236, 72, 153, 0.8), 0 0 40px rgba(168, 85, 247, 0.4); transform: scale(1.02); }
}

.ton-rate-pill {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.ton-rate-pill b {
    color: #00f0ff;
    font-weight: 800;
}
.rate-live-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
    animation: liveBlink 1.6s infinite ease-in-out;
}
@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* ---------- STORE PERKS GRID ---------- */
.store-perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.1rem;
}

.perk-status-card {
    background: linear-gradient(135deg, rgba(20, 28, 48, 0.7) 0%, rgba(13, 18, 33, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.25s ease;
}
.perk-status-card:hover {
    border-color: rgba(0, 240, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 240, 255, 0.1);
}

.perk-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(0, 240, 255, 0.2), rgba(0, 240, 255, 0.04));
    border: 1px solid rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.perk-info-title {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}
.perk-info-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.perk-info-sub {
    font-size: 0.74rem;
    color: #00f0ff;
    margin-top: 0.2rem;
    font-weight: 600;
}

/* Rakeback Action Box */
.rakeback-action-box {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.14) 0%, rgba(20, 26, 44, 0.9) 100%);
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 18px rgba(234, 179, 8, 0.12);
}
.rakeback-action-box:hover {
    border-color: rgba(234, 179, 8, 0.65);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 25px rgba(234, 179, 8, 0.22);
}

/* ---------- LUXURY TAB NAVIGATION TRACK ---------- */
.store-tabs-nav {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0.5rem;
    margin: 0 auto 2rem;
    background: rgba(14, 20, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    scrollbar-width: none;
    max-width: 980px;
}
.store-tabs-nav::-webkit-scrollbar { display: none; }

.store-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    justify-content: center;
}
.store-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.25);
    transform: translateY(-1px);
}
.store-tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(168, 85, 247, 0.25) 100%);
    border: 1px solid #00f0ff;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.store-section { display: none; }
.store-section.active {
    display: block;
    animation: fadeInStoreTab 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeInStoreTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.store-section-header {
    text-align: center;
    margin-bottom: 2rem;
}
.store-section-header h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}
.store-section-header p {
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ---------- STYLIZED CONTAINER CARDS GRID ---------- */
.store-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.6rem;
    margin-bottom: 3rem;
}

/* The Core Luxury Container Card */
.store-card {
    background: linear-gradient(180deg, rgba(22, 30, 52, 0.9) 0%, rgba(11, 16, 30, 0.96) 100%);
    border: 1px solid rgba(0, 240, 255, 0.16);
    border-radius: 20px;
    padding: 1.8rem 1.5rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Hover Elevation & Radiant Glow */
.store-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(0, 240, 255, 0.65);
    box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 240, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Featured / Apex / Sovereign Card Styling */
.store-card.featured {
    border-color: rgba(255, 210, 87, 0.55);
    background: linear-gradient(180deg, rgba(32, 38, 64, 0.92) 0%, rgba(16, 20, 36, 0.98) 100%);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 210, 87, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.store-card.featured:hover {
    border-color: #ffd257;
    box-shadow: 0 26px 55px -12px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 210, 87, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* VIP Tier Specific Card Accents */
.store-card.vip-bronze-card { border-color: rgba(245, 158, 11, 0.4); }
.store-card.vip-bronze-card:hover { border-color: #f59e0b; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(245, 158, 11, 0.35); }

.store-card.vip-silver-card { border-color: rgba(203, 213, 225, 0.4); }
.store-card.vip-silver-card:hover { border-color: #f1f5f9; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(226, 232, 240, 0.35); }

.store-card.vip-overlord-card { border-color: rgba(236, 72, 153, 0.5); }
.store-card.vip-overlord-card:hover { border-color: #ec4899; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.85), 0 0 40px rgba(236, 72, 153, 0.5); }

/* Floating Card Ribbon Badge */
.store-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    z-index: 2;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 3D Circular Card Icon Orb */
.store-card-icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    margin: 0.4rem auto 1rem;
    background: radial-gradient(circle at 35% 35%, rgba(0, 240, 255, 0.22), rgba(0, 0, 0, 0.5));
    border: 1.5px solid rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.25);
    transition: transform 0.35s ease;
}
.store-card:hover .store-card-icon {
    transform: scale(1.1) rotate(4deg);
    border-color: #00f0ff;
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.35), inset 0 2px 6px rgba(255, 255, 255, 0.4);
}

.store-card-title {
    font-size: 1.18rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.store-card-coins {
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffd257;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 0.6rem;
    text-shadow: 0 0 20px rgba(255, 210, 87, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}
.store-card-coins small {
    font-size: 0.7rem;
    color: #94a3b8;
    letter-spacing: 0.12em;
    font-weight: 800;
    text-shadow: none;
    text-transform: uppercase;
}

.store-card-desc {
    font-size: 0.84rem;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 1.2rem;
    line-height: 1.45;
    min-height: 2.4rem;
}

/* Feature Checklist Pills */
.store-perk-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.store-perk-list li {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.store-card:hover .store-perk-list li {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}
.store-perk-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: 900;
    font-size: 0.88rem;
}

/* Price Box */
.store-price-box {
    background: rgba(8, 12, 22, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    text-align: center;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}
.store-price-ton {
    font-size: 1.35rem;
    font-weight: 900;
    color: #00f0ff;
    letter-spacing: -0.01em;
}
.store-price-sub {
    font-size: 0.74rem;
    color: #94a3b8;
    margin-top: 0.2rem;
    font-weight: 600;
}

/* Action Button Stack */
.store-btn-stack {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.btn-ton-buy {
    background: linear-gradient(135deg, #0098ea 0%, #00c6ff 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 12px;
    padding: 0.85rem;
    width: 100%;
    border: none;
    box-shadow: 0 4px 18px rgba(0, 152, 234, 0.35);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.02em;
    text-decoration: none;
}
.btn-ton-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(0, 198, 255, 0.6);
    filter: brightness(1.08);
}
.btn-ton-buy:active {
    transform: translateY(1px);
}

.btn-coins-buy {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0b0f19 !important;
    font-weight: 900;
    font-size: 0.95rem;
    border-radius: 12px;
    padding: 0.85rem;
    width: 100%;
    border: none;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.02em;
}
.btn-coins-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(245, 158, 11, 0.6);
    filter: brightness(1.08);
}
.btn-coins-buy:active {
    transform: translateY(1px);
}

/* ---------- HIGH-END WEB3 CHECKOUT MODAL ---------- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 15, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1rem;
}
.modal-backdrop.active {
    display: flex;
    animation: modalBackdropFade 0.25s ease-out;
}
@keyframes modalBackdropFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-box {
    background: linear-gradient(180deg, #162038 0%, #0c1122 100%);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 24px;
    padding: 2.2rem;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 240, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalBoxPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalBoxPop {
    from { transform: scale(0.92) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.modal-close:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    transform: rotate(90deg);
}

.modal-qr-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
    width: 190px;
    height: 190px;
    margin: 1.2rem auto 1.4rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-qr-container img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
}

.copyable-field-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
    transition: border-color 0.2s;
}
.copyable-field-box:hover {
    border-color: rgba(0, 240, 255, 0.4);
}

.copyable-field-val {
    font-family: 'SF Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    color: #e2e8f0;
    word-break: break-all;
    user-select: all;
}

.btn-mini-copy {
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: #00f0ff;
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.btn-mini-copy:hover {
    background: #00f0ff;
    color: #0b0f19;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.memo-alert-box {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 0.76rem;
    color: #fef08a;
    line-height: 1.45;
    margin-bottom: 1.2rem;
}

.live-radar-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #00f0ff;
    display: inline-block;
    margin-right: 6px;
    box-shadow: 0 0 10px #00f0ff;
    animation: liveRadarPulse 1.4s infinite ease-in-out;
}
@keyframes liveRadarPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

/* Responsive queries */
@media (max-width: 768px) {
    .store-cards-grid { grid-template-columns: 1fr; }
    .store-hub-banner { padding: 1.2rem; }
    .store-hub-header { flex-direction: column; align-items: flex-start; }
    .store-tabs-nav { justify-content: flex-start; }
    .modal-box { padding: 1.5rem; }
}
