/* ============================================================
   GoldenAura Casino — Premium Dark Theme
   Mobile-first responsive design
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #0b0f14;
    --bg-secondary: #121821;
    --bg-card: #151d28;
    --bg-card-hover: #18222f;
    --bg-elevated: #1a2332;
    --bg-surface: #1e2a3a;

    --accent: #22c55e;
    --accent-hover: #16a34a;
    --accent-glow: rgba(34, 197, 94, 0.3);
    --accent-subtle: rgba(34, 197, 94, 0.1);
    --gold: #facc15;
    --gold-glow: rgba(250, 204, 21, 0.3);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dim: #475569;

    --border: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-accent: rgba(34, 197, 94, 0.2);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--accent-glow);

    --header-h: 64px;
    --ticker-h: 36px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ---------- Layout ---------- */
.app-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.main-content { flex: 1; padding-top: calc(var(--header-h) + var(--ticker-h)); }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.page-shell { display: flex; flex-direction: column; gap: 0; }

/* ---------- Utility ---------- */
.icon-14 { width: 14px; height: 14px; }
.icon-16 { width: 16px; height: 16px; }
.icon-18 { width: 18px; height: 18px; }
.icon-20 { width: 20px; height: 20px; }

/* ============================================================
   HEADER
   ============================================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(11, 15, 20, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s var(--ease);
}
.main-header.scrolled {
    background: rgba(11, 15, 20, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    gap: 16px;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}
.brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.brand-accent { color: var(--accent); }

/* Desktop Nav */
.main-nav {
    display: none;
    align-items: center;
    gap: 2px;
    margin-left: 24px;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s var(--ease);
    white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.04); }
.nav-link.active { color: var(--accent); }
.nav-icon { width: 16px; height: 16px; opacity: 0.7; }

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.balance-display {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}
.balance-icon { width: 14px; height: 14px; }
.btn-deposit {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: var(--accent);
    color: #000;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.2s var(--ease);
    box-shadow: 0 0 15px var(--accent-glow);
}
.btn-deposit:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-user {
    display: flex;
    align-items: center;
    padding: 0;
}
.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}
.btn-login {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    transition: all 0.2s var(--ease);
}
.btn-login:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); }
.btn-register {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    background: var(--accent);
    color: #000;
    border-radius: var(--radius-full);
    transition: all 0.2s var(--ease);
    box-shadow: 0 0 15px var(--accent-glow);
}
.btn-register:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all 0.2s;
}
.mobile-menu-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav-panel {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(360px, 82vw);
    background: #0b0f14 !important;
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease);
    overflow: hidden;
}
.mobile-nav-overlay.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}
.mobile-nav-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}
.mobile-balance-card {
    margin: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
}
.mobile-balance-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.mobile-balance-amount { font-size: 28px; font-weight: 800; color: var(--accent); margin: 4px 0 12px; }
.mobile-balance-actions { display: flex; gap: 8px; }
.btn-deposit-mobile, .btn-withdraw-mobile {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
}
.btn-deposit-mobile { background: var(--accent); color: #000; }
.btn-withdraw-mobile { background: var(--bg-elevated); color: var(--text-primary); border: 1px solid var(--border); }
.mobile-nav-links {
    flex: 1;
    padding: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}
.mobile-nav-link.active { color: var(--accent); }
.mobile-nav-link svg { width: 20px; height: 20px; }
.mobile-nav-auth {
    padding: 16px;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
    background: #0b0f14;
}

/* Drawer User Card — Premium Mini Wallet */
.drawer-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 16px;
    padding: 16px 18px;
    background:
        linear-gradient(160deg,
            rgba(26, 35, 50, 0.95) 0%,
            rgba(18, 24, 33, 0.98) 50%,
            rgba(12, 18, 26, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.03) inset,
        0 8px 24px rgba(0, 0, 0, 0.4);
}
.drawer-user-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 10%,
        rgba(34, 197, 94, 0.3) 50%,
        transparent 90%);
}
.drawer-user-card::after {
    content: "";
    position: absolute;
    bottom: -20px; right: -20px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.drawer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #1dd3b0 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #0a0a0a;
    flex-shrink: 0;
    box-shadow: 0 4px 12px var(--accent-glow);
    position: relative;
    z-index: 1;
}
.drawer-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 1;
}
.drawer-username {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}
.drawer-balance {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Logout button in drawer */
.btn-logout-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: var(--radius-md);
    color: #f87171;
    background: rgba(239,68,68,0.05);
    cursor: pointer;
    transition: all 0.2s;
}
.btn-logout-mobile:hover { background: rgba(239,68,68,0.1); }
.btn-login-mobile {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
}
.btn-register-mobile {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    background: var(--accent);
    color: #000;
    border-radius: var(--radius-md);
}

/* ============================================================
   LIVE ACTIVITY BAR
   ============================================================ */
.live-activity-bar {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 999;
    height: var(--ticker-h);
    background: rgba(18, 24, 33, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.activity-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    height: 100%;
}
.live-pulse {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-live 1.5s infinite;
}
@keyframes pulse-live {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
}
.live-label {
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 0.1em;
}
.activity-scroll-wrapper {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.activity-scroll {
    display: flex;
    gap: 48px;
    animation: scroll-ticker 80s linear infinite;
    width: max-content;
    padding: 0 20px;
}
@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 12px;
    color: var(--text-secondary);
}
.activity-icon { width: 14px; height: 14px; flex-shrink: 0; }
.activity-icon-win { color: var(--gold); }
.activity-icon-withdraw { color: var(--accent); }
.activity-icon-deposit { color: #60a5fa; }
.activity-text strong { color: var(--text-primary); font-weight: 600; }
.activity-amount { color: var(--accent); font-weight: 600; }
.activity-game { color: var(--gold); }
.activity-method { color: var(--accent); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('/minimal/img/herobg.png') center center / cover no-repeat;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34, 197, 94, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(250, 204, 21, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 15, 20, 0.65) 0%, rgba(10, 15, 20, 0.85) 100%);
}
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(28px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}
.hero-highlight {
    background: linear-gradient(135deg, var(--accent), #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(13px, 2vw, 16px);
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.01em;
}
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(180deg, #3bdf7c 0%, var(--accent) 50%, #1a9f50 100%);
    color: #000;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: none;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.25) inset,
        0 -2px 4px rgba(0,0,0,0.2) inset,
        0 0 25px var(--accent-glow),
        0 6px 20px rgba(0,0,0,0.35);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: btnPulse 2.5s ease-in-out infinite;
}
.btn-primary-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    animation: btnShine 3.5s ease-in-out infinite;
}
@keyframes btnShine {
    0%, 100% { left: -60%; opacity: 0; }
    50% { left: 120%; opacity: 1; }
}
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 -2px 4px rgba(0,0,0,0.2) inset, 0 0 25px var(--accent-glow), 0 6px 20px rgba(0,0,0,0.35); transform: translateY(0); }
    50% { box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 -2px 4px rgba(0,0,0,0.2) inset, 0 0 40px var(--accent-glow), 0 8px 30px rgba(0,0,0,0.4); transform: translateY(-2px); }
}
.btn-primary-glow:hover {
    background: linear-gradient(180deg, #4ef08e 0%, var(--accent-hover) 50%, #22b85e 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.3) inset,
        0 -2px 4px rgba(0,0,0,0.2) inset,
        0 0 45px var(--accent-glow),
        0 10px 30px rgba(0,0,0,0.45);
    animation: none;
}
.btn-primary-glow:active {
    transform: translateY(0) scale(0.98);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.15) inset,
        0 -1px 2px rgba(0,0,0,0.3) inset,
        0 0 15px var(--accent-glow),
        0 2px 8px rgba(0,0,0,0.3);
}
.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.btn-secondary-outline::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-20deg);
    animation: btnShine 4.5s ease-in-out infinite 1s;
}
.btn-secondary-outline:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.1) inset,
        0 8px 20px rgba(0,0,0,0.35);
}
.btn-secondary-outline:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.hero-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 12px;
    color: var(--text-secondary);
}
.trust-icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* ============================================================
   TOOLBAR / PROVIDERS
   ============================================================ */
.toolbar-section {
    padding: 32px 0 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-primary);
    position: sticky;
    top: calc(var(--header-h) + var(--ticker-h));
    z-index: 100;
}
.toolbar-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.toolbar-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.toolbar-count {
    font-size: 13px;
    color: var(--text-muted);
}
.toolbar-search-wrap {
    position: relative;
    width: 100%;
}
.search-icon-input {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    pointer-events: none;
}
.toolbar-search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s;
}
.toolbar-search-input::placeholder { color: var(--text-muted); }
.toolbar-search-input:focus { border-color: var(--accent); }

/* ============================================================
   HERO SECTION — Left-aligned casino banner
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/minimal/img/herobg.png') center right / cover no-repeat;
    z-index: 0;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(11,15,20,0.78) 0%,
        rgba(11,15,20,0.55) 42%,
        rgba(11,15,20,0.18) 68%,
        rgba(11,15,20,0.0) 100%
    );
    z-index: 1;
}
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: heroFloat 8s ease-in-out infinite;
}
.hero-particles::before {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%);
    top: -80px; left: 15%;
}
.hero-particles::after {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, transparent 70%);
    bottom: -40px; left: 35%;
    animation-delay: -4s;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 24px 56px;
    display: flex;
    align-items: center;
    width: 100%;
}
.hero-left {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.28);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #4ade80;
    width: fit-content;
}
.hero-badge svg { flex-shrink: 0; }

/* Title */
.hero-title {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0;
}
.hero-highlight {
    display: block;
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 900;
    background: linear-gradient(90deg, #22c55e 0%, #4ade80 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin-top: 4px;
}

/* Subtitle */
.hero-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    margin: 0;
}

/* CTA Buttons */
.hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 4px;
    overflow: visible;
    padding-top: 12px;
}
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 24px rgba(34,197,94,0.4), 0 4px 16px rgba(0,0,0,0.3);
    transition: all 0.22s var(--ease);
    letter-spacing: 0.01em;
}
.btn-hero-primary:hover {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    box-shadow: 0 0 36px rgba(34,197,94,0.6), 0 6px 20px rgba(0,0,0,0.3);
    transform: translateY(-2px) scale(1.02);
    color: #000;
}
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.92);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.22s var(--ease);
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}
.btn-hero-register {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.18);
    cursor: pointer;
    transition: all 0.2s var(--ease);
}
.btn-hero-register:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.28);
    color: #fff;
    transform: translateY(-1px);
}

/* Trust badges row */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
}
.hero-trust-item svg { color: rgba(34,197,94,0.6); flex-shrink: 0; }
.hero-trust-sep { color: rgba(255,255,255,0.18); font-size: 11px; }

/* Entrance animations */
.hero-badge    { animation: heroFadeUp 0.5s var(--ease) 0.1s both; }
.hero-title    { animation: heroFadeUp 0.5s var(--ease) 0.2s both; }
.hero-subtitle { animation: heroFadeUp 0.5s var(--ease) 0.3s both; }
.hero-actions  { animation: heroFadeUp 0.5s var(--ease) 0.4s both; }
.hero-trust    { animation: heroFadeUp 0.5s var(--ease) 0.5s both; }
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section { min-height: 320px; }
    .hero-bg { background-position: center center; filter: none !important; }
    .hero-gradient {
        background: linear-gradient(180deg, rgba(11,15,20,0.92) 0%, rgba(11,15,20,0.7) 100%);
    }
    .hero-particles::before,
    .hero-particles::after { display: none !important; }
    .hero-content { padding: 40px 16px; }
    .hero-left { max-width: 100%; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
}

/* ============================================================
   CATEGORY SCROLLER
   ============================================================ */
.category-scroller {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.category-scroller::-webkit-scrollbar { display: none; }
.category-chip, .category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.2s var(--ease);
    flex-shrink: 0;
    text-decoration: none;
}
.category-chip:hover, .category-pill:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.12); }
.category-chip.active, .category-pill.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: 600;
}
.chip-icon { width: 14px; height: 14px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}
.section-head.centered {
    flex-direction: column;
    text-align: center;
    margin-bottom: 32px;
}
.section-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-icon-badge {
    font-size: 20px;
    line-height: 1;
}
.section-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 6px;
}
.trending-badge {
    padding: 4px 10px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    animation: trendPulse 2s ease-in-out infinite;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: #f87171;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
@keyframes trendPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
    50% { opacity: 0.85; box-shadow: 0 0 12px rgba(239, 68, 68, 0.25); }
}
.section-icon-badge.fire {
    animation: fireBounce 1.5s ease-in-out infinite;
}
@keyframes fireBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.15) rotate(-5deg); }
    50% { transform: scale(1) rotate(0deg); }
    75% { transform: scale(1.15) rotate(5deg); }
}
.games-count-display {
    font-size: 13px;
    color: var(--text-muted);
}

/* Carousel Nav */
.carousel-nav {
    display: flex;
    gap: 4px;
}
.carousel-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all 0.2s;
}
.carousel-btn:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); background: var(--bg-card-hover); }

/* ============================================================
   CATEGORY BANNERS — frameless, directly on dark bg
   ============================================================ */
.cat-banners-section { padding: 14px 0 8px; }
.cat-banners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

/* No frame — just the PNG image floating on the page */
.cat-banner-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.cat-banner-item:hover { transform: translateY(-3px) scale(1.015); }
.cat-banner-link { display: block; width: 100%; }
.cat-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.cat-banner-item:hover .cat-banner-img { transform: scale(1.04); }

/* Button overlaid directly ON the image — bottom-left */
.cat-banner-overlay-btn {
    position: absolute;
    bottom: 13px;
    left: 13px;
    z-index: 2;
    max-width: calc(100% - 20px);
}
/* Compact 3D button sizing for overlaid context */
.cat-ob { height: 27px !important; border-width: 3px !important; outline-width: 2px !important; }
.cat-ob .tb-r-base { height: 27px !important; }
.cat-ob .tb-r-btn { font-size: 10px; padding: 3px 8px; gap: 3px; white-space: nowrap; min-width: 0; }
.cat-ob .tb-r-btn svg { flex-shrink: 0; }

@media (max-width: 1100px) {
    .cat-banners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .cat-banners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
    .cat-banners-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PROVIDER LOGOS MARQUEE
   ============================================================ */
.providers-marquee-wrap {
    overflow: hidden;
    padding: 14px 0;
    margin: 6px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: rgba(0,0,0,0.12);
    position: relative;
}
.providers-marquee-wrap::before,
.providers-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.providers-marquee-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary, #0b0f14) 20%, transparent);
}
.providers-marquee-wrap::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-primary, #0b0f14) 20%, transparent);
}
.providers-marquee-track {
    display: flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    animation: providerScroll 35s linear infinite;
}
.providers-marquee-track:hover { animation-play-state: paused; }
@keyframes providerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.prov-logo {
    height: 26px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    opacity: 0.6;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
    transition: opacity 0.2s;
    cursor: pointer;
}
.prov-logo:hover { opacity: 1; }

/* ============================================================
   SLOTS LOBBY: TITLE + WIDE SEARCH + PILLS
   ============================================================ */
.slots-lobby-section { padding: 18px 0 6px; }
.slots-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.slots-icon { font-size: 20px; line-height: 1; }
.slots-lobby-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}
.slots-lobby-count {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 2px 9px;
    border-radius: 20px;
}
/* Wide search bar — full content width, Ace.GG style */
.slots-wide-search-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
}
.slots-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.28);
    pointer-events: none;
    width: 17px;
    height: 17px;
}
.slots-wide-search {
    width: 100%;
    height: 44px;
    background: #0c1828;
    border: 2px solid;
    border-top-color: #060c18;
    border-left-color: #060c18;
    border-bottom-color: #1a2e4a;
    border-right-color: #1a2e4a;
    border-radius: 12px;
    padding: 0 18px 0 46px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.85);
    outline: none;
    box-shadow: inset 3px 3px 10px rgba(0,0,0,0.5);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.slots-wide-search::placeholder { color: rgba(255,255,255,0.22); }
.slots-wide-search:focus {
    border-bottom-color: rgba(14,165,233,0.45);
    border-right-color:  rgba(14,165,233,0.45);
    box-shadow: inset 3px 3px 10px rgba(0,0,0,0.5), 0 0 0 3px rgba(14,165,233,0.08);
}

/* ============================================================
   HOT GAMES CAROUSEL (kept for reference, section removed)
   ============================================================ */
.hot-games-section {
    padding: 40px 0;
}
.hot-games-track-wrapper {
    overflow: hidden;
    margin: 0 -16px;
    padding: 0 16px;
}
.hot-games-track {
    display: flex;
    gap: 12px;
    transition: transform 0.4s var(--ease);
    cursor: grab;
}
.hot-games-track.auto-scroll {
    animation: marqueeHot var(--marquee-duration, 12s) linear infinite;
    cursor: default;
}
.hot-games-track.auto-scroll:hover {
    animation-play-state: paused;
    cursor: grab;
}
@keyframes marqueeHot {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.hot-games-track:active { cursor: grabbing; }
.hot-game-card {
    flex-shrink: 0;
    width: 140px;
    position: relative;
    cursor: pointer;
}
@media (min-width: 640px)  { .hot-game-card { width: 160px; } }
@media (min-width: 1024px) { .hot-game-card { width: 180px; } }
@media (min-width: 1400px) { .hot-game-card { width: 200px; } }

/* Media shell */
.hot-game-media,
.hot-game-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--bg-card);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    transition: box-shadow 0.28s var(--ease), transform 0.28s var(--ease);
}
.hot-game-card:hover .hot-game-media,
.hot-game-card:hover .hot-game-banner {
    transform: translateY(-3px);
    box-shadow:
        0 0 0 1px rgba(201,162,39,0.4),
        0 8px 28px rgba(0,0,0,0.55),
        0 0 18px rgba(201,162,39,0.1);
}

/* Image */
.hot-game-media img,
.hot-game-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease), filter 0.4s var(--ease);
    display: block;
}
.hot-game-card:hover .hot-game-media img,
.hot-game-card:hover .hot-game-banner img {
    transform: scale(1.08);
    filter: brightness(0.7);
}

/* Permanent bottom gradient */
.hot-game-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.75) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Rank badge — top-left */
.hot-rank,
.hot-rank-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 800;
    color: #000;
    background: var(--gold);
    border-radius: 6px;
    letter-spacing: 0.04em;
    border: 1px solid;
    border-top-color:    #fef08a;
    border-left-color:   #fef08a;
    border-bottom-color: #92400e;
    border-right-color:  #b45309;
    box-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Play overlay — centered, fades on hover */
.hot-game-overlay,
.hot-game-actions {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6,10,18,0.55);
    backdrop-filter: blur(1px);
    opacity: 0;
    transition: opacity 0.25s var(--ease);
    z-index: 2;
    border-radius: inherit;
}
.hot-game-card:hover .hot-game-overlay,
.hot-game-card:hover .hot-game-actions { opacity: 1; }

/* Circle play button */
.hot-play-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c9a227, #e8c96a);
    color: #000;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(201,162,39,0.5), 0 4px 12px rgba(0,0,0,0.4);
    transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s;
    flex-shrink: 0;
    text-decoration: none;
}
.hot-play-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 0 30px rgba(201,162,39,0.7), 0 6px 16px rgba(0,0,0,0.5);
}
.hot-play-btn svg { width: 16px; height: 16px; fill: #000; margin-left: 2px; }

/* Bottom content (game name + label) — over the gradient */
.hot-game-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 10px 8px;
    z-index: 2;
    pointer-events: none;
}
.hot-game-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 3px;
}
.hot-game-name {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Info area below card — HIDDEN (artwork contains the name) */
.hot-game-info   { display: none !important; }
.hot-game-provider { display: none !important; }

/* Mobile — always show content, no hover needed */
@media (max-width: 540px) {
    .hot-play-btn { width: 36px; height: 36px; }
    .hot-play-btn svg { width: 13px; height: 13px; }
}

/* ============================================================
   BIGGEST WINNERS
   ============================================================ */
.winners-section {
    padding: 40px 0;
    background: var(--bg-secondary);
}
.winners-track-wrapper {
    overflow: hidden;
    margin: 0 -16px;
    padding: 0 16px;
}
.winners-track {
    display: flex;
    gap: 12px;
    transition: transform 0.4s var(--ease);
}
.winners-track.auto-scroll {
    animation: marqueeWinners var(--marquee-duration, 14s) linear infinite;
    cursor: default;
}
.winners-track.auto-scroll:hover {
    animation-play-state: paused;
}
@keyframes marqueeWinners {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.winner-card {
    flex-shrink: 0;
    width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s var(--ease);
}
.winner-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.winner-card.top-winner { border-color: rgba(250, 204, 21, 0.2); }
.winner-media {
    position: relative;
    height: 100px;
    overflow: hidden;
}
.winner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.winner-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7) 100%);
}
.winner-rank {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.winner-rank.rank-1 { background: var(--gold); color: #000; border-color: var(--gold); }
.winner-rank.rank-2 { background: #c0c0c0; color: #000; border-color: #c0c0c0; }
.winner-rank.rank-3 { background: #cd7f32; color: #000; border-color: #cd7f32; }
.crown-icon { margin-right: 2px; }
.winner-details { padding: 12px; }
.winner-player-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.winner-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}
.winner-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.winner-amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.winner-amount.amount-gold { color: var(--gold); }
.winner-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.winner-game-name {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.winner-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* ============================================================
   GAMES GRID — Landscape Banner Cards
   ============================================================ */
.games-section {
    padding: 40px 0;
}

/* ── Grid: 2 cols on desktop to match mobile card size ──────── */
.games-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
}
@media (min-width: 480px)  { .games-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 1600px) { .games-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ── Card Shell ─────────────────────────────────────────────── */
.game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #06080D;
    cursor: pointer;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 4px 18px rgba(0,0,0,0.45);
    transition:
        transform  0.3s var(--ease),
        box-shadow 0.3s var(--ease);
    isolation: isolate;
}
.game-card:hover {
    transform: translateY(-5px) scale(1.012);
    box-shadow:
        0 0 0 1.5px rgba(201,162,39,0.55),
        0 14px 44px rgba(0,0,0,0.65),
        0 0 32px rgba(201,162,39,0.14);
}
.game-card.is-favourite {
    box-shadow:
        0 0 0 1.5px rgba(250,204,21,0.65),
        0 4px 20px rgba(0,0,0,0.5);
}

/* ── Shimmer sweep on hover ──────────────────────────────────── */
.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(255,255,255,0.06) 50%,
        transparent 70%
    );
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.1s;
    pointer-events: none;
    z-index: 5;
    border-radius: inherit;
}
.game-card:hover::after {
    opacity: 1;
    animation: gcShimmer 0.6s var(--ease) forwards;
}
@keyframes gcShimmer {
    from { transform: translateX(-120%); }
    to   { transform: translateX(120%); }
}

/* ── Media Container — LANDSCAPE 16:9 with min-height ────────── */
.game-media {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 180px;
    overflow: hidden;
    border-radius: inherit;
    background: #06080D;
}

/* ── Blurred background fill — prevents black bars around contained image ── */
.game-media::before {
    content: '';
    position: absolute;
    inset: -20%;
    background-image: var(--gi, none);
    background-size: cover;
    background-position: center;
    filter: blur(22px) brightness(0.28) saturate(0.6);
    z-index: 0;
    pointer-events: none;
}

/* ── Game Image — CONTAIN so full banner title is always visible ── */
.game-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    z-index: 1;
    transition: transform 0.42s var(--ease), filter 0.42s var(--ease);
    will-change: transform;
}
.game-card:hover .game-image {
    transform: scale(1.05);
    filter: brightness(0.7) saturate(1.08);
}

/* ── Bottom vignette (always visible, subtle depth) ─────────── */
.gm-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 50%,
        rgba(0,0,0,0.5) 100%
    );
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
}

/* ── Badge — top-left corner ────────────────────────────────── */
.gc-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 20px;
    line-height: 1.5;
    pointer-events: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.gc-badge--hot       { background: rgba(220,38,38,0.85);  color: #fff; box-shadow: 0 0 10px rgba(220,38,38,0.45); }
.gc-badge--new       { background: rgba(22,163,74,0.85);  color: #fff; box-shadow: 0 0 10px rgba(22,163,74,0.45); }
.gc-badge--exclusive { background: rgba(147,51,234,0.85); color: #fff; box-shadow: 0 0 10px rgba(147,51,234,0.45); }
.gc-badge--bonus-buy { background: rgba(201,162,39,0.92); color: #06080D; box-shadow: 0 0 10px rgba(201,162,39,0.5); font-weight: 900; }

/* ── Favourite button — top-right, revealed on hover ────────── */
.gc-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6,8,13,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.75);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease-bounce), background 0.2s;
    padding: 0;
}
.gc-fav svg {
    width: 13px;
    height: 13px;
    stroke: rgba(255,255,255,0.75);
    fill: none;
    transition: stroke 0.2s, fill 0.2s;
}
.game-card:hover .gc-fav,
.gc-fav.active {
    opacity: 1;
    transform: scale(1);
}
.gc-fav.active {
    background: rgba(201,162,39,0.22);
    border-color: rgba(201,162,39,0.55);
}
.gc-fav.active svg { stroke: #facc15; fill: rgba(250,204,21,0.28); }
.gc-fav:hover { background: rgba(201,162,39,0.18); border-color: rgba(201,162,39,0.4); }
.gc-fav:hover svg { stroke: #facc15; }

/* ── Hover Overlay — dark luxury veil ───────────────────────── */
.game-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(
        160deg,
        rgba(6,8,13,0.5)  0%,
        rgba(6,8,13,0.84) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.22s var(--ease);
    z-index: 3;
    border-radius: inherit;
}
.game-card:hover .game-overlay { opacity: 1; }

/* ── Play Button — 3D green retro CTA ───────────────────────── */
.play-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 22px;
    background: linear-gradient(150deg, #4ade80 0%, #22c55e 45%, #15803d 100%);
    border: 2px solid rgba(255,255,255,0.22);
    border-radius: 9999px;
    color: #06080D;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    outline: 2px solid transparent;
    outline-offset: 3px;
    /* 3D offset — shifts up-left, shadow steps down-right */
    transform: translate(-3px, -3px);
    box-shadow:
        0.5px 0.5px 0 0 #14532d,
        1px 1px 0 0 #14532d,
        1.5px 1.5px 0 0 #14532d,
        2px 2px 0 0 #14532d,
        2.5px 2.5px 0 0 #14532d,
        3px 3px 0 0 #14532d;
    transition: transform 150ms ease, box-shadow 150ms ease;
}
/* Animated dot-texture overlay */
.play-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    opacity: 0.32;
    background-image:
        radial-gradient(rgba(255,255,255,0.8) 20%, transparent 20%),
        radial-gradient(rgba(255,255,255,0.9) 20%, transparent 20%);
    background-position: 0 0, 4px 4px;
    background-size: 8px 8px;
    mix-blend-mode: hard-light;
    animation: playBtnDots 0.5s linear infinite;
    pointer-events: none;
}
@keyframes playBtnDots {
    0%   { background-position: 0 0, 4px 4px; }
    100% { background-position: 8px 0, 12px 4px; }
}
/* Play triangle icon via after */
.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 7px;
    border-color: transparent transparent transparent #06080D;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.play-btn:hover {
    transform: translate(0, 0);
    box-shadow: none;
    color: #06080D;
    text-decoration: none;
}
.play-btn:focus-visible {
    outline-color: #22c55e;
    outline-style: dashed;
}

/* ── Overlay meta (provider + title) ────────────────────────── */
.overlay-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.game-title {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.02em;
    text-align: center;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pill.subtle {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.42);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* ── Safety net: hide legacy info bar ───────────────────────── */
.game-info { display: none !important; }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding: 32px 0 0;
    gap: 6px;
}
.pagination-wrapper button, .pagination-wrapper .page-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}
.pagination-wrapper button:hover, .pagination-wrapper .page-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.15);
}
.pagination-wrapper button.active, .pagination-wrapper .page-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: 600;
}
.no-games-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.no-games-icon { width: 48px; height: 48px; margin: 0 auto 16px; opacity: 0.4; }
.no-games-state h4 { font-size: 18px; color: var(--text-secondary); margin-bottom: 8px; }
.no-games-state p { font-size: 14px; }

/* ============================================================
   LATEST PAYOUTS
   ============================================================ */
.payouts-section {
    padding: 40px 0;
    background: var(--bg-secondary);
}
.payouts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.payout-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    align-items: center;
    transition: all 0.2s;
}
.payout-card:hover { border-color: rgba(255, 255, 255, 0.1); }
.payout-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.payout-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}
.payout-info { display: flex; flex-direction: column; }
.payout-player { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.payout-method { font-size: 11px; color: var(--text-muted); }
.payout-right {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}
.payout-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}
.payout-badge {
    padding: 3px 8px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
}
.payout-time {
    grid-column: 1 / -1;
    font-size: 11px;
    color: var(--text-dim);
    padding-left: 42px;
}
.payouts-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}
.payouts-disclaimer svg { color: var(--accent); }

/* ============================================================
   PAYMENT METHODS
   ============================================================ */
.payments-section {
    padding: 48px 0;
}
.payments-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}
.payment-group { text-align: center; width: 100%; }
.payment-group-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.payment-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    width: 90px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.payment-icon-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}
.payment-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}
.crypto-symbol {
    font-size: 18px;
    font-weight: 800;
    color: var(--gold);
}
.payment-icon-circle svg { color: var(--accent); }
.payment-divider {
    width: 60px;
    height: 1px;
    background: var(--border);
}

/* ============================================================
   AFFILIATE SECTION
   ============================================================ */
.affiliate-section {
    padding: 48px 0;
    background: var(--bg-secondary);
}
.affiliate-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.affiliate-content { padding: 32px 24px; }
.affiliate-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.affiliate-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}
.affiliate-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}
.affiliate-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
.affiliate-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}
.af-icon { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.affiliate-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.affiliate-visual {
    padding: 24px;
    background: rgba(34, 197, 94, 0.03);
    border-top: 1px solid var(--border);
}
.affiliate-stats-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}
.af-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
}
.af-stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}
.footer-top {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.footer-brand-col { max-width: 300px; }
.footer-brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.footer-logo-img { width: 28px; height: 28px; border-radius: var(--radius-sm); }
.footer-brand-name { font-size: 16px; font-weight: 700; }
.footer-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}
.footer-badges-row { display: flex; gap: 6px; }
.footer-badge {
    padding: 4px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.footer-col-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.footer-link-list { display: flex; flex-direction: column; gap: 8px; }
.footer-link-list a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-link-list a:hover { color: var(--text-primary); }
.footer-divider {
    height: 1px;
    background: var(--border);
    margin: 32px 0 20px;
}
.footer-bottom { text-align: center; }
.footer-legal {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 8px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.footer-copyright {
    font-size: 12px;
    color: var(--text-dim);
}

/* ============================================================
   MODALS
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 5000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 16px;
}
.modal.active { display: flex; }
.modal-content, .modal-surface {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow-lg);
}
.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border);
    line-height: 1;
}
.close-modal:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.modal-heading { margin-bottom: 24px; }
.modal-heading .eyebrow {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.modal-heading h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.modal-heading .muted, .modal-heading p.muted {
    font-size: 13px;
    color: var(--text-muted);
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.label-icon { width: 14px; height: 14px; color: var(--text-muted); }
.form-group input, .form-group select {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s;
}
.form-group input::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus {
    border-color: var(--accent);
}
.input-hint {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 4px;
}
.btn-primary {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 15px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.form-message {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    display: none;
}
.form-message.error {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}
.form-message.success {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--accent);
}
.message-icon { width: 16px; height: 16px; flex-shrink: 0; }
p.muted, span.muted { color: var(--text-muted); }
.switcher {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
}
.switcher a { color: var(--accent); font-weight: 500; }
.switcher a:hover { text-decoration: underline; }

/* Google / Social Login */
.social-auth-section { margin-top: 4px; }
.social-btn {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.social-btn:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,0.12); }
.social-btn .social-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.social-btn svg.social-icon {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px;
    max-height: 22px;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    font-size: 12px;
    color: var(--text-dim);
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.btn-google {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}
.btn-google:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,0.12); }
.btn-google img { width: 22px; height: 22px; }
.form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    font-size: 12px;
    color: var(--text-dim);
}
.form-divider::before, .form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Balance Card in Modal */
.balance-card {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}
.balance-card-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.balance-card-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin: 4px 0;
}

/* Deposit / Withdraw Tabs */
.modal-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: var(--bg-card);
    padding: 4px;
    border-radius: var(--radius-md);
}
.modal-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}
.modal-tab.active {
    background: var(--accent);
    color: #000;
    font-weight: 600;
}
.deposit-tab-content { display: none; }
.deposit-tab-content.active { display: block; }

/* Amount presets */
.amount-presets, .fiat-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 10px 0;
}
.amount-preset, .fiat-preset {
    padding: 8px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}
.amount-preset:hover, .fiat-preset:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Profile modal */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.profile-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.profile-row .label { color: var(--text-muted); }
.profile-row .value { color: var(--text-primary); font-weight: 500; }
.btn-logout {
    width: 100%;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    color: #f87171;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-logout:hover { background: rgba(239, 68, 68, 0.2); }

/* Withdraw */
.withdraw-summary {
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin: 16px 0;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
    color: var(--text-secondary);
}
.summary-value { color: var(--text-primary); font-weight: 600; }
.btn-withdraw {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-icon-left { width: 16px; height: 16px; }
.payment-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-dim);
}
.note-icon { width: 14px; height: 14px; }
.section-icon-sm { width: 16px; height: 16px; color: var(--text-muted); }
.withdrawals-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.loading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px;
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
}
.spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Promotional Modal */
.promo-modal .modal-content { max-width: 500px; padding: 0; overflow: hidden; }
.promo-close { z-index: 10; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeInUp 0.8s var(--ease) both; }
.hero-badge { animation: fadeInUp 0.6s var(--ease) 0.1s both; }
.hero-title { animation: fadeInUp 0.6s var(--ease) 0.2s both; }
.hero-subtitle { animation: fadeInUp 0.6s var(--ease) 0.3s both; }
.hero-actions { animation: fadeInUp 0.6s var(--ease) 0.4s both; }
.hero-trust-badges { animation: fadeInUp 0.6s var(--ease) 0.5s both; }

/* Hero Particles (subtle floating dots) */
.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.3;
}
.hero-particles::before {
    top: 20%;
    left: 15%;
    box-shadow:
        40px 60px 0 rgba(34, 197, 94, 0.2),
        120px -20px 0 rgba(250, 204, 21, 0.15),
        200px 80px 0 rgba(34, 197, 94, 0.1),
        300px 30px 0 rgba(250, 204, 21, 0.2),
        80px 120px 0 rgba(34, 197, 94, 0.15);
    animation: float-particles 20s linear infinite;
}
.hero-particles::after {
    top: 40%;
    right: 20%;
    box-shadow:
        -30px -40px 0 rgba(250, 204, 21, 0.15),
        -100px 20px 0 rgba(34, 197, 94, 0.2),
        -180px -60px 0 rgba(250, 204, 21, 0.1),
        -50px 80px 0 rgba(34, 197, 94, 0.15);
    animation: float-particles 25s linear infinite reverse;
}
@keyframes float-particles {
    0% { transform: translate(0, 0); }
    25% { transform: translate(10px, -15px); }
    50% { transform: translate(-5px, 10px); }
    75% { transform: translate(15px, 5px); }
    100% { transform: translate(0, 0); }
}

/* ============================================================
   RESPONSIVE: TABLET (640px+)
   ============================================================ */
@media (min-width: 640px) {
    .container { padding: 0 24px; }
    .hero-section { padding: 60px 0 48px; min-height: 360px; }
    .hero-trust-badges { grid-template-columns: repeat(4, 1fr); }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .mobile-sticky-cta { display: none !important; }
    .hot-game-card { width: 160px; }
    .winner-card { width: 220px; }
    .payouts-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-links-grid { grid-template-columns: repeat(4, 1fr); }
    .toolbar-top { flex-direction: row; align-items: center; justify-content: space-between; }
    .toolbar-search-wrap { width: 280px; }
    .affiliate-card { flex-direction: row; }
    .affiliate-content { flex: 1; padding: 40px 32px; }
    .affiliate-visual {
        width: 280px;
        flex-shrink: 0;
        border-top: none;
        border-left: 1px solid var(--border);
        display: flex;
        align-items: center;
    }
    .affiliate-stats-preview { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE: DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
    .container { padding: 0 32px; }
    .mobile-menu-btn { display: none; }
    .main-nav { display: flex; }
    .hero-section { padding: 80px 0 60px; min-height: 420px; }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .hot-game-card { width: 180px; }
    .winner-card { width: 240px; }
    .payouts-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { flex-direction: row; justify-content: space-between; }
    .footer-brand-col { flex-shrink: 0; }
    .footer-links-grid { flex: 1; max-width: 700px; }
    .toolbar-search-wrap { width: 320px; }
    .affiliate-visual { width: 320px; }
    .section-title { font-size: 26px; }
}

/* ============================================================
   RESPONSIVE: LARGE DESKTOP (1280px+)
   ============================================================ */
@media (min-width: 1280px) {
    .games-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .hot-game-card { width: 200px; }
}

/* ============================================================
   TRUST SECTION
   ============================================================ */
.trust-section {
    padding: 48px 0;
    background: var(--bg-primary);
}
.trust-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}
.trust-card-v2 {
    padding: 20px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: border-color 0.2s;
}
.trust-card-v2:hover { border-color: rgba(255,255,255,0.1); }
.tc-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34,197,94,0.08);
    border-radius: 10px;
    color: var(--accent);
}
.tc-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}
.tc-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}
.trust-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.trust-stat {
    flex: 1;
    text-align: center;
}
.ts-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}
.ts-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.trust-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .trust-cards-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   LATEST WITHDRAWALS PREVIEW (Homepage)
   ============================================================ */
.latest-payouts-preview { padding: 40px 0; }
.live-dot-sm {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
    animation: livePulseSm 2s ease-in-out infinite;
}
@keyframes livePulseSm {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.lp-preview-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s;
}
.lp-item:hover { border-color: var(--border-accent); }
.lp-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}
.lp-info { flex: 1; min-width: 0; }
.lp-text {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lp-text strong { color: var(--text-primary); font-weight: 600; }
.lp-amount { color: var(--accent); font-weight: 700; }
.lp-time {
    font-size: 11px;
    color: var(--text-dim);
    flex-shrink: 0;
    white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 12px; }

/* ============================================================
   CASHIER PAGE
   ============================================================ */
.cashier-page { padding-bottom: 80px; margin-top: 0; }

/* Wallet Card */
.wallet-card {
    margin: 20px 0;
    padding: 24px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(34,197,94,0.04) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    text-align: center;
}
.wallet-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.wallet-amount {
    font-size: clamp(32px, 8vw, 44px);
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
}
.wallet-actions {
    display: flex;
    gap: 10px;
}
.wallet-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}
.wallet-btn-deposit {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 15px var(--accent-glow);
}
.wallet-btn-deposit:hover { background: var(--accent-hover); transform: translateY(-1px); }
.wallet-btn-withdraw {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.wallet-btn-withdraw:hover { border-color: rgba(255,255,255,0.15); }

/* Tab Navigation */
.cashier-tabs-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 100;
    background: var(--bg-primary);
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.cashier-tabs-scroll {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}
.cashier-tabs-scroll::-webkit-scrollbar { display: none; }
.cashier-tab {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border: none;
    background: none;
}
.cashier-tab:hover { color: var(--text-primary); }
.cashier-tab.active {
    background: var(--accent);
    color: #000;
    font-weight: 600;
}
.cashier-tab svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Panels */
.cashier-panel { display: none; padding: 20px 0; }
.cashier-panel.active { display: block; }

/* Segment Control (Crypto / Fiat) */
.segment-control {
    position: relative;
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}
.segment-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.25s;
}
.segment-btn.active { color: #000; }
.segment-indicator {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    background: var(--accent);
    border-radius: var(--radius-sm);
    transition: transform 0.3s var(--ease);
}
.segment-control .segment-btn:last-of-type.active ~ .segment-indicator,
.segment-control[data-active="fiat"] .segment-indicator {
    transform: translateX(100%);
}

/* Method Grid */
.deposit-methods { display: none; }
.deposit-methods.active { display: block; }
.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s;
}
.method-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
.method-card.selected {
    border-color: var(--accent);
    background: rgba(34,197,94,0.05);
    box-shadow: 0 0 0 1px var(--accent);
}
.method-icon-lg {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    border-radius: 10px;
}
.mi-btc { background: rgba(247,147,26,0.1); color: #f7931a; }
.mi-eth { background: rgba(98,126,234,0.1); color: #627eea; }
.mi-usdt { background: rgba(38,161,123,0.1); color: #26a17b; }
.mi-fiat { background: rgba(255,255,255,0.05); color: var(--text-secondary); font-size: 16px; }
.method-name { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.method-tag { font-size: 10px; color: var(--text-muted); }

/* Method Form */
.method-form { animation: fadeInUp 0.3s var(--ease) both; }
.selected-method-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(34,197,94,0.08);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 12px 0 20px;
}
.quick-btn {
    padding: 10px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
}
.quick-btn:hover { border-color: var(--accent); color: var(--accent); }
.quick-btn:active { transform: scale(0.96); }
.cashier-submit {
    margin-top: 4px;
    position: relative;
    overflow: hidden;
}
.cashier-submit:active { transform: scale(0.98); }

/* Withdraw */
.withdraw-balance-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}
.wbc-label { font-size: 13px; color: var(--text-muted); }
.wbc-amount { font-size: 20px; font-weight: 800; color: var(--accent); }

/* Transactions */
.txn-filters {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}
.txn-filter {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
}
.txn-filter:hover { color: var(--text-primary); }
.txn-filter.active { background: var(--accent); color: #000; border-color: var(--accent); }

.cashier-txn-list { min-height: 200px; }
.txn-row-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.txn-row-card:hover { border-color: rgba(255,255,255,0.1); }
.txn-type-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}
.txn-type-icon.deposit { background: rgba(34,197,94,0.1); color: var(--accent); }
.txn-type-icon.withdraw { background: rgba(239,68,68,0.1); color: #f87171; }
.txn-info { flex: 1; min-width: 0; }
.txn-info-amount { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.txn-info-method { font-size: 11px; color: var(--text-muted); }
.txn-right { text-align: right; flex-shrink: 0; }
.txn-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}
.txn-status.completed { background: rgba(34,197,94,0.1); color: var(--accent); }
.txn-status.pending { background: rgba(250,204,21,0.1); color: var(--gold); }
.txn-status.failed { background: rgba(239,68,68,0.1); color: #f87171; }
.txn-time { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

/* Profile */
.profile-card-clean {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
}
.input-readonly {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Confirm Modal */
.cashier-confirm-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 7000;
    align-items: center;
    justify-content: center;
}
.cashier-confirm-modal.active { display: flex; }
.ccm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
}
.ccm-content {
    position: relative;
    width: 90%;
    max-width: 380px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    animation: popupSlideIn 0.3s var(--ease-bounce) both;
}
.ccm-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}
.ccm-details { margin-bottom: 20px; }
.ccm-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}
.ccm-row:last-child { border-bottom: none; }
.ccm-value { color: var(--text-primary); font-weight: 600; }
.ccm-wallet-addr {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ccm-actions { display: flex; flex-direction: column; gap: 8px; }
.ccm-cancel {
    padding: 10px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}
.ccm-cancel:hover { color: var(--text-primary); }

/* Toast */
.cashier-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    box-shadow: var(--shadow-lg);
    z-index: 8000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
}
.cashier-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (min-width: 640px) {
    .cashier-page { margin-top: 64px; }
    .method-grid { grid-template-columns: repeat(3, 1fr); }
    .cashier-tabs-nav { top: var(--header-h); }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--bg-surface); }

/* ============================================================
   SPACEREMIT OVERRIDES
   ============================================================ */
#spaceremit-form .sp-form-container { background: transparent !important; }
#spaceremit-form input { background: var(--bg-card) !important; border: 1px solid var(--border) !important; color: var(--text-primary) !important; border-radius: var(--radius-md) !important; }
#spaceremit-form button { background: var(--accent) !important; color: #000 !important; border-radius: var(--radius-md) !important; }

/* ============================================================
   MOBILE STICKY CTA BAR
   ============================================================ */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: 60px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}
.mobile-sticky-cta .sticky-btn {
    flex: 1;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}
.sticky-btn-play {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.sticky-btn-play:hover { border-color: rgba(255, 255, 255, 0.3); }
.sticky-btn-deposit {
    background: var(--accent);
    color: #000;
    border: none;
}
.sticky-btn-deposit:hover { background: var(--accent-hover); }

/* Add padding to footer so sticky bar doesn't overlap */
.main-footer { padding-bottom: 80px; }

@media (min-width: 640px) {
    .mobile-sticky-cta { display: none !important; }
    .main-footer { padding-bottom: 24px; }
}

/* ============================================================
   POPUP MODALS
   ============================================================ */
.popup-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 6000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    padding: 16px;
}
.popup-modal.active { display: flex; }
.popup-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow);
    animation: popupSlideIn 0.4s var(--ease-bounce) both;
}
@keyframes popupSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.2s;
}
.popup-close:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.popup-icon {
    font-size: 40px;
    margin-bottom: 12px;
    line-height: 1;
}
.popup-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.popup-offer {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}
.popup-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}
.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.popup-btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #000;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 20px var(--accent-glow);
}
.popup-btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.popup-btn-secondary {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}
.popup-btn-secondary:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); }

/* ============================================================
   MOBILE NAV SECTION DIVIDER
   ============================================================ */
.mobile-nav-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 16px;
}
.mobile-nav-section-label {
    padding: 8px 16px 4px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================================
   TOP GAMES SECTION
   ============================================================ */
.top-games-section { padding: 48px 0 32px; }
.top-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 20px;
}
.top-games-section { padding: 48px 0 32px; }

.top-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
}
@media (min-width: 640px)  { .top-games-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .top-games-grid { grid-template-columns: repeat(6, 1fr); } }

.top-game-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 2px 10px rgba(0,0,0,0.35);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
    isolation: isolate;
}
.top-game-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 0 1px rgba(201,162,39,0.45),
        0 10px 34px rgba(0,0,0,0.55),
        0 0 20px rgba(201,162,39,0.1);
}

.top-game-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.top-game-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
    display: block;
}
.top-game-card:hover .top-game-media img {
    transform: scale(1.08);
    filter: brightness(0.7);
}

/* Rank badge */
.top-game-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    background: linear-gradient(135deg, #c9a227, #e8c96a);
    color: #000;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 0 10px rgba(201,162,39,0.3);
    pointer-events: none;
}

/* Hover overlay */
.top-game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6,10,18,0.65);
    backdrop-filter: blur(1px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.25s var(--ease);
    z-index: 2;
    border-radius: inherit;
}
.top-game-card:hover .top-game-overlay { opacity: 1; }

/* Play button inside top-card overlay */
.top-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #c9a227 0%, #e8c96a 50%, #c9a227 100%);
    color: #06080D;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 0 18px rgba(201,162,39,0.4), 0 4px 10px rgba(0,0,0,0.4);
    transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s;
}
.top-play-btn::before { content: '▶'; font-size: 8px; }
.top-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 28px rgba(201,162,39,0.6), 0 6px 14px rgba(0,0,0,0.5);
}
.see-all-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent);
    transition: color 0.2s;
    text-decoration: none;
}
.see-all-link:hover { color: var(--accent-hover); }

/* Section badge with Lucide icon */
.section-icon-badge.star {
    background: linear-gradient(135deg, rgba(250,204,21,0.15), rgba(250,204,21,0.05));
    color: var(--gold);
}
.section-icon-badge i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Popup icon — Lucide replacement for emojis */
.popup-icon-lucide {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.popup-icon-lucide.accent {
    background: var(--accent-subtle);
    color: var(--accent);
}
.popup-icon-lucide.gold {
    background: rgba(250,204,21,0.12);
    color: var(--gold);
}
.icon-32 { width: 32px; height: 32px; }

/* ---- Top Games Responsive ---- */
@media (max-width: 1200px) {
    .top-games-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .top-games-section { padding: 32px 0 24px; }
    .top-games-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .top-game-info { padding: 8px 10px; }
    .top-game-name { font-size: 0.75rem; }
    .top-play-btn { padding: 6px 14px; font-size: 0.75rem; }
}
@media (max-width: 480px) {
    .top-games-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .top-game-overlay { opacity: 1; }
    .top-game-rank { font-size: 0.65rem; padding: 2px 6px; }
    .top-game-info { padding: 6px 8px; }
}

/* ============================================================
   CASINO LAYOUT — Three-Column: Left Sidebar + Main + Right Chat
   ============================================================ */

:root {
    --lsb-w: 260px;
    --rsb-w: 300px;
    --top-bar-h: 58px;
}

/* Override legacy layout */
.app-wrapper { display: block; min-height: unset; }

.casino-layout {
    display: flex;
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
}

/* ============================================================
   LEFT SIDEBAR (lsb-) — Premium Casino Control Panel
   ============================================================ */
.lsb {
    width: var(--lsb-w);
    min-height: 100vh;
    background: linear-gradient(180deg, #111827 0%, #0e1520 55%, #0b1118 100%);
    border-right: 1px solid rgba(255,255,255,0.05);
    box-shadow: 2px 0 24px rgba(0,0,0,0.5), 1px 0 0 rgba(34,197,94,0.04);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(34,197,94,0.12) transparent;
    transition: transform 0.3s var(--ease), width 0.3s var(--ease);
}
.lsb::-webkit-scrollbar { width: 3px; }
.lsb::-webkit-scrollbar-thumb { background: rgba(34,197,94,0.15); border-radius: 2px; }

/* ── Sidebar Logo: 3D retro gold ───────────────────────────── */
.lsb-logo-r-wrap {
    --r-outer: #fbbf24;
    --r-base: #78350f;
    --r-face: #f59e0b;
    --r-lt: #fde68a;
    --r-top: #fef9c3;
    --r-bot: #b45309;
    --r-rt: #d97706;
    border: 4px solid var(--r-outer);
    outline: 2px solid rgba(0,0,0,0.6);
    border-radius: 12px;
    overflow: visible;
    height: 30px;
    display: flex;
    align-items: flex-end;
    flex: 1;
    min-width: 0;
}
.lsb-logo-r-base {
    background: var(--r-base);
    outline: 2px solid rgba(0,0,0,0.5);
    border-radius: inherit;
    height: 30px;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    width: 100%;
}
.lsb-logo-r-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: inherit;
    font-size: 13px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    outline: 2px solid rgba(0,0,0,0.28);
    border: 3px solid;
    border-left-color: var(--r-lt);
    border-top-color: var(--r-top);
    border-bottom-color: var(--r-bot);
    border-right-color: var(--r-rt);
    background-color: var(--r-face);
    cursor: pointer;
    color: #000;
    padding: 5px 10px;
    transform: translateY(-22%);
    text-decoration: none;
    transition: transform 0.1s ease;
    white-space: nowrap;
    line-height: 1;
    width: 100%;
    overflow: hidden;
}
.lsb-logo-r-btn:hover  { transform: translateY(-11%); color: #000; }
.lsb-logo-r-btn:active { transform: translateY(-2%); }
.lsb-logo-r-btn .lsb-logo-text {
    font-size: 13px;
    font-weight: 900;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.02em;
}

/* Brand */
.lsb-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    flex-shrink: 0;
    position: relative;
}
.lsb-brand::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,197,94,0.2), transparent);
    pointer-events: none;
}
.lsb-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.lsb-logo-img {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 0 14px rgba(34,197,94,0.18);
}
.lsb-logo-text {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.72) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.lsb-collapse-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.2s;
    flex-shrink: 0;
}
.lsb-collapse-btn svg { width: 14px; height: 14px; }
.lsb-collapse-btn:hover { color: #fff; background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.1); }

/* ── Promo Cards ─────────────────────────────────────────── */
.lsb-promo-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 12px 8px;
    flex-shrink: 0;
}
.lsb-promo-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 14px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
    position: relative;
    overflow: hidden;
}
/* Inner top-light reflection */
.lsb-promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48%;
    background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
    z-index: 1;
}
/* Hover brightness layer */
.lsb-promo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    opacity: 0;
    transition: opacity 0.22s;
    pointer-events: none;
}
.lsb-promo-card:hover { transform: translateY(-3px) scale(1.03); }
.lsb-promo-card:hover::after { opacity: 1; }
.lsb-promo-card > * { position: relative; z-index: 2; }

/* Promotions — green + teal */
.lsb-promo-promotions {
    background: linear-gradient(135deg, #0d3b2a 0%, #0a2f3d 55%, #071e2e 100%);
    border: 1px solid rgba(34,197,94,0.22);
    box-shadow: 0 4px 24px rgba(34,197,94,0.14), 0 1px 0 rgba(255,255,255,0.05) inset;
}
.lsb-promo-promotions:hover {
    box-shadow: 0 8px 36px rgba(34,197,94,0.3), 0 0 0 1px rgba(34,197,94,0.2), 0 1px 0 rgba(255,255,255,0.07) inset;
}
/* VIP — gold/orange */
.lsb-promo-vip {
    background: linear-gradient(135deg, #3a2206 0%, #2d1a05 55%, #1e1103 100%);
    border: 1px solid rgba(251,191,36,0.22);
    box-shadow: 0 4px 24px rgba(251,191,36,0.12), 0 1px 0 rgba(255,255,255,0.05) inset;
}
.lsb-promo-vip:hover {
    box-shadow: 0 8px 36px rgba(251,191,36,0.28), 0 0 0 1px rgba(251,191,36,0.2), 0 1px 0 rgba(255,255,255,0.07) inset;
}
/* Lottery — purple */
.lsb-promo-lottery {
    background: linear-gradient(135deg, #1e0a42 0%, #150833 55%, #0e0522 100%);
    border: 1px solid rgba(139,92,246,0.25);
    box-shadow: 0 4px 24px rgba(139,92,246,0.14), 0 1px 0 rgba(255,255,255,0.05) inset;
}
.lsb-promo-lottery:hover {
    box-shadow: 0 8px 36px rgba(139,92,246,0.32), 0 0 0 1px rgba(139,92,246,0.22), 0 1px 0 rgba(255,255,255,0.07) inset;
}

.lsb-promo-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lsb-promo-promotions .lsb-promo-icon {
    background: linear-gradient(135deg, rgba(34,197,94,0.22) 0%, rgba(6,182,212,0.12) 100%);
    color: #4ade80;
    box-shadow: 0 0 16px rgba(34,197,94,0.22);
}
.lsb-promo-vip .lsb-promo-icon {
    background: linear-gradient(135deg, rgba(251,191,36,0.22) 0%, rgba(249,115,22,0.12) 100%);
    color: #fcd34d;
    box-shadow: 0 0 16px rgba(251,191,36,0.2);
}
.lsb-promo-lottery .lsb-promo-icon {
    background: linear-gradient(135deg, rgba(139,92,246,0.22) 0%, rgba(217,70,239,0.1) 100%);
    color: #c4b5fd;
    box-shadow: 0 0 16px rgba(139,92,246,0.2);
}
.lsb-promo-icon svg { width: 18px; height: 18px; }

.lsb-promo-info { display: flex; flex-direction: column; gap: 2px; }
.lsb-promo-label {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.lsb-promo-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
}

/* ── Search ──────────────────────────────────────────────── */
.lsb-search-wrap {
    position: relative;
    padding: 8px 12px 12px;
    flex-shrink: 0;
}
.lsb-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-55%);
    width: 14px;
    height: 14px;
    color: rgba(255,255,255,0.22);
    pointer-events: none;
}
.lsb-search-input {
    width: 100%;
    padding: 9px 14px 9px 34px;
    background: #0F172A;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 50px;
    font-size: 12.5px;
    color: #fff;
    outline: none;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.45);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.lsb-search-input::placeholder { color: rgba(255,255,255,0.2); }
.lsb-search-input:focus {
    border-color: rgba(34,197,94,0.35);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.45), 0 0 0 3px rgba(34,197,94,0.08);
}

/* ── Navigation ──────────────────────────────────────────── */
.lsb-nav {
    flex: 1;
    padding: 4px 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.lsb-nav-section-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.24);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 8px 8px 6px;
    margin-bottom: 4px;
}
.lsb-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(255,255,255,0.52);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.18s var(--ease);
    position: relative;
    overflow: hidden;
}
.lsb-nav-link:hover {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.88);
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
}
/* Active — left glowing bar + green tint */
.lsb-nav-link.active {
    background: linear-gradient(90deg, rgba(34,197,94,0.14) 0%, rgba(34,197,94,0.05) 100%);
    color: #4ade80;
    box-shadow: 0 0 14px rgba(34,197,94,0.14), inset 0 1px 0 rgba(34,197,94,0.08);
}
.lsb-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 3px;
    background: linear-gradient(180deg, #22c55e, #16a34a);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px rgba(34,197,94,0.65), 0 0 18px rgba(34,197,94,0.28);
}
.lsb-nav-link.active .lsb-nav-icon { color: #4ade80; }
.lsb-nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    transition: color 0.18s;
}
.lsb-nav-icon svg { width: 16px; height: 16px; }
.lsb-nav-link:hover .lsb-nav-icon { color: rgba(255,255,255,0.75); }
.lsb-nav-text { flex: 1; }
.lsb-nav-badge {
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    line-height: 1.4;
    flex-shrink: 0;
}
.lsb-badge-fire { background: rgba(239,68,68,0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.18); }
.lsb-badge-new { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.18); }
.lsb-badge-gold { background: rgba(251,191,36,0.1); color: #fcd34d; border: 1px solid rgba(251,191,36,0.18); }

/* ── Wager Race ──────────────────────────────────────────── */
.lsb-wager-race {
    padding: 12px;
    flex-shrink: 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    position: relative;
}
.lsb-wager-race::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,197,94,0.18), transparent);
    pointer-events: none;
}
.lsb-wager-race-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    background: linear-gradient(135deg, rgba(34,197,94,0.1) 0%, rgba(34,197,94,0.04) 100%);
    border: 1px solid rgba(34,197,94,0.18);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 18px rgba(34,197,94,0.06), inset 0 1px 0 rgba(255,255,255,0.04);
}
.lsb-wager-race-inner:hover {
    background: linear-gradient(135deg, rgba(34,197,94,0.16) 0%, rgba(34,197,94,0.07) 100%);
    border-color: rgba(34,197,94,0.28);
    box-shadow: 0 0 24px rgba(34,197,94,0.12), inset 0 1px 0 rgba(255,255,255,0.06);
    transform: translateY(-1px);
}
.lsb-wager-icon { font-size: 20px; flex-shrink: 0; }
.lsb-wager-info { display: flex; flex-direction: column; gap: 2px; }
.lsb-wager-title { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.82); }
.lsb-wager-timer { font-size: 11px; color: #4ade80; font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: 0.03em; }

/* ============================================================
   MAIN AREA
   ============================================================ */
.main-area {
    flex: 1;
    margin-left: var(--lsb-w);
    margin-right: var(--rsb-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: margin-right 0.3s var(--ease);
}
.main-area.chat-hidden { margin-right: 0; }

/* ============================================================
   TOP BAR (top-bar-)
   ============================================================ */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 800;
    height: var(--top-bar-h);
    background: rgba(18, 24, 33, 0.95);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.top-bar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 16px;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.top-bar-menu-btn { display: none !important; }
/* 3D hamburger wrapper — hidden until mobile breakpoint */
.tb-hamburger { display: none; }

.top-bar-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 4px;
}
.top-bar-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}
.top-bar-tab svg { width: 15px; height: 15px; }
.top-bar-tab.active {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 12px rgba(34,197,94,0.3);
}
.top-bar-tab:not(.active):hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.top-bar-center { flex: 1; display: flex; justify-content: center; }
.top-bar-balance {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}
.top-bar-balance:hover {
    background: rgba(34,197,94,0.08);
    border-color: rgba(34,197,94,0.2);
}
.top-bar-bal-icon { width: 15px; height: 15px; color: var(--accent); }
.top-bar-bal-amount {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.top-bar-bal-label { font-size: 11px; color: var(--text-muted); }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.top-bar-deposit-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 0 18px rgba(34,197,94,0.3);
    white-space: nowrap;
}
.top-bar-deposit-btn svg { width: 14px; height: 14px; }
.top-bar-deposit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(34,197,94,0.45);
}
.top-bar-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.2s;
    flex-shrink: 0;
}
.top-bar-icon-btn svg { width: 17px; height: 17px; }
.top-bar-icon-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); }
.top-bar-icon-btn.active { color: var(--accent); border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.08); }

.top-bar-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.top-bar-user-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); }
.top-bar-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #1dd3b0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #000;
    flex-shrink: 0;
}
.top-bar-username {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.top-bar-caret { width: 14px; height: 14px; color: var(--text-muted); }

/* ========================================================
   UNIFIED RETRO 3D PRESS BUTTON SYSTEM
   ======================================================== */

/* ── Outer wrap (the border "ring") ── */
.tb-r-wrap {
    border: 4px solid var(--r-outer);
    outline: 2px solid rgba(0,0,0,0.6);
    border-radius: 100px;
    flex-shrink: 0;
    overflow: visible;
    height: 30px;
    display: flex;
    align-items: flex-end;
    position: relative;
}
/* Square variant for icon-only buttons */
.tb-r-wrap.tb-r-sq { border-radius: 11px; }

/* Large variant for hero CTA buttons */
.tb-r-wrap.tb-r-hero {
    height: 50px;
    border-width: 5px;
    outline-width: 3px;
    border-radius: 14px;
}

/* ── Inner base (the "raised platform") ── */
.tb-r-base {
    background: var(--r-base);
    outline: 2px solid rgba(0,0,0,0.5);
    border-radius: inherit;
    height: 30px;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    width: 100%;          /* always fill the wrap so border ring closes on both sides */
}
.tb-r-wrap.tb-r-hero .tb-r-base { height: 50px; }

/* ── Button face (press down on hover) ── */
.tb-r-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: inherit;
    font-size: 12px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    outline: 2px solid rgba(0,0,0,0.28);
    border: 3px solid;
    border-left-color:   var(--r-lt);
    border-top-color:    var(--r-top);
    border-bottom-color: var(--r-bot);
    border-right-color:  var(--r-rt);
    background-color: var(--r-face);
    cursor: pointer;
    color: var(--r-txt, #000);
    padding: 5px 12px;
    transform: translateY(-22%);
    text-decoration: none;
    transition: transform 0.1s ease;
    white-space: nowrap;
    line-height: 1;
    width: 100%;          /* fill the base so the face closes the border ring */
    box-sizing: border-box;
}
/* Icon-only square face */
.tb-r-btn.tb-r-ico { padding: 6px 8px; }
/* Hero-size face */
.tb-r-wrap.tb-r-hero .tb-r-btn {
    font-size: 16px;
    padding: 13px 26px;
    gap: 9px;
    transform: translateY(-18%);
}

.tb-r-btn:hover  { transform: translateY(-11%); color: var(--r-txt, #000); }
.tb-r-btn:active { transform: translateY(-2%); }
.tb-r-wrap.tb-r-hero .tb-r-btn:hover  { transform: translateY(-9%); }
.tb-r-wrap.tb-r-hero .tb-r-btn:active { transform: translateY(-1%); }

/* ── Color variants ──────────────────────────────────────── */
/* Green  — Casino */
.tb-r-casino  { --r-outer:#4ade80; --r-base:#14532d; --r-face:#22c55e; --r-lt:#86efac; --r-top:#d9f99d; --r-bot:#15803d; --r-rt:#16a34a; --r-txt:#000; }
/* Indigo — Betting */
.tb-r-betting { --r-outer:#818cf8; --r-base:#1e1b4b; --r-face:#6366f1; --r-lt:#a5b4fc; --r-top:#c7d2fe; --r-bot:#4338ca; --r-rt:#4f46e5; --r-txt:#fff; }
/* Amber  — Wallet */
.tb-r-wallet  { --r-outer:#fbbf24; --r-base:#78350f; --r-face:#f59e0b; --r-lt:#fde68a; --r-top:#fef9c3; --r-bot:#b45309; --r-rt:#d97706; --r-txt:#000; }
/* Orange — Bonus/Gift */
.tb-r-bonus   { --r-outer:#fb923c; --r-base:#7c2d12; --r-face:#f97316; --r-lt:#fdba74; --r-top:#fed7aa; --r-bot:#c2410c; --r-rt:#ea580c; --r-txt:#000; }
/* Sky    — Chat */
.tb-r-chat    { --r-outer:#38bdf8; --r-base:#0c4a6e; --r-face:#0ea5e9; --r-lt:#7dd3fc; --r-top:#e0f2fe; --r-bot:#0369a1; --r-rt:#0284c7; --r-txt:#000; }
/* Violet — Bell */
.tb-r-bell    { --r-outer:#a78bfa; --r-base:#2e1065; --r-face:#8b5cf6; --r-lt:#c4b5fd; --r-top:#ede9fe; --r-bot:#6d28d9; --r-rt:#7c3aed; --r-txt:#fff; }
/* Teal   — Login */
.tb-r-login   { --r-outer:#5eead4; --r-base:#134e4a; --r-face:#14b8a6; --r-lt:#99f6e4; --r-top:#ccfbf1; --r-bot:#0f766e; --r-rt:#0d9488; --r-txt:#000; }
/* Slate  — Account */
.tb-r-account { --r-outer:#94a3b8; --r-base:#1e293b; --r-face:#334155; --r-lt:#64748b; --r-top:#94a3b8; --r-bot:#0f172a; --r-rt:#1e293b; --r-txt:#f1f5f9; }
/* Rose   — Close/Danger */
.tb-r-rose    { --r-outer:#fca5a5; --r-base:#7f1d1d; --r-face:#ef4444; --r-lt:#fca5a5; --r-top:#fee2e2; --r-bot:#b91c1c; --r-rt:#dc2626; --r-txt:#fff; }
/* Coin-Gold — Balance */
.tb-r-balance { --r-outer:#fcd34d; --r-base:#451a03; --r-face:#f59e0b; --r-lt:#fef08a; --r-top:#fefce8; --r-bot:#92400e; --r-rt:#b45309; --r-txt:#000; }
/* Balance inner: wider pill, tabular nums */
.tb-r-bal-inner { gap: 8px; padding: 5px 16px; }
.tb-r-bal-inner .top-bar-bal-amount { font-size: 14px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tb-r-bal-inner .top-bar-bal-label  { font-size: 10px; font-weight: 700; color: #fff !important; opacity: 0.85; }
.tb-r-bal-inner .tb-coin-icon { width: 18px; height: 18px; filter: drop-shadow(0 0 4px rgba(0,0,0,0.4)); }

/* ── Navbar: Coin Balance Icon ────────────────────────────── */
.tb-coin-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(250,180,0,0.6));
}

/* ── Navbar: Account Dropdown ─────────────────────────────── */
.tb-user-wrap { position: relative; }
#tbUserBtn.open .tb-caret { transform: rotate(180deg); }
.tb-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #000;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(34,197,94,0.35);
}
.tb-username {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tb-caret { color: rgba(255,255,255,0.35); transition: transform 0.2s; }
.tb-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 230px;
    background: #141920;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
    z-index: 9999;
    display: none;
    overflow: hidden;
    animation: tbDropIn 0.18s ease both;
}
.tb-dropdown.open { display: block; }
@keyframes tbDropIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.tb-drop-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
}
.tb-drop-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: #000;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(34,197,94,0.3);
}
.tb-drop-meta { min-width: 0; }
.tb-drop-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tb-drop-email {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.28);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tb-drop-body { padding: 6px; }
.tb-drop-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: background 0.14s, color 0.14s;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}
.tb-drop-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.tb-drop-logout { color: rgba(239,68,68,0.65); }
.tb-drop-logout:hover { background: rgba(239,68,68,0.08); color: #ef4444; }
.tb-drop-form { margin: 0; }

/* ── Navbar: Notification Dropdown ───────────────────────── */
.tb-notif-wrap { position: relative; }
.tb-notif-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 290px;
    background: #141920;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
    z-index: 9999;
    display: none;
    overflow: hidden;
    animation: tbDropIn 0.18s ease both;
}
.tb-notif-dropdown.open { display: block; }
.tb-notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px 11px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
}
.tb-notif-head-left {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(139,92,246,0.8);
}
.tb-notif-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.tb-notif-mark-all {
    font-size: 11px;
    color: #8b5cf6;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    transition: background 0.15s;
}
.tb-notif-mark-all:hover { background: rgba(139,92,246,0.12); color: #a78bfa; }
.tb-notif-body {
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(139,92,246,0.15) transparent;
}
.tb-notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    color: rgba(255,255,255,0.18);
    gap: 10px;
}
.tb-notif-empty p { font-size: 12px; margin: 0; color: rgba(255,255,255,0.25); }
.tb-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    transition: background 0.14s;
    cursor: pointer;
}
.tb-notif-item:hover { background: rgba(255,255,255,0.05); }
.tb-notif-item.unread { background: rgba(139,92,246,0.06); }
.tb-notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(139,92,246,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #a78bfa;
}
.tb-notif-text { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.tb-notif-time { font-size: 10px; color: rgba(255,255,255,0.25); margin-top: 2px; display: block; }
.tb-notif-content { flex: 1; min-width: 0; }
.tb-notif-item-title { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.88); line-height: 1.4; margin-bottom: 2px; }
.tb-notif-item-msg   { font-size: 11px; color: rgba(255,255,255,0.52); line-height: 1.5; }
.tb-notif-item-time  { font-size: 10px; color: rgba(255,255,255,0.25); margin-top: 3px; }
.tb-notif-icon--deposit  { background: rgba(34,197,94,0.18);  color: #4ade80; }
.tb-notif-icon--welcome  { background: rgba(139,92,246,0.2);  color: #a78bfa; }
.tb-notif-icon--promo    { background: rgba(251,191,36,0.18); color: #fbbf24; }
.tb-notif-icon--system   { background: rgba(99,102,241,0.18); color: #818cf8; }
.tb-notif-icon--info     { background: rgba(59,130,246,0.18); color: #60a5fa; }
.tb-notif-item.unread .tb-notif-item-title { color: #fff; }

/* ── Sidebar: Image Banner Row ────────────────────────────── */
.lsb-banner-row {
    display: flex;
    gap: 5px;
    padding: 10px 10px 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.lsb-banner-card {
    flex: 1;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}
.lsb-banner-card:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 22px rgba(0,0,0,0.45);
}
.lsb-banner-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* ── Sidebar: Wager Race PNG Banner + Timer Overlay ───────── */
.lsb-wager-banner-wrap {
    margin: 4px 10px 10px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.lsb-wager-banner-link {
    display: block;
    position: relative;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lsb-wager-banner-link:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(34,97,246,0.3);
}
.lsb-wager-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
.lsb-wager-timer-overlay {
    position: absolute;
    bottom: 10px;
    left: 44px;
    pointer-events: none;
}
.lsb-wager-timer-val {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(99,102,246,0.9), 0 2px 6px rgba(0,0,0,0.8);
}

/* ── Sidebar: Nav Divider + Affiliate Link ────────────────── */
.lsb-nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 6px 8px;
}
.lsb-nav-affiliate .lsb-nav-icon svg { color: #a78bfa; }
.lsb-nav-affiliate:hover .lsb-nav-text { color: #a78bfa; }

/* ========================================================
   HERO CLAIM BONUS — dark neumorphic (neu-button style)
   ======================================================== */
.btn-hero-claim {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #1b2740;
    border-radius: 50px;
    box-shadow: inset 4px 4px 10px #10192a, inset -4px -4px 10px #263854;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 26px;
    transition: all 0.2s ease-in-out;
    border: 2px solid rgba(255,255,255,0.06);
    text-decoration: none;
    white-space: nowrap;
}
.btn-hero-claim:hover {
    box-shadow: inset 2px 2px 6px #10192a, inset -2px -2px 6px #263854,
                2px 2px 8px rgba(0,0,0,0.4), -2px -2px 8px rgba(38,56,84,0.35);
    color: rgba(255,255,255,0.92);
}
.btn-hero-claim:focus {
    outline: none;
    box-shadow: inset 2px 2px 6px #10192a, inset -2px -2px 6px #263854,
                0 0 0 2px rgba(74,222,128,0.35);
}

/* ========================================================
   HERO REGISTER — marcelodolza animated splash (green)
   ======================================================== */
.hero-reg-btn {
    --g-white: #f0fff4;
    --g100: #bbf7d0;
    --g200: #86efac;
    --g300: #4ade80;
    --g400: #16a34a;
    --g500: #14532d;
    --hrb-r: 18px;
    border-radius: var(--hrb-r);
    outline: none;
    cursor: pointer;
    font-size: 20px;
    font-family: 'Inter', Arial, sans-serif;
    background: transparent;
    letter-spacing: -0.5px;
    border: 0;
    position: relative;
    width: 230px;
    height: 76px;
}
.hrb-bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    filter: blur(1px);
}
.hrb-bg::before,
.hrb-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: calc(var(--hrb-r) * 1.1);
    background: var(--g500);
}
.hrb-bg::before {
    filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow:
        -7px 6px 0 0 rgba(22,163,74,0.4),
        -14px 12px 0 0 rgba(22,163,74,0.3),
        -21px 18px 4px 0 rgba(22,163,74,0.25),
        -28px 24px 8px 0 rgba(22,163,74,0.15),
        -35px 30px 12px 0 rgba(22,163,74,0.12),
        -42px 36px 16px 0 rgba(22,163,74,0.08),
        -56px 42px 20px 0 rgba(22,163,74,0.05);
}
.hrb-wrap {
    border-radius: inherit;
    overflow: hidden;
    height: 100%;
    transform: translate(6px, -6px);
    padding: 3px;
    background: linear-gradient(to bottom, var(--g100) 0%, var(--g400) 100%);
    position: relative;
    transition: all 0.3s ease;
}
.hrb-outline {
    position: absolute;
    overflow: hidden;
    inset: 0;
    opacity: 0;
    border-radius: inherit;
    transition: all 0.4s ease;
}
.hrb-outline::before {
    content: "";
    position: absolute;
    inset: 2px;
    width: 120px;
    height: 300px;
    margin: auto;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.9) 50%, transparent 100%);
    animation: hrbSpin 3s linear infinite;
    animation-play-state: paused;
}
.hrb-content {
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
    height: 100%;
    gap: 14px;
    border-radius: calc(var(--hrb-r) * 0.85);
    font-weight: 600;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, var(--g300) 0%, var(--g400) 100%);
    box-shadow: inset -2px 12px 11px -5px var(--g200), inset 1px -3px 11px 0 rgba(0,0,0,0.35);
}
.hrb-content::before {
    content: "";
    inset: 0;
    position: absolute;
    z-index: 10;
    width: 80%;
    top: 45%;
    bottom: 35%;
    opacity: 0.7;
    margin: auto;
    background: linear-gradient(to bottom, transparent, var(--g400));
    filter: brightness(1.3) blur(5px);
}
.hrb-char {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hrb-char span {
    display: block;
    color: transparent;
    position: relative;
}
.hrb-char span:nth-child(5) { margin-left: 5px; }
.hrb-state-1 span:nth-child(5) { margin-right: -3px; }
.hrb-state-1 span {
    animation: hrbCharAppear 1.2s ease backwards calc(var(--i) * 0.03s);
}
.hrb-state-1 span::before,
.hrb-char span::after {
    content: attr(data-label);
    position: absolute;
    color: var(--g-white);
    text-shadow: -1px 1px 2px var(--g500);
    left: 0;
}
.hrb-char span::before {
    opacity: 0;
    transform: translateY(-100%);
}
.hrb-state-2 {
    position: absolute;
    left: 72px;
}
.hrb-state-2 span::after { opacity: 1; }
.hrb-icon {
    animation: hrbResetArrow 0.8s cubic-bezier(0.7,-0.5,0.3,1.2) forwards;
    z-index: 10;
}
.hrb-icon div,
.hrb-icon div::before,
.hrb-icon div::after {
    height: 3px;
    border-radius: 1px;
    background-color: var(--g-white);
}
.hrb-icon div::before,
.hrb-icon div::after {
    content: "";
    position: absolute;
    right: 0;
    transform-origin: center right;
    width: 14px;
    border-radius: 15px;
    transition: all 0.3s ease;
}
.hrb-icon div {
    position: relative;
    width: 24px;
    box-shadow: -2px 2px 5px var(--g400);
    transform: scale(0.9);
    background: linear-gradient(to bottom, var(--g-white), var(--g100));
    animation: hrbSwingArrow 1s ease-in-out infinite;
    animation-play-state: paused;
}
.hrb-icon div::before {
    transform: rotate(44deg);
    top: 1px;
    box-shadow: 1px -2px 3px -1px var(--g400);
    animation: hrbRotateArrow1 1s linear infinite;
    animation-play-state: paused;
}
.hrb-icon div::after {
    bottom: 1px;
    transform: rotate(316deg);
    box-shadow: -2px 2px 3px 0 var(--g400);
    background: linear-gradient(200deg, var(--g-white), var(--g100));
    animation: hrbRotateArrow2 1s linear infinite;
    animation-play-state: paused;
}
.hrb-path {
    position: absolute;
    z-index: 12;
    bottom: 0;
    left: 0;
    right: 0;
    stroke-dasharray: 150 480;
    stroke-dashoffset: 150;
    pointer-events: none;
    stroke: var(--g300);
}
.hrb-splash {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    stroke-dasharray: 60 60;
    stroke-dashoffset: 60;
    transform: translate(-17%, -31%);
    stroke: var(--g300);
}
/* ── Hover ── */
.hero-reg-btn:hover .hrb-state-1 span::before {
    animation: hrbCharAppear 0.7s ease calc(var(--i) * 0.03s);
}
.hero-reg-btn:hover .hrb-state-1 span::after {
    opacity: 1;
    animation: hrbCharDisappear 0.7s ease calc(var(--i) * 0.03s);
}
.hero-reg-btn:hover .hrb-wrap { transform: translate(8px, -8px); }
.hero-reg-btn:hover .hrb-outline { opacity: 1; }
.hero-reg-btn:hover .hrb-outline::before,
.hero-reg-btn:hover .hrb-icon div,
.hero-reg-btn:hover .hrb-icon div::before,
.hero-reg-btn:hover .hrb-icon div::after { animation-play-state: running; }
/* ── Active ── */
.hero-reg-btn:active .hrb-bg::before {
    filter: blur(5px);
    opacity: 0.7;
    box-shadow: -7px 6px 0 0 rgba(22,163,74,0.4), -14px 12px 0 0 rgba(22,163,74,0.25);
}
.hero-reg-btn:active .hrb-content {
    box-shadow: inset -1px 12px 8px -5px rgba(20,83,45,0.4), inset 0 -3px 8px 0 var(--g200);
}
.hero-reg-btn:active .hrb-wrap { transform: translate(3px, -3px); }
.hero-reg-btn:active .hrb-splash {
    animation: hrbSplash 0.8s cubic-bezier(0.3,0,0,1) forwards 0.05s;
}
/* ── Focus ── */
.hero-reg-btn:focus .hrb-path {
    animation: hrbPath 1.6s ease forwards 0.2s;
}
.hero-reg-btn:focus .hrb-icon {
    animation: hrbArrow 1s cubic-bezier(0.7,-0.5,0.3,1.5) forwards;
}
.hrb-state-2 span::after,
.hero-reg-btn:focus .hrb-state-1 span {
    animation: hrbCharDisappear 0.5s ease forwards calc(var(--i) * 0.03s);
}
.hero-reg-btn:focus .hrb-state-2 span::after {
    animation: hrbCharAppear 1s ease backwards calc(var(--i) * 0.03s);
}
/* ── Keyframes ── */
@keyframes hrbSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes hrbCharAppear {
    0%   { transform: translateY(50%);  opacity: 0; filter: blur(20px); }
    20%  { transform: translateY(70%);  opacity: 1; }
    50%  { transform: translateY(-15%); opacity: 1; filter: blur(0); }
    100% { transform: translateY(0);    opacity: 1; }
}
@keyframes hrbCharDisappear {
    0%   { transform: translateY(0);    opacity: 1; }
    100% { transform: translateY(-70%); opacity: 0; filter: blur(3px); }
}
@keyframes hrbArrow {
    0%  { opacity: 1; }
    50% { transform: translateX(60px);   opacity: 0; }
    51% { transform: translateX(-200px); opacity: 0; }
    100%{ transform: translateX(-128px); opacity: 1; }
}
@keyframes hrbSwingArrow {
    50% { transform: translateX(5px) scale(0.9); }
}
@keyframes hrbRotateArrow1 {
    50% { transform: rotate(30deg); }
    80% { transform: rotate(55deg); }
}
@keyframes hrbRotateArrow2 {
    50% { transform: rotate(330deg); }
    80% { transform: rotate(300deg); }
}
@keyframes hrbResetArrow {
    0%   { transform: translateX(-128px); }
    100% { transform: translateX(0); }
}
@keyframes hrbPath {
    from { stroke: white; }
    to   { stroke-dashoffset: -480; stroke: #86efac; }
}
@keyframes hrbSplash {
    to { stroke-dasharray: 2 60; stroke-dashoffset: -60; }
}

/* ── Hero: Google button (keep existing) ────────────────── */
.btn-hero-google {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    cursor: pointer;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
    margin-top: 16px;
}
.btn-hero-google:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.28);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero-google-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

/* ── Hero: Mobile background swap ────────────────────────── */
@media (max-width: 768px) {
    .hero-bg {
        background-image: url('/minimal/img/herobg_mob.png') !important;
        background-position: center center !important;
        background-size: cover !important;
    }
}

/* Override main-content padding for new layout */
.main-area .main-content {
    flex: 1;
    padding-top: 0;
}

/* Override live-activity-bar for new layout */
.main-area .live-activity-bar {
    position: sticky;
    top: var(--top-bar-h);
    left: auto;
    right: auto;
    z-index: 700;
    width: 100%;
}

/* ---- Missing utility classes ---- */
.eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
    display: block;
}
.muted { color: var(--text-muted); }
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 10px;
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    pointer-events: none;
}
.search-input {
    padding: 9px 14px 9px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: var(--accent); }
.toolbar-panel { padding: 28px 0 16px; }
.toolbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.toolbar-search { width: 280px; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}
.hot-games-header, .winners-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.hot-games-title, .winners-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hot-games-title h3, .winners-title h3 { font-size: 18px; font-weight: 700; }
.hot-badge, .winners-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: var(--radius-full);
    color: #f87171;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.fire-icon, .trophy-icon { font-size: 18px; }
.hot-games-nav, .winners-nav { display: flex; gap: 6px; }
.hot-nav-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}
.hot-nav-btn svg { width: 16px; height: 16px; }
.hot-nav-btn:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); }

/* ============================================================
   RIGHT SIDEBAR — LIVE CHAT (rsb-) — High-Density & Energy
   ============================================================ */
.rsb {
    width: var(--rsb-w);
    min-height: 100vh;
    background: #0c1524;
    border-left: 5px solid #38bdf8;
    outline-offset: -5px;
    outline: 3px solid rgba(0,0,0,0.7);
    box-shadow: -4px 0 20px rgba(14,165,233,0.12), -8px 0 40px rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease);
}
.rsb.hidden { transform: translateX(100%); }

/* ============================================================
   LIVE CHAT — FULL 3D REDESIGN
   Panel uses the same bevel-border depth concept as buttons
   ============================================================ */

/* Chat Header: raised 3D bar */
.rsb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    flex-shrink: 0;
    background: #162440;
    border-bottom: 3px solid #0a0f1c;
    border-top: 2px solid #1e3a5f;
    box-shadow: 0 4px 10px rgba(0,0,0,0.45), inset 0 1px 0 rgba(56,189,248,0.12);
    position: relative;
}
.rsb-header-left { display: flex; align-items: center; gap: 8px; }
.rsb-live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-live 1.5s infinite;
    flex-shrink: 0;
    box-shadow: 0 0 7px rgba(239,68,68,0.65);
}
.rsb-title {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.rsb-header-right { display: flex; align-items: center; gap: 8px; }
.rsb-online-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    background: #0a1828;
    border: 2px solid;
    border-top-color: #071020;
    border-left-color: #071020;
    border-bottom-color: #1e3050;
    border-right-color: #1e3050;
    border-radius: 20px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5), inset -1px -1px 3px rgba(14,37,70,0.3);
}
.rsb-online-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: livePulseSm 2s ease-in-out infinite;
    box-shadow: 0 0 5px rgba(34,197,94,0.7);
}
.rsb-online-count { font-size: 11px; font-weight: 700; color: #4ade80; }

/* ── Chat Messages: deep inset “screen” */
.rsb-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #080e1a;
    box-shadow: inset 4px 4px 16px rgba(0,0,0,0.65), inset -2px -2px 8px rgba(14,37,70,0.3);
    scrollbar-width: thin;
    scrollbar-color: rgba(14,165,233,0.15) transparent;
}
.rsb-messages::-webkit-scrollbar { width: 3px; }
.rsb-messages::-webkit-scrollbar-thumb { background: rgba(14,165,233,0.2); border-radius: 2px; }

/* Regular message row: raised 3D tile */
.rsb-msg {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 7px 9px;
    border-radius: 10px;
    background: #111e30;
    border: 2px solid;
    border-top-color: #1a2e4a;
    border-left-color: #1a2e4a;
    border-bottom-color: #080d18;
    border-right-color: #080d18;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.4), -1px -1px 3px rgba(20,40,70,0.2);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.rsb-msg:hover {
    transform: translateY(-1px);
    box-shadow: 3px 3px 8px rgba(0,0,0,0.5), -1px -1px 4px rgba(20,40,70,0.25);
}

/* Admin/Mod rows: raised with colored glow */
.rsb-msg-admin {
    background: #131628;
    border-top-color: #1d2240;
    border-left-color: #1d2240;
    border-bottom-color: #070912;
    border-right-color: #070912;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.4), 0 0 12px rgba(139,92,246,0.06), -1px -1px 3px rgba(20,20,60,0.2);
}
.rsb-msg-admin:hover {
    box-shadow: 3px 3px 8px rgba(0,0,0,0.5), 0 0 16px rgba(139,92,246,0.1);
}

/* Avatar: 3D bevel ring */
.rsb-msg-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    margin-top: 1px;
    border: 2px solid;
    border-top-color: rgba(255,255,255,0.22);
    border-left-color: rgba(255,255,255,0.22);
    border-bottom-color: rgba(0,0,0,0.45);
    border-right-color: rgba(0,0,0,0.45);
    box-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}
.rsb-avatar-admin {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 2px 2px 6px rgba(0,0,0,0.5), 0 0 8px rgba(34,197,94,0.3);
}
.rsb-avatar-mod {
    background: linear-gradient(135deg, #8b5cf6, #5b21b6);
    box-shadow: 2px 2px 6px rgba(0,0,0,0.5), 0 0 8px rgba(139,92,246,0.3);
}

.rsb-msg-body { flex: 1; min-width: 0; }
.rsb-msg-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3px;
    flex-wrap: nowrap;
    overflow: hidden;
}
.rsb-msg-name {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Badges: 3D raised pill */
.rsb-badge-admin {
    font-size: 8px;
    font-weight: 800;
    padding: 1px 6px;
    background: #22c55e;
    color: #000;
    border-radius: 4px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
    border: 1px solid;
    border-top-color: #4ade80;
    border-left-color: #4ade80;
    border-bottom-color: #15803d;
    border-right-color: #16a34a;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.rsb-badge-mod {
    font-size: 8px;
    font-weight: 800;
    padding: 1px 6px;
    background: #8b5cf6;
    color: #fff;
    border-radius: 4px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
    border: 1px solid;
    border-top-color: #c4b5fd;
    border-left-color: #c4b5fd;
    border-bottom-color: #6d28d9;
    border-right-color: #7c3aed;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* VIP badge */
.rsb-badge-vip {
    font-size: 8px; font-weight: 800; padding: 1px 6px;
    background: #f59e0b; color: #000; border-radius: 4px;
    letter-spacing: 0.06em; text-transform: uppercase; flex-shrink: 0;
    border: 1px solid; border-top-color: #fcd34d; border-left-color: #fcd34d;
    border-bottom-color: #b45309; border-right-color: #d97706;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
/* High Roller badge */
.rsb-badge-hr {
    font-size: 8px; font-weight: 800; padding: 1px 6px;
    background: #e63946; color: #fff; border-radius: 4px;
    letter-spacing: 0.06em; text-transform: uppercase; flex-shrink: 0;
    border: 1px solid; border-top-color: #ff6b74; border-left-color: #ff6b74;
    border-bottom-color: #9b0000; border-right-color: #c62828;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
/* Real user badge */
.rsb-badge-real {
    font-size: 8px; font-weight: 800; padding: 1px 6px;
    background: #0ea5e9; color: #fff; border-radius: 4px;
    letter-spacing: 0.06em; text-transform: uppercase; flex-shrink: 0;
    border: 1px solid; border-top-color: #7dd3fc; border-left-color: #7dd3fc;
    border-bottom-color: #0369a1; border-right-color: #0284c7;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
/* Real user message row highlight */
.rsb-msg-real { border-left: 2px solid rgba(14,165,233,0.45); }
/* Game context chip */
.rsb-game-tag {
    display: inline-block; margin-top: 4px;
    font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px; padding: 1px 6px; letter-spacing: 0.04em;
}
/* Loading state */
.rsb-chat-loading {
    display: flex; align-items: center; gap: 8px; justify-content: center;
    padding: 24px 0; color: rgba(255,255,255,0.3); font-size: 12px;
}

.rsb-msg-time { font-size: 9.5px; color: rgba(255,255,255,0.18); margin-left: auto; flex-shrink: 0; white-space: nowrap; }

/* Message text: subtle inset panel */
.rsb-msg-text {
    font-size: 11.5px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    word-break: break-word;
    margin-top: 1px;
    padding: 5px 8px;
    background: #0d1828;
    border-radius: 7px;
    border: 1px solid;
    border-top-color: #060c18;
    border-left-color: #060c18;
    border-bottom-color: #162440;
    border-right-color: #162440;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5), inset -1px -1px 3px rgba(14,37,70,0.2);
}

/* ── Chat Input: raised platform + neumorphic inset field */
.rsb-input-area {
    padding: 12px 12px 16px;
    flex-shrink: 0;
    background: #162440;
    border-top: 3px solid #1e3a5f;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.5), inset 0 2px 0 rgba(56,189,248,0.07);
}
.rsb-input-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #070e1a;
    border: 2px solid;
    border-top-color: #040a14;
    border-left-color: #040a14;
    border-bottom-color: #1a2e4a;
    border-right-color: #1a2e4a;
    border-radius: 50px;
    padding: 7px 6px 7px 16px;
    box-shadow: inset 4px 4px 10px rgba(0,0,0,0.6), inset -2px -2px 6px rgba(14,37,70,0.25);
    transition: box-shadow 0.2s, border-color 0.2s;
    overflow: visible;
    position: relative;
}
.rsb-input-wrap:focus-within {
    border-bottom-color: rgba(14,165,233,0.45);
    border-right-color:  rgba(14,165,233,0.45);
    box-shadow: inset 4px 4px 10px rgba(0,0,0,0.6), inset -2px -2px 6px rgba(14,37,70,0.25),
                0 0 0 2px rgba(14,165,233,0.12);
}
.rsb-chat-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 12.5px;
    color: rgba(255,255,255,0.85);
    padding: 4px 0;
}
.rsb-chat-input::placeholder { color: rgba(255,255,255,0.2); }
.rsb-send-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #000;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s;
    box-shadow: 0 0 12px rgba(34,197,94,0.38), 0 2px 8px rgba(0,0,0,0.3);
}
.rsb-send-btn svg { width: 13px; height: 13px; }
.rsb-send-btn:hover {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    box-shadow: 0 0 20px rgba(34,197,94,0.58), 0 4px 12px rgba(0,0,0,0.3);
    transform: scale(1.1);
}
.rsb-login-prompt {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.28);
}
.rsb-login-link { color: #4ade80; font-weight: 600; text-decoration: none; }
.rsb-login-link:hover { text-decoration: underline; color: #22c55e; }

/* Mobile Chat FAB wrapper — 3D retro */
.mobile-chat-fab-wrap {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 16px;
    z-index: 500;
}
.mobile-chat-fab-wrap .tb-r-wrap { border-width: 5px; height: 44px; }
.mobile-chat-fab-wrap .tb-r-base { height: 44px; }
.mobile-chat-fab-wrap .tb-r-btn.tb-r-ico { padding: 11px 12px; }
.mobile-chat-count { display: none !important; }

/* Mobile Left Sidebar Overlay (backdrop only) */
.lsb-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
}
.lsb-mobile-overlay.open { opacity: 1; visibility: visible; }

/* Mobile-open state — sidebar slides in over the backdrop */
.lsb.mobile-open {
    transform: translateX(0) !important;
    z-index: 1001;
}

/* ============================================================
   RESPONSIVE: SIDEBAR LAYOUT
   ============================================================ */

/* Large desktop: full 3-column */
@media (min-width: 1400px) {
    :root { --lsb-w: 260px; --rsb-w: 300px; }
}

/* Medium desktop: smaller sidebars */
@media (min-width: 1024px) and (max-width: 1399px) {
    :root { --lsb-w: 220px; --rsb-w: 270px; }
    .lsb-promo-label { font-size: 12px; }
}

/* Tablet: hide right sidebar, keep left */
@media (max-width: 1023px) {
    .rsb { display: none; }
    .main-area { margin-right: 0; }
    .mobile-chat-fab-wrap { display: block; }
}

/* Small tablet: hide left sidebar too, show menu btn */
@media (max-width: 768px) {
    .lsb { transform: translateX(-100%); }
    .lsb-mobile-overlay { display: block; }
    .main-area { margin-left: 0; }
    .tb-hamburger { display: block; }
    .top-bar-username { display: none; }
    .tb-username { display: none; }
    .top-bar-bal-label { display: none; }
    .tb-coin-icon { width: 18px; height: 18px; }
    .tb-r-btn { font-size: 11px; padding: 4px 9px; }
    .tb-r-btn.tb-r-ico { padding: 6px 7px; }
    .tb-r-wrap { height: 28px; border-width: 4px; outline-width: 2px; }
    .tb-r-base { height: 28px; }
}

@media (max-width: 480px) {
    /* Hide navbar-only variants — but keep hero (.tb-r-hero) and banner overlay (.cat-ob) visible */
    .tb-r-wrap.tb-r-casino:not(.cat-ob):not(.tb-r-hero),
    .tb-r-wrap.tb-r-betting:not(.cat-ob):not(.tb-r-hero) { display: none; }
    .tb-r-wrap.tb-r-wallet:not(.cat-ob):not(.tb-r-hero)  { display: none; }
    .top-bar-center { display: none; }
    .tb-username { display: none; }
    .btn-hero-google span { display: none; }
    .btn-hero-google { padding: 11px 14px; }
    /* Hero buttons full-width on small screens */
    .tb-r-wrap.tb-r-hero { width: 100%; }
    .tb-r-wrap.tb-r-hero .tb-r-btn { width: 100%; justify-content: center; }
}

/* ── Sidebar: Collapsed state (desktop) ─────────────────── */
.lsb.lsb-collapsed {
    width: 56px;
    overflow: hidden;
}
.lsb.lsb-collapsed .lsb-logo-text,
.lsb.lsb-collapsed .lsb-banner-row,
.lsb.lsb-collapsed .lsb-search-wrap,
.lsb.lsb-collapsed .lsb-nav-section-label,
.lsb.lsb-collapsed .lsb-nav-text,
.lsb.lsb-collapsed .lsb-nav-badge,
.lsb.lsb-collapsed .lsb-nav-ext,
.lsb.lsb-collapsed .lsb-wager-banner-wrap { display: none; }
.lsb.lsb-collapsed .lsb-nav-link { justify-content: center; padding: 10px 0; }
.lsb.lsb-collapsed .lsb-nav-icon { margin: 0; }
.lsb.lsb-collapsed .lsb-logo-link { justify-content: center; }
.lsb.lsb-collapsed .lsb-brand { padding: 0 8px; }
.main-area.lsb-collapsed { margin-left: 56px; }
