@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #07050f;
    --bg-main: radial-gradient(circle at top, #140e2b 0%, #07050f 100%);
    --bg-sidebar: rgba(11, 8, 24, 0.75);
    --bg-card: rgba(22, 19, 44, 0.55);
    --bg-card-hover: rgba(30, 26, 60, 0.75);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-color-glow: rgba(139, 92, 246, 0.15);
    
    --primary: #a78bfa;
    --primary-glow: 0 0 15px rgba(167, 139, 250, 0.35);
    
    --secondary: #34d399;
    --secondary-glow: 0 0 15px rgba(52, 211, 153, 0.3);
    
    --accent: #fbbf24;
    --accent-glow: 0 0 18px rgba(251, 191, 36, 0.45);
    
    --danger: #f87171;
    
    --text-main: #f3f4f6;
    --text-muted: #8e8baf;
    
    --sidebar-width: 300px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    user-select: none;
}

body {
    background: var(--bg-main);
    background-attachment: fixed;
    color: var(--text-main);
    overflow: hidden;
    height: 100vh;
    display: flex;
    font-family: 'Outfit', 'Inter', sans-serif;
}

/* Particle & confetti canvases */
#bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
#confetti-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9998;
    display: none;
}

/* Avatar ring pulse for logged-in user */
@keyframes avatarRing {
    0%, 100% { box-shadow: 0 0 0 2px var(--primary), 0 0 12px rgba(139,92,246,0.4); }
    50%       { box-shadow: 0 0 0 3px var(--primary), 0 0 20px rgba(139,92,246,0.7); }
}
.user-nav-avatar {
    animation: avatarRing 3s ease-in-out infinite;
}


/* Scrollbar Customize */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Glass panel background helper */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.09);
    border-top-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5), 0 0 15px rgba(167, 139, 250, 0.04);
}

/* App main structure */
.app-container {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* ========================================================
   SIDEBAR & CHAT (LEFT COLUMN - RBXBET STYLE)
   ======================================================== */
.sidebar {
    width: var(--sidebar-width);
    height: 100%;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.logo-container {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.logo-icon {
    font-size: 24px;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Chat structure inside sidebar */
.chat-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: background 0.2s;
}
.chat-header:hover {
    background: rgba(255,255,255,0.03);
}

.chat-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chat-online-count {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.10);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.25);
    display: flex;
    align-items: center;
    gap: 2px;
    box-shadow: 0 0 10px rgba(16,185,129,0.08);
    letter-spacing: 0.2px;
}

@keyframes onlinePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px #10b981; transform: scale(1); }
    50%       { opacity: 0.5; box-shadow: 0 0 12px #10b981; transform: scale(1.3); }
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: background 0.2s, border-color 0.2s;
}
.chat-msg:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.04);
}

.chat-msg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-msg-user {
    font-size: 12px;
    font-weight: 700;
    color: #a78bfa;
}

.chat-msg-user.staff {
    color: var(--danger);
    text-shadow: 0 0 4px rgba(239, 68, 68, 0.3);
}
.chat-user-clickable {
    cursor: pointer;
    transition: color 0.15s, text-shadow 0.15s;
}
.chat-user-clickable:hover {
    color: #c4b5fd !important;
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.6);
    text-decoration: underline;
}
.profile-clickable {
    cursor: pointer;
    transition: box-shadow 0.15s, transform 0.15s;
}
.profile-clickable:hover {
    box-shadow: 0 0 0 2px var(--primary), 0 0 12px rgba(139, 92, 246, 0.4) !important;
    transform: scale(1.07);
}
.leaderboard-row {
    transition: background 0.15s;
    cursor: pointer;
}
.leaderboard-row:hover td {
    background: rgba(139, 92, 246, 0.07);
}


.chat-msg-level {
    font-size: 9px;
    color: var(--accent);
    background: rgba(251, 191, 36, 0.08);
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 700;
}

.chat-msg-text {
    font-size: 12px;
    color: var(--text-main);
    word-break: break-word;
    line-height: 1.35;
}

.chat-msg-time {
    font-size: 9px;
    color: var(--text-muted);
    align-self: flex-end;
}

.chat-input-area {
    padding: 14px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
    background: rgba(0,0,0,0.1);
}

.chat-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-main);
    font-size: 12px;
    outline: none;
}

.chat-input:focus {
    border-color: var(--primary);
}

.btn-send {
    background: var(--primary);
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-send:hover {
    background: #7c3aed;
    transform: scale(1.05);
}

/* ========================================================
   MAIN CONTENT WRAPPER & NAVBAR
   ======================================================== */
.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--bg-main);
}

.navbar-top {
    height: 64px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(19, 17, 32, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 9;
    box-shadow: 0 1px 0 rgba(255,255,255,0.03);
}

/* Navigation Links on top-left */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-link-item {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
}

.navbar-link-item:hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.04);
}

.navbar-link-item.active {
    color: white;
    background: rgba(139, 92, 246, 0.12);
}

/* Purple active underline pill */
.navbar-link-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.navbar-link-item.btn-rewards {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--secondary);
    padding: 6px 12px;
    border-radius: 8px;
    margin-left: 6px;
}

.navbar-link-item.btn-rewards:hover {
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 8, 24, 0.4);
    border: 1px solid rgba(251, 191, 36, 0.25);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent);
    font-size: 14px;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.05), inset 0 0 12px rgba(251, 191, 36, 0.05);
    transition: all 0.25s ease;
}
.balance-display:hover {
    border-color: rgba(251, 191, 36, 0.45);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.15), inset 0 0 12px rgba(251, 191, 36, 0.05);
}

.btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(167, 139, 250, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b794f4 0%, #6d28d9 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(167, 139, 250, 0.45), 0 0 10px rgba(167, 139, 250, 0.2);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
    color: #050409;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #fcd34d 0%, #d97706 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.45), 0 0 10px rgba(251, 191, 36, 0.25);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.btn-outline:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* User Account Badge Header */
.user-navbar-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.user-navbar-profile:hover {
    border-color: rgba(255,255,255,0.1);
}

.user-nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
}

.user-nav-name {
    font-size: 12px;
    font-weight: 600;
}

.user-nav-level {
    font-size: 9px;
    color: var(--accent);
    font-weight: 700;
}

/* Content Area pages */
.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.page {
    display: none;
    animation: fadeIn 0.3s ease-out forwards;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatOrb {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-8px) scale(1.03); }
}

/* ========================================================
   RBXBET HOMEPAGE & BANNER & GAMES GRID
   ======================================================== */
.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Welcome Profile Card */
.welcome-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 18, 33, 0.95) 0%, rgba(11, 8, 24, 0.98) 100%);
    border: 1px solid rgba(167, 139, 250, 0.22) !important;
    box-shadow: 0 8px 32px rgba(167, 139, 250, 0.08), inset 0 0 20px rgba(167, 139, 250, 0.05);
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
}

/* Floating tech-grid orbs */
.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(167, 139, 250, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167, 139, 250, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center;
    mask-image: radial-gradient(ellipse at center, black 50%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 90%);
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
}

.welcome-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.16) 0%, rgba(244, 63, 94, 0.06) 50%, transparent 80%);
    filter: blur(20px);
    animation: bannerGlowPulse 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes bannerGlowPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    100% { transform: scale(1.15) translate(-20px, 10px); opacity: 1; }
}

.welcome-content {
    max-width: 60%;
}

.welcome-title {
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 30%, #d8b4fe 70%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.welcome-title span {
    color: var(--accent);
}

.welcome-desc {
    font-size: 13.5px;
    color: #a5a2c2;
    line-height: 1.5;
    z-index: 2;
    position: relative;
}

.btn-welcome-action {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    color: white !important;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
    position: relative;
    white-space: nowrap;
}

.btn-welcome-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5), 0 0 10px rgba(167, 139, 250, 0.3);
    filter: brightness(1.1);
}

/* Rain Pot Panel (rbxbet.com style) */
.rain-panel {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.08) 0%, rgba(20, 18, 33, 0.95) 100%);
    border: 1px solid rgba(251, 191, 36, 0.15);
    padding: 16px 24px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rain-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rain-pot-badge {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent);
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.rain-pot-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

.rain-pot-title span {
    color: var(--text-muted);
    font-size: 12px;
    margin-left: 8px;
    font-weight: 600;
}

.rain-pot-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.rain-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rain-value-display {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
    background: rgba(0,0,0,0.2);
    padding: 6px 16px;
}
/* Green Temple Games Grid - 8 game vertical grid */
.rbxbet-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.rbxbet-game-card {
    height: 150px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(135deg, rgba(28, 26, 46, 0.55) 0%, rgba(18, 16, 30, 0.55) 100%);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px;
    gap: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Top accent line */
.rbxbet-game-card::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 0;
    height: 3px;
    background: var(--card-color, #10b981);
    opacity: 0.7;
    transition: opacity 0.3s ease, height 0.3s ease;
}

/* Right shimmer on hover */
.rbxbet-game-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 60px;
    background: linear-gradient(270deg, color-mix(in srgb, var(--card-color, #10b981) 8%, transparent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.rbxbet-game-card:hover {
    border-color: color-mix(in srgb, var(--card-color, #10b981) 40%, transparent);
    box-shadow: 0 8px 32px color-mix(in srgb, var(--card-color, #10b981) 15%, transparent), 0 4px 12px rgba(0,0,0,0.5);
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(32, 30, 52, 0.7) 0%, rgba(22, 20, 36, 0.7) 100%);
}

.rbxbet-game-card:hover::before {
    opacity: 1;
    height: 4px;
}

.rbxbet-game-card:hover::after {
    opacity: 1;
}

.game-card-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--card-color, #10b981) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.rbxbet-game-card:hover .game-card-icon {
    transform: scale(1.1);
    background: color-mix(in srgb, var(--card-color, #10b981) 20%, transparent);
}

.game-card-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    z-index: 2;
}

.game-card-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.game-card-title i {
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-size: 11px;
    margin-left: auto;
    color: var(--card-color, #10b981);
}

.rbxbet-game-card:hover .game-card-title i {
    opacity: 1;
    transform: translateX(3px);
}

.game-card-desc {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.35;
    text-align: left;
}

/* ========================================================
   AUTHENTICATION MODALS & LOGIN SCREEN LOCK (BLUR)
   ======================================================== */
.auth-lock-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(14, 12, 22, 0.88);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}

.auth-modal {
    width: 380px;
    padding: 30px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.auth-modal-header {
    text-align: center;
}

.auth-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-logo span {
    color: var(--primary);
}

.auth-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

.auth-tabs {
    display: flex;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 3px;
}

.auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab-btn.active {
    background: var(--bg-sidebar);
    color: var(--text-main);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-input-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.auth-input {
    background: rgba(0,0,0,0.25);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.auth-input:focus {
    border-color: var(--primary);
}

.btn-auth-submit {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    justify-content: center;
    margin-top: 10px;
}

/* ========================================================
   REST OF PREVIOUS STYLINGS UPTODATE FOR RBXBET
   ======================================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.case-card {
    padding: 24px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.case-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.1);
}

.case-img-holder {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.case-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.case-card:hover .case-img {
    transform: scale(1.1) rotate(5deg);
}

.case-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.case-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Case Viewer/Opener */
.case-opener-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.case-opener-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.back-to-cases {
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-to-cases:hover {
    color: var(--text-main);
}

/* Spinner Slider CS:GO Style */
.spinner-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 10px;
}

.spinner-indicator {
    display: none; /* JS ile inline yapıldı */
}

.spinner-list {
    display: flex;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform;
    /* transition JS tarafından set edilir — buraya yazma */
}

.spinner-item {
    width: 130px;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.02);
    text-align: center;
    position: relative;
}

.spinner-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}

.spinner-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
}

/* Rarity Colors - with glow borders */
.rarity-common    { background: rgba(156, 163, 175, 0.04); border-color: rgba(156,163,175,0.12) !important; }
.rarity-common::after    { background: #9ca3af; }
.rarity-rare      { background: rgba(59, 130, 246, 0.06); border-color: rgba(59,130,246,0.18) !important; }
.rarity-rare::after      { background: #3b82f6; box-shadow: 0 0 6px rgba(59,130,246,0.4); }
.rarity-epic      { background: rgba(139, 92, 246, 0.06); border-color: rgba(139,92,246,0.18) !important; }
.rarity-epic::after      { background: #8b5cf6; box-shadow: 0 0 6px rgba(139,92,246,0.4); }
.rarity-legendary { background: rgba(251, 191, 36, 0.06); border-color: rgba(251,191,36,0.2) !important; }
.rarity-legendary::after { background: #f59e0b; box-shadow: 0 0 8px rgba(251,191,36,0.5); }
.rarity-godly     { background: rgba(239, 68, 68, 0.08); border-color: rgba(239,68,68,0.22) !important; }
.rarity-godly::after     { background: linear-gradient(90deg, #ef4444, #f97316, #ef4444); box-shadow: 0 0 10px rgba(239,68,68,0.6); }

.item-badge-rarity {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    margin-top: 4px;
}

.rarity-text-common { color: #9ca3af; }
.rarity-text-rare { color: #3b82f6; }
.rarity-text-epic { color: #8b5cf6; }
.rarity-text-legendary { color: #f59e0b; }
.rarity-text-godly { color: #ef4444; }

.spinner-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 6px;
}

.spinner-item-name {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.spinner-item-price {
    font-size: 10px;
    color: var(--accent);
    font-weight: 700;
}

.case-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 20px 0;
}

.case-contains-list {
    margin-top: 32px;
}

.contains-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.item-small-card {
    padding: 12px;
    text-align: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.item-small-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.item-small-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 6px;
}

.item-small-name {
    font-size: 11px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 28px;
    line-height: 14px;
    margin-bottom: 4px;
}

/* ========================================================
   ROULETTE PAGE
   ======================================================== */
/* ========================================================
   ROULETTE PAGE — full redesign
   ======================================================== */
.roulette-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Header */
.rl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.rl-header-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}
.rl-timer-badge {
    font-size: 14px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.25);
    color: var(--text-muted);
    letter-spacing: 0.3px;
}
.rl-timer-badge span { color: #fbbf24; }

/* Spinner panel */
.rl-spinner-panel {
    padding: 20px;
}
.roulette-track-wrapper {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    box-shadow: inset 0 2px 12px rgba(0,0,0,0.5);
}
.roulette-track {
    display: flex;
    height: 100%;
    position: absolute;
    left: 0; top: 0;
    will-change: transform;
}
.roulette-tile {
    width: 80px;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    border-right: 1px solid rgba(0,0,0,0.2);
    user-select: none;
}
.tile-red   { background: linear-gradient(160deg,#e11d48,#9f1239); color:#fff; text-shadow:0 1px 4px rgba(0,0,0,0.4); }
.tile-black { background: linear-gradient(160deg,#312e81,#1e1b4b); color:#c7d2fe; text-shadow:0 1px 4px rgba(0,0,0,0.4); }
.tile-green { background: linear-gradient(160deg,#10b981,#065f46); color:#fff; font-size:26px; text-shadow:0 1px 6px rgba(0,0,0,0.4); }

.rl-fade { position:absolute; top:0; bottom:0; width:110px; pointer-events:none; z-index:2; }
.rl-fade-left  { left:0;  background:linear-gradient(to right,rgba(10,8,25,0.95),transparent); }
.rl-fade-right { right:0; background:linear-gradient(to left, rgba(10,8,25,0.95),transparent); }
.rl-center-line {
    position:absolute; left:50%; top:0; bottom:0;
    transform:translateX(-50%);
    width:3px;
    background:linear-gradient(to bottom,transparent,#fbbf24 30%,#fbbf24 70%,transparent);
    box-shadow:0 0 12px rgba(251,191,36,0.8);
    pointer-events:none; z-index:3;
}
.rl-center-arrow {
    position:absolute; left:50%; transform:translateX(-50%);
    width:0; height:0; z-index:4; pointer-events:none;
}
.rl-arrow-top    { top:0;    border-left:7px solid transparent; border-right:7px solid transparent; border-top:10px solid #fbbf24; filter:drop-shadow(0 0 4px #fbbf24); }
.rl-arrow-bottom { bottom:0; border-left:7px solid transparent; border-right:7px solid transparent; border-bottom:10px solid #fbbf24; filter:drop-shadow(0 0 4px #fbbf24); }

/* Bet amount row */
.rl-bet-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    flex-wrap: wrap;
}
.rl-bet-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.rl-bet-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
}
.rl-bet-input {
    flex: 1;
    min-width: 120px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px 14px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    outline: none;
    transition: border-color 0.2s;
}
.rl-bet-input:focus { border-color: rgba(251,191,36,0.5); }
.rl-mult-btn {
    padding: 10px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.rl-mult-btn:hover { background:rgba(255,255,255,0.09); color:white; border-color:rgba(255,255,255,0.2); }
.rl-mult-max { background:rgba(251,191,36,0.1); border-color:rgba(251,191,36,0.25); color:#fbbf24; }
.rl-mult-max:hover { background:rgba(251,191,36,0.18); border-color:rgba(251,191,36,0.5); color:#fbbf24; }

/* Bet cards grid */
.rl-cards-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}
.rl-card {
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.rl-card:hover { transform: translateY(-2px); }

.rl-card-red   { background:linear-gradient(145deg,rgba(225,29,72,0.13),rgba(159,18,57,0.06)); border-color:rgba(225,29,72,0.3); }
.rl-card-green { background:linear-gradient(145deg,rgba(16,185,129,0.13),rgba(6,95,70,0.06));  border-color:rgba(16,185,129,0.3); }
.rl-card-black { background:linear-gradient(145deg,rgba(49,46,129,0.25),rgba(30,27,75,0.12)); border-color:rgba(99,102,241,0.25); }

.rl-card:hover.rl-card-red   { box-shadow:0 8px 30px rgba(225,29,72,0.18); }
.rl-card:hover.rl-card-green { box-shadow:0 8px 30px rgba(16,185,129,0.18); }
.rl-card:hover.rl-card-black { box-shadow:0 8px 30px rgba(99,102,241,0.18); }

.rl-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rl-card-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.rl-card-name {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
    flex: 1;
}
.rl-card-multi {
    font-size: 22px;
    font-weight: 900;
    color: #fbbf24;
    letter-spacing: -0.5px;
}
.rl-card-red   .rl-card-multi { color:#f43f5e; text-shadow:0 0 12px rgba(244,63,94,0.5); }
.rl-card-green .rl-card-multi { color:#34d399; text-shadow:0 0 12px rgba(52,211,153,0.5); }
.rl-card-black .rl-card-multi { color:#818cf8; text-shadow:0 0 12px rgba(129,140,248,0.5); }

.rl-jackpot-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.35);
    color: #34d399;
    align-self: flex-start;
    margin-top: -6px;
}

.rl-bet-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
}
.rl-bet-btn-red   { background:linear-gradient(135deg,#e11d48,#be123c); color:white; box-shadow:0 4px 16px rgba(225,29,72,0.3); }
.rl-bet-btn-green { background:linear-gradient(135deg,#10b981,#059669); color:white; box-shadow:0 4px 16px rgba(16,185,129,0.3); }
.rl-bet-btn-black { background:linear-gradient(135deg,#4f46e5,#312e81); color:white; box-shadow:0 4px 16px rgba(79,70,229,0.3); }
.rl-bet-btn:hover { opacity:0.88; transform:translateY(-1px); }
.rl-bet-btn:active { transform:translateY(0) scale(0.98); }

.rl-card-total {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    padding: 4px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.rl-bet-list {
    min-height: 60px;
    max-height: 160px;
    overflow-y: auto;
}

/* History */
.rl-history-panel { padding: 18px 20px; }
.rl-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.rl-history-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-muted);
}
.rl-stats { display:flex; gap:8px; }
.rl-stat {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.rl-stat-red   { background:rgba(239,68,68,0.12);  border:1px solid rgba(239,68,68,0.3);  color:#f87171; }
.rl-stat-black { background:rgba(99,102,241,0.12); border:1px solid rgba(99,102,241,0.3); color:#818cf8; }
.rl-stat-green { background:rgba(16,185,129,0.12); border:1px solid rgba(16,185,129,0.3); color:#34d399; }
.rl-history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-height: 130px;
    overflow-y: auto;
}

/* Roulette timer (legacy compat) */
.roulette-timer { display:none; }

/* Old classes kept for JS compat */
.roulette-bet-grid { display:none; }
.bet-input-box, .bet-multiplier-btns, .bet-input, .bet-mult-btn,
.roulette-bet-card, .bet-card-label, .bet-card-value, .bet-card-multiplier { }

/* ========================================================
   JACKPOT PAGE
   ======================================================== */
.jackpot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.jackpot-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.jackpot-circle-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px;
    overflow: hidden;
}

.jackpot-circle-wrapper {
    position: relative;
    width: 240px;
    height: 240px;
}

.jackpot-svg-ring {
    transform: rotate(-90deg);
}

.jackpot-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.02);
    stroke-width: 14;
}

.jackpot-ring-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 14;
    stroke-linecap: round;
    transition: stroke-dasharray 0.4s ease;
}

.jackpot-center-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.jackpot-total-val {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent);
}

.jackpot-timer-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jackpot-time-left {
    font-size: 20px;
    font-weight: 700;
    margin-top: 4px;
}

.jackpot-players-bet {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jackpot-player-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.jackpot-player-border {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.jackpot-player-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.jackpot-player-info {
    flex: 1;
}

.jackpot-player-name {
    font-size: 14px;
    font-weight: 600;
}

.jackpot-player-chance {
    font-size: 11px;
    color: var(--text-muted);
}

.jackpot-player-chance span {
    color: var(--primary);
    font-weight: 700;
}

.jackpot-player-bet-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--accent);
    font-size: 15px;
}

/* Jackpot Deposit panel */
.jackpot-deposit {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: fit-content;
}

/* ========================================================
   BLACKJACK PAGE
   ======================================================== */
.blackjack-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bj-table {
    border-radius: 24px;
    padding: 36px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, rgba(11, 8, 24, 0.95) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(139, 92, 246, 0.1);
}

.bj-dealer-area, .bj-player-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.bj-score-badge {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
}

.bj-score-badge.blackjack {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.bj-score-badge.bust {
    border-color: var(--danger);
    color: var(--danger);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.cards-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    min-height: 120px;
    width: 100%;
}

/* Premium Card design CSS with 3D turns & deck slide animations */
.card-item {
    width: 85px;
    height: 120px;
    perspective: 1000px;
    position: relative;
    background: transparent;
    box-shadow: none;
    transform-style: preserve-3d;
    animation: dealCard 0.75s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
    border-radius: 10px;
}

/* 3D flip card back when active/hidden */
.card-item.hidden-card .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.1);
}

.card-front {
    background: #ffffff;
    color: #161520;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.05);
}

.card-front.red-suit {
    color: #ef4444;
}

.card-back {
    background: linear-gradient(135deg, var(--primary) 0%, #5b21b6 100%);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffffff;
    box-shadow: inset 0 0 25px rgba(0,0,0,0.5);
}

.card-top-left {
    align-self: flex-start;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.card-suit-center {
    font-size: 38px;
    align-self: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

@keyframes dealCard {
    0% {
        transform: translate(280px, -220px) rotate(40deg) scale(0.4);
        opacity: 0;
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
}

.bj-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.bj-result-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    display: none;
    animation: popUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    z-index: 10;
}

@keyframes popUp {
    from { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* ========================================================
   COINFLIP PAGE
   ======================================================== */
.coinflip-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.cf-lobby {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cf-room-card {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cf-players-vs {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cf-player-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cf-avatar-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cf-avatar-side-icon {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
}

.side-gold {
    background: var(--accent);
    color: black;
    box-shadow: 0 0 8px var(--accent-glow);
}

.side-silver {
    background: #e2e8f0;
    color: black;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.cf-vs-divider {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
}

.cf-amount-display {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--accent);
    font-size: 18px;
}

/* Coinflip Animation Arena overlay */
.cf-arena-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(14, 12, 22, 0.92);
    backdrop-filter: blur(8px);
    z-index: 100;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.cf-arena-box {
    width: 400px;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Coin Flip CSS 3D */
.cf-coin-wrapper {
    width: 120px;
    height: 120px;
    perspective: 1000px;
    margin: 30px 0;
}

.cf-coin {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 3s cubic-bezier(0.12, 0.8, 0.2, 1);
}

.cf-coin-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    border: 6px solid rgba(255, 255, 255, 0.1);
}

.cf-face-front {
    background: radial-gradient(circle, #fbbf24 0%, #d97706 100%);
    color: rgba(0, 0, 0, 0.75);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.cf-face-back {
    background: radial-gradient(circle, #cbd5e1 0%, #64748b 100%);
    color: rgba(0, 0, 0, 0.75);
    transform: rotateY(180deg);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

/* ========================================================
   ROCK PAPER SCISSORS (TAŞ KAĞIT MAKAS) PAGE
   ======================================================== */
.rps-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rps-arena {
    padding: 32px;
    min-height: 320px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.rps-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 180px;
}

.rps-hand-display {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.01);
    border: 2px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    transition: all 0.3s ease;
}

.rps-hand-display.selected {
    border-style: solid;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    background: rgba(139, 92, 246, 0.05);
}

.rps-choices {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.rps-choice-btn {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.rps-choice-btn:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 6px 15px rgba(139, 92, 246, 0.1);
}

.rps-choice-btn.active {
    border-color: var(--accent);
    background: rgba(245, 158, 11, 0.05);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* ========================================================
   INVENTORY / PROFILE PAGE
   ======================================================== */
.inventory-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.inventory-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inventory-stats-bar {
    display: flex;
    gap: 16px;
}

/* ========================================================
   LEADERBOARD PAGE
   ======================================================== */
.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.leaderboard-table th {
    text-align: left;
    padding: 16px;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
}

.leaderboard-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.leaderboard-row {
    transition: background-color 0.2s ease;
}

.leaderboard-row:hover {
    background: rgba(255, 255, 255, 0.01);
}

.leaderboard-rank {
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    width: 60px;
}

.rank-1 { color: #f59e0b; }
.rank-2 { color: #94a3b8; }
.rank-3 { color: #b45309; }

.leaderboard-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.leaderboard-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.leaderboard-balance {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--accent);
}

/* V2 UPDATED CUSTOM STYLINGS */
.robux-svg {
    transition: filter 0.3s ease;
}

/* Rain Panel Bounce Animation */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.battle-setup-case-card {
    transition: all 0.2s ease;
}
.battle-setup-case-card:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
.battle-setup-case-card.active {
    border-color: var(--primary) !important;
    background: rgba(139, 92, 246, 0.08) !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.round-select-btn.active {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Jackpot Spinner Item Styles */
.jackpot-spinner-item {
    width: 100px;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
    padding: 10px;
    text-align: center;
}

.jp-spinner-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

.jp-spinner-name {
    font-size: 10px;
    font-weight: 600;
    max-width: 90px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--text-main);
}

.jp-spinner-chance {
    font-size: 9px;
    font-weight: 700;
    margin-top: 2px;
}

/* Custom Blackjack 3D upgrades */
.bj-shoe {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 60px;
    height: 85px;
    background: linear-gradient(135deg, #1e1b4b, #0f0c1b);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    box-shadow: -6px 6px 12px rgba(0,0,0,0.5);
    transform: rotate(-15deg);
    z-index: 5;
}
.bj-shoe::after {
    content: "RBXBET";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    font-size: 8px;
    color: rgba(255, 255, 255, 0.15);
    font-weight: 900;
    letter-spacing: 2px;
}

/* 3D card layout overrides */
.card-item {
    width: 90px;
    height: 130px;
    perspective: 1000px;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible;
    animation: dealCardFromShoe 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.15) forwards;
}

.card-inner {
    width: 90px;
    height: 130px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-item.hidden-card .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-weight: 700;
}

.card-front {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), inset 0 0 10px rgba(0,0,0,0.02);
}

.card-front.red-suit {
    color: #ef4444;
}

.card-back {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: var(--accent);
    transform: rotateY(180deg);
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
}

@keyframes dealCardFromShoe {
    from {
        width: 0;
        margin-right: -12px;
        transform: translate(250px, -150px) rotate(45deg) scale(0.4);
        opacity: 0;
    }
    to {
        width: 90px;
        margin-right: 0;
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
}

/* Twist Page Styles */
/* ========================================================
   TWIST WHEEL PAGE — full redesign
   ======================================================== */
.twist-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Header */
.tw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tw-title {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}
.tw-timer-badge {
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.25);
    color: var(--text-muted);
}
.tw-timer-badge span { color: #fbbf24; }

/* 3-column layout */
.tw-layout {
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    gap: 16px;
    align-items: start;
}

/* LEFT: Bet Panel */
.tw-bet-panel {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tw-section-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-muted);
}
.tw-bet-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 14px;
    color: white;
    font-size: 18px;
    font-weight: 800;
    outline: none;
    transition: border-color 0.2s;
}
.tw-bet-input:focus { border-color: rgba(251,191,36,0.4); }
.tw-mult-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 6px;
}
.tw-mult-btn {
    padding: 8px 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
    text-align: center;
}
.tw-mult-btn:hover { background:rgba(255,255,255,0.09); color:white; }
.tw-mult-max { background:rgba(251,191,36,0.1); border-color:rgba(251,191,36,0.25); color:#fbbf24; }
.tw-mult-max:hover { background:rgba(251,191,36,0.18); color:#fbbf24; }
.tw-divider { height:1px; background:rgba(255,255,255,0.06); margin:4px 0; }

.tw-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.tw-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.06);
}
.tw-stat-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.tw-stat-label { font-size:12px; font-weight:800; color:var(--text-main); flex:1; }
.tw-stat-val { font-size:14px; font-weight:900; color:white; }
.tw-stat-blue  { border-color:rgba(56,189,248,0.2); }
.tw-stat-red   { border-color:rgba(244,63,94,0.2); }
.tw-stat-green { border-color:rgba(52,211,153,0.2); }
.tw-stat-yellow{ border-color:rgba(251,191,36,0.2); }

/* CENTER: Wheel */
.tw-wheel-panel {
    padding: 24px 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.twist-wheel-container {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}
.twist-wheel-track {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    transition: transform 6s cubic-bezier(0.06, 0.8, 0.1, 1);
    will-change: transform;
    background: radial-gradient(circle, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 70%, transparent 100%);
    box-shadow: 0 0 40px rgba(0,0,0,0.6), 0 0 0 3px rgba(255,255,255,0.06);
}
.wheel-tick {
    position: absolute;
    width: 4px;
    height: 16px;
    left: calc(50% - 2px);
    top: 5px;
    transform-origin: 2px 145px;
    border-radius: 2px;
    box-shadow: 0 0 5px currentColor;
}
.tick-blue   { color:#38bdf8; background:#38bdf8; }
.tick-red    { color:#f43f5e; background:#f43f5e; }
.tick-green  { color:#34d399; background:#34d399; }
.tick-yellow { color:#fbbf24; background:#fbbf24; width:6px; height:20px; left:calc(50% - 3px); top:4px; }

.twist-wheel-pointer {
    position: absolute;
    bottom: -14px;
    left: calc(50% - 14px);
    width: 0; height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 22px solid #fbbf24;
    filter: drop-shadow(0 0 8px rgba(251,191,36,0.8));
    z-index: 10;
}
.twist-wheel-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 140px; height: 140px;
    background: radial-gradient(circle,#0f0b1e 60%,#1a1535 100%);
    border: 3px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 8;
    box-shadow: 0 0 30px rgba(0,0,0,0.9), inset 0 0 20px rgba(0,0,0,0.6);
}
.twist-center-value {
    font-size: 36px;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    line-height: 1;
}
.twist-center-status {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 6px;
}

.tw-history-wrap { width: 100%; }
.tw-history-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-align: center;
}
.twist-history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    max-height: 100px;
    overflow-y: auto;
}
.twist-history-dot {
    width:14px; height:14px;
    border-radius:50%; flex-shrink:0;
}
.dot-blue   { background:#38bdf8; box-shadow:0 0 4px #38bdf8; }
.dot-red    { background:#f43f5e; box-shadow:0 0 4px #f43f5e; }
.dot-green  { background:#34d399; box-shadow:0 0 4px #34d399; }
.dot-yellow { background:#fbbf24; box-shadow:0 0 4px #fbbf24; }
.twist-history-latest { position:relative; margin-top:12px; }
.twist-history-latest::before {
    content:'▼'; position:absolute; top:-13px; left:50%;
    transform:translateX(-50%); font-size:9px; color:#fbbf24;
    filter:drop-shadow(0 0 4px #fbbf24);
    animation: tw-arrow-bounce 0.8s ease-in-out infinite alternate;
}
@keyframes tw-arrow-bounce {
    0%   { transform:translateX(-50%) translateY(0); }
    100% { transform:translateX(-50%) translateY(-3px); }
}
.twist-history-latest.dot-blue   { box-shadow:0 0 0 2px #38bdf8,0 0 10px #38bdf8; width:17px;height:17px; }
.twist-history-latest.dot-red    { box-shadow:0 0 0 2px #f43f5e,0 0 10px #f43f5e; width:17px;height:17px; }
.twist-history-latest.dot-green  { box-shadow:0 0 0 2px #34d399,0 0 10px #34d399; width:17px;height:17px; }
.twist-history-latest.dot-yellow { box-shadow:0 0 0 2px #fbbf24,0 0 10px #fbbf24; width:17px;height:17px; }

/* RIGHT: Bet Columns */
.tw-bet-cols {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tw-bet-col {
    padding: 14px 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tw-bet-col:hover { transform: translateX(3px); }
.tw-col-blue   { border-color:rgba(56,189,248,0.25);  background:linear-gradient(135deg,rgba(56,189,248,0.08),transparent); }
.tw-col-red    { border-color:rgba(244,63,94,0.25);   background:linear-gradient(135deg,rgba(244,63,94,0.08),transparent); }
.tw-col-green  { border-color:rgba(52,211,153,0.25);  background:linear-gradient(135deg,rgba(52,211,153,0.08),transparent); }
.tw-col-yellow { border-color:rgba(251,191,36,0.25);  background:linear-gradient(135deg,rgba(251,191,36,0.08),transparent); }
.tw-col-blue:hover   { box-shadow:0 4px 20px rgba(56,189,248,0.15); }
.tw-col-red:hover    { box-shadow:0 4px 20px rgba(244,63,94,0.15); }
.tw-col-green:hover  { box-shadow:0 4px 20px rgba(52,211,153,0.15); }
.tw-col-yellow:hover { box-shadow:0 4px 20px rgba(251,191,36,0.15); }

.tw-col-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tw-col-mult {
    font-size: 22px;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
}
.tw-col-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid;
}
.tw-col-status {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    text-align: center;
    padding: 6px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
    pointer-events: none;
}
.tw-col-total {
    font-size: 16px;
    font-weight: 800;
    color: white;
    text-align: center;
}
.twist-col-bets-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-y: auto;
    max-height: 100px;
}

.twist-bet-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 8px;
    background: rgba(0,0,0,0.15);
    border-radius: 6px;
}

/* ========================================================
   MINES GAME PREMIUM STYLING (DIAMOND/VAULT THEME)
   ======================================================== */
.mines-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.mines-top-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: stretch;
}

/* Sidebar panel */
.mines-panel {
    background: #171526;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mines-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.mines-panel-header i {
    font-size: 20px;
    background: rgba(249, 115, 22, 0.15);
    padding: 8px;
    border-radius: 50%;
}

.mines-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mines-field-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mines-bet-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #100c1e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px;
    transition: border-color 0.2s;
}

.mines-bet-input-wrap:focus-within {
    border-color: var(--accent);
}

.mines-robux-icon-inline {
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.mines-bet-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
}

/* Remove stepper arrows from number input */
.mines-bet-input::-webkit-outer-spin-button,
.mines-bet-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mines-quick-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.mines-quick-btn {
    background: #25223c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.mines-quick-btn:hover {
    background: #312e4f;
    color: white;
}

/* Mines Amount Stepper styling */
.mines-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #100c1e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
}

.mines-stepper-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    font-size: 15px;
}

.mines-stepper-btns {
    display: flex;
    gap: 8px;
}

.mines-step-btn {
    background: #25223c;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.mines-step-btn:hover:not(:disabled) {
    background: #312e4f;
}

.mines-step-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Start / Cashout Buttons */
.mines-start-btn {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #141221;
    font-size: 15px;
    font-weight: 800;
    padding: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.2s;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.mines-start-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.mines-start-btn:active {
    transform: translateY(1px);
}

.mines-cashout-btn {
    background: linear-gradient(135deg, #10b981, #047857);
    color: white;
    font-size: 15px;
    font-weight: 800;
    padding: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.2s;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mines-cashout-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.mines-cashout-btn:active {
    transform: translateY(1px);
}

/* Profit Box */
.mines-profit-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mines-profit-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Fairness Button */
.mines-fairness-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    transition: color 0.2s;
}

.mines-fairness-btn:hover {
    color: white;
}

/* Grid panel */
.mines-grid-panel {
    background: #141221;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.mines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1/1;
}

/* Cell button styling */
.mines-cell {
    background: linear-gradient(135deg, #25223c 0%, #1e1b33 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    outline: none;
    border-radius: 12px;
    aspect-ratio: 1/1;
    cursor: pointer;
    padding: 0;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.03), 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mines-cell:hover:not(.revealed):not(.mine-hit):not(.mine-revealed) {
    background: linear-gradient(135deg, #322d54 0%, #252144 100%);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 10px rgba(139, 92, 246, 0.15);
}

.mines-cell-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
}

.mines-cell-inner i {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mines-cell:hover:not(.revealed):not(.mine-hit):not(.mine-revealed) .mines-cell-inner {
    color: var(--accent);
}

.mines-cell:hover:not(.revealed):not(.mine-hit):not(.mine-revealed) .mines-cell-inner i {
    transform: scale(1.22);
}

/* Revealing states */
.mines-cell.revealed {
    background: radial-gradient(circle at center, #10b981 0%, #064e3b 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4), inset 0 2px 4px rgba(255,255,255,0.2);
    cursor: default;
    animation: cellPulseGreen 0.4s ease-out;
}

.mines-cell.revealed .mines-cell-inner {
    color: white;
    font-size: 24px;
}

@keyframes cellPulseGreen {
    0% { transform: scale(1); box-shadow: 0 0 0px rgba(16, 185, 129, 0); }
    50% { transform: scale(1.08); box-shadow: 0 0 25px rgba(16, 185, 129, 0.7); }
    100% { transform: scale(1); box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); }
}

.mines-cell.mine-hit {
    background: radial-gradient(circle at center, #ef4444 0%, #7f1d1d 100%);
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6), inset 0 2px 4px rgba(255,255,255,0.2);
    cursor: default;
    animation: cellPulseRed 0.4s ease-out;
}

.mines-cell.mine-hit .mines-cell-inner {
    color: white;
    font-size: 24px;
}

@keyframes cellPulseRed {
    0% { transform: scale(1); box-shadow: 0 0 0px rgba(239, 68, 68, 0); }
    50% { transform: scale(1.08); box-shadow: 0 0 30px rgba(239, 68, 68, 0.9); }
    100% { transform: scale(1); box-shadow: 0 0 20px rgba(239, 68, 68, 0.6); }
}

.mines-cell.mine-revealed {
    background: #1a1525;
    opacity: 0.45;
    cursor: default;
    border: 1px dashed rgba(255, 255, 255, 0.05);
}

.mines-cell.mine-revealed .mines-cell-inner {
    color: rgba(255, 255, 255, 0.3);
}

.mines-cell.gem-revealed-dim {
    background: #1a1525;
    opacity: 0.55;
    cursor: default;
    border: 1px dashed rgba(255, 255, 255, 0.05);
}

.mines-cell.gem-revealed-dim .mines-cell-inner {
    color: rgba(16, 185, 129, 0.4);
}

/* Bottom elements */
.mines-history-strip {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 12px;
}

.mines-history-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.mines-mult-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.mines-mult-chip {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    min-width: 64px;
    text-align: center;
}

.chip-win {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.1);
}

.chip-ok {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.chip-lose {
    background: rgba(156, 163, 175, 0.08);
    border: 1px solid rgba(156, 163, 175, 0.15);
    color: var(--text-muted);
}

/* Bets Panel */
.mines-bets-panel {
    padding: 24px;
}

.mines-bets-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.mines-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
    border-radius: 6px;
}

.mines-tab.active {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.mines-bets-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.mines-bets-table th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 10px;
    border-bottom: 2px solid var(--border-color);
}

.mines-bets-table td {
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.mines-bet-game-badge {
    background: rgba(249, 115, 22, 0.08);
    color: #f97316;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mines-bet-player {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.mines-bet-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.bet-mult-high { color: #34d399; }
.bet-mult-ok { color: #60a5fa; }
.bet-mult-zero { color: var(--text-muted); }

.bet-payout-win { color: #34d399; }
.bet-payout-lose { color: var(--text-muted); }

/* Animation keyframes */
@keyframes mineShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

@keyframes gemPop {
    0% { transform: scale(0.6); opacity: 0.5; }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}


/* Toast Animations */
@keyframes toastSlideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastSlideOut { from { transform: scale(1); opacity: 1; margin-bottom: 0; } to { transform: scale(0.9); opacity: 0; margin-bottom: -60px; } }

/* ========================================================
   PRAGMATIC SLOTS
   ======================================================== */

/* Live dot pulse */
.slot-live-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #10b981;
    display: inline-block;
    animation: slotPulse 1.5s ease-in-out infinite;
}
@keyframes slotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

/* Lobby Grid */
.slots-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.slot-game-card {
    border-radius: 16px;
    padding: 24px 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
    min-height: 240px;
    justify-content: center;
}
.slot-game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.slot-game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(139,92,246,0.15);
    border-color: rgba(255,255,255,0.15);
}
.slot-card-badge {
    position: absolute;
    top: 12px; left: 12px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.3);
    padding: 4px 10px;
    border-radius: 20px;
}
.slot-card-icon {
    font-size: 52px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
    line-height: 1;
}
.slot-card-info {
    text-align: center;
}
.slot-card-name {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}
.slot-card-meta {
    display: flex; gap: 10px; justify-content: center;
    font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 600;
}
.slot-volatility {
    padding: 1px 6px; border-radius: 4px; font-size: 10px;
}
.slot-vol-high { background: rgba(239,68,68,0.2); color: #f87171; }
.slot-vol-medium { background: rgba(251,191,36,0.2); color: #fbbf24; }
.slot-vol-low { background: rgba(16,185,129,0.2); color: #34d399; }
.slot-card-maxwin {
    font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 4px;
}
.slot-card-maxwin strong { color: var(--accent); }
.slot-card-play-btn {
    padding: 8px 24px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.2s;
    margin-top: 4px;
}
.slot-game-card:hover .slot-card-play-btn {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Game View */
.slots-game-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 20px;
    padding: 24px;
    min-height: 600px;
}
.slot-game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.slot-game-stats {
    display: flex; gap: 16px;
}
.slot-stat {
    text-align: center;
    padding: 6px 14px;
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}
.slot-stat span { display: block; font-size: 10px; color: rgba(255,255,255,0.4); font-weight: 600; text-transform: uppercase; }
.slot-stat strong { font-size: 14px; color: white; }

/* Reel Machine */
.slot-machine-container {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}
.slot-machine {
    display: flex;
    gap: 6px;
    background: rgba(0,0,0,0.4);
    border-radius: 16px;
    padding: 16px;
    border: 2px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3);
}
.slot-reel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 90px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
}
.slot-reel.spinning {
    overflow: hidden;
}
.slot-reel.spinning .slot-symbol {
    animation: reelSpin 0.15s linear infinite;
}
.slot-symbol {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.slot-symbol img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
    transition: transform 0.2s;
}
.slot-symbol:hover img { transform: scale(1.1); }
.symbol-bomb {
    filter: drop-shadow(0 0 10px rgba(239,68,68,0.8)) !important;
    animation: bombPulse 1s infinite alternate;
}
.bomb-mult {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid #b91c1c;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 2;
}
@keyframes bombPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(239,68,68,0.8)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 20px rgba(239,68,68,1)); }
}
.symbol-explode {
    animation: symbolExplode 0.3s forwards;
}
@keyframes symbolExplode {
    0% { transform: scale(1); opacity: 1; filter: brightness(1); }
    50% { transform: scale(1.3); filter: brightness(2) drop-shadow(0 0 20px #fff); }
    100% { transform: scale(0); opacity: 0; filter: brightness(1); }
}
.slot-symbol.slot-symbol-land {
    animation: symbolLand 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.slot-symbol.winning {
    background: rgba(251, 191, 36, 0.15);
    border: 2px solid rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    animation: symbolWin 0.6s ease-in-out infinite alternate;
}
.slot-symbol.spinning-blur {
    filter: blur(2px);
    opacity: 0.6;
}

@keyframes reelSpin {
    0% { transform: translateY(0); }
    100% { transform: translateY(76px); }
}
@keyframes symbolLand {
    0% { transform: translateY(-20px); opacity: 0; }
    60% { transform: translateY(4px); }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes symbolWin {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); box-shadow: 0 0 30px rgba(251, 191, 36, 0.5); }
}

/* Win Display */
.slot-win-display {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}
.slot-win-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(251,191,36,0.6), 0 2px 8px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.7);
    padding: 12px 32px;
    border-radius: 16px;
    border: 2px solid rgba(251,191,36,0.4);
    animation: winPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.slot-win-display.big-win .slot-win-text {
    font-size: 36px;
    color: #fbbf24;
    border-color: #fbbf24;
    box-shadow: 0 0 40px rgba(251,191,36,0.4);
}
.slot-win-display.mega-win .slot-win-text {
    font-size: 42px;
    color: #ef4444;
    border-color: #ef4444;
    text-shadow: 0 0 30px rgba(239,68,68,0.6);
    box-shadow: 0 0 60px rgba(239,68,68,0.4);
    animation: megaWinPulse 0.8s ease-in-out infinite alternate;
}
@keyframes winPop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes megaWinPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); box-shadow: 0 0 80px rgba(239,68,68,0.6); }
}

/* Controls */
.slot-controls {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.slot-bet-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
}
.slot-spin-btn {
    width: 120px;
    height: 60px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--primary), #6d28d9);
    color: white;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 20px var(--primary-glow);
}
.slot-spin-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px var(--primary-glow);
}
.slot-spin-btn:active { transform: scale(0.97); }
.slot-auto-btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
}
.slot-auto-btn.active {
    background: rgba(239,68,68,0.2);
    border-color: rgba(239,68,68,0.4);
    color: #f87171;
}

/* History */
.slot-history-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
}
.slot-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    font-size: 12px;
    font-weight: 600;
}
.slot-hist-game { color: rgba(255,255,255,0.6); flex: 1; }
.slot-hist-bet { color: rgba(255,255,255,0.4); margin-right: 16px; }
.slot-hist-result.text-win { color: var(--secondary); }
.slot-hist-result.text-loss { color: var(--danger); }

/* Live Feed */
.slots-live-feed {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 250px;
    overflow-y: auto;
}
.slot-live-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
    animation: liveFadeIn 0.3s ease;
}
.slot-live-item.live-win {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.1);
}
.live-icon { font-size: 18px; }
.live-user { color: var(--text-main); min-width: 100px; }
.live-game { color: var(--text-muted); flex: 1; }
.live-bet { color: rgba(255,255,255,0.4); min-width: 70px; }
.live-result { min-width: 80px; text-align: right; font-weight: 700; }
.live-result.text-win { color: var(--secondary); }
.live-result.text-loss { color: var(--danger); }

@keyframes liveFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ========================================================
   CASE BATTLES — PREMIUM REDESIGN v3
   ======================================================== */

/* Page header area */
#page-battles {
    position: relative;
}
#page-battles::before {
    content: '';
    position: absolute;
    top: -40px; left: -40px; right: -40px;
    height: 260px;
    background: radial-gradient(ellipse at 50% 0%, rgba(251,191,36,0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Battle room card */
.battle-room-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0;
    background: linear-gradient(120deg, rgba(18,15,40,0.92) 0%, rgba(12,10,28,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
    position: relative;
    animation: battleRowIn 0.3s ease both;
}
@keyframes battleRowIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes winnerPop {
    from { opacity: 0; transform: scale(0.75); }
    to   { opacity: 1; transform: scale(1); }
}

/* Glowing left accent stripe */
.battle-room-row::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 50%, rgba(251,191,36,0.3) 100%);
    border-radius: 14px 0 0 14px;
}

.battle-room-row:hover {
    transform: translateY(-2px);
    border-color: rgba(251,191,36,0.18);
    box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(251,191,36,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}
.battle-room-row:hover::before {
    background: linear-gradient(180deg, #fde68a 0%, #fbbf24 50%, rgba(251,191,36,0.4) 100%);
    box-shadow: 0 0 8px rgba(251,191,36,0.6);
}

/* LEFT SECTION */
.battle-left-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px 16px 22px;
    min-width: 230px;
    border-right: 1px solid rgba(255,255,255,0.05);
}
.battle-fee-mode {
    display: flex;
    align-items: center;
    gap: 10px;
}
.battle-fee-value {
    font-size: 18px;
    font-weight: 900;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: -0.3px;
    text-shadow: 0 0 20px rgba(251,191,36,0.35);
}
.battle-mode-text {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.04);
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.07);
}
.battle-players-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.battle-player-slot {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: white;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}
.battle-player-slot.filled {
    border: 1.5px solid rgba(251,191,36,0.6);
    background: linear-gradient(135deg, rgba(251,191,36,0.12) 0%, rgba(0,0,0,0.4) 100%);
    box-shadow: 0 0 12px rgba(251,191,36,0.15), inset 0 1px 0 rgba(251,191,36,0.08);
}
.battle-player-slot.filled.team-red {
    border-color: rgba(239,68,68,0.6);
    background: linear-gradient(135deg, rgba(239,68,68,0.12) 0%, rgba(0,0,0,0.4) 100%);
    box-shadow: 0 0 12px rgba(239,68,68,0.15);
}
.battle-player-slot.filled.team-blue {
    border-color: rgba(59,130,246,0.6);
    background: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(0,0,0,0.4) 100%);
    box-shadow: 0 0 12px rgba(59,130,246,0.15);
}
.battle-player-slot.waiting {
    border: 1.5px dashed rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.01);
    animation: waitingPulse 2s ease-in-out infinite;
}
@keyframes waitingPulse {
    0%, 100% { border-color: rgba(255,255,255,0.1); }
    50% { border-color: rgba(255,255,255,0.3); }
}

.battle-slot-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.08);
    border-top: 2px solid rgba(255,255,255,0.55);
    border-radius: 50%;
    animation: battleSpinner 0.8s linear infinite;
}
@keyframes battleSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.battle-vs-badge {
    font-size: 9px;
    font-weight: 900;
    color: rgba(255,255,255,0.2);
    letter-spacing: 1px;
    background: rgba(255,255,255,0.04);
    padding: 3px 6px;
    border-radius: 4px;
}

/* MIDDLE / CASES SECTION */
.battle-cases-section {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
    padding: 16px 24px;
    position: relative;
    flex-wrap: nowrap;
    min-height: 0;
    align-self: stretch;
}
.battle-case-item-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}
.battle-case-item-img:hover {
    transform: scale(1.18) rotate(6deg);
}
.battle-cases-more {
    font-size: 10px;
    font-weight: 800;
    color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.06);
    padding: 4px 9px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    letter-spacing: 0.3px;
}

/* RIGHT SECTION */
.battle-right-section {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px 16px 18px;
    border-left: 1px solid rgba(255,255,255,0.05);
}
.btn-join-battle {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border: none;
    color: white;
    padding: 10px 22px;
    font-weight: 800;
    font-size: 11px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16,185,129,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.btn-join-battle::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.2s;
}
.btn-join-battle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16,185,129,0.45);
    filter: brightness(1.08);
}
.btn-join-battle:hover::after { opacity: 1; }
.btn-join-battle:active { transform: translateY(0); }

.btn-watch-battle {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.45);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}
.btn-watch-battle:hover {
    background: rgba(165,180,252,0.12);
    border-color: rgba(165,180,252,0.35);
    color: #a5b4fc;
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(165,180,252,0.15);
}

/* ── BATTLE ARENA OVERLAY (redesigned) ── */
#battle-arena-overlay .glass-panel {
    width: min(820px, 96vw);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(251,191,36,0.12);
    box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
    background: linear-gradient(160deg, rgba(22,18,50,0.98) 0%, rgba(10,8,25,0.99) 100%);
}

/* Arena header bar */
.battle-arena-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(251,191,36,0.04);
}
.battle-arena-round-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fbbf24;
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.2);
    padding: 5px 14px;
    border-radius: 20px;
}

/* Two-column spinner layout */
.battle-arena-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 24px;
    gap: 16px;
}
.battle-player-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}
.battle-player-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}
.battle-player-col-name {
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.3px;
    cursor: pointer;
}
.battle-player-col-name:hover { text-decoration: underline; opacity: 0.85; }
.battle-player-col-value {
    font-size: 15px;
    font-weight: 900;
    color: #fbbf24;
    text-shadow: 0 0 16px rgba(251,191,36,0.4);
}
.battle-track-wrapper {
    position: relative;
    width: 100%;
    height: 110px;
    overflow: hidden;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
}
.battle-drops-grid {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 55px;
    padding: 4px 0;
}

/* Winner reveal banner */
.battle-winner-banner {
    text-align: center;
    padding: 20px 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(90deg, transparent, rgba(251,191,36,0.04), transparent);
    display: none;
}
.battle-winner-text {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: winnerPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes winnerPop {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: scale(1); }
}

/* Create Battle Modal — upgraded */
#create-battle-modal-overlay .glass-panel {
    border: 1px solid rgba(251,191,36,0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.battle-setup-case-card {
    transition: all 0.18s ease !important;
    position: relative;
    overflow: hidden;
}
.battle-setup-case-card:hover {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(251,191,36,0.3) !important;
    transform: translateX(4px);
}
.battle-setup-case-card.active {
    background: rgba(251,191,36,0.08) !important;
    border-color: rgba(251,191,36,0.55) !important;
    box-shadow: 0 0 0 1px rgba(251,191,36,0.15) !important;
}
.round-select-btn {
    transition: all 0.18s ease;
}
.round-select-btn.active {
    background: rgba(251,191,36,0.15) !important;
    border-color: rgba(251,191,36,0.5) !important;
    color: #fbbf24 !important;
    box-shadow: 0 0 12px rgba(251,191,36,0.15) !important;
}

/* ========================================================
   JACKPOT ENHANCED STYLES v5
   ======================================================== */

/* Jackpot page wrapper */
#page-jackpot {
    background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.08) 0%, transparent 60%);
}

/* Enhanced spinner area */
#jackpot-spinner-area {
    background: linear-gradient(135deg, rgba(139,92,246,0.08) 0%, rgba(251,191,36,0.05) 100%);
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

#jackpot-spinner-area::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, var(--bg-card) 0%, transparent 15%, transparent 85%, var(--bg-card) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Jackpot circle box - more dramatic */
.jackpot-circle-box {
    background: radial-gradient(ellipse at center, rgba(139,92,246,0.06) 0%, transparent 70%);
    border: 1px solid rgba(139,92,246,0.12);
}

.jackpot-circle-wrapper {
    filter: drop-shadow(0 0 30px rgba(139,92,246,0.2));
    transition: filter 0.3s ease;
}

/* Animated glow on the pool value */
.jackpot-total-val {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(251,191,36,0.4);
    transition: text-shadow 0.3s ease;
}

.jackpot-time-left {
    font-size: 18px;
    font-weight: 800;
    margin-top: 4px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Ring fill - animated transition */
.jackpot-ring-fill {
    transition: stroke-dashoffset 0.1s linear, stroke 0.3s ease, filter 0.3s ease;
}

/* Bet rows - enhanced */
.jackpot-bet-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 6px;
    animation: jp-bet-enter 0.3s ease forwards;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jackpot-bet-row:hover {
    transform: translateX(2px);
}

/* Deposit panel enhanced */
.jackpot-deposit {
    background: linear-gradient(135deg, rgba(20,18,33,0.9) 0%, rgba(30,28,50,0.9) 100%);
    border: 1px solid rgba(139,92,246,0.15);
    position: relative;
    overflow: hidden;
}

.jackpot-deposit::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(251,191,36,0.03) 0%, transparent 60%);
    pointer-events: none;
}

/* Enter pool button - pulsing gold */
#btn-enter-jackpot {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
    color: #0a0820;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(251,191,36,0.3), 0 0 40px rgba(251,191,36,0.1);
}

#btn-enter-jackpot::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: rgba(255,255,255,0.25);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
}

#btn-enter-jackpot:hover::before {
    left: 125%;
}

#btn-enter-jackpot:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251,191,36,0.4), 0 0 60px rgba(251,191,36,0.15);
}

#btn-enter-jackpot:disabled {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.3);
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

#btn-enter-jackpot:disabled::before {
    display: none;
}

/* Spinner indicator - vertical golden line */
/* spinner-indicator artık JS inline ile yönetilir */


/* Jackpot page title bar */
.jackpot-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.jackpot-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.jackpot-live-dot {
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    animation: jp-live-pulse 1.2s ease-in-out infinite;
}

@keyframes jp-live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 4px #ef4444; }
    50% { opacity: 0.6; transform: scale(0.8); box-shadow: none; }
}

/* Pool size display in right panel */
.jackpot-pool-display {
    background: rgba(251,191,36,0.06);
    border: 1px solid rgba(251,191,36,0.15);
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
}

/* Enhanced spinner items */
.jp-spinner-item {
    position: relative;
}

.jp-spinner-item.winner-tile::before {
    content: '👑';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    animation: jp-crown-bounce 0.5s ease infinite alternate;
}

@keyframes jp-crown-bounce {
    0% { transform: translateX(-50%) translateY(0); }
    100% { transform: translateX(-50%) translateY(-4px); }
}

/* Jackpot bets list area */
.jackpot-players-bet {
    background: rgba(255,255,255,0.01);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.04);
    padding: 12px;
    min-height: 80px;
}

/* Status badge */
.jp-status-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Jackpot animations */
@keyframes jp-bet-enter {
    0% { opacity: 0; transform: translateX(-16px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes jp-pool-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.07); text-shadow: 0 0 25px rgba(251,191,36,0.7); }
    100% { transform: scale(1); }
}


/* ========================================================
   GAME CARD PER-GAME COLOR THEMING
   ======================================================== */

/* Each card gets its own glow color */
.rbxbet-game-card[data-game="battles"]   { --card-color: #ef4444; }
.rbxbet-game-card[data-game="blackjack"] { --card-color: #3b82f6; }
.rbxbet-game-card[data-game="roulette"]  { --card-color: #10b981; }
.rbxbet-game-card[data-game="twist"]     { --card-color: #facc15; }
.rbxbet-game-card[data-game="coinflip"]  { --card-color: #94a3b8; }
.rbxbet-game-card[data-game="cases"]     { --card-color: #ec4899; }
.rbxbet-game-card[data-game="jackpot"]   { --card-color: #fbbf24; }
.rbxbet-game-card[data-game="mines"]     { --card-color: #f97316; }
.rbxbet-game-card[data-game="upgrader"]  { --card-color: #fbbf24; }

/* SVG icon in game card */
.game-card-icon svg {
    filter: drop-shadow(0 0 5px color-mix(in srgb, var(--card-color, #10b981) 50%, transparent));
    transition: filter 0.3s ease;
}

.rbxbet-game-card:hover .game-card-icon svg {
    filter: drop-shadow(0 0 10px color-mix(in srgb, var(--card-color, #10b981) 80%, transparent));
}

/* Jackpot page icon in header - use SVG style */
.jp-header-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(251,191,36,0.12);
    border: 1px solid rgba(251,191,36,0.3);
    display: flex; align-items: center; justify-content: center;
}

/* Twist history - ensure arrow is visible with clip */
.twist-history-list {
    overflow: visible;
}


/* ── ADD CASES MODAL ─────────────────────────────── */
#add-cases-grid::-webkit-scrollbar { width: 5px; }
#add-cases-grid::-webkit-scrollbar-track { background: transparent; }
#add-cases-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }

.add-case-card {
    transition: border-color 0.2s, background 0.2s;
}
.add-case-card:hover {
    background: rgba(255,255,255,0.03) !important;
}

.case-adj-btn:hover {
    filter: brightness(1.3);
}

/* ── CASE CARD GLOW on hover ─────────────────────── */
.case-card {
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 20px var(--case-glow, transparent);
}

/* ── BATTLE ROUND TITLE with case name ──────────── */
#battle-round-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ── MINIMIZE BADGE & ANIMATIONS ───────────────────── */
@keyframes slideInRight {
    from { transform: translateX(120%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1;   box-shadow: 0 0 8px #22c55e; }
    50%       { opacity: 0.5; box-shadow: 0 0 3px #22c55e; }
}

#battle-inprogress-badge:hover {
    border-color: rgba(251,191,36,0.7) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6) !important;
    transition: all 0.2s;
}

/* ── SPINNER CENTER BADGE ─────────────────────────── */
@keyframes spinnerBadgePulse {
    0%, 100% { box-shadow: 0 0 14px rgba(251,191,36,0.3), inset 0 0 12px rgba(251,191,36,0.06); transform: translate(-50%,-50%) scale(1);   }
    50%       { box-shadow: 0 0 26px rgba(251,191,36,0.55), inset 0 0 18px rgba(251,191,36,0.12); transform: translate(-50%,-50%) scale(1.06); }
}

/* spinning state — badge shrinks/fades so item is visible */
.spinner-wrapper.is-spinning #spinner-center-badge {
    opacity: 0;
    transition: opacity 0.3s;
}
.spinner-wrapper:not(.is-spinning) #spinner-center-badge {
    opacity: 1;
    transition: opacity 0.5s 0.4s;  /* fade in after spin settles */
}

/* ── CREATE BATTLE PAGE ─────────────────────────── */
.cb-mode-card {
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    padding:16px 10px; border-radius:12px; border:2px solid rgba(255,255,255,0.07);
    background:rgba(255,255,255,0.02); cursor:pointer; transition:all 0.2s; text-align:center;
    user-select:none;
}
.cb-mode-card * { pointer-events:none; }
.cb-player-btn * { pointer-events:none; }
.cb-mode-card:hover  { border-color:rgba(251,191,36,0.35); background:rgba(251,191,36,0.06); }
.cb-mode-card.active { border-color:#fbbf24 !important; background:rgba(251,191,36,0.1) !important; box-shadow:0 0 18px rgba(251,191,36,0.15); }

.cb-player-btn {
    padding:8px 18px; border-radius:8px; border:1px solid rgba(255,255,255,0.1);
    background:rgba(255,255,255,0.03); color:rgba(255,255,255,0.55); cursor:pointer;
    font-size:12px; font-weight:800; letter-spacing:0.5px; transition:all 0.15s;
}
.cb-player-btn:hover  { border-color:rgba(251,191,36,0.4); color:white; }
.cb-player-btn.active { border-color:#fbbf24; background:rgba(251,191,36,0.12); color:#fbbf24; }

/* selected case chip */
.cb-case-chip {
    position:relative; width:90px; height:90px; border-radius:12px;
    border:1px solid rgba(255,255,255,0.1); background:rgba(255,255,255,0.03);
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:4px; cursor:default; transition:border-color 0.2s;
    padding:6px;
}
.cb-case-chip:hover { border-color:rgba(255,80,80,0.5); }
.cb-case-chip .cb-chip-remove {
    position:absolute; top:-6px; right:-6px; width:18px; height:18px;
    border-radius:50%; background:#ef4444; color:white; font-size:9px;
    display:none; align-items:center; justify-content:center; cursor:pointer;
    border:2px solid #0a0818;
}
.cb-case-chip:hover .cb-chip-remove { display:flex; }

/* case picker row */
.cb-picker-row {
    display:flex; align-items:center; gap:10px; padding:8px 10px;
    border-radius:10px; border:1px solid rgba(255,255,255,0.05);
    background:rgba(255,255,255,0.01); cursor:pointer; transition:all 0.15s;
}
.cb-picker-row:hover { background:rgba(251,191,36,0.07); border-color:rgba(251,191,36,0.25); }
.cb-picker-row-add {
    width:26px; height:26px; border-radius:7px; border:1px solid rgba(255,255,255,0.15);
    background:rgba(255,255,255,0.05); color:rgba(255,255,255,0.6);
    display:flex; align-items:center; justify-content:center; font-size:14px;
    cursor:pointer; transition:all 0.15s; flex-shrink:0;
}
.cb-picker-row-add:hover { background:rgba(251,191,36,0.2); border-color:#fbbf24; color:#fbbf24; }
.cb-picker-row-count {
    width:26px; height:26px; text-align:center; border-radius:7px;
    background:rgba(251,191,36,0.1); border:1px solid rgba(251,191,36,0.3);
    color:#fbbf24; font-size:12px; font-weight:800; line-height:26px; flex-shrink:0;
}

/* ══════════════════════════════════════════════
   TWIST v2 — Wheel on top, bets below
══════════════════════════════════════════════ */
.tw-layout-v2 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Wheel panel full width */
.tw-wheel-panel-v2 {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Bottom section */
.tw-bottom-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Bet input bar */
.tw-bet-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    flex-wrap: wrap;
}

.tw-bet-input-v2 {
    flex: 1;
    min-width: 120px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 9px 14px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    outline: none;
    transition: border-color 0.2s;
}
.tw-bet-input-v2:focus { border-color: rgba(251,191,36,0.5); }

.tw-quick-btn {
    padding: 8px 12px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.55);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.5px;
}
.tw-quick-btn:hover { border-color: rgba(251,191,36,0.4); color: white; }
.tw-quick-max { border-color: rgba(251,191,36,0.3); color: #fbbf24; }
.tw-quick-max:hover { background: rgba(251,191,36,0.12); }

/* 4 columns side by side */
.tw-bet-cols-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.tw-bet-col-v2 {
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1px solid rgba(255,255,255,0.06);
}
.tw-bet-col-v2:hover { transform: translateY(-3px); }

.tw-col-blue:hover  { box-shadow: 0 8px 24px rgba(56,189,248,0.2);  border-color: rgba(56,189,248,0.3); }
.tw-col-red:hover   { box-shadow: 0 8px 24px rgba(244,63,94,0.2);   border-color: rgba(244,63,94,0.3); }
.tw-col-green:hover { box-shadow: 0 8px 24px rgba(52,211,153,0.2);  border-color: rgba(52,211,153,0.3); }
.tw-col-yellow:hover{ box-shadow: 0 8px 24px rgba(251,191,36,0.2);  border-color: rgba(251,191,36,0.3); }

.tw-col-v2-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Bet button inside each column */
.tw-place-btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s;
    pointer-events: none; /* parent div handles click */
}
.tw-place-blue   { background: rgba(56,189,248,0.15);  color: #38bdf8; }
.tw-place-red    { background: rgba(244,63,94,0.15);   color: #f43f5e; }
.tw-place-green  { background: rgba(52,211,153,0.15);  color: #34d399; }
.tw-place-yellow { background: rgba(251,191,36,0.15);  color: #fbbf24; }

.tw-bet-col-v2:hover .tw-place-blue   { background: #38bdf8;  color: #0a0818; }
.tw-bet-col-v2:hover .tw-place-red    { background: #f43f5e;  color: white;   }
.tw-bet-col-v2:hover .tw-place-green  { background: #34d399;  color: #0a0818; }
.tw-bet-col-v2:hover .tw-place-yellow { background: #fbbf24;  color: #0a0818; }

.tw-col-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 8px;
    margin-top: auto;
}
.tw-col-footer .tw-col-total {
    font-weight: 800;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
}

/* ============================================================
   PREMIUM BET INPUT (PBI) — Global Component
   ============================================================ */

/* Top accent stripe on any panel */
.pbi-panel { position:relative; overflow:hidden; }
.pbi-panel::before {
    content:'';
    position:absolute;
    top:0; left:0; right:0;
    height:2px;
    background:linear-gradient(90deg, var(--primary), var(--accent), #ec4899);
}

.pbi-panel-hdr { display:flex; align-items:center; gap:8px; }

/* Label */
.pbi-label {
    display:flex;
    align-items:center;
    gap:6px;
    font-size:11px;
    font-weight:700;
    letter-spacing:1.4px;
    text-transform:uppercase;
    color:var(--text-muted);
}
.pbi-bal-hint {
    margin-left:auto;
    font-size:11px;
    font-weight:600;
    color:var(--secondary);
    letter-spacing:0;
    text-transform:none;
}

/* Input wrapper */
.pbi-wrap {
    display:flex;
    align-items:center;
    background:rgba(0,0,0,0.35);
    border:1.5px solid rgba(255,255,255,0.07);
    border-radius:12px;
    padding:0 14px;
    height:52px;
    gap:10px;
    transition:border-color 0.2s, box-shadow 0.2s;
}
.pbi-wrap:focus-within {
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(139,92,246,0.14), inset 0 1px 0 rgba(255,255,255,0.03);
}
/* Slim variant for inline bars */
.pbi-wrap-slim { height:40px; border-radius:10px; padding:0 10px; }

.pbi-cur {
    font-size:15px;
    font-weight:800;
    color:var(--accent);
    font-family:'Space Grotesk', sans-serif;
    flex-shrink:0;
    opacity:0.85;
}

.pbi-input {
    flex:1;
    background:transparent;
    border:none;
    outline:none;
    color:#fff;
    font-size:20px;
    font-weight:800;
    font-family:'Space Grotesk', sans-serif;
    letter-spacing:-0.5px;
    width:100%;
    caret-color:var(--primary);
}
.pbi-input::placeholder { color:rgba(255,255,255,0.18); font-size:15px; }
.pbi-input::-webkit-outer-spin-button,
.pbi-input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.pbi-input[type=number] { -moz-appearance:textfield; }
/* Slim variant */
.pbi-input-slim { font-size:15px; }

.pbi-clear {
    background:none;
    border:none;
    color:rgba(255,255,255,0.2);
    font-size:11px;
    cursor:pointer;
    padding:4px 2px;
    border-radius:4px;
    transition:color 0.15s, background 0.15s;
    flex-shrink:0;
    line-height:1;
}
.pbi-clear:hover { color:rgba(255,255,255,0.6); background:rgba(255,255,255,0.06); }

/* Quick amount buttons */
.pbi-quicks { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
/* Inline row variant */
.pbi-quicks-inline { display:flex; gap:5px; flex-shrink:0; }

.pbi-q {
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.07);
    border-radius:8px;
    color:rgba(255,255,255,0.6);
    font-size:11px;
    font-weight:800;
    font-family:'Space Grotesk', sans-serif;
    letter-spacing:0.4px;
    padding:8px 4px;
    cursor:pointer;
    transition:all 0.15s cubic-bezier(0.4,0,0.2,1);
}
.pbi-q:hover {
    background:rgba(139,92,246,0.18);
    border-color:rgba(139,92,246,0.4);
    color:#fff;
    transform:translateY(-1px);
}
.pbi-q:active { transform:translateY(0) scale(0.96); }

/* Small variant for inline bars */
.pbi-q-sm { font-size:10px; padding:6px 8px; border-radius:7px; }

.pbi-q-max {
    background:rgba(251,191,36,0.08);
    border-color:rgba(251,191,36,0.22);
    color:var(--accent);
}
.pbi-q-max:hover {
    background:rgba(251,191,36,0.2);
    border-color:rgba(251,191,36,0.5);
    color:var(--accent);
}

/* Submit button */
.pbi-submit {
    width:100%;
    justify-content:center;
    padding:14px 20px;
    font-weight:900;
    font-size:15px;
    letter-spacing:0.5px;
    border-radius:12px;
    gap:8px;
    transition:all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.pbi-submit:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(251,191,36,0.2); }
.pbi-submit:active { transform:translateY(0); }

/* Coinflip side selector */
.pbi-sides { display:grid; grid-template-columns:1fr 1fr; gap:8px; }

.pbi-side {
    display:flex; align-items:center; justify-content:center;
    gap:8px;
    padding:11px 10px;
    border-radius:10px;
    border:1.5px solid rgba(255,255,255,0.07);
    background:rgba(255,255,255,0.03);
    color:rgba(255,255,255,0.55);
    font-size:13px;
    font-weight:800;
    cursor:pointer;
    transition:all 0.18s ease;
    font-family:'Space Grotesk', sans-serif;
}
.pbi-side:hover { background:rgba(255,255,255,0.07); color:#fff; transform:translateY(-1px); }
.pbi-side-gold.active  { border-color:var(--accent); background:rgba(251,191,36,0.12); color:var(--accent); box-shadow:0 0 0 2px rgba(251,191,36,0.14); }
.pbi-side-silver.active { border-color:#cbd5e1; background:rgba(203,213,225,0.1); color:#e2e8f0; box-shadow:0 0 0 2px rgba(203,213,225,0.1); }

.pbi-dot { width:9px; height:9px; border-radius:50%; flex-shrink:0; }
.pbi-dot-gold   { background:var(--accent); box-shadow:0 0 5px rgba(251,191,36,0.7); }
.pbi-dot-silver { background:#cbd5e1; box-shadow:0 0 5px rgba(203,213,225,0.5); }

/* Inline bet bar (Twist) */
.pbi-bar-inline { display:flex; align-items:center; gap:10px; flex-wrap:nowrap; }

/* ========================================================
   UPGRADER GAME STYLES
   ======================================================== */
.up-grid-item {
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.up-grid-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.up-grid-item.selected {
    border-color: var(--accent) !important;
    background: rgba(251, 191, 36, 0.08) !important;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.2), inset 0 0 10px rgba(251, 191, 36, 0.05);
}
.up-grid-item.selected::after {
    content: "✓";
    position: absolute;
    top: 6px;
    right: 8px;
    background: var(--accent);
    color: #0f0b20;
    font-size: 9px;
    font-weight: 900;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(251, 191, 36, 0.5);
}

.up-dir-btn {
    transition: all 0.2s ease-in-out;
}
.up-dir-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: white !important;
}
.up-dir-btn.active {
    border-color: var(--accent) !important;
    background: rgba(251, 191, 36, 0.12) !important;
    color: var(--accent) !important;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.15);
}

.up-tab-btn {
    position: relative;
    padding-bottom: 8px !important;
}
.up-tab-btn::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.25s ease;
    transform: translateX(-50%);
}
.up-tab-btn.active::after {
    width: 80%;
}
.up-tab-btn:hover {
    color: white !important;
}

/* Custom needle pulse */
#up-needle {
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.6));
}

/* Custom Scrollbar for Upgrader Grid */
#up-items-grid::-webkit-scrollbar {
    width: 6px;
}
#up-items-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}
#up-items-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
#up-items-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   NEON GLOW STAT CARDS
   ============================================================ */
.dashboard-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 4px;
}
.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(22, 19, 44, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.stat-card:hover {
    transform: translateY(-3px);
}
.stat-card[data-stat="players"]:hover {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.15), 0 2px 4px rgba(0, 0, 0, 0.2);
}
.stat-card[data-stat="wagers"]:hover {
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow: 0 6px 24px rgba(251, 191, 36, 0.15), 0 2px 4px rgba(0, 0, 0, 0.2);
}
.stat-card[data-stat="winners"]:hover {
    border-color: rgba(167, 139, 250, 0.35);
    box-shadow: 0 6px 24px rgba(167, 139, 250, 0.15), 0 2px 4px rgba(0, 0, 0, 0.2);
}
.stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.stat-value {
    font-size: 20px;
    font-weight: 900;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.25;
}
.stat-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

/* ============================================================
   UPGRADED GAME CARDS
   ============================================================ */
.rbxbet-game-card {
    position: relative;
    padding: 24px 20px 20px 20px !important;
    height: 160px !important;
}
.game-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    z-index: 5;
    pointer-events: none;
    transition: all 0.25s ease;
}
.rbxbet-game-card:hover .game-card-badge {
    background: color-mix(in srgb, var(--card-color, #10b981) 15%, rgba(255,255,255,0.06));
    border-color: color-mix(in srgb, var(--card-color, #10b981) 40%, transparent);
    color: white;
    box-shadow: 0 0 6px color-mix(in srgb, var(--card-color, #10b981) 25%, transparent);
}
.game-card-action {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--card-color, #10b981);
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 3;
}
.rbxbet-game-card:hover .game-card-action {
    opacity: 1;
    transform: translateY(0);
}
.game-card-action i {
    font-size: 9px;
    transition: transform 0.2s ease;
}
.rbxbet-game-card:hover .game-card-action i {
    transform: translateX(2px);
}

/* Dynamic background central radial glow on hover */
.rbxbet-game-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--card-color, #10b981) 14%, transparent) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}
.rbxbet-game-card:hover::after {
    opacity: 1;
}

/* ============================================================
   LIVE PLATFORM FEED
   ============================================================ */
.live-activity-section {
    margin-top: 12px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(22, 19, 44, 0.35) !important;
}
.live-activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}
.live-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}
.live-title-wrap h3 {
    font-size: 16px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
    margin: 0;
}
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.22);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 9.5px;
    font-weight: 900;
    color: #ef4444;
    letter-spacing: 1px;
}
.live-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #ef4444;
    animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

.live-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}
.live-tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 11.5px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.live-tab-btn:hover {
    color: white;
}
.live-tab-btn.active {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.live-table-container {
    overflow-x: auto;
    width: 100%;
}
.live-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.live-table th {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 14px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.04);
}
.live-table td {
    padding: 12px 14px;
    font-size: 12.5px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.85);
    vertical-align: middle;
}
.live-table tr {
    transition: background 0.15s;
}
.live-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.012);
}

/* Animations for rows insertion */
.bet-row-anim {
    animation: betRowIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes betRowIn {
    0% { opacity: 0; transform: translateY(-12px); background: rgba(167, 139, 250, 0.12); }
    100% { opacity: 1; transform: translateY(0); background: transparent; }
}

.live-game-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11.5px;
}
.live-game-cell i {
    width: 20px;
    text-align: center;
}

.live-player-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}
.live-player-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}
.live-player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.live-player-level {
    font-size: 9px;
    font-weight: 900;
    background: rgba(167, 139, 250, 0.12);
    color: var(--primary);
    border: 1px solid rgba(167, 139, 250, 0.2);
    padding: 1px 5px;
    border-radius: 4px;
}
.live-player-name {
    color: white;
    font-weight: 700;
}

.live-wager-cell {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    color: #cbd5e1;
}
.live-wager-cell i {
    color: var(--accent);
    font-size: 11px;
}

.live-mult-cell {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
}
.live-mult-win {
    color: var(--secondary);
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.15);
}
.live-mult-loss {
    color: var(--text-muted);
    opacity: 0.65;
}

.live-payout-cell {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
}
.live-payout-win {
    color: var(--secondary);
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.2);
}
.live-payout-loss {
    color: rgba(255, 255, 255, 0.25);
}
