/* =====================================================
   OASIS CASINO - PREMIUM DESIGN SYSTEM v3.5
   Dark Luxury · Glassmorphism · Cyberpunk Neon Accents
   ===================================================== */

/* ---- DESIGN TOKENS ---- */
:root {
    --bg-void: #060813;
    --bg-deep: #0a0e20;
    --bg-card: rgba(14, 20, 42, 0.88);
    --bg-card-hover: rgba(20, 28, 58, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.09);
    --border: rgba(255, 255, 255, 0.08);
    --border-neon: rgba(0, 229, 255, 0.35);

    --cyan: #00e5ff;
    --cyan-dim: rgba(0, 229, 255, 0.15);
    --cyan-glow: rgba(0, 229, 255, 0.45);
    --gold: #f5c842;
    --gold-dim: rgba(245, 200, 66, 0.15);
    --gold-glow: rgba(245, 200, 66, 0.45);
    --green: #10b981;
    --green-glow: rgba(16, 185, 129, 0.45);
    --red: #ef4444;
    --red-glow: rgba(239, 68, 68, 0.45);
    --blue: #3b82f6;
    --blue-glow: rgba(59, 130, 246, 0.45);
    --purple: #a855f7;
    --purple-glow: rgba(168, 85, 247, 0.45);
    --discord: #5865f2;

    --text: #f1f5f9;
    --text-muted: rgba(241, 245, 249, 0.6);
    --text-dim: rgba(241, 245, 249, 0.3);

    --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --radius-pill: 999px;

    --header-h: 68px;
    --nav-h: 56px;
    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & GLOBAL ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--bg-void);
}

body {
    font-family: var(--font);
    background: var(--bg-void);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font);
    color: inherit;
    outline: none;
}

input, select {
    font-family: var(--font);
}

/* ---- LIVE WINNER TICKER ---- */
.live-ticker {
    background: linear-gradient(90deg, #050710, #0a0f24, #050710);
    border-bottom: 1px solid var(--border);
    height: 38px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.ticker-badge {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 1.2px;
    flex-shrink: 0;
    box-shadow: 2px 0 15px rgba(239, 68, 68, 0.4);
}

.pulse-dot {
    animation: pulseRed 1s ease-in-out infinite;
    font-size: 0.55rem;
}

@keyframes pulseRed {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

.ticker-scroll {
    overflow: hidden;
    flex: 1;
}

.ticker-track {
    display: flex;
    gap: 50px;
    animation: tickerRun 28s linear infinite;
    white-space: nowrap;
    padding: 0 20px;
}

@keyframes tickerRun {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ticker-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ticker-item strong {
    color: var(--gold);
    font-weight: 700;
}

.ticker-item i {
    color: var(--gold);
}

/* ---- HEADER ---- */
.casino-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(6, 8, 19, 0.94);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.logo-group:hover {
    transform: scale(1.02);
}

.logo-ring {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 22px var(--cyan-glow);
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-deep);
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--cyan);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #fff;
}

.brand-title em {
    font-style: normal;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-sub {
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 1.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Jackpot Pill */
.jackpot-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.12), rgba(245, 200, 66, 0.03));
    border: 1px solid rgba(245, 200, 66, 0.3);
    border-radius: var(--radius-pill);
    padding: 6px 20px;
    position: relative;
    box-shadow: 0 0 25px rgba(245, 200, 66, 0.1);
}

.jackpot-icon {
    font-size: 1.2rem;
    color: var(--gold);
    animation: fireAnim 1.2s ease-in-out infinite alternate;
}

@keyframes fireAnim {
    from { transform: scale(1) rotate(-6deg); }
    to { transform: scale(1.15) rotate(6deg); }
}

.jackpot-info {
    display: flex;
    flex-direction: column;
}

.jackpot-lbl {
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: rgba(245, 200, 66, 0.75);
}

.jackpot-val {
    font-family: var(--mono);
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--gold);
    text-shadow: 0 0 12px var(--gold-glow);
}

.jackpot-pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    animation: jackpotPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes jackpotPulse {
    0%, 100% { box-shadow: inset 0 0 0 1px rgba(245, 200, 66, 0); }
    50% { box-shadow: inset 0 0 0 1px rgba(245, 200, 66, 0.5); }
}

/* User Auth Bar */
.user-auth-bar {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.btn-discord-login {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--discord);
    color: #fff;
    border-radius: var(--radius-pill);
    padding: 9px 22px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord-login:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(88, 101, 242, 0.6);
}

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-neon);
    border-radius: var(--radius-pill);
    padding: 5px 16px 5px 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.88rem;
    font-weight: 800;
}

.user-balance {
    font-family: var(--mono);
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 800;
}

.btn-logout {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 6px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-logout:hover {
    color: var(--red);
    transform: scale(1.2);
}

.nav-hamburger {
    display: none;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 9px 13px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
}

/* ---- NAVIGATION BAR ---- */
.casino-nav {
    background: rgba(10, 14, 32, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--header-h);
    z-index: 150;
    overflow-x: auto;
    scrollbar-width: none;
}

.casino-nav::-webkit-scrollbar {
    display: none;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 6px;
    height: var(--nav-h);
    align-items: center;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
    height: 38px;
}

.nav-btn:hover {
    background: var(--bg-glass-hover);
    color: var(--text);
}

.nav-btn.active {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(168, 85, 247, 0.18));
    color: var(--cyan);
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.nav-btn-bonus {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.16), rgba(245, 200, 66, 0.05));
    color: var(--gold);
    border: 1px solid rgba(245, 200, 66, 0.25);
    margin-left: auto;
}

.nav-btn-bonus:hover {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.26), rgba(245, 200, 66, 0.1));
    color: var(--gold);
}

/* ---- MAIN CONTAINER ---- */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px 70px;
    position: relative;
    z-index: 10;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

/* ---- HERO SECTION ---- */
.hero {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.06) 0%, rgba(168, 85, 247, 0.06) 50%, rgba(245, 200, 66, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-xl);
    padding: 50px 48px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: center;
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hero-bg-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--cyan);
    background: var(--cyan-dim);
    border: 1px solid rgba(0, 229, 255, 0.25);
    padding: 5px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--cyan), var(--purple), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 600px;
}

.hero-desc strong {
    color: var(--gold);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.hero-stat {
    text-align: left;
}

.stat-num {
    display: block;
    font-family: var(--mono);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cyan);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-stat-divider {
    width: 1px;
    height: 38px;
    background: var(--border);
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--discord);
    color: #fff;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    font-size: 0.98rem;
    font-weight: 800;
    transition: var(--transition);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.45);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(88, 101, 242, 0.6);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    font-size: 0.98rem;
    font-weight: 700;
    transition: var(--transition);
}

.cta-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-neon);
    transform: translateY(-2px);
}

/* Hero Visual Card Stack */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 240px;
}

.hero-card-stack {
    position: relative;
    width: 160px;
    height: 220px;
}

.float-card {
    position: absolute;
    width: 96px;
    height: 140px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.card-1 {
    top: 20px;
    left: 0;
    transform: rotate(-14deg);
    animation: float1 4s ease-in-out infinite;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    z-index: 3;
}

.card-2 {
    top: 10px;
    left: 40px;
    transform: rotate(-3deg);
    animation: float2 4s ease-in-out infinite 0.5s;
    background: linear-gradient(135deg, #1e1b4b, #172554);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: var(--red);
    z-index: 2;
}

.card-3 {
    top: 25px;
    left: 75px;
    transform: rotate(10deg);
    animation: float3 4s ease-in-out infinite 1s;
    background: linear-gradient(135deg, #0f172a, #2e1065);
    border: 1px solid var(--border-neon);
    color: var(--cyan);
    z-index: 1;
}

@keyframes float1 {
    0%, 100% { transform: rotate(-14deg) translateY(0); }
    50% { transform: rotate(-14deg) translateY(-10px); }
}

@keyframes float2 {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-8px); }
}

@keyframes float3 {
    0%, 100% { transform: rotate(10deg) translateY(0); }
    50% { transform: rotate(10deg) translateY(-12px); }
}

.hero-coins {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.coin {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.coin-1 {
    top: 5%;
    right: 5%;
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.25), rgba(245, 200, 66, 0.05));
    border: 1px solid rgba(245, 200, 66, 0.4);
    color: var(--gold);
    animation: coinFloat 3s ease-in-out infinite;
}

.coin-2 {
    bottom: 10%;
    right: 20%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(0, 229, 255, 0.05));
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: var(--cyan);
    animation: coinFloat 3s ease-in-out infinite 1s;
}

.coin-3 {
    top: 50%;
    left: -5%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: var(--purple);
    animation: coinFloat 3s ease-in-out infinite 2s;
}

@keyframes coinFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-12px) rotate(15deg); }
}

/* ---- JACKPOT BANNER FULL ---- */
.jackpot-banner-full {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.12), rgba(245, 200, 66, 0.03));
    border: 1px solid rgba(245, 200, 66, 0.3);
    border-radius: var(--radius-lg);
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.jb-icon {
    font-size: 1.8rem;
    color: var(--gold);
    animation: fireAnim 1.2s ease-in-out infinite alternate;
}

.jb-text {
    text-align: center;
}

.jb-text span {
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: rgba(245, 200, 66, 0.8);
    margin-bottom: 2px;
}

.jb-text strong {
    font-family: var(--mono);
    font-size: 2.2rem;
    color: var(--gold);
    font-weight: 900;
    text-shadow: 0 0 20px var(--gold-glow);
}

/* ---- SECTION HEADER ---- */
.section-header {
    margin-bottom: 22px;
}

.section-header h2 {
    font-size: 1.35rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.section-header h2 i {
    color: var(--cyan);
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---- GAMES GRID ---- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.08);
}

.gc-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.game-card:hover .gc-glow {
    opacity: 0.6;
}

.gc-glow-blue { background: var(--blue); }
.gc-glow-gold { background: var(--gold); }
.gc-glow-red { background: var(--red); }
.gc-glow-cyan { background: var(--cyan); }
.gc-glow-green { background: var(--green); }
.gc-glow-purple { background: var(--purple); }

.gc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: fit-content;
}

.gc-badge-gold { background: var(--gold-dim); border-color: rgba(245, 200, 66, 0.35); color: var(--gold); }
.gc-badge-red { background: rgba(239, 68, 68, 0.18); border-color: rgba(239, 68, 68, 0.35); color: var(--red); }
.gc-badge-cyan { background: var(--cyan-dim); border-color: rgba(0, 229, 255, 0.35); color: var(--cyan); }
.gc-badge-purple { background: rgba(168, 85, 247, 0.18); border-color: rgba(168, 85, 247, 0.35); color: var(--purple); }

.gc-emoji {
    font-size: 3rem;
    line-height: 1;
}

.gc-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.gc-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.gc-tags {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.gc-tags span {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.gc-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(0, 229, 255, 0.05));
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--cyan);
    padding: 11px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 800;
    transition: var(--transition);
    margin-top: auto;
}

.gc-play-btn:hover {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.28), rgba(0, 229, 255, 0.12));
    transform: scale(1.02);
}

.gc-play-gold {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.2), rgba(245, 200, 66, 0.06));
    border-color: rgba(245, 200, 66, 0.35);
    color: var(--gold);
}

.gc-play-gold:hover {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.32), rgba(245, 200, 66, 0.14));
}

.gc-play-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.06));
    border-color: rgba(168, 85, 247, 0.35);
    color: var(--purple);
}

.gc-play-purple:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.32), rgba(168, 85, 247, 0.14));
}

.game-card-hot {
    border-color: rgba(245, 200, 66, 0.25);
}

.game-card-bonus {
    border-color: rgba(168, 85, 247, 0.25);
}

/* ---- HOW IT WORKS SECTION ---- */
.how-section {
    margin-top: 50px;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.how-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px 22px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.how-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-neon);
    transform: translateY(-4px);
}

.how-step {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--cyan-glow);
}

.how-icon {
    font-size: 2.2rem;
    color: var(--cyan);
    margin: 10px 0 10px;
    display: block;
}

.how-card h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.how-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---- COMMON GAME LAYOUT ---- */
.game-layout {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 30px;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.game-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 14px;
}

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

.game-emoji-big {
    font-size: 2.8rem;
    line-height: 1;
}

.game-title-left h2 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.game-rule-text {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.game-bet-display {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    padding: 7px 16px;
    border-radius: var(--radius-pill);
}

.game-bet-display strong {
    color: var(--gold);
    font-family: var(--mono);
}

.jackpot-mini {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid rgba(245, 200, 66, 0.25);
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-family: var(--mono);
}

/* ---- GAME CONTROLS & CHIPS ---- */
.game-controls {
    margin-top: 22px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chip-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.chip-label {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    flex-shrink: 0;
}

.chip {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid transparent;
    transition: var(--transition);
    position: relative;
}

.chip::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.25);
}

.chip:hover {
    transform: scale(1.12) translateY(-3px);
}

.chip.active {
    transform: scale(1.15) translateY(-4px);
}

.chip-10  { background: linear-gradient(135deg, #1e3a5f, #0f2044); border-color: #3b82f6; color: #93c5fd; }
.chip-25  { background: linear-gradient(135deg, #1a3a1a, #0f2a0f); border-color: #10b981; color: #6ee7b7; }
.chip-50  { background: linear-gradient(135deg, #3a1a1a, #2a0f0f); border-color: #ef4444; color: #fca5a5; }
.chip-100 { background: linear-gradient(135deg, #2a2a00, #1a1a00); border-color: #f5c842; color: #fde68a; }
.chip-500 { background: linear-gradient(135deg, #2a0a3a, #1a053a); border-color: #a855f7; color: #d8b4fe; }

.chip-10.active  { box-shadow: 0 6px 22px rgba(59, 130, 246, 0.5); }
.chip-25.active  { box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5); }
.chip-50.active  { box-shadow: 0 6px 22px rgba(239, 68, 68, 0.5); }
.chip-100.active { box-shadow: 0 6px 22px rgba(245, 200, 66, 0.5); }
.chip-500.active { box-shadow: 0 6px 22px rgba(168, 85, 247, 0.5); }

.action-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    transition: var(--transition);
    flex: 1;
    min-width: 120px;
    border: 1px solid transparent;
}

.action-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none !important;
}

.action-gold {
    background: linear-gradient(135deg, #d4a017, #a07010);
    color: #fff;
    border-color: rgba(212, 160, 23, 0.35);
    box-shadow: 0 4px 18px rgba(212, 160, 23, 0.3);
}

.action-gold:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212, 160, 23, 0.5);
}

.action-green {
    background: linear-gradient(135deg, #059669, #064e3b);
    color: #fff;
    border-color: rgba(5, 150, 105, 0.35);
    box-shadow: 0 4px 18px rgba(5, 150, 105, 0.3);
}

.action-green:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(5, 150, 105, 0.5);
}

.action-red {
    background: linear-gradient(135deg, #dc2626, #7f1d1d);
    color: #fff;
    border-color: rgba(220, 38, 38, 0.35);
    box-shadow: 0 4px 18px rgba(220, 38, 38, 0.3);
}

.action-red:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(220, 38, 38, 0.5);
}

.action-blue {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    color: #fff;
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.3);
}

.action-blue:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.5);
}

.action-ghost {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.action-ghost:hover {
    background: var(--bg-glass-hover);
    color: var(--text);
}

.action-wide {
    flex: 1;
    max-width: none;
}

/* ---- BLACKJACK TABLE ---- */
.bj-table {
    background: linear-gradient(135deg, #091f10 0%, #0d2e16 100%);
    border: 3px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    min-height: 380px;
    box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.6);
}

.bj-zone {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zone-label {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.score-chip {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-family: var(--mono);
    font-size: 0.88rem;
    color: #fff;
    font-weight: 800;
}

.score-player {
    background: rgba(0, 229, 255, 0.2);
    border-color: rgba(0, 229, 255, 0.4);
    color: var(--cyan);
}

.cards-row {
    display: flex;
    gap: 12px;
    min-height: 120px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.card-item, .card-back {
    width: 80px;
    height: 116px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    transition: var(--transition);
    animation: cardDeal 0.3s ease-out;
    flex-shrink: 0;
}

@keyframes cardDeal {
    from { transform: translateY(-25px) scale(0.8); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.card-item {
    background: #ffffff;
    color: #1e293b;
    font-size: 1.35rem;
    padding: 8px;
    justify-content: space-between;
    align-items: flex-start;
}

.card-item.red {
    color: #dc2626;
}

.card-item span:last-child {
    align-self: flex-end;
    transform: rotate(180deg);
}

.card-back {
    background: linear-gradient(135deg, #1e1b4b, #0f172a);
    border: 2px solid rgba(99, 102, 241, 0.4);
    color: rgba(99, 102, 241, 0.6);
    font-size: 1.6rem;
}

.bj-divider {
    text-align: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bj-status {
    position: absolute;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* ---- SLOTS MACHINE ---- */
.slots-machine {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.slots-frame {
    background: linear-gradient(180deg, #0d0f22, #080a16);
    border: 3px solid rgba(245, 200, 66, 0.35);
    border-radius: var(--radius-xl);
    padding: 32px 44px 26px;
    position: relative;
    box-shadow: 0 0 50px rgba(245, 200, 66, 0.12), inset 0 0 40px rgba(0, 0, 0, 0.6);
}

.slots-lights {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
}

.slots-lights span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation: lightsChase 1.5s ease-in-out infinite;
}

.slots-lights span:nth-child(1) { animation-delay: 0s; }
.slots-lights span:nth-child(2) { animation-delay: 0.3s; }
.slots-lights span:nth-child(3) { animation-delay: 0.6s; }
.slots-lights span:nth-child(4) { animation-delay: 0.9s; }
.slots-lights span:nth-child(5) { animation-delay: 1.2s; }

@keyframes lightsChase {
    0%, 100% { background: var(--gold); opacity: 1; }
    50% { background: var(--text-dim); opacity: 0.3; }
}

.reels-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reel-wrapper {
    background: #04060e;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    width: 116px;
    height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.reel {
    font-size: 4.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.reel.spinning {
    animation: reelSpin 0.14s linear infinite;
}

@keyframes reelSpin {
    0% { transform: translateY(0); opacity: 1; }
    25% { transform: translateY(-18px); opacity: 0.6; }
    50% { transform: translateY(18px); opacity: 0.4; }
    75% { transform: translateY(-9px); opacity: 0.7; }
    100% { transform: translateY(0); opacity: 1; }
}

.reel-divider {
    width: 3px;
    height: 110px;
    background: linear-gradient(to bottom, transparent, rgba(245, 200, 66, 0.35), transparent);
}

.payline {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 200, 66, 0.7), transparent);
    pointer-events: none;
}

.slots-result {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
}

/* ---- ROULETTE (MULTI-BET PRO) ---- */
.roulette-bet-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.rbs-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.rbs-item strong {
    color: var(--gold);
    font-family: var(--mono);
    font-size: 0.95rem;
}

.last-numbers-history {
    display: flex;
    gap: 4px;
}

.num-chip {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.num-chip.green { background: #10b981; }
.num-chip.red { background: #c0392b; }
.num-chip.black { background: #18181b; border: 1px solid rgba(255, 255, 255, 0.2); }

.roulette-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 20px;
}

.roulette-wheel-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 14px;
}

.wheel-outer {
    position: relative;
    width: 200px;
    height: 200px;
}

.wheel-rim {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #856404, #3d2d06);
    padding: 8px;
    box-shadow: 0 0 35px rgba(245, 200, 66, 0.3), 0 0 60px rgba(0, 0, 0, 0.7);
}

.wheel-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #c0392b 0deg 9.72deg, #1a1a1a 9.72deg 19.44deg, #c0392b 19.44deg 29.16deg, #1a1a1a 29.16deg 38.88deg,
        #c0392b 38.88deg 48.6deg, #1a1a1a 48.6deg 58.32deg, #c0392b 58.32deg 68.04deg, #1a1a1a 68.04deg 77.76deg,
        #c0392b 77.76deg 87.48deg, #1a1a1a 87.48deg 97.2deg, #c0392b 97.2deg 106.92deg, #1a1a1a 106.92deg 116.64deg,
        #c0392b 116.64deg 126.36deg, #1a1a1a 126.36deg 136.08deg, #c0392b 136.08deg 145.8deg, #1a1a1a 145.8deg 155.52deg,
        #c0392b 155.52deg 165.24deg, #1a1a1a 165.24deg 174.96deg, #10b981 174.96deg 184.68deg,
        #c0392b 184.68deg 194.4deg, #1a1a1a 194.4deg 204.12deg, #c0392b 204.12deg 213.84deg, #1a1a1a 213.84deg 223.56deg,
        #c0392b 223.56deg 233.28deg, #1a1a1a 233.28deg 243deg, #c0392b 243deg 252.72deg, #1a1a1a 252.72deg 262.44deg,
        #c0392b 262.44deg 272.16deg, #1a1a1a 272.16deg 281.88deg, #c0392b 281.88deg 291.6deg, #1a1a1a 291.6deg 301.32deg,
        #c0392b 301.32deg 311.04deg, #1a1a1a 311.04deg 320.76deg, #c0392b 320.76deg 330.48deg, #1a1a1a 330.48deg 340.2deg,
        #c0392b 340.2deg 349.92deg, #1a1a1a 349.92deg 360deg
    );
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-center-ring {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #2a2a2a, #0c0c0c);
    border-radius: 50%;
    border: 3px solid rgba(245, 200, 66, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}

.wheel-center-num {
    font-family: var(--mono);
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
}

.roulette-wheel-status {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

/* Professional Felt Board */
.felt-board-wrapper {
    overflow-x: auto;
    background: linear-gradient(135deg, #072613, #0a331a);
    border: 3px solid rgba(16, 185, 129, 0.35);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(0, 0, 0, 0.4);
}

.felt-board-pro {
    display: grid;
    grid-template-columns: 54px 1fr;
    grid-template-rows: auto auto auto;
    gap: 6px;
    min-width: 640px;
}

/* Zero column */
.felt-zero-col {
    grid-row: 1 / 2;
    display: flex;
}

.felt-zero-btn {
    width: 100%;
    height: 100%;
    min-height: 120px;
    background: linear-gradient(135deg, #059669, #047857) !important;
    border: 1px solid rgba(16, 185, 129, 0.6) !important;
    border-radius: 8px 0 0 8px !important;
    font-size: 1.4rem !important;
    font-weight: 900;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Main Numbers Table (3 rows x 12 columns + column bets) */
.felt-main-grid {
    grid-row: 1 / 2;
}

.felt-numbers-table {
    display: grid;
    grid-template-columns: repeat(12, 1fr) 48px;
    grid-template-rows: repeat(3, 40px);
    gap: 4px;
}

/* Betting Spot Base */
.felt-bet-spot {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    font-weight: 900;
    transition: var(--transition);
    user-select: none;
    cursor: pointer;
}

.felt-bet-spot:hover {
    filter: brightness(1.25);
    border-color: rgba(245, 200, 66, 0.6);
    transform: scale(1.03);
    z-index: 5;
}

.felt-bet-spot.red-spot { background: #b91c1c; color: #fff; }
.felt-bet-spot.black-spot { background: #18181b; color: #fff; }
.felt-bet-spot.column-spot { background: #0f2416; border-color: rgba(16, 185, 129, 0.4); color: var(--gold); font-size: 0.72rem; }

.spot-label {
    font-size: 0.85rem;
    font-weight: 900;
}

.spot-odds {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1px;
}

/* Dozens row */
.felt-dozens-row {
    grid-column: 2 / 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.felt-dozen-btn {
    padding: 8px;
    background: #0d2a18;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #e2e8f0;
    font-size: 0.78rem;
}

/* Outside bets row */
.felt-outside-row {
    grid-column: 2 / 3;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}

.felt-outside-btn {
    padding: 10px 4px;
    font-size: 0.76rem;
    color: #fff;
}

.felt-red-opt { background: #b91c1c; border-color: rgba(239, 68, 68, 0.5); }
.felt-black-opt { background: #18181b; border-color: rgba(255, 255, 255, 0.15); }
.felt-even-opt { background: #1d4ed8; border-color: rgba(59, 130, 246, 0.5); }
.felt-odd-opt { background: #7e22ce; border-color: rgba(168, 85, 247, 0.5); }

/* Placed Chips on betting spot */
.chip-stack {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.placed-chip-badge {
    background: radial-gradient(circle, #f5c842 40%, #b45309 100%);
    border: 2px dashed #ffffff;
    color: #000;
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 5px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8), 0 0 10px rgba(245, 200, 66, 0.6);
    animation: popChip 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

@keyframes popChip {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Winner spot highlight */
.felt-bet-spot.winner-pulse {
    animation: winnerGlow 1.2s ease-in-out infinite alternate !important;
    border: 2px solid var(--gold) !important;
    z-index: 20 !important;
}

@keyframes winnerGlow {
    from { box-shadow: 0 0 10px var(--gold-glow); filter: brightness(1.2); }
    to { box-shadow: 0 0 30px var(--gold-glow), inset 0 0 15px rgba(245, 200, 66, 0.5); filter: brightness(1.5); }
}

/* ---- CRASH ARENA ---- */
.crash-arena {
    background: linear-gradient(180deg, #000512 0%, #030822 100%);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    height: 320px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
}

#crashCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.45;
}

.crash-multiplier-display {
    font-family: var(--mono);
    font-size: 4.8rem;
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 35px var(--cyan-glow);
    z-index: 2;
    transition: color 0.2s ease;
}

.crash-rocket-icon {
    font-size: 3.2rem;
    z-index: 2;
    transition: transform 0.4s ease;
    position: absolute;
    top: 35px;
}

.crash-status-text {
    z-index: 2;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-weight: 700;
}

/* ---- MINES ---- */
.mines-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}

.mines-board-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    background: rgba(0, 0, 0, 0.45);
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    width: 380px;
}

.mine-tile {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #1e2a48, #131c33);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.mine-tile:hover {
    background: linear-gradient(135deg, #283960, #1a2748);
    border-color: rgba(0, 229, 255, 0.35);
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.15);
}

.mine-tile.revealed-gem {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.12));
    border-color: var(--green);
    box-shadow: 0 0 20px var(--green-glow);
}

.mine-tile.revealed-bomb {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.35), rgba(239, 68, 68, 0.15));
    border-color: var(--red);
    box-shadow: 0 0 25px var(--red-glow);
    animation: bombShake 0.3s ease;
}

@keyframes bombShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Mines Sidebar */
.mines-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 270px;
    flex-shrink: 0;
}

.mines-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.msc-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.msc-value {
    font-family: var(--mono);
    font-size: 1.7rem;
    font-weight: 900;
}

.msc-value.cyan { color: var(--cyan); text-shadow: 0 0 15px var(--cyan-glow); }
.msc-value.gold { color: var(--gold); text-shadow: 0 0 15px var(--gold-glow); }

.mines-control {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mines-select-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mines-select {
    background: #19223c;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 11px 14px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
}

.mines-chips {
    flex-wrap: wrap;
    gap: 8px;
}

.full-btn {
    width: 100%;
    flex: none;
}

/* ---- LEADERBOARD ---- */
.leaderboard-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    min-height: 200px;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.podium-avatar {
    position: relative;
}

.podium-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--border);
}

.podium-avatar.rank-1 img {
    border-color: var(--gold);
    box-shadow: 0 0 25px var(--gold-glow);
}

.podium-avatar.rank-2 img {
    border-color: #cbd5e1;
    box-shadow: 0 0 15px rgba(203, 213, 225, 0.3);
}

.podium-avatar.rank-3 img {
    border-color: #d97706;
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.3);
}

.podium-medal {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
}

.podium-name {
    font-size: 0.85rem;
    font-weight: 800;
    text-align: center;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.podium-bal {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 800;
}

.podium-stand {
    border-radius: 8px 8px 0 0;
    width: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.stand-1 { height: 86px; background: linear-gradient(180deg, rgba(245, 200, 66, 0.35), rgba(245, 200, 66, 0.1)); border: 1px solid rgba(245, 200, 66, 0.4); color: var(--gold); }
.stand-2 { height: 58px; background: linear-gradient(180deg, rgba(203, 213, 225, 0.25), rgba(203, 213, 225, 0.06)); border: 1px solid rgba(203, 213, 225, 0.3); color: #cbd5e1; }
.stand-3 { height: 44px; background: linear-gradient(180deg, rgba(217, 119, 6, 0.25), rgba(217, 119, 6, 0.06)); border: 1px solid rgba(217, 119, 6, 0.3); color: #f59e0b; }

.leaderboard-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.lb-table {
    width: 100%;
    border-collapse: collapse;
}

.lb-table thead tr {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border);
}

.lb-table th {
    padding: 15px 18px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    text-align: left;
}

.lb-table td {
    padding: 13px 18px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.lb-table tbody tr:hover {
    background: var(--bg-glass-hover);
}

.lb-table tbody tr:last-child td {
    border-bottom: none;
}

.lb-user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lb-user-cell img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.lb-rank { font-size: 1.15rem; font-weight: 800; }
.lb-balance { font-family: var(--mono); font-weight: 800; color: var(--gold); }
.lb-won { font-family: var(--mono); font-weight: 800; color: var(--green); }
.lb-loading { text-align: center; padding: 36px; color: var(--text-muted); font-weight: 700; }

/* ---- MODALS ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(14px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: linear-gradient(135deg, #0e152e, #090d1e);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: var(--radius-xl);
    padding: 28px 24px 24px;
    max-width: 460px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.85), 0 0 60px rgba(0, 229, 255, 0.08);
    animation: modalIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    margin: auto;
}

.modal-card::-webkit-scrollbar {
    width: 6px;
}
.modal-card::-webkit-scrollbar-thumb {
    background: rgba(245, 200, 66, 0.35);
    border-radius: 4px;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
}

.modal-icon-ring {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.3), rgba(88, 101, 242, 0.1));
    border: 2px solid rgba(88, 101, 242, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    box-shadow: 0 0 35px rgba(88, 101, 242, 0.3);
}

.modal-discord-icon {
    font-size: 2.6rem;
    color: var(--discord);
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.6;
}

.modal-bonus {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--gold-dim);
    border: 1px solid rgba(245, 200, 66, 0.3);
    border-radius: var(--radius-lg);
    padding: 15px 18px;
    margin-bottom: 22px;
    text-align: left;
}

.modal-bonus > i {
    font-size: 1.6rem;
    color: var(--gold);
    flex-shrink: 0;
}

.modal-bonus strong {
    display: block;
    font-size: 0.98rem;
    color: var(--gold);
}

.modal-bonus span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.modal-discord-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--discord);
    color: #fff;
    padding: 14px;
    border-radius: var(--radius-lg);
    font-size: 1.02rem;
    font-weight: 800;
    transition: var(--transition);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.45);
    margin-bottom: 14px;
}

.modal-discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(88, 101, 242, 0.6);
}

.modal-footer-note {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Wheel Modal */
.modal-wheel-card {
    max-width: 400px;
}

.wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 18px 0;
    position: relative;
}

.wheel-pointer-arrow {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: -10px;
    z-index: 5;
    text-shadow: 0 0 12px var(--gold-glow);
}

.spin-wheel {
    border-radius: 50%;
    box-shadow: 0 0 35px rgba(245, 200, 66, 0.35), 0 0 60px rgba(0, 0, 0, 0.6);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

    .wheel-result {
    min-height: 30px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gold);
    margin: 12px 0;
}

/* ---- MODAL: GIFT CARD & REDEEM ---- */
.nav-btn-redeem {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(0, 229, 255, 0.08));
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.nav-btn-redeem:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(0, 229, 255, 0.15));
    color: #e9d5ff;
}

.modal-gift-card {
    max-width: 480px;
}

.gift-ring {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.25), rgba(168, 85, 247, 0.25)) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 35px var(--gold-glow) !important;
}

.modal-gift-icon {
    font-size: 2.4rem;
    color: var(--gold);
}

.gift-input-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.gift-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(245, 200, 66, 0.35);
    border-radius: var(--radius-lg);
    padding: 0 16px;
    transition: var(--transition);
}

.gift-input-wrapper:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
}

.gift-field-icon {
    font-size: 1.2rem;
    color: var(--gold);
    margin-right: 12px;
}

.gift-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--mono);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 14px 0;
    text-transform: uppercase;
}

.gift-input::placeholder {
    font-family: var(--font);
    font-size: 0.9rem;
    letter-spacing: 0;
    color: var(--text-dim);
    text-transform: none;
}

.btn-redeem-gold {
    background: linear-gradient(135deg, #d4a017, #b45309) !important;
    color: #fff !important;
    font-weight: 900 !important;
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.4) !important;
    margin-bottom: 0 !important;
}

.btn-redeem-gold:hover {
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.6) !important;
}

.gift-feedback-msg {
    min-height: 24px;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.4;
}

.gift-feedback-msg.success {
    color: var(--green);
    text-shadow: 0 0 10px var(--green-glow);
}

.gift-feedback-msg.error {
    color: var(--red);
    text-shadow: 0 0 10px var(--red-glow);
}

.gift-info-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: left;
    line-height: 1.5;
    margin-bottom: 14px;
}

.gift-info-card i {
    color: var(--cyan);
    margin-top: 2px;
    flex-shrink: 0;
}

.admin-code-toggle {
    cursor: pointer;
    color: var(--text-dim);
    transition: var(--transition);
    padding: 6px 0;
}

.admin-code-toggle:hover {
    color: var(--gold);
}

.admin-creator-panel {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(245, 200, 66, 0.25);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-top: 12px;
    text-align: left;
}

.admin-creator-panel h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 12px;
}

.admin-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.admin-input {
    background: #11172a;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    outline: none;
}

.admin-input:focus {
    border-color: var(--gold);
}

.admin-create-result {
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

/* ---- FOOTER ---- */
.casino-footer {
    border-top: 1px solid var(--border);
    margin-top: 70px;
    background: rgba(5, 7, 16, 0.98);
    position: relative;
    z-index: 10;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--text);
}

.footer-brand i {
    color: var(--cyan);
}

.footer-inner p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links span {
    font-size: 0.76rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---- TOAST NOTIFICATIONS ---- */
.casino-toast {
    position: fixed;
    bottom: 26px;
    right: 26px;
    background: rgba(10, 14, 30, 0.98);
    border: 1px solid var(--cyan);
    color: var(--text);
    padding: 13px 20px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 25px var(--cyan-glow);
    z-index: 5000;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 340px;
    line-height: 1.5;
}

.casino-toast.show {
    opacity: 1;
    transform: translateX(0);
}

/* =====================================================
   RESPONSIVE DESIGN (DESKTOP, TABLET, MOBILE)
   ===================================================== */
@media (max-width: 1024px) {
    .jackpot-pill { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .how-grid { grid-template-columns: repeat(2, 1fr); }
    .roulette-layout { grid-template-columns: 1fr; }
    .roulette-wheel-section { flex-direction: row; align-items: center; gap: 20px; }
}

@media (max-width: 768px) {
    .brand-sub { display: none; }
    .jackpot-pill { display: none; }
    .nav-hamburger { display: flex; }

    .casino-nav {
        display: none;
        position: fixed;
        top: calc(var(--header-h) + 38px);
        left: 0;
        right: 0;
        background: rgba(6, 8, 19, 0.99);
        border-bottom: 1px solid var(--border);
        z-index: 300;
        padding: 10px 0;
    }

    .casino-nav.nav-open {
        display: block;
    }

    .nav-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 8px 16px;
        gap: 8px;
    }

    .nav-btn {
        height: 42px;
        font-size: 0.88rem;
    }

    .nav-btn-bonus {
        margin-left: 0;
    }

    .hero {
        padding: 34px 22px;
        margin-bottom: 26px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .main-content {
        padding: 20px 14px 60px;
    }

    .game-layout {
        padding: 20px 16px;
    }

    .game-title-left h2 {
        font-size: 1.15rem;
    }

    .game-emoji-big {
        font-size: 2rem;
    }

    .bj-table {
        padding: 16px;
        min-height: auto;
    }

    .card-item, .card-back {
        width: 62px;
        height: 90px;
        font-size: 1.05rem;
    }

    .slots-frame {
        padding: 26px 20px 18px;
    }

    .reel-wrapper {
        width: 90px;
        height: 98px;
    }

    .reel {
        font-size: 3.4rem;
    }

    .mines-grid {
        width: 100%;
        max-width: 330px;
        padding: 12px;
        gap: 7px;
    }

    .mine-tile {
        font-size: 1.25rem;
        border-radius: 9px;
    }

    .mines-sidebar {
        width: 100%;
        max-width: 330px;
    }

    .how-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .action-row {
        gap: 8px;
    }

    .action-btn {
        padding: 11px 12px;
        font-size: 0.82rem;
        min-width: 85px;
    }

    .felt-numbers {
        grid-template-columns: repeat(6, 1fr);
    }

    .felt-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .roulette-wheel-section {
        flex-direction: column;
    }

    .crash-multiplier-display {
        font-size: 3.4rem;
    }

    .crash-arena {
        height: 250px;
    }

    .casino-toast {
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .cta-primary, .cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .chip {
        width: 40px;
        height: 40px;
        font-size: 0.68rem;
    }

    .leaderboard-podium {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================================
   CATÁLOGO DE JUEGOS Y TRAGAPERRAS ESTILO STAKE / BC.GAME
   ======================================================== */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.catalog-search-wrap {
    position: relative;
    flex: 1;
    min-width: 260px;
    max-width: 380px;
}

.catalog-search-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 0.95rem;
}

.catalog-search-input {
    width: 100%;
    background: #0d1326;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px 16px 12px 42px;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    outline: none;
    transition: var(--transition);
}

.catalog-search-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.catalog-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.catalog-filters::-webkit-scrollbar {
    display: none;
}

.cat-filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 9px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.cat-filter-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.cat-filter-btn.active {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(88, 101, 242, 0.2));
    border-color: var(--cyan);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

/* Posters Grid */
.catalog-posters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .catalog-posters-grid {
        grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
        gap: 12px;
    }
}

.casino-poster-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.casino-poster-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--cyan);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 229, 255, 0.25);
}

.poster-art-wrap {
    aspect-ratio: 1 / 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.poster-art-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(5, 7, 16, 0.95) 100%);
}

.poster-overlay-btn {
    position: absolute;
    z-index: 5;
    background: var(--cyan);
    color: #050710;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 25px var(--cyan-glow);
    opacity: 0;
    transform: scale(0.7);
    transition: var(--transition);
}

.casino-poster-card:hover .poster-overlay-btn {
    opacity: 1;
    transform: scale(1);
}

.poster-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-new { background: #22c55e; color: #052e16; }
.badge-hot { background: #ef4444; color: #450a0a; }
.badge-exclusive { background: linear-gradient(135deg, #a855f7, #ec4899); color: #fff; }
.badge-gold { background: var(--gold); color: #451a03; }

.poster-info {
    padding: 10px 12px;
    background: #0b1022;
}

.poster-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.poster-sub {
    font-size: 0.72rem;
    color: var(--text-dim);
    font-weight: 600;
}

/* ========================================================
   JUEGO: COINFLIP / CARA O CRUZ 3D
   ======================================================== */
.coinflip-arena {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    min-height: 320px;
    background: radial-gradient(circle at center, rgba(245, 200, 66, 0.08) 0%, transparent 70%);
}

.coin-wrapper {
    perspective: 1000px;
    margin-bottom: 28px;
}

.coin-3d {
    width: 140px;
    height: 140px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.coin-3d.flipping {
    animation: flipSpin 1.6s ease-out forwards;
}

@keyframes flipSpin {
    0% { transform: rotateY(0) translateY(0); }
    50% { transform: rotateY(1080deg) translateY(-80px) scale(1.15); }
    100% { transform: rotateY(2160deg) translateY(0); }
}

.coin-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 35px var(--gold-glow), inset 0 0 15px rgba(255,255,255,0.4);
    border: 4px solid var(--gold);
}

.coin-front {
    background: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
    color: #fff;
}

.coin-back {
    background: linear-gradient(135deg, #06b6d4, #0284c7, #1d4ed8);
    color: #fff;
    transform: rotateY(180deg);
}

.coin-face i { font-size: 2.8rem; margin-bottom: 4px; }
.coin-face span { font-size: 0.85rem; font-weight: 900; letter-spacing: 1px; }

.coin-choice-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-choice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 2px solid var(--border);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.btn-choice:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-choice.active.choice-heads {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
}

.btn-choice.active.choice-tails {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
}

/* ========================================================
   JUEGO: DADOS / DICE (HI-LO)
   ======================================================== */
.dice-arena {
    padding: 30px 24px;
    background: #0a0e20;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.dice-result-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.dice-number-display {
    font-family: var(--mono);
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 35px var(--gold-glow);
    min-height: 80px;
    line-height: 1;
}

.dice-slider-track {
    position: relative;
    margin: 30px 0;
}

.dice-range-input {
    -webkit-appearance: none;
    width: 100%;
    height: 14px;
    border-radius: 7px;
    background: linear-gradient(to right, var(--green) 0%, var(--green) 50%, var(--red) 50%, var(--red) 100%);
    outline: none;
    cursor: pointer;
}

.dice-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--gold);
    box-shadow: 0 0 20px rgba(255,255,255,0.8);
    cursor: pointer;
    transition: transform 0.1s;
}

.dice-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.dice-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.dice-stat-box {
    background: #11172e;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    text-align: center;
}

.dice-stat-box span {
    font-size: 0.72rem;
    color: var(--text-dim);
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.dice-stat-box strong {
    font-family: var(--mono);
    font-size: 1.15rem;
    color: #fff;
}
