/* TryCity Spielhalle — High-End Luxury Dark Casino Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
    --bg-base:      #080b11;
    --bg-surface:   #0d121c;
    --bg-card:      #121824;
    --bg-card-hover:#182030;
    --panel:        #151c2a;
    --panel-border: #1e283c;
    --line:         #232f46;
    --line-glow:    rgba(247, 201, 72, 0.25);

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

    --gold:         #f7c948;
    --gold-glow:    #ffd666;
    --gold-dark:    #b88a1a;
    --gold-gradient:linear-gradient(135deg, #fce07a 0%, #f7c948 50%, #c99318 100%);
    --gold-subtle:  rgba(247, 201, 72, 0.12);

    --cyan:         #38bdf8;
    --cyan-glow:    #7dd3fc;
    --diamond:      #4fd6d2;
    --emerald:      #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.35);
    --redstone:     #ef4444;
    --redstone-glow:rgba(239, 68, 68, 0.35);
    --purple:       #a855f7;
    --lava:         #f97316;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono:    'JetBrains Mono', monospace;

    --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md:    0 8px 24px rgba(0, 0, 0, 0.55);
    --shadow-lg:    0 16px 48px rgba(0, 0, 0, 0.75);
    --shadow-glow:  0 0 24px rgba(247, 201, 72, 0.22);
    --radius-sm:    8px;
    --radius-md:    12px;
    --radius-lg:    18px;
    --radius-full:  9999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(1000px 600px at 10% -5%, rgba(56, 189, 248, 0.08), transparent 70%),
        radial-gradient(900px 500px at 90% -5%, rgba(247, 201, 72, 0.09), transparent 70%),
        radial-gradient(800px 800px at 50% 60%, rgba(168, 85, 247, 0.04), transparent 80%),
        linear-gradient(180deg, #0a0e17 0%, var(--bg-base) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.num {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

/* Anti-Flicker Pre-render Rules for instant logged-in reload */
html.is-logged-in-cached #heroLoggedOut {
    display: none !important;
}
html.is-logged-in-cached #heroLoggedIn {
    display: grid !important;
}

/* ------------------------------------------------------------------ Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 10px 28px;
    background: rgba(8, 11, 17, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--panel-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: start;
}

.online-visitors-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: #6ee7b7;
    letter-spacing: 0.02em;
    user-select: none;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.online-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseGlow 1.8s infinite ease-in-out;
}

.creator-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #f3e8ff;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.creator-header-btn:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(236, 72, 153, 0.25) 100%);
    border-color: #c084fc;
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
    transform: translateY(-1px);
}

.player-avatar-badge.badge-inhaber, .badge-inhaber {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #991b1b 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(239, 68, 68, 0.7) !important;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.6), inset 0 0 6px rgba(255, 255, 255, 0.3) !important;
    font-weight: 900 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase;
}

.profile-stat-box {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-stat-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-stat-value {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-mono);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease;
}

.brand:hover {
    transform: scale(1.02);
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #1e293b 0%, #090d16 100%);
    border: 1px solid rgba(247, 201, 72, 0.35);
    box-shadow: 0 0 20px rgba(247, 201, 72, 0.25), inset 0 0 10px rgba(247, 201, 72, 0.1);
    transition: all var(--transition-normal);
}

.brand:hover .brand-mark {
    border-color: var(--gold);
    box-shadow: 0 0 28px rgba(247, 201, 72, 0.45), inset 0 0 14px rgba(247, 201, 72, 0.2);
    transform: scale(1.05) rotate(-2deg);
}

.brand-mark svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

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

.brand-text b {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 50%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.15));
}

.brand-text i {
    font-style: normal;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #F7C948 0%, #FBBF24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(247, 201, 72, 0.4));
}

.topbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 4px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 4px 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 10px;
}

@media (max-width: 960px) {
    .topbar {
        display: flex;
        flex-wrap: wrap;
        padding: 10px 14px;
    }
    .topbar-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 4px;
        margin-top: 6px;
    }
}

/* Sound Toggle */
.icon-btn-sound {
    background: var(--bg-surface);
    border: 1px solid var(--line);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn-sound:hover {
    color: #fff;
    border-color: var(--gold);
    background: var(--panel);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-surface);
    border: 1px solid var(--line);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pill i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    transition: all 0.3s;
}

.pill.on i {
    background: var(--emerald);
    box-shadow: 0 0 10px var(--emerald);
    animation: pulseGlow 2s infinite ease-in-out;
}

.pill.off i {
    background: var(--redstone);
    box-shadow: 0 0 10px var(--redstone);
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.online-visitors-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.online-visitors-pill:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: #4ade80;
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.3);
    transform: translateY(-1px);
}

.online-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulseGlow 1.8s infinite ease-in-out;
}

.online-avatar-stack {
    display: inline-flex;
    align-items: center;
}

.online-avatar-stack img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #10b981;
    margin-left: -4px;
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.4);
    transition: transform 0.15s ease;
}

.online-avatar-stack img:first-child {
    margin-left: 0;
}

.online-avatar-stack img:hover {
    transform: scale(1.3) translateY(-2px);
    z-index: 10;
}

/* User Account in Topbar */
.account {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user, .user-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, rgba(21, 28, 42, 0.95) 0%, rgba(13, 18, 28, 0.95) 100%);
    border: 1px solid rgba(247, 201, 72, 0.3);
    padding: 4px 12px 4px 5px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 16px rgba(247, 201, 72, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.user:hover, .user-chip:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 20px rgba(247, 201, 72, 0.25);
    transform: translateY(-1px);
}

.user img, .user-chip-avatar, .user .avatar-fallback {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--gold);
    display: block;
    background: #1e293b;
    image-rendering: pixelated;
    box-shadow: 0 0 8px rgba(247, 201, 72, 0.3);
}

.user .who, .user-chip-info {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.user .who b, .user-chip-name {
    font-size: 12.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.user .who span, .user-chip-coins {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.02em;
    text-shadow: 0 0 8px rgba(247, 201, 72, 0.4);
}

/* Admin badge button in topbar */
.admin-badge-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    user-select: none;
}

.admin-badge-btn:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
    transform: translateY(-1px) scale(1.03);
}

/* ------------------------------------------------------------------ Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--bg-surface);
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    background: var(--panel);
    border-color: var(--text-dim);
    transform: translateY(-1px);
}

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

.btn.gold {
    background: var(--gold-gradient);
    color: #0b0f14;
    border: none;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(247, 201, 72, 0.35);
}

.btn.gold:hover {
    background: linear-gradient(135deg, #fff0a8 0%, #f7c948 50%, #d89f1d 100%);
    box-shadow: 0 6px 20px rgba(247, 201, 72, 0.5);
    transform: translateY(-2px);
}

.btn.cash {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    font-weight: 800;
    box-shadow: 0 4px 16px var(--emerald-glow);
}

.btn.cash:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.55);
}

.btn.quiet {
    background: transparent;
    border-color: var(--line);
    color: var(--text-muted);
}

.btn.quiet:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: var(--text-dim);
}

.btn.danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border: none;
}

.btn.big {
    padding: 13px 26px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn.sm, .btn-sm {
    padding: 5px 11px;
    font-size: 12px;
}

.admin-glow-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fff !important;
    font-weight: 800 !important;
    border: none;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
    animation: adminPulse 2s infinite ease-in-out;
}

@keyframes adminPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(245, 158, 11, 0.35); transform: scale(1); }
    50% { box-shadow: 0 0 22px rgba(234, 88, 12, 0.7); transform: scale(1.02); }
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--line);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s;
}

.icon-btn:hover {
    color: #fff;
    border-color: var(--text-dim);
    background: var(--panel);
}

/* ------------------------------------------------------------------ Game Quick Guide Card */
.game-head-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold);
    background: rgba(247, 201, 72, 0.1);
    border: 1px solid rgba(247, 201, 72, 0.28);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-top: 3px;
}

.game-guide-card {
    margin: 16px 24px 0;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(247, 201, 72, 0.09) 0%, rgba(16, 185, 129, 0.05) 50%, rgba(15, 21, 34, 0.9) 100%);
    border: 1px solid rgba(247, 201, 72, 0.24);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 0 20px rgba(247, 201, 72, 0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: fadeIn 0.25s ease-out;
}

.guide-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold);
    background: rgba(247, 201, 72, 0.16);
    padding: 2px 7px;
    border-radius: 4px;
    flex-shrink: 0;
}

.guide-title-text {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.guide-desc-text {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0;
}

/* ------------------------------------------------------------------ Main Content */
main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 24px 60px;
}

/* ------------------------------------------------------------------ Hero Section (2-Column Premium Grid) */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(21, 28, 42, 0.9) 0%, rgba(13, 18, 28, 0.98) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    margin-bottom: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(247, 201, 72, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: start;
    width: 100%;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-subtle);
    border: 1px solid rgba(247, 201, 72, 0.25);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.hero h1 {
    font-size: 38px;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: var(--gold);
    text-shadow: 0 0 24px rgba(247, 201, 72, 0.45);
}

.hero p.lead {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.trust-item {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-icon {
    font-size: 14px;
}

.hero-right {
    width: 100%;
}

/* ------------------------------------------------------------------ Hero Step Boxes */
.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.login-tip-card {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 12.5px;
    color: #93c5fd;
    line-height: 1.5;
    margin-top: 8px;
}

.step-card-box {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(10, 14, 22, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.step-card-box:hover {
    transform: translateY(-3px);
    border-color: rgba(247, 201, 72, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(247, 201, 72, 0.1);
}

.step-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-num-badge {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--gold-gradient);
    color: #0b0f14;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 0 12px rgba(247, 201, 72, 0.4);
}

.step-type-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(247, 201, 72, 0.12);
    border: 1px solid rgba(247, 201, 72, 0.25);
    color: var(--gold);
}

.step-type-tag.tag-cyan {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.25);
    color: #38bdf8;
}

.step-type-tag.tag-emerald {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.step-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.step-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

.step-card-actions {
    margin-top: 4px;
}

.w-full {
    width: 100%;
}

.cmd-copy-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #080c14;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-sm);
    padding: 4px 6px 4px 10px;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cmd-copy-pill:hover {
    border-color: var(--cyan);
    background: rgba(56, 189, 248, 0.08);
}

.cmd-copy-text {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #38bdf8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.cmd-copy-btn {
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.cmd-copy-btn:hover {
    background: #38bdf8;
    color: #0b0f14;
}

/* ------------------------------------------------------------------ Logged-In VIP Player Hub & Dashboard */
.player-dash-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.player-dash-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-dash-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(24, 33, 49, 0.7) 0%, rgba(13, 18, 28, 0.8) 100%);
    border: 1px solid rgba(247, 201, 72, 0.25);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
}

.player-dash-profile:hover {
    border-color: var(--gold);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 20px rgba(247, 201, 72, 0.2);
    transform: translateY(-2px);
}

.player-dash-avatar-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.player-dash-avatar {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 2px solid var(--gold);
    background: #1e293b;
    image-rendering: pixelated;
    box-shadow: 0 0 16px rgba(247, 201, 72, 0.35);
    display: block;
}

.player-avatar-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #080c14;
    box-shadow: 0 0 8px #10b981;
    animation: pulseGlow 1.8s infinite ease-in-out;
}

.player-dash-who {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.player-dash-role-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.player-avatar-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--gold-gradient);
    color: #0b0f14;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    white-space: nowrap;
}

.player-avatar-badge.badge-inhaber, .badge-inhaber {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #991b1b 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(254, 202, 202, 0.4) !important;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.6), inset 0 0 6px rgba(255, 255, 255, 0.25) !important;
    font-weight: 900 !important;
    letter-spacing: 0.06em !important;
}

.player-avatar-badge.badge-admin {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.75);
    letter-spacing: 0.08em;
}

.player-welcome-sub {
    font-size: 11.5px;
    color: var(--text-dim);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.player-dash-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.player-dash-balance-card {
    background: linear-gradient(135deg, rgba(20, 27, 40, 0.95) 0%, rgba(11, 15, 24, 0.98) 100%);
    border: 1px solid rgba(247, 201, 72, 0.3);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), inset 0 0 24px rgba(247, 201, 72, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.balance-card-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.balance-card-live-dot {
    font-size: 11px;
    font-weight: 600;
    color: #34d399;
    display: flex;
    align-items: center;
    gap: 6px;
}

.balance-card-live-dot i.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.balance-card-val-row {
    display: flex;
    align-items: baseline;
}

.balance-card-amount {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.balance-card-amount em {
    font-style: normal;
    color: var(--gold);
    margin-left: 8px;
    text-shadow: 0 0 20px rgba(247, 201, 72, 0.5);
}

.balance-card-sub-row {
    font-size: 12px;
    color: var(--text-muted);
}

.balance-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-quick-guide-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.guide-header-title {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.guide-header-sub {
    font-size: 11.5px;
    color: var(--text-dim);
}

.dash-compact-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-step-row {
    background: linear-gradient(135deg, rgba(20, 27, 40, 0.95) 0%, rgba(11, 15, 24, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: all 0.2s ease;
}

.dash-step-row:hover {
    border-color: rgba(247, 201, 72, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.dash-step-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.dash-step-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.dash-step-meta strong {
    font-size: 12.5px;
    color: #fff;
}

.dash-step-meta span {
    font-size: 11px;
    color: var(--text-dim);
}

.dash-step-meta code {
    background: #090d16;
    color: var(--gold);
    padding: 1px 4px;
    border-radius: 3px;
    font-family: var(--font-mono);
}

.dash-step-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex: 1;
}

.dash-chip-quick-row {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.chip-dash {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.15s ease;
}

.chip-dash:hover, .chip-dash.active {
    background: rgba(56, 189, 248, 0.18);
    border-color: #38bdf8;
    color: #fff;
}

@media (max-width: 900px) {
    .dash-step-row {
        flex-direction: column;
        align-items: stretch;
    }
    .dash-step-right {
        align-items: stretch;
    }
    .dash-chip-quick-row {
        justify-content: flex-start;
    }
}

.pulse-btn {
    animation: pulseCash 2s infinite ease-in-out;
}

@keyframes pulseCash {
    0%, 100% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 22px rgba(16, 185, 129, 0.8); }
}

/* ------------------------------------------------------------------ Wallet / Bank Dashboard (Fallback) */
.bank {
    background: linear-gradient(135deg, #131a27 0%, #0d121c 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: var(--shadow-md);
}

.bank-main {
    display: flex;
    flex-direction: column;
}

.bank-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.bank-amount {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}

.bank-amount em {
    font-style: normal;
    color: var(--gold);
    margin-left: 6px;
    text-shadow: 0 0 16px rgba(247, 201, 72, 0.4);
}

.bank-sub {
    font-size: 12px;
    color: var(--lava);
    margin-top: 4px;
}

.bank-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------------ Lobby Navigation & Filters */
.lobby-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.lobby-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    border: 1px solid var(--panel-border);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.filter-chip:hover {
    color: #fff;
    border-color: var(--line);
}

.filter-chip.active {
    background: rgba(247, 201, 72, 0.14);
    border-color: var(--gold);
    color: var(--gold);
    font-weight: 700;
}

/* ------------------------------------------------------------------ Game Cards Grid */
.games {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.game {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    color: inherit;
    text-decoration: none;
    padding: 0;
    appearance: none;
}

.game:hover {
    transform: translateY(-4px);
    border-color: rgba(247, 201, 72, 0.35);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-md), 0 0 24px rgba(247, 201, 72, 0.15);
}

/* ------------------------------------------------------------------ Luxury Game Tags */
.game-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    user-select: none;
}

.game:hover .game-tag {
    transform: scale(1.06) translateY(-1px);
}

.tag-spark {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
    box-shadow: 0 0 8px currentColor;
    animation: sparkPulse 2s infinite ease-in-out;
}

@keyframes sparkPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.25); }
}

.game-tag.tag-gold {
    background: rgba(15, 20, 32, 0.88);
    border: 1px solid rgba(247, 201, 72, 0.45);
    color: #F7C948;
    box-shadow: 0 4px 14px rgba(247, 201, 72, 0.25);
}

.game-tag.tag-ruby {
    background: rgba(15, 20, 32, 0.88);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #F87171;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.game-tag.tag-emerald {
    background: rgba(15, 20, 32, 0.88);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #34D399;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.game-tag.tag-cyan {
    background: rgba(15, 20, 32, 0.88);
    border: 1px solid rgba(6, 182, 212, 0.45);
    color: #38BDF8;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}

.game-tag.tag-amber {
    background: rgba(15, 20, 32, 0.88);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #FBBF24;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.game-tag.tag-blue {
    background: rgba(15, 20, 32, 0.88);
    border: 1px solid rgba(59, 130, 246, 0.45);
    color: #60A5FA;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.game-tag.tag-orange {
    background: rgba(15, 20, 32, 0.88);
    border: 1px solid rgba(249, 115, 22, 0.45);
    color: #FB923C;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}

.game-tag.tag-purple {
    background: rgba(15, 20, 32, 0.88);
    border: 1px solid rgba(168, 85, 247, 0.45);
    color: #C084FC;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.25);
}

.game-art {
    position: relative;
    width: 100%;
    height: 175px;
    background: #090d14;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--panel-border);
}

.game-art img.game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    display: block;
    filter: brightness(1.15) contrast(1.08) saturate(1.2);
}

.game:hover .game-art img.game-img {
    transform: scale(1.08);
    filter: brightness(1.32) contrast(1.12) saturate(1.35);
}

.game-art svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.game:hover .game-art svg {
    transform: scale(1.05);
}

.game-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-body strong {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.game-body small {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 12px;
    flex: 1;
}

/* ------------------------------------------------------------------ Game Overlay & Table */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(4, 7, 12, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.table, .theater-table {
    width: 100%;
    max-width: 1100px;
    min-height: 640px;
    height: 88vh;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    background: #0d121c;
    border: 1.5px solid rgba(247, 201, 72, 0.35);
    border-radius: 18px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(247, 201, 72, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 1;
    animation: zoomTheater 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: linear-gradient(180deg, #161e2d, #0f1522);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.back-lobby-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-lobby-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateX(-3px);
    box-shadow: 0 0 15px rgba(247, 201, 72, 0.4);
}

.back-lobby-btn .back-arrow {
    font-size: 16px;
    transition: transform 0.2s;
}

.back-lobby-btn:hover .back-arrow {
    transform: translateX(-2px);
}

.game-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-title-group h2 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.game-head-tag {
    background: rgba(247, 201, 72, 0.15);
    color: var(--gold);
    border: 1px solid rgba(247, 201, 72, 0.3);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.table-head-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-pill {
    background: #080c14;
    border: 1px solid rgba(247, 201, 72, 0.3);
    color: var(--gold);
    font-weight: 800;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 20px;
}

.icon-btn-table {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.icon-btn-table:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--text-dim);
}

.icon-btn-table.close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--redstone);
    color: #ff8585;
}

.table-felt {
    padding: 24px 24px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 30%, rgba(21, 29, 43, 0.6) 0%, rgba(9, 13, 20, 0.75) 100%);
    position: relative;
    z-index: 2;
}

.table-status {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: var(--text-muted);
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 2;
}

.table-status.won {
    color: var(--emerald);
    font-weight: 800;
    font-size: 15px;
}

.table-status.lost {
    color: var(--redstone);
    font-weight: 800;
}

.table-foot {
    padding: 16px 22px;
    background: linear-gradient(180deg, rgba(16, 22, 34, 0.92) 0%, rgba(10, 14, 22, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.table-foot.alt {
    justify-content: center;
}

.bet {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 220px;
}

.bet label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
}

.bet-input {
    display: flex;
    align-items: center;
    background: #080c14;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0 12px;
}

.bet-input input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    padding: 10px 0;
}

.bet-input span {
    color: var(--gold);
    font-size: 14px;
    margin-left: 6px;
}

.chips {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.chip {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    background: #172030;
    border: 1px solid var(--panel-border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
}

.chip:hover {
    color: #fff;
    border-color: var(--text-dim);
    background: #202b3f;
}

.bet-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ------------------------------------------------------------------ Game Specific Boards are styled in the Game Engine Section below */

/* ------------------------------------------------------------------ Sheet / Modals */
.sheet {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-surface);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sheet.wide {
    max-width: 760px;
}

.sheet h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.sheet p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.sheet .close {
    position: absolute;
    top: 18px;
    right: 18px;
}

.sheet-command {
    background: #080c14;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--cyan-glow);
    word-break: break-all;
    user-select: all;
    margin-bottom: 14px;
}

.sheet .hint {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 14px;
    margin-bottom: 0;
}

/* Field / Inputs */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.field input, .field select {
    background: #080c14;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.field input:focus, .field select:focus {
    border-color: var(--gold);
}

/* ------------------------------------------------------------------ Secret Admin PIN Modal */
.admin-login-card {
    text-align: center;
    max-width: 400px !important;
}

.admin-lock-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.admin-pin-input {
    letter-spacing: 0.3em;
    text-align: center;
    font-size: 20px !important;
    font-family: var(--font-mono) !important;
}

/* ------------------------------------------------------------------ Admin Dashboard */
.admin-sheet {
    max-width: 960px !important;
    background: #0a0e17 !important;
    border: 1px solid var(--line) !important;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 12px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.admin-tab {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--panel-border);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.admin-tab.active {
    background: var(--gold-gradient);
    color: #0b0f14;
    border-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--panel-border);
    padding: 18px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
}

.stat-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.stat-val.text-green { color: var(--emerald); }
.stat-val.text-gold { color: var(--gold); }
.stat-val.text-red { color: var(--redstone); }

.stat-sub {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ------------------------------------------------------------------ Console Command & Chat Bar */
.console-command-bar {
    margin-top: 12px;
    background: #080c14;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-command-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.pill-cmd {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.pill-cmd:hover {
    background: rgba(247, 201, 72, 0.14);
    border-color: var(--gold);
    color: var(--gold);
}

.console-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.console-prompt {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 16px;
    font-weight: 800;
}

.console-input-row input {
    flex: 1;
    background: #04070c;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 8px 12px;
}

.console-input-row input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(247, 201, 72, 0.2);
}

/* Terminal Feed */
.admin-terminal {
    background: #05080e;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px;
    height: 360px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.5;
    color: #cbd5e1;
}

.term-row {
    display: flex;
    gap: 8px;
    margin-bottom: 3px;
}

.term-time { color: var(--text-dim); }
.term-tag { font-weight: 700; }
.tag-INFO { color: var(--cyan); }
.tag-ERROR { color: var(--redstone); }
.tag-WHISPER { color: #f472b6; }
.tag-CHAT { color: #a78bfa; }
.tag-CASINO { color: var(--gold); }
.tag-PACKET { color: #64748b; }

.console-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.console-filters {
    display: flex;
    gap: 4px;
}

.filter-btn {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--panel-border);
    color: var(--text-muted);
    cursor: pointer;
}

.filter-btn.active {
    background: rgba(247, 201, 72, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

/* ------------------------------------------------------------------ Tables */
.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

th {
    background: #0f1522;
    padding: 10px 14px;
    font-weight: 700;
    color: var(--text-dim);
    border-bottom: 1px solid var(--panel-border);
}

td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Fineprint */
.fineprint {
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    max-width: 680px;
    margin: 20px auto 0;
    line-height: 1.6;
}

.fineprint em {
    color: var(--gold);
    font-style: normal;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    background: #0f172a;
    border: 1px solid var(--line);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.25s ease;
}

.toast.good { border-color: var(--emerald); color: var(--emerald); }
.toast.bad { border-color: var(--redstone); color: var(--redstone); }

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

/* Responsive */
@media (max-width: 768px) {
    .topbar { padding: 10px 16px; }
    .topbar-nav { display: none; }
    .hero { padding: 24px 20px; }
    .hero h1 { font-size: 28px; }
    .bank { flex-direction: column; align-items: flex-start; }
    .table-foot { flex-direction: column; align-items: stretch; }
    .table-felt { min-height: 180px; padding: 16px; }
    .donators-podium { grid-template-columns: 1fr; }
    .podium-card.rank-1 { order: 1; }
    .podium-card.rank-2 { order: 2; }
    .podium-card.rank-3 { order: 3; }
}

/* ------------------------------------------------------------------ High-End Donation & Top 3 Podium System */
.donate-sheet {
    max-width: 640px !important;
    padding: 26px !important;
}

.donate-header {
    text-align: center;
    margin-bottom: 18px;
}

.donate-icon-badge {
    font-size: 38px;
    display: inline-block;
    filter: drop-shadow(0 0 16px rgba(247, 201, 72, 0.4));
    margin-bottom: 4px;
    animation: gentlePulse 2.5s infinite ease-in-out;
}

.donate-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 4px;
}

.donators-section {
    background: radial-gradient(circle at top, rgba(247, 201, 72, 0.09) 0%, rgba(13, 18, 28, 0.7) 100%);
    border: 1px solid rgba(247, 201, 72, 0.28);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-bottom: 18px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.25);
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-badge {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--gold);
    text-transform: uppercase;
}

.live-dot-pulse {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--emerald);
    display: flex;
    align-items: center;
    gap: 4px;
}

.donators-podium {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 10px;
    align-items: flex-end;
}

.podium-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.25s ease;
}

.podium-card:hover {
    transform: translateY(-3px);
}

.podium-card.rank-1 {
    background: linear-gradient(180deg, rgba(247, 201, 72, 0.16) 0%, #151c2a 100%);
    border-color: rgba(247, 201, 72, 0.65);
    box-shadow: 0 0 24px rgba(247, 201, 72, 0.22);
    padding: 18px 10px;
    order: 2;
}

.podium-card.rank-2 {
    order: 1;
    border-color: rgba(148, 163, 184, 0.45);
}

.podium-card.rank-3 {
    order: 3;
    border-color: rgba(205, 127, 50, 0.45);
}

.podium-crown {
    font-size: 22px;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.podium-rank-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.podium-card.rank-1 .podium-rank-tag {
    color: var(--gold);
}

.podium-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podium-amount {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--emerald);
}

.donate-steps-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.donate-step-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.donate-step-badge {
    align-self: flex-start;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(56, 189, 248, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 4px;
    padding: 2px 6px;
}

.donate-step-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
}

.donate-step-info strong {
    color: var(--text);
}

.donate-step-info span {
    color: var(--text-muted);
    font-size: 12.5px;
}

.donate-step-info code {
    background: #090d16;
    border: 1px solid var(--panel-border);
    color: var(--gold);
    padding: 1px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
}

.donate-quick-pay {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.7)); }
}

.live-dot-pulse {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
    animation: gentlePulse 1.8s infinite ease-in-out;
}


/* ==========================================================================
   GAME ENGINES & BOARDS (23 GAMES COMPLETE STYLING)
   ========================================================================== */
/* ------------------------------------------------------------------ Spieltisch */

.table {
    position: relative;
    width: min(840px, 94vw);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #131926 0%, #0c101a 100%);
    border: 1px solid rgba(247, 201, 72, 0.28);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(247, 201, 72, 0.12);
    overflow: hidden;
}

.table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(247, 201, 72, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.table-head h2 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
}

.table-head-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-felt {
    flex: 1;
    min-height: 280px;
    max-height: 56vh;
    overflow-y: auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 30%, #172030 0%, #0b0f19 100%);
    transition: background 0.3s ease;
}

/* ------------------------------------------------------------------ Dedicated Game Custom Atmosphere Themes */
.table.theme-slots .table-felt, .table.theme-megaslot .table-felt {
    background: radial-gradient(circle at 50% 35%, rgba(168, 85, 247, 0.22) 0%, rgba(247, 201, 72, 0.1) 45%, #090c14 100%),
                linear-gradient(180deg, #101422 0%, #080a11 100%);
    box-shadow: inset 0 0 60px rgba(168, 85, 247, 0.15);
}

.table.theme-mines .table-felt {
    background: radial-gradient(circle at 50% 40%, rgba(249, 115, 22, 0.16) 0%, rgba(185, 28, 28, 0.1) 50%, #090b10 100%),
                linear-gradient(180deg, #130e16 0%, #08070c 100%);
    box-shadow: inset 0 0 60px rgba(249, 115, 22, 0.12);
}

.table.theme-crash .table-felt {
    background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.18) 0%, rgba(56, 189, 248, 0.1) 50%, #070a12 100%),
                linear-gradient(180deg, #0b1520 0%, #060910 100%);
    box-shadow: inset 0 0 60px rgba(16, 185, 129, 0.12);
}

.table.theme-roulette .table-felt {
    background: radial-gradient(circle at 50% 35%, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.14) 45%, #051410 85%, #030806 100%),
                linear-gradient(180deg, #071e16 0%, #030a07 100%);
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.7), inset 0 0 40px rgba(16, 185, 129, 0.18);
}

.table.theme-blackjack .table-felt, .table.theme-baccarat .table-felt, .table.theme-threecard .table-felt {
    background: radial-gradient(circle at 50% 30%, rgba(30, 58, 138, 0.38) 0%, rgba(15, 23, 42, 0.85) 60%, #060a12 100%),
                linear-gradient(180deg, #0d172a 0%, #050811 100%);
    box-shadow: inset 0 0 70px rgba(56, 189, 248, 0.1);
}

.table.theme-tower .table-felt, .table.theme-chicken .table-felt {
    background: radial-gradient(circle at 50% 25%, rgba(247, 201, 72, 0.16) 0%, rgba(16, 185, 129, 0.1) 45%, #070c14 100%),
                linear-gradient(180deg, #111a26 0%, #070b12 100%);
    box-shadow: inset 0 0 60px rgba(247, 201, 72, 0.1);
}

.table.theme-plinko .table-felt {
    background: radial-gradient(circle at 50% 20%, rgba(168, 85, 247, 0.22) 0%, rgba(236, 72, 153, 0.12) 45%, #080a14 100%),
                linear-gradient(180deg, #121024 0%, #070610 100%);
    box-shadow: inset 0 0 70px rgba(168, 85, 247, 0.15);
}

.table.theme-dice .table-felt, .table.theme-craps .table-felt {
    background: radial-gradient(circle at 50% 35%, rgba(56, 189, 248, 0.22) 0%, rgba(37, 99, 235, 0.12) 50%, #060b16 100%),
                linear-gradient(180deg, #0b162c 0%, #050811 100%);
    box-shadow: inset 0 0 60px rgba(56, 189, 248, 0.12);
}

.table.theme-fishing .table-felt {
    background: radial-gradient(circle at 50% 35%, rgba(14, 165, 233, 0.28) 0%, rgba(6, 78, 59, 0.18) 50%, #030c14 100%),
                linear-gradient(180deg, #051a28 0%, #02070d 100%);
    box-shadow: inset 0 0 70px rgba(14, 165, 233, 0.18);
}

.table.theme-keno .table-felt {
    background: radial-gradient(circle at 50% 35%, rgba(245, 158, 11, 0.18) 0%, rgba(180, 83, 9, 0.1) 50%, #0d0a06 100%),
                linear-gradient(180deg, #18120c 0%, #080604 100%);
    box-shadow: inset 0 0 60px rgba(245, 158, 11, 0.12);
}

.table.theme-wheel .table-felt {
    background: radial-gradient(circle at 50% 40%, rgba(247, 201, 72, 0.22) 0%, rgba(168, 85, 247, 0.12) 50%, #090c16 100%),
                linear-gradient(180deg, #141324 0%, #080711 100%);
    box-shadow: inset 0 0 70px rgba(247, 201, 72, 0.12);
}

.table.theme-hilo .table-felt {
    background: radial-gradient(circle at 30% 40%, rgba(239, 68, 68, 0.16) 0%, transparent 60%),
                radial-gradient(circle at 70% 40%, rgba(16, 185, 129, 0.16) 0%, transparent 60%),
                linear-gradient(180deg, #101624 0%, #080a12 100%);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
}

.table.theme-dragon .table-felt, .table.theme-andar .table-felt, .table.theme-sicbo .table-felt {
    background: radial-gradient(circle at 35% 35%, rgba(239, 68, 68, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 65% 35%, rgba(168, 85, 247, 0.2) 0%, transparent 50%),
                linear-gradient(180deg, #180d16 0%, #09050d 100%);
    box-shadow: inset 0 0 70px rgba(239, 68, 68, 0.12);
}

.table.theme-scratch .table-felt {
    background: radial-gradient(circle at 50% 35%, rgba(247, 201, 72, 0.22) 0%, rgba(217, 119, 6, 0.12) 45%, #0c0e14 100%),
                linear-gradient(180deg, #191612 0%, #0a0907 100%);
    box-shadow: inset 0 0 60px rgba(247, 201, 72, 0.15);
}

.table.theme-videopoker .table-felt {
    background: radial-gradient(circle at 50% 30%, rgba(147, 51, 234, 0.24) 0%, rgba(79, 70, 229, 0.14) 50%, #070714 100%),
                linear-gradient(180deg, #130f28 0%, #060510 100%);
    box-shadow: inset 0 0 70px rgba(147, 51, 234, 0.18);
}

.table.theme-limbo .table-felt {
    background: radial-gradient(circle at 50% 35%, rgba(236, 72, 153, 0.22) 0%, rgba(99, 102, 241, 0.14) 50%, #080816 100%),
                linear-gradient(180deg, #130c22 0%, #06040e 100%);
    box-shadow: inset 0 0 60px rgba(236, 72, 153, 0.14);
}

.table.theme-coinflip .table-felt {
    background: radial-gradient(circle at 50% 35%, rgba(247, 201, 72, 0.2) 0%, rgba(56, 189, 248, 0.1) 45%, #080c16 100%),
                linear-gradient(180deg, #0e1524 0%, #060810 100%);
    box-shadow: inset 0 0 60px rgba(247, 201, 72, 0.12);
}

.table-status {
    padding: 10px 20px;
    font-size: 13.5px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 14, 22, 0.85);
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.table-status.win {
    color: var(--emerald);
    font-weight: 800;
    text-shadow: 0 0 14px rgba(16, 185, 129, 0.5);
}

.table-status.lose {
    color: var(--redstone);
    font-weight: 800;
}

.table-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #090d16;
}

.table-foot.alt {
    justify-content: center;
}

.bet label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.bet-input { position: relative; }
.bet-input input { width: 170px; margin: 0; padding-right: 34px; }
.bet-input span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--gold); }
.chips { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.chip {
    background: var(--bg); border: 1px solid var(--line); border-radius: 3px;
    color: var(--muted); font: inherit; font-size: 12px; padding: 6px 10px; cursor: pointer;
}
.chip:hover { color: var(--gold); border-color: var(--gold-dark); }
.bet-options { display: flex; align-items: flex-end; gap: 10px; }
.bet-options label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.bet-options label > * { margin-top: 6px; }
.bet-options input[type=text] { width: 120px; }
#startBtn { margin-left: auto; }

/* ------------------------------------------------------------------ Blöcke */

.block { display: block; image-rendering: pixelated; }

/* ------------------------------------------------------------------ 1. Erzader (Mines - 3D Deepslate Overhaul) */

.mines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    width: 360px;
    height: 360px;
    margin: 0 auto;
    background: radial-gradient(circle at 50% 50%, #151d2c 0%, #080c14 100%);
    padding: 16px;
    border-radius: 16px;
    border: 2px solid rgba(247, 201, 72, 0.25);
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.85), 0 8px 30px rgba(0, 0, 0, 0.6);
}
.tile {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    padding: 4px;
    cursor: pointer;
    border: 1.5px solid #3b4859;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(145deg, #2a3444 0%, #161e2b 100%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.18);
    transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tile:hover:not(:disabled) {
    filter: brightness(1.3);
    transform: translateY(-3px) scale(1.04);
    border-color: var(--gold);
    box-shadow: 0 8px 18px rgba(0,0,0,0.5), 0 0 18px rgba(247, 201, 72, 0.45);
}
.tile:active:not(:disabled) {
    transform: translateY(1px) scale(0.98);
}
.tile:disabled {
    cursor: default;
}
.tile.open {
    background: radial-gradient(circle at 50% 50%, #1b2434 0%, #0b0f17 100%);
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.8), 0 0 12px rgba(52, 211, 153, 0.2);
    border-color: rgba(52, 211, 153, 0.4);
    animation: tilePop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tile.boom {
    animation: shake .4s, lavaBurn 1s infinite alternate;
    background: radial-gradient(circle at 50% 50%, #7f1d1d 0%, #200505 100%) !important;
    border-color: var(--redstone) !important;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.8), inset 0 0 15px rgba(239, 68, 68, 0.6) !important;
}

@keyframes tilePop {
    0% { transform: scale(0.85); opacity: 0.7; }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes lavaBurn {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.4); }
}

.tile svg {
    width: 80%;
    height: 80%;
    display: block;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.6));
}

@keyframes shake {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-3px, 2px); }
    50% { transform: translate(3px, -2px); }
    75% { transform: translate(-2px, -2px); }
}

.balance-win-pulse {
    animation: winGlowPulse 1.2s ease-out;
    color: #34d399 !important;
    text-shadow: 0 0 16px rgba(52, 211, 153, 0.9), 0 0 30px rgba(52, 211, 153, 0.5) !important;
}

@keyframes winGlowPulse {
    0% { transform: scale(1); filter: brightness(1); }
    30% { transform: scale(1.18); filter: brightness(1.6); }
    70% { transform: scale(1.08); filter: brightness(1.3); }
    100% { transform: scale(1); filter: brightness(1); }
}

.mines-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 18px;
}
.mines-meta .meta {
    background: rgba(15, 21, 34, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 8px;
    text-align: center;
    min-width: 90px;
}
.meta span {
    display: block;
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.meta b {
    display: block;
    font-size: 20px;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
    margin-top: 3px;
}

/* ------------------------------------------------------------------ 2. Gerüstturm (Tower) */

.tower {
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
    padding: 14px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.tower-row {
    display: grid;
    grid-template-columns: 74px repeat(3, 1fr);
    gap: 8px;
    align-items: center;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}
.tower-row.active {
    background: rgba(247, 201, 72, 0.08);
    border: 1px solid rgba(247, 201, 72, 0.35);
    box-shadow: 0 0 16px rgba(247, 201, 72, 0.15);
}
.tower-row.done {
    background: rgba(16, 185, 129, 0.05);
}
.tower-row .mult {
    font-size: 13px;
    color: var(--text-dim);
    text-align: right;
    padding-right: 8px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}
.tower-row.active .mult {
    color: var(--gold);
    font-weight: 800;
    font-size: 14px;
    text-shadow: 0 0 8px rgba(247, 201, 72, 0.5);
}
.tower-row.done .mult {
    color: var(--emerald);
    font-weight: 700;
}
.slot {
    height: 46px;
    cursor: pointer;
    border-radius: 8px;
    padding: 0 4px;
    border: 1px solid #3c4856;
    box-shadow: 0 3px 6px rgba(0,0,0,0.35);
    background: linear-gradient(145deg, #2d3748, #1a202c);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease;
    position: relative;
}
.tower-row:not(.active) .slot {
    cursor: default;
    opacity: .45;
}
.tower-row.active .slot {
    opacity: 1;
    border-color: rgba(247, 201, 72, 0.45);
    background: linear-gradient(145deg, #3d4a5d, #202734);
    cursor: pointer;
}
.tower-row.active .slot:hover {
    filter: brightness(1.25);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(247, 201, 72, 0.25);
}
.slot-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.slot.safe {
    background: linear-gradient(145deg, #1e7040, #0d381e) !important;
    opacity: 1 !important;
    border-color: var(--emerald) !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
}
.slot.gravel {
    background: linear-gradient(145deg, #6e6456, #3d372e) !important;
    opacity: 1 !important;
    border-color: #8c806d !important;
    box-shadow: 0 0 10px rgba(140, 128, 109, 0.3);
}
.slot.picked {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}
.slot svg {
    width: 26px;
    height: 26px;
}

/* ------------------------------------------------------------------ 3. Creeper-Zündschnur (Crash) */

/* ------------------------------------------------------------------ 3. Creeper-Zündschnur (Crash with Live Canvas Curve) */

.crash-wrap {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.crash-graph-box {
    position: relative;
    width: 100%;
    max-width: 640px;
    height: 300px;
    background: radial-gradient(circle at 50% 60%, #151d2a 0%, #0a0e16 100%);
    border: 1.5px solid rgba(247, 201, 72, 0.3);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(247, 201, 72, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#crashCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.crash-center-hud {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.crash-quick-cashout-btn {
    pointer-events: auto !important;
    cursor: pointer !important;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 10px 22px;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(247, 201, 72, 0.85), 0 4px 15px rgba(0, 0, 0, 0.6);
    animation: pulseGoldBtn 1.2s infinite alternate;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.crash-quick-cashout-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 0 35px rgba(247, 201, 72, 1);
}

@keyframes pulseGoldBtn {
    0% { transform: scale(1); box-shadow: 0 0 16px rgba(247, 201, 72, 0.6); }
    100% { transform: scale(1.03); box-shadow: 0 0 28px rgba(247, 201, 72, 0.95); }
}

.crash-hud-creeper {
    width: 44px;
    height: 44px;
    margin-bottom: 4px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
    animation: gentleBob 2s infinite ease-in-out;
}

@keyframes gentleBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.crash-value {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 30px rgba(247, 201, 72, 0.6), 0 4px 10px rgba(0, 0, 0, 0.8);
    font-family: var(--font-heading);
}

.crash-value.safe {
    color: var(--emerald);
    text-shadow: 0 0 35px rgba(52, 211, 153, 0.7);
}

.crash-value.boom {
    color: var(--redstone);
    text-shadow: 0 0 35px rgba(239, 68, 68, 0.8);
    animation: shake .35s;
}

.crash-note {
    color: var(--text-muted);
    font-size: 13.5px;
    margin-top: 4px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.fuse {
    height: 12px;
    margin: 4px auto 0;
    width: 100%;
    max-width: 640px;
    background: #05080c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.8);
}

.fuse span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--emerald), var(--gold) 55%, var(--redstone));
    transition: width .1s linear;
}

/* ------------------------------------------------------------------ 4. Angelstelle (Fishing) */

.catch {
    text-align: center;
    padding: 28px 24px;
    background: radial-gradient(circle at 50% 30%, #173252 0%, #07121d 100%);
    border: 2px solid rgba(79, 214, 210, 0.4);
    border-radius: 18px;
    box-shadow: 0 0 35px rgba(16, 38, 61, 0.8), inset 0 0 25px rgba(79, 214, 210, 0.15);
    max-width: 400px;
    margin: 0 auto;
    animation: waterFloat 3s infinite ease-in-out;
}

@keyframes waterFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.catch-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6));
    animation: gentleBob 2s infinite ease-in-out;
}
.catch-name {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    font-family: var(--font-heading);
}
.catch-sub {
    color: var(--text-dim);
    font-size: 14.5px;
    font-weight: 600;
}

/* ------------------------------------------------------------------ 4b. Hühnerpfad (Chicken Road) */
.road {
    max-width: 640px;
    margin: 0 auto;
    background: radial-gradient(circle at 50% 50%, #151d2c 0%, #080c14 100%);
    border: 2px solid rgba(247, 201, 72, 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.85), 0 8px 30px rgba(0, 0, 0, 0.6);
}

.road-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 6px;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(247, 201, 72, 0.4) transparent;
}

.lane {
    min-width: 64px;
    height: 90px;
    background: linear-gradient(145deg, #242e3d 0%, #131b26 100%);
    border: 1.5px solid #3c4856;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.2s ease;
    user-select: none;
}

.lane.start {
    border-color: #3b82f6;
    background: linear-gradient(145deg, #1e3a8a 0%, #0f172a 100%);
}

.lane.active {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(247, 201, 72, 0.5);
    transform: scale(1.05);
}

.lane.done {
    border-color: #10b981;
    background: linear-gradient(145deg, #065f46 0%, #064e3b 100%);
}

.lane.boom {
    border-color: #ef4444;
    background: linear-gradient(145deg, #991b1b 0%, #450a0a 100%);
    animation: shake 0.35s;
}

.lane-mult {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--gold);
    font-family: var(--font-heading);
}

.lane.start .lane-mult {
    color: #93c5fd;
}

.lane-art {
    font-size: 20px;
}

.runner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 10;
}

.runner-inner {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.8));
    animation: hopChicken 0.6s infinite alternate;
}

@keyframes hopChicken {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-8px) scale(1.05); }
}

.road-hint {
    text-align: center;
    font-size: 12.5px;
    color: var(--text-dim);
    margin-top: 10px;
    font-weight: 600;
}

/* ------------------------------------------------------------------ 5. Erz-Walzen (5×3 Video Slot) */

/* ------------------------------------------------------------------ 5. Erz-Walzen (5×3 Luxury Video Slot) */

.slot-cabinet {
    position: relative;
    max-width: 740px;
    margin: 0 auto;
    background: radial-gradient(circle at 50% 0%, #172033 0%, #090e17 100%);
    border: 2px solid rgba(247, 201, 72, 0.45);
    border-radius: 18px;
    padding: 16px 20px 22px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(247, 201, 72, 0.08);
    transition: all 0.35s ease;
}

.slot-cabinet.mode-freespins {
    border-color: #c084fc;
    box-shadow: 0 0 45px rgba(168, 85, 247, 0.45), inset 0 0 35px rgba(192, 132, 252, 0.2);
    background: radial-gradient(circle at 50% 0%, #2e1065 0%, #0c051a 100%);
}

.slot-marquee {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 8px 14px;
    background: rgba(10, 15, 26, 0.85);
    border: 1px solid rgba(247, 201, 72, 0.3);
    border-radius: 10px;
}

.slot-jackpot-pill {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(90deg, #facc15, #fef08a, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.04em;
    text-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}

.slot-paytable-btn {
    font-size: 11.5px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(247, 201, 72, 0.14);
    border: 1px solid rgba(247, 201, 72, 0.35);
    color: var(--gold);
    cursor: pointer;
    transition: all 0.2s;
}

.slot-paytable-btn:hover, .slot-paytable-btn.active {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 15px rgba(247, 201, 72, 0.5);
}

.slot-freespins-marquee {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px 16px;
    background: linear-gradient(90deg, rgba(112, 26, 117, 0.9), rgba(46, 16, 101, 0.9));
    border: 1px solid #e879f9;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    box-shadow: 0 0 25px rgba(232, 121, 249, 0.4);
}

.freespins-badge {
    font-family: var(--font-heading);
    font-weight: 900;
    color: #fef08a;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 8px;
    border-radius: 4px;
}

.freespins-count strong {
    font-size: 16px;
    color: #38bdf8;
}

.freespins-multiplier {
    font-weight: 800;
    color: #a7f3d0;
}

.freespins-total strong {
    color: var(--gold);
    font-size: 15px;
}

/* Stage: Line Tags + Reels + Lever */
.slot-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.slot-line-tags {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 290px;
    padding: 10px 0;
}

.line-tag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 900;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.line-tag.l1 { background: #3b82f6; border-color: #93c5fd; }
.line-tag.l2 { background: #eab308; border-color: #fef08a; }
.line-tag.l3 { background: #10b981; border-color: #6ee7b7; }
.line-tag.l4 { background: #ef4444; border-color: #fca5a5; }
.line-tag.l5 { background: #a855f7; border-color: #e9d5ff; }

.slots-5x3 {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(180deg, #090e17 0%, #03060a 100%);
    border: 2px solid rgba(247, 201, 72, 0.4);
    border-radius: 12px;
    box-shadow: inset 0 0 35px rgba(0,0,0,0.9), 0 4px 15px rgba(0,0,0,0.6);
}

.slot-reel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(15, 21, 32, 0.95);
    padding: 6px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.slot-reel.spinning {
    animation: reelSpinFast .18s linear infinite;
}

@keyframes reelSpinFast {
    0% { transform: translateY(-5px); filter: blur(1.5px); }
    50% { transform: translateY(5px); filter: blur(2.5px); }
    100% { transform: translateY(-5px); filter: blur(1.5px); }
}

.slot-cell {
    width: 86px;
    height: 86px;
    background: radial-gradient(circle at 50% 50%, #1a2332 0%, #0e141f 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: grid;
    place-items: center;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.slot-cell svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
    transition: transform 0.2s ease;
}

.slot-cell.hit {
    border-color: var(--gold);
    background: radial-gradient(circle at 50% 50%, #3e3314 0%, #1f1807 100%);
    box-shadow: 0 0 25px rgba(247, 201, 72, 0.9), inset 0 0 15px rgba(247, 201, 72, 0.5);
    transform: scale(1.06);
    z-index: 2;
    animation: pulseGold 1s infinite alternate;
}

.slot-cell.hit svg {
    transform: scale(1.1);
}

/* ------------------------------------------------------------------ 3D Mechanical Minecraft Slot Lever */
.slot-lever-assembly {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-left: 6px;
    padding: 6px;
    perspective: 600px;
    transition: transform 0.15s ease;
}

.slot-lever-assembly:hover {
    transform: scale(1.05);
}

.lever-stone-base {
    width: 44px;
    height: 38px;
    background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
    border: 2px solid #64748b;
    border-radius: 6px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6), inset 0 2px 4px rgba(255,255,255,0.2);
    display: grid;
    place-items: center;
}

.lever-cobble-ring {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0f172a;
    border: 2px solid #94a3b8;
}

.lever-pivot-bolt {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.lever-rod-wrap {
    height: 140px;
    width: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: bottom center;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lever-shaft {
    width: 8px;
    height: 110px;
    background: linear-gradient(90deg, #cbd5e1 0%, #64748b 50%, #475569 100%);
    border-radius: 4px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.lever-knob {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ef4444 0%, #991b1b 70%, #450a0a 100%);
    border: 2px solid #fca5a5;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.8), inset 0 2px 4px rgba(255,255,255,0.4);
    position: relative;
    animation: knobPulse 2s infinite ease-in-out;
}

@keyframes knobPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(239, 68, 68, 0.7); }
    50% { box-shadow: 0 0 24px rgba(239, 68, 68, 1), 0 0 8px #fff; }
}

.slot-lever-assembly.pulling .lever-rod-wrap {
    transform: rotateX(60deg) scaleY(0.85);
}

.lever-label {
    margin-top: 6px;
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--gold);
    background: rgba(247, 201, 72, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(247, 201, 72, 0.3);
}

/* ------------------------------------------------------------------ Paytable Drawer */
.slot-paytable-drawer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    margin-top: 0;
    background: rgba(8, 12, 20, 0.96);
    border: 1px solid transparent;
    border-radius: 12px;
}

.slot-paytable-drawer.open {
    max-height: 600px;
    opacity: 1;
    margin-top: 16px;
    padding: 16px 18px;
    border-color: rgba(247, 201, 72, 0.3);
    box-shadow: 0 8px 30px rgba(0,0,0,0.7);
}

.paytable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.paytable-header h4 {
    margin: 0;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.04em;
}

.paytable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.pay-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(21, 29, 44, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 10px;
}

.pay-card.tier-jackpot {
    background: linear-gradient(135deg, rgba(247, 201, 72, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-color: var(--gold);
}

.pay-card.tier-scatter {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.18) 0%, rgba(236, 72, 153, 0.18) 100%);
    border-color: #e879f9;
}

.pay-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.pay-icon svg {
    width: 100%;
    height: 100%;
}

.pay-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pay-info strong {
    font-size: 12px;
    color: #fff;
}

.pay-mult {
    font-size: 11px;
    color: var(--text-dim);
}

.pay-mult b {
    color: var(--gold);
}

.tag-jackpot {
    font-size: 9px;
    font-weight: 900;
    color: #000;
    background: var(--gold);
    padding: 1px 4px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 2px;
}

.tag-scatter {
    font-size: 9px;
    font-weight: 900;
    color: #fff;
    background: #a21caf;
    padding: 1px 4px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 2px;
}

.paytable-footer-hint {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 11.5px;
    color: #cbd5e1;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 6px;
    line-height: 1.4;
}

/* ------------------------------------------------------------------ Tabellen */

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
th { color: var(--text-dim); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
td { font-variant-numeric: tabular-nums; }
td.pos { color: var(--emerald); }
td.neg { color: var(--redstone); }
tr.hit td { color: var(--gold); }

.paytable-row { display: flex; align-items: center; gap: 12px; }
.paytable-row svg { width: 26px; height: 26px; flex: none; }

.fair-box {
    background: #05080c; border: 1px solid var(--line); border-radius: 4px; padding: 14px;
    font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; color: var(--text-dim);
    word-break: break-all; line-height: 1.8;
}
.fair-box b { color: var(--text); }
.fair-actions { display: flex; gap: 10px; margin-top: 14px; }
.fair-actions input { margin: 0; }

.toast {
    position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
    z-index: 60; max-width: 90vw;
    background: #111824; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
    padding: 13px 22px; font-size: 14px; font-weight: 600;
}
.toast.bad  { border-color: var(--redstone); color: #ffb9b5; background: #231215; }
.toast.good { border-color: var(--emerald);  color: #b7f2ce; background: #0f241a; }

/* ------------------------------------------------------------------ Klein */

@media (max-width: 680px) {
    main { padding: 24px 16px 70px; }
    .hero { padding: 32px 22px; }
    .hero h1 { font-size: 29px; }
    .bank { flex-direction: column; align-items: stretch; }
    .bank-amount { font-size: 34px; }
    .crash-value { font-size: 48px; }
    .reel { width: 76px; height: 76px; }
    .reel-strip > * { width: 76px; height: 76px; }
    .reel-strip svg { width: 48px; height: 48px; }
    @keyframes reelspin { from { transform: translateY(0); } to { transform: translateY(-76px); } }
    .tower-row { grid-template-columns: 50px repeat(3, 1fr); }
    .table-foot { flex-direction: column; align-items: stretch; }
    #startBtn { margin-left: 0; }
    .brand-text i { display: none; }
}

/* ------------------------------------------------------------------ 6. Hühnerpfad */

.road {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding: 10px 0;
}

.road-track {
    position: relative;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 18px 10px 24px;
    scrollbar-width: thin;
    align-items: center;
}

.runner {
    position: absolute;
    top: 26px;
    left: 0;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 10;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.runner-inner {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
}

.runner-inner.hop {
    animation: chickenHop 0.35s ease-out;
}

@keyframes chickenHop {
    0% { transform: translateY(0) scale(1, 1); }
    40% { transform: translateY(-24px) scale(1.1, 0.9); }
    100% { transform: translateY(0) scale(1, 1); }
}

.runner.crashed {
    filter: grayscale(0.8) drop-shadow(0 0 14px rgba(239, 68, 68, 0.85));
    animation: shake 0.35s;
}

.lane {
    flex: none;
    width: 84px;
    height: 126px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: default;
    background: linear-gradient(180deg, #242e3d, #141b26);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    user-select: none;
}

.lane.start {
    width: 70px;
    background: #111722;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.06);
}

.lane-mult {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    font-family: var(--font-mono);
}

.lane-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.lane-art svg {
    width: 40px;
    height: 40px;
}

.lane-art.cart-in {
    animation: cartIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes cartIn {
    0% { transform: translateX(30px) scale(0.6); opacity: 0; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}

.lane.passed {
    background: linear-gradient(180deg, #1c4228, #102919);
    border-color: #34d399;
    box-shadow: 0 0 14px rgba(52, 211, 153, 0.25);
}

.lane.passed .lane-mult {
    color: #34d399;
}

.lane.next {
    border-color: var(--gold);
    background: linear-gradient(180deg, #36301d, #1c1a11);
    cursor: pointer;
    animation: pulseGold 1.5s infinite alternate;
    box-shadow: 0 0 16px rgba(247, 201, 72, 0.35);
}

.lane.next .lane-mult {
    color: var(--gold);
    font-weight: 900;
}

.lane.next:hover:not(:disabled) {
    filter: brightness(1.3);
    transform: translateY(-3px) scale(1.03);
}

.lane.crashed {
    background: linear-gradient(180deg, #421e25, #290f14);
    border-color: #ef4444;
}

.lane.crashed .lane-mult {
    color: #ef4444;
}

.road-hint {
    text-align: center;
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 12px;
    font-weight: 700;
}

@keyframes pulseGold {
    from { box-shadow: 0 0 4px rgba(247, 201, 72, 0.2); }
    to { box-shadow: 0 0 16px rgba(247, 201, 72, 0.6), inset 0 0 8px rgba(247, 201, 72, 0.2); }
}

/* ------------------------------------------------------------------ 7. Kies-Fall */

.plinko { max-width: 480px; margin: 0 auto; }
.pegs { position: relative; height: 260px; margin-bottom: 12px; }
.pegs i {
    position: absolute; width: 7px; height: 7px; border-radius: 50%;
    background: #e6c65e; transform: translate(-50%, -50%);
    box-shadow: 0 0 6px rgba(247, 201, 72, 0.6);
}
.puck {
    position: absolute; width: 26px; height: 26px; transform: translate(-50%, -50%);
    transition: left .14s linear, top .14s cubic-bezier(.4, 0, .9, .4);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}
.puck svg { width: 100%; height: 100%; }
.bins { display: flex; gap: 4px; }
.bin {
    flex: 1; text-align: center; font-size: 11px; font-weight: 700; padding: 8px 2px; border-radius: 4px;
    font-variant-numeric: tabular-nums;
}
.bin.heat0 { background: #1a2533; color: var(--emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
.bin.heat1 { background: #2e2b1f; color: #f5d87f; border: 1px solid rgba(245, 216, 127, 0.3); }
.bin.heat2 { background: #3d2618; color: #ff9d54; border: 1px solid rgba(255, 157, 84, 0.4); }
.bin.heat3 { background: #4a1515; color: #ff5e5e; border: 1px solid rgba(255, 94, 94, 0.5); box-shadow: 0 0 8px rgba(255, 94, 94, 0.3); }
.bin.hit { outline: 2px solid var(--gold); color: #fff; box-shadow: 0 0 18px rgba(247, 201, 72, .6); transform: scale(1.06); }

/* ------------------------------------------------------------------ 8. Enderauge */

.dice { max-width: 480px; margin: 0 auto; width: 100%; }
.dice-readout { text-align: center; margin-bottom: 22px; }
.dice-roll {
    font-size: 64px; font-weight: 900; line-height: 1;
    color: var(--gold); font-variant-numeric: tabular-nums;
    font-family: var(--font-heading);
    text-shadow: 0 0 25px rgba(247, 201, 72, 0.4);
}
.dice-roll.safe { color: var(--emerald); text-shadow: 0 0 25px rgba(61, 220, 132, 0.5); }
.dice-roll.boom { color: var(--redstone); text-shadow: 0 0 25px rgba(229, 72, 77, 0.5); }
.dice-sub { color: var(--text-muted); font-size: 14px; margin-top: 6px; font-weight: 600; }
.dice-bar {
    position: relative; height: 16px; background: #05080c;
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; overflow: hidden;
}
.dice-fill { position: absolute; top: 0; bottom: 0; background: rgba(61, 220, 132, .4); }
.dice-marker { position: absolute; top: -5px; bottom: -5px; width: 4px; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.dice-hit { position: absolute; top: -9px; bottom: -9px; width: 4px; background: #fff; box-shadow: 0 0 10px #fff; }
.dice-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-dim); margin-top: 6px; }
.dice-controls { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.dice-controls input[type=range] { flex: 1; min-width: 160px; accent-color: var(--gold); }
.dice-odds { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); }
.dice-odds b { color: var(--gold); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ 9. Endertisch */

.roulette {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 8px 0;
}
.roulette-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.wheel-wrap { position: relative; width: 190px; height: 190px; flex-shrink: 0; }
.wheel {
    position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #151c27 55%, #0a0e14 100%);
    border: 3px solid #364152;
    box-shadow: 0 0 25px rgba(79, 214, 210, 0.2), inset 0 0 15px rgba(0,0,0,0.8);
}
.pocket { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)); }
.pocket span {
    position: absolute; left: -14px; top: -88px; width: 28px; padding: 2px 0;
    text-align: center; font-size: 10px; font-weight: 700; color: #fff; border-radius: 2px;
}
.pocket.rot span { background: #b03632; }
.pocket.schwarz span { background: #1c222c; border: 1px solid #364152; }
.pocket.gruen span { background: #1f8550; }
.pocket.hit span { outline: 2px solid var(--gold); box-shadow: 0 0 14px var(--gold); }
.wheel-hub {
    position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px;
    border-radius: 50%; border: 2px solid #364152;
    background: radial-gradient(circle at 35% 30%, #3e4a5c, #121720);
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
}
.ball { position: absolute; inset: 0; }
.ball i {
    position: absolute; left: 50%; top: 10px; width: 10px; height: 10px; margin-left: -5px;
    border-radius: 50%; background: #ffffff; box-shadow: 0 0 12px rgba(255, 255, 255, .8);
}
.roulette-result { font-size: 26px; font-weight: 900; opacity: .2; transition: opacity .3s; min-height: 32px; }
.roulette-result.shown { opacity: 1; }
.roulette-result b.rot { color: #e5484d; text-shadow: 0 0 15px rgba(229, 72, 77, 0.4); }
.roulette-result b.schwarz { color: #cfd8e6; text-shadow: 0 0 15px rgba(207, 216, 230, 0.4); }
.roulette-result b.gruen { color: var(--emerald); text-shadow: 0 0 15px rgba(16, 185, 129, 0.4); }

.bets {
    flex: 1 1 auto;
    max-width: 620px;
    background: rgba(10, 15, 26, 0.75);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.bet-groups {
    display: flex; flex-wrap: wrap; gap: 5px; justify-content: center;
    margin: 0 0 8px 0;
}
.bet-chip {
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px;
    color: var(--text-muted); font: inherit; font-size: 11px; font-weight: 700; padding: 5px 10px; cursor: pointer;
    transition: all 0.15s ease;
}
.bet-chip:hover { color: #fff; border-color: var(--gold); background: rgba(247, 201, 72, 0.1); }
.bet-chip.on { border-color: var(--gold); color: var(--gold); background: rgba(247, 201, 72, 0.2); box-shadow: 0 0 8px rgba(247, 201, 72, 0.3); }
.bet-numbers { display: grid; grid-template-columns: repeat(13, 1fr); gap: 3px; }
.num {
    font: inherit; font-size: 10.5px; font-weight: 700; padding: 5px 0; border-radius: 4px; cursor: pointer;
    border: 1px solid transparent; color: #fff; transition: all 0.15s;
}
.num.rot { background: #8a2a27; }
.num.schwarz { background: #1c222c; border-color: rgba(255, 255, 255, 0.08); }
.num.gruen { background: #1a6b40; }
.num:hover { filter: brightness(1.3); transform: scale(1.05); }
.num.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, 0 0 10px rgba(247, 201, 72, 0.4); }

@media (max-width: 680px) {
    .wheel-wrap { width: 200px; height: 200px; }
    .pocket span { top: -92px; }
    .bet-numbers { grid-template-columns: repeat(9, 1fr); }
    .lane { width: 66px; height: 104px; }
}

/* ------------------------------------------------------------------ Bewegung */

/* Hühnerpfad: das Huhn ist ein eigenes Element über der Strecke und hüpft von
   Feld zu Feld. Deshalb wird das Brett bei einem Zug nicht neu gebaut. */

.road-track { position: relative; }

.runner {
    position: absolute; left: 0; top: 40px; z-index: 3;
    width: 44px; height: 44px; pointer-events: none;
    transition: transform .42s cubic-bezier(.34, 1.25, .5, 1);
}
.runner-inner { width: 100%; height: 100%; }
.runner-inner svg { width: 100%; height: 100%; }
.runner-inner.hop { animation: hop .42s ease-out; }

@keyframes hop {
    0%   { transform: translateY(0)     rotate(0deg); }
    35%  { transform: translateY(-28px) rotate(-9deg); }
    70%  { transform: translateY(-10px) rotate(5deg); }
    100% { transform: translateY(0)     rotate(0deg); }
}

.runner.crashed .runner-inner { animation: squash .4s ease-out forwards; }
@keyframes squash {
    0%   { transform: translateY(0) scale(1); }
    100% { transform: translateY(18px) scaleY(.3) scaleX(1.3); opacity: .5; }
}

.lane-art.cart-in { animation: cartIn .45s cubic-bezier(.2, .9, .3, 1); }
@keyframes cartIn {
    from { transform: translateX(150px); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}

.lane.start .lane-mult { color: var(--dim); }
.lane.next { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse {
    0%, 100% { box-shadow: var(--bevel-out), 0 0 0 0 rgba(247, 201, 72, .35); }
    50%      { box-shadow: var(--bevel-out), 0 0 0 5px rgba(247, 201, 72, 0); }
}

/* Endertisch: das Rad dreht ganze Umdrehungen, die Kugel läuft gegenläufig auf
   einer eigenen Bahn und fällt am Ende nach innen ins Fach. */

.wheel-wrap::before {
    content: ''; position: absolute; inset: 7px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .09); pointer-events: none; z-index: 2;
}
.pocket span { top: -96px; }
.ball { z-index: 4; }
.ball i {
    top: 9px; width: 13px; height: 13px; margin-left: -6.5px;
    transition: top .5s cubic-bezier(.3, 0, .4, 1), width .5s, height .5s, margin-left .5s;
}
.ball.settled i {
    top: 27px; width: 10px; height: 10px; margin-left: -5px;
}

/* ------------------------------------------------------------------ Rad als Kranz */

/* Das Rad ist jetzt ein echter Kranz aus Fächern (SVG) statt schwebender Kästchen.
   Die alten Punkt-Regeln werden hier überschrieben. */

.wheel {
    background: none;
    border: none;
}
.wheel-face { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.wedge { stroke: rgba(0, 0, 0, .35); stroke-width: .5; }
.wedge.hit {
    stroke: var(--gold); stroke-width: 2.5;
    filter: drop-shadow(0 0 8px rgba(247, 201, 72, .85));
}

.pocket-num {
    fill: #fff; font-size: 11px; font-weight: 700;
    font-family: "Segoe UI", Roboto, system-ui, sans-serif;
    paint-order: stroke; stroke: rgba(0, 0, 0, .55); stroke-width: 2px;
}

.wheel-hub {
    width: 116px; height: 116px; margin: -58px;
    background: radial-gradient(circle at 36% 30%, #3a4453 0%, #202836 45%, #10151d 100%);
    border: 2px solid #2b3441;
    box-shadow: inset 0 0 24px rgba(0, 0, 0, .7);
}

/* Die Kugel läuft aussen auf einer eigenen Bahn und fällt am Ende in den Kranz. */
.ball i { top: 4px; width: 13px; height: 13px; margin-left: -6.5px; }
.ball.settled i { top: 26px; width: 11px; height: 11px; margin-left: -5.5px; }

.wheel-wrap::before { inset: 12px; }

@media (max-width: 680px) {
    .wheel-hub { width: 96px; height: 96px; margin: -48px; }
}

/* ------------------------------------------------------------------ Karten (Blackjack / Card Table) */

.felt {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 18px 20px;
    background: radial-gradient(circle at 50% 40%, #152c20 0%, #0d1b14 60%, #070e0a 100%);
    border: 2px solid rgba(52, 211, 153, 0.25);
    border-radius: 16px;
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(16, 185, 129, 0.12);
}

.hand-block {
    width: 100%;
    text-align: center;
}

.hand-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.45);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hand-label b {
    color: var(--gold);
    font-size: 15px;
    letter-spacing: 0;
}

.hand-label .tag {
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
    color: #1a1300;
    background: var(--gold);
    border-radius: 4px;
    padding: 2px 8px;
}

.hand {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 96px;
    align-items: center;
}

.felt-hint {
    font-size: 13.5px;
    color: var(--text-muted);
    text-align: center;
    font-weight: 600;
}

.card {
    width: 66px;
    height: 94px;
    flex: none;
    border-radius: 8px;
    background: linear-gradient(160deg, #ffffff 0%, #e8edf3 100%);
    border: 1.5px solid #c5cdd8;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation: dealIn .35s cubic-bezier(.2, 1.2, .4, 1);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card b {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-heading);
}

.card svg {
    width: 32px;
    height: 32px;
}

.card.dark b {
    color: #1a202c;
}

.card.back {
    background: repeating-linear-gradient(45deg, #1e2837 0 8px, #141b26 8px 16px);
    border-color: #3b495c;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(0, 0, 0, 0.6);
}

.card.back span {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(247, 201, 72, 0.5);
    border-radius: 6px;
    background: rgba(247, 201, 72, 0.08);
}

@keyframes dealIn {
    from { transform: translateY(-22px) rotate(-6deg); opacity: 0; }
    to   { transform: none; opacity: 1; }
}

/* ------------------------------------------------------------------ Kartenreihe */

.hilo { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.hilo-row {
    display: flex; gap: 8px; overflow-x: auto; width: 100%; padding: 6px 4px 12px;
    scroll-behavior: smooth;
}
.hilo-card { position: relative; flex: none; }
.hilo-card .guess {
    position: absolute; top: -6px; right: -6px; width: 20px; height: 20px;
    display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 11px;
}
.hilo-card .guess.higher { background: var(--emerald); color: #04240f; }
.hilo-card .guess.lower  { background: var(--redstone); color: #2a0b0c; }
.hilo-card.current .card { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ------------------------------------------------------------------ Schatzkarte */

.keno { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.keno-grid {
    display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px;
    max-width: 420px; width: 100%;
}
.plot {
    aspect-ratio: 1; border-radius: 3px; cursor: pointer; font: inherit; font-size: 11px;
    color: var(--muted); border: 1px solid #4a3f2a;
    background: linear-gradient(160deg, #4a3d27, #352b1b);
    box-shadow: var(--bevel-out);
    transition: filter .1s ease, transform .08s ease;
}
.plot:hover { filter: brightness(1.25); }
.plot:active { transform: translateY(2px); }
.plot.picked { background: linear-gradient(160deg, #7a6320, #574716); border-color: var(--gold); color: #fff; }
.plot.hit {
    background: linear-gradient(160deg, #ffd964, #b8901f); border-color: #fff; color: #241a00;
    font-weight: 700; animation: pop .35s;
}
.plot.miss { background: linear-gradient(160deg, #3a2f1e, #241d12); border-color: #6b5a3a; opacity: .55; }
.plot.treasure { background: linear-gradient(160deg, #2f6b45, #1d4530); border-color: #3f8a5c; color: #cfe9d9; }
@keyframes pop {
    0% { transform: scale(.7); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ------------------------------------------------------------------ Schmiederad */

.wheel-num {
    fill: #fff; font-size: 10px; font-weight: 700;
    font-family: "Segoe UI", Roboto, system-ui, sans-serif;
    paint-order: stroke; stroke: rgba(0, 0, 0, .6); stroke-width: 2.5px;
}
.wheel-hub.small { width: 88px; height: 88px; margin: -44px; }
.wheel-pointer {
    position: absolute; left: 50%; top: -10px; margin-left: -9px; width: 0; height: 0; z-index: 5;
    border-left: 9px solid transparent; border-right: 9px solid transparent;
    border-top: 18px solid var(--gold);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6));
}

/* ------------------------------------------------------------------ Zug-Knöpfe */

.game-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.game-actions .btn b { color: var(--gold); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ Gewinn-Ticker */

.win-feed {
    position: fixed; right: 20px; bottom: 20px; z-index: 55;
    display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
    pointer-events: none; max-width: 320px;
}
.win-item {
    display: grid; grid-template-columns: auto auto; gap: 2px 10px;
    background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--emerald);
    border-radius: 4px; padding: 10px 14px; font-size: 12.5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
    animation: winIn .35s cubic-bezier(.2, 1.2, .4, 1);
}
.win-item.big { border-left-color: var(--gold); }
.win-item.out { animation: winOut .4s forwards; }
.win-who { font-weight: 700; }
.win-what { color: var(--dim); text-align: right; }
.win-amount { color: var(--emerald); font-variant-numeric: tabular-nums; font-weight: 600; }
.win-item.big .win-amount { color: var(--gold); }
.win-mult { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

@keyframes winIn {
    from { transform: translateX(40px); opacity: 0; }
    to   { transform: none; opacity: 1; }
}
@keyframes winOut {
    to { transform: translateX(40px); opacity: 0; }
}

@media (max-width: 680px) {
    .win-feed { right: 10px; bottom: 10px; left: 10px; max-width: none; align-items: stretch; }
    .keno-grid { grid-template-columns: repeat(5, 1fr); }
    .card { width: 46px; height: 66px; }
}

/* ------------------------------------------------------------------ Profil */

.user { cursor: pointer; transition: border-color .12s ease; }
.user:hover { border-color: var(--gold); }

.profile-head {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.profile-head h2 { font-size: 22px; margin: 0 0 4px; padding: 0; }
.profile-avatar, .avatar-fallback.big {
    width: 64px; height: 64px; border-radius: 8px; image-rendering: pixelated;
    background: #2c3442; display: block; flex: none;
}
.profile-balance {
    margin-left: auto; font-size: 26px; font-weight: 800; color: var(--gold);
    font-variant-numeric: tabular-nums;
}
.profile-balance em { font-style: normal; font-size: 15px; margin-left: 6px; opacity: .8; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.stat {
    background: var(--bg); border: 1px solid var(--line-soft); border-radius: 4px;
    padding: 12px 14px;
}
.stat span {
    display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--dim); margin-bottom: 5px;
}
.stat b { font-size: 17px; font-variant-numeric: tabular-nums; }
.stat b.pos { color: var(--emerald); }
.stat b.neg { color: var(--redstone); }

.profile-foot { margin-top: 20px; display: flex; gap: 10px; }

/* ------------------------------------------------------------------ Bestenliste */

.board-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.board table td { padding: 10px; }
.board tr.me { background: rgba(247, 201, 72, .07); }
.board tr.me td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.board-player { display: flex; align-items: center; gap: 9px; }
.board-player img, .avatar-fallback.tiny {
    width: 24px; height: 24px; border-radius: 4px; image-rendering: pixelated;
    background: #2c3442; display: block; flex: none;
}

/* ------------------------------------------------------------------ Bestenliste */

/* Ersetzt die alte Tabelle. Die frühere Fassung hing an einer Klasse .panel,
   die es seit dem Design-Umbau nicht mehr gibt — deshalb stand sie ohne Karte da. */

.board {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--bevel-in);
    padding: 8px 8px 4px;
}

.board-legend,
.board-row {
    display: grid;
    grid-template-columns: 46px minmax(140px, 1fr) 130px 130px 90px;
    align-items: center;
    gap: 10px;
}

.board-legend {
    padding: 8px 14px 10px;
    font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.board-legend span:nth-child(n+3) { text-align: right; }

.board-row {
    padding: 11px 14px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: background .12s ease;
}
.board-row:nth-child(odd) { background: rgba(255, 255, 255, .022); }
.board-row:hover { background: rgba(255, 255, 255, .05); }
.board-row.me {
    background: rgba(247, 201, 72, .09);
    border-color: rgba(247, 201, 72, .35);
}

.rank {
    width: 28px; height: 28px; display: grid; place-items: center;
    border-radius: 6px; font-size: 12.5px; font-weight: 700;
    background: var(--bg); color: var(--muted); border: 1px solid var(--line);
}
.rank.gold   { background: linear-gradient(180deg, #ffd964, #b8901f); color: #241a00; border-color: #8a6a12; }
.rank.silber { background: linear-gradient(180deg, #e2e8f0, #97a3b4); color: #1b1f26; border-color: #7d8899; }
.rank.bronze { background: linear-gradient(180deg, #e0a06a, #a2633a); color: #2a1508; border-color: #7e4d2c; }

.board-player { display: flex; align-items: center; gap: 10px; min-width: 0; }
.board-player img, .avatar-fallback.tiny {
    width: 26px; height: 26px; border-radius: 5px; image-rendering: pixelated;
    background: #2c3442; display: block; flex: none;
}
.board-player b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-player .you {
    font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
    background: var(--gold); color: #241a00; border-radius: 2px; padding: 2px 6px;
}

.board-cell {
    text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600;
}
.board-cell i {
    display: none; font-style: normal; font-size: 10px; letter-spacing: .12em;
    text-transform: uppercase; color: var(--dim); font-weight: 400;
}
.board-cell.pos { color: var(--emerald); }
.board-cell.neg { color: var(--redstone); }
.board-cell.dim { color: var(--muted); font-weight: 400; }

.board-note {
    margin: 6px 0 8px; padding: 0 14px;
    font-size: 12px; color: var(--dim); line-height: 1.6;
}

/* Schmal: Kopfzeile weg, dafür beschriftet jede Zahl sich selbst. */
@media (max-width: 720px) {
    .board-legend { display: none; }
    .board-row {
        grid-template-columns: 34px 1fr;
        grid-template-areas: "rank player" "stats stats";
        row-gap: 8px;
    }
    .board-row .rank { grid-area: rank; }
    .board-row .board-player { grid-area: player; }
    .board-cell { text-align: left; font-size: 13px; }
    .board-cell i { display: block; margin-bottom: 2px; }
    .board-row .board-cell:nth-of-type(1) { grid-column: 2; }
}

/* Ton-Schalter */
#soundBtn { font-size: 15px; }
#soundBtn.off { color: var(--dim); opacity: .6; }

/* ------------------------------------------------------------------ Duell (Drache & Wither) */

.duel { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 18px; }
.duel-side { text-align: center; }
.duel-side .card { width: 74px; height: 104px; margin: 0 auto; }
.duel-side .card b { font-size: 22px; }
.duel-side .card svg { width: 32px; height: 32px; }
.duel-vs { font-size: 15px; font-weight: 800; color: var(--gold); letter-spacing: .1em; }

/* ------------------------------------------------------------------ Links & Rechts */

.andar { display: flex; flex-direction: column; gap: 16px; align-items: center; margin-bottom: 16px; }
.andar-joker { text-align: center; }
.andar-joker .card { margin: 0 auto; outline: 2px solid var(--gold); outline-offset: 2px; }
.andar-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.andar-col {
    border: 1px solid var(--line); border-radius: 5px; padding: 10px; text-align: center;
    background: rgba(255, 255, 255, .02); min-height: 92px;
}
.andar-col.won { border-color: var(--gold); background: rgba(247, 201, 72, .09); }
.andar-stack { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.andar-stack .card { width: 34px; height: 48px; }
.andar-stack .card b { font-size: 11px; }
.andar-stack .card svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------------ Würfel */

.dice-row { display: flex; gap: 12px; justify-content: center; margin-bottom: 16px; }
.die { width: 62px; height: 62px; display: block; animation: tumble .4s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes tumble {
    from { transform: rotate(-40deg) scale(.6); opacity: 0; }
    to   { transform: none; opacity: 1; }
}
.bet-label {
    font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
    margin: 12px 0 6px; text-align: center;
}
.craps { text-align: center; }
.craps-point { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.craps-point b { color: var(--gold); font-size: 20px; }
.craps-history { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; }
.roll {
    min-width: 26px; padding: 3px 7px; border-radius: 3px; font-size: 12px;
    background: var(--bg); border: 1px solid var(--line); color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.roll.first { border-color: var(--gold); color: var(--gold); }

/* ------------------------------------------------------------------ Rubbelstein */

.scratch {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    max-width: 330px; margin: 0 auto 14px;
}
.scratch-field {
    aspect-ratio: 1; border-radius: 4px; border: 1px solid var(--line);
    display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(160deg, #55606f, #3c4553);
    box-shadow: var(--bevel-out);
}
.scratch-field.open { background: #0b0f14; box-shadow: var(--bevel-in); animation: pop .3s; }
.scratch-field svg { width: 100%; height: 100%; }
.scratch-cover {
    width: 60%; height: 60%; border-radius: 3px;
    background: repeating-linear-gradient(45deg, #6b7684 0 5px, #5c6675 5px 10px);
}

/* ------------------------------------------------------------------ Tiefenrausch */

.limbo { text-align: center; }
.limbo-value {
    font-size: 58px; font-weight: 800; color: var(--gold); line-height: 1;
    font-variant-numeric: tabular-nums; margin-bottom: 8px;
}
.limbo-value.safe { color: var(--emerald); }
.limbo-value.boom { color: var(--redstone); }

/* ------------------------------------------------------------------ Tiefen-Walzen */

.mega {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px;
    max-width: 440px; margin: 0 auto 12px; padding: 12px;
    background: #05080c; border: 1px solid var(--line); border-radius: 5px;
    box-shadow: var(--bevel-in);
}
.mega-reel { display: grid; grid-template-rows: repeat(3, 1fr); gap: 5px; overflow: hidden; }
.mega-cell {
    aspect-ratio: 1; border-radius: 3px; overflow: hidden;
    background: #1a212b; display: grid; place-items: center;
}
.mega-cell svg { width: 100%; height: 100%; }
.mega-cell.hit { outline: 2px solid var(--gold); outline-offset: -2px; animation: pop .35s; }
.mega-reel.spinning { animation: megaspin .18s linear infinite; }
@keyframes megaspin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

/* ------------------------------------------------------------------ Video Poker */

.poker-hand { gap: 10px; }
.poker-card { position: relative; cursor: pointer; }
.poker-card .hold-tag {
    position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
    font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
    background: var(--gold); color: #241a00; border-radius: 2px; padding: 2px 7px;
    opacity: 0; transition: opacity .12s ease;
}
.poker-card.held .hold-tag { opacity: 1; }
.poker-card.held .card { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 680px) {
    .duel-side .card { width: 60px; height: 84px; }
    .die { width: 50px; height: 50px; }
    .mega { padding: 8px; gap: 3px; }
    .limbo-value { font-size: 44px; }
}

/* ------------------------------------------------------------------ Profile Modal */
.profile-sheet {
    max-width: 560px;
    padding: 24px 26px;
}

.profile-modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-modal-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.profile-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(24, 33, 49, 0.85) 0%, rgba(13, 18, 28, 0.95) 100%);
    border: 1px solid rgba(247, 201, 72, 0.28);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    position: relative;
    margin-bottom: 8px;
}

.profile-avatar {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    border: 2px solid var(--gold);
    background: #1e293b;
    image-rendering: pixelated;
    box-shadow: 0 0 16px rgba(247, 201, 72, 0.35);
    flex-shrink: 0;
}

.profile-balance {
    margin-left: auto;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    white-space: nowrap;
}

.profile-balance em {
    font-style: normal;
    color: var(--gold);
    margin-left: 4px;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (max-width: 500px) {
    .profile-stats-grid {
        grid-template-columns: 1fr;
    }
}

.profile-stats-grid .stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.2s ease;
}

.profile-stats-grid .stat:hover {
    border-color: rgba(247, 201, 72, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.profile-stats-grid .stat span {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-stats-grid .stat b {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.profile-stats-grid .stat b.pos {
    color: #34d399;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.35);
}

.profile-stats-grid .stat b.neg {
    color: #f87171;
}

/* ------------------------------------------------------------------ Referral System Styles */
.ref-boxes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 640px) {
    .ref-boxes-grid {
        grid-template-columns: 1fr;
    }
}
.text-purple {
    color: #c084fc !important;
    text-shadow: 0 0 12px rgba(192, 132, 252, 0.4);
}
.text-green {
    color: #34d399 !important;
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
}

/* ------------------------------------------------------------------ Toast Notification */
.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 10000;
    max-width: 440px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: rgba(13, 18, 28, 0.95);
    border: 1px solid var(--line);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(247, 201, 72, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUpToast 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

.toast.good {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(34, 197, 94, 0.25);
}

.toast.bad {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(239, 68, 68, 0.25);
}

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

/* ------------------------------------------------------------------ Glowing Referral Nav Link */
.nav-link-glow {
    color: #f472b6 !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.18) 0%, rgba(247, 201, 72, 0.18) 100%) !important;
    border: 1px solid rgba(244, 114, 182, 0.5) !important;
    box-shadow: 0 0 16px rgba(244, 114, 182, 0.35), inset 0 0 10px rgba(247, 201, 72, 0.2);
    animation: navGlowPulse 2.2s infinite ease-in-out;
}

@keyframes navGlowPulse {
    0%, 100% {
        box-shadow: 0 0 12px rgba(244, 114, 182, 0.3), inset 0 0 6px rgba(247, 201, 72, 0.15);
        border-color: rgba(244, 114, 182, 0.45);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 26px rgba(244, 114, 182, 0.75), 0 0 12px rgba(247, 201, 72, 0.4), inset 0 0 12px rgba(247, 201, 72, 0.3);
        border-color: #f472b6;
        transform: translateY(-1px) scale(1.04);
    }
}

/* ------------------------------------------------------------------ Sound Button */
.icon-btn-sound {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--panel-border);
    color: var(--text);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.icon-btn-sound:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    transform: scale(1.08);
}

.icon-btn-sound.muted {
    opacity: 0.6;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
}

/* ------------------------------------------------------------------ Luxury Live Wins Ticker */
.live-wins-section {
    margin: 18px auto 8px;
    max-width: 1400px;
    padding: 0 24px;
}

.live-wins-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(26, 36, 60, 0.75) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.live-wins-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.15) 100%);
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fca5a5;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
}

.live-dot-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    animation: livePulse 1.5s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { transform: scale(0.85); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 18px #ef4444; }
}

.live-wins-track-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.live-wins-track {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding: 4px 2px;
}

.live-wins-track::-webkit-scrollbar {
    display: none;
}

.win-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    animation: popInFromLeft 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.win-pill:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(247, 201, 72, 0.6);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 16px rgba(247, 201, 72, 0.25);
}

@keyframes popInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.win-pill.new-hit {
    border-color: #f7c948 !important;
    background: linear-gradient(135deg, rgba(247, 201, 72, 0.25) 0%, rgba(16, 185, 129, 0.15) 100%) !important;
    box-shadow: 0 0 24px rgba(247, 201, 72, 0.45) !important;
}

.win-pill-avatar {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(247, 201, 72, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.win-pill-user {
    font-size: 12.5px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.01em;
}

.win-pill-game {
    font-size: 11.5px;
    font-weight: 600;
    color: #94a3b8;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.win-pill-mult {
    font-size: 11.5px;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 2px 7px;
    border-radius: 6px;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.win-pill-amount {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--gold);
    text-shadow: 0 0 12px rgba(247, 201, 72, 0.5);
}

/* ------------------------------------------------------------------ Minecraft Playing Cards & Felt */
.felt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    min-height: 200px;
    background: radial-gradient(circle at 50% 40%, #0d2818 0%, #05140b 100%);
    border: 2px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.85);
}

.hand {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.card {
    width: 68px;
    height: 98px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 2px solid rgba(247, 201, 72, 0.4);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 6px 4px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.15);
    position: relative;
    user-select: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.7), 0 0 16px rgba(247, 201, 72, 0.35);
    border-color: var(--gold);
}

.card b {
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    font-family: monospace, sans-serif;
}

.card svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.card.back {
    background: repeating-linear-gradient(45deg, #1e1b4b, #1e1b4b 6px, #0f0c29 6px, #0f0c29 12px);
    border: 2px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6), inset 0 0 10px rgba(168, 85, 247, 0.2);
}

.card.back span {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(168, 85, 247, 0.6);
    border-radius: 4px;
    transform: rotate(45deg);
}

/* ------------------------------------------------------------------ Minecraft Avatars & Pixel Details */
.user-chip-avatar, .win-pill-avatar, .board-player img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    border-radius: 6px;
    background: #1e293b;
}

.enchanted-glint {
    position: relative;
    overflow: hidden;
}

.enchanted-glint::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(192, 132, 252, 0.25) 50%, transparent 70%);
    transform: rotate(25deg);
    animation: enchantShimmer 3s infinite linear;
    pointer-events: none;
}

@keyframes enchantShimmer {
    0% { transform: translate(-100%, -100%) rotate(25deg); }
    100% { transform: translate(100%, 100%) rotate(25deg); }
}

/* ------------------------------------------------------------------ Minecraft Card Frames & Luxury Polish */
.game {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ------------------------------------------------------------------ Creator Badge & Community Styles */
.user-chip-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.creator-badge-pill {
    background: rgba(168, 85, 247, 0.14);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #e9d5ff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.15);
}

.creator-badge-pill:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: #c084fc;
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
    transform: translateY(-1px);
}

.creator-badge-pill b {
    color: var(--gold);
    font-weight: 900;
}

.creator-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
}

.creator-card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(15, 21, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.creator-card-item:hover {
    border-color: rgba(247, 201, 72, 0.35);
    background: rgba(21, 29, 44, 0.95);
    transform: translateY(-1px);
}

.creator-card-item.selected {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(10, 15, 26, 0.95) 100%);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.creator-card-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.creator-card-icon {
    font-size: 22px;
}

.creator-card-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.creator-card-meta strong {
    font-size: 13px;
    color: #fff;
}

.creator-card-meta span {
    font-size: 11px;
    color: var(--text-dim);
}

.platform-tag {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
}

.creator-code-pill {
    color: var(--gold);
    font-weight: 800;
    background: rgba(247, 201, 72, 0.12);
    padding: 1px 4px;
    border-radius: 3px;
}

.slot-lever-assembly.disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none !important;
    filter: grayscale(0.3);
}

.game:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 28px rgba(247, 201, 72, 0.22);
}

.game-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(8, 11, 17, 0.6) 100%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.game:hover .game-art::before {
    opacity: 0.3;
}

.live-wins-badge {
    background: linear-gradient(135deg, rgba(247, 201, 72, 0.2) 0%, rgba(245, 158, 11, 0.12) 100%);
    border: 1px solid rgba(247, 201, 72, 0.45);
    color: var(--gold);
    box-shadow: 0 0 14px rgba(247, 201, 72, 0.25);
}

/* ==========================================================================
   VIP CHAMPIONS TOP 3 PODIUM
   ========================================================================== */
.podium-section {
    margin: 40px auto 28px;
    max-width: 960px;
    padding: 0 16px;
}

.podium-header {
    text-align: center;
    margin-bottom: 28px;
}

.podium-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(247, 201, 72, 0.2), rgba(217, 119, 6, 0.25));
    border: 1px solid rgba(247, 201, 72, 0.5);
    color: var(--gold);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 8px;
    box-shadow: 0 0 14px rgba(247, 201, 72, 0.3);
}

.podium-header h2 {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.podium-subtitle {
    font-size: 13.5px;
    color: var(--text-dim);
}

.podium-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 16px;
    align-items: flex-end;
    margin-top: 10px;
}

.podium-card {
    background: rgba(14, 18, 27, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px 16px 0 0;
    padding: 20px 14px 0;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podium-card:hover {
    transform: translateY(-4px);
}

.podium-card.gold {
    border-color: rgba(247, 201, 72, 0.45);
    background: linear-gradient(180deg, rgba(247, 201, 72, 0.12) 0%, rgba(14, 18, 27, 0.95) 100%);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 30px rgba(247, 201, 72, 0.25);
    order: 2;
}

.podium-card.silver {
    border-color: rgba(203, 213, 225, 0.35);
    background: linear-gradient(180deg, rgba(203, 213, 225, 0.08) 0%, rgba(14, 18, 27, 0.95) 100%);
    order: 1;
}

.podium-card.bronze {
    border-color: rgba(217, 119, 6, 0.35);
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.08) 0%, rgba(14, 18, 27, 0.95) 100%);
    order: 3;
}

.podium-avatar-wrap {
    position: relative;
    margin-bottom: 12px;
}

.podium-avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.podium-card.gold .podium-avatar-img {
    width: 76px;
    height: 76px;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(247, 201, 72, 0.45);
}

.podium-avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 20px;
    font-weight: 700;
}

.podium-crown {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    filter: drop-shadow(0 2px 8px rgba(247, 201, 72, 0.6));
    animation: crownFloat 2s ease-in-out infinite alternate;
}

@keyframes crownFloat {
    from { transform: translateX(-50%) translateY(0); }
    to { transform: translateX(-50%) translateY(-5px); }
}

.podium-rank-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    font-size: 11px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.podium-rank-badge.gold {
    background: linear-gradient(135deg, #f7c948, #d97706);
    color: #0f172a;
}

.podium-rank-badge.silver {
    background: linear-gradient(135deg, #e2e8f0, #94a3b8);
    color: #0f172a;
}

.podium-rank-badge.bronze {
    background: linear-gradient(135deg, #d97706, #78350f);
    color: #fff;
}

.podium-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.podium-card.gold .podium-name {
    font-size: 17px;
    color: var(--gold);
}

.podium-you-tag {
    background: var(--gold);
    color: #000;
    font-size: 9.5px;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 3px;
}

.podium-won-label {
    font-size: 10.5px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.podium-won {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    font-family: 'JetBrains Mono', monospace;
}

.podium-won.gold {
    font-size: 17px;
    color: #f7c948;
    text-shadow: 0 0 10px rgba(247, 201, 72, 0.4);
}

.podium-won.silver { color: #cbd5e1; }
.podium-won.bronze { color: #f59e0b; }

.podium-pillar {
    width: 100%;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 12px;
}

.podium-pillar.gold {
    height: 120px;
    background: linear-gradient(180deg, rgba(247, 201, 72, 0.35) 0%, rgba(217, 119, 6, 0.15) 100%);
    border-top: 2px solid var(--gold);
    color: var(--gold);
}

.podium-pillar.silver {
    height: 85px;
    background: linear-gradient(180deg, rgba(203, 213, 225, 0.25) 0%, rgba(148, 163, 184, 0.1) 100%);
    border-top: 2px solid #cbd5e1;
    color: #cbd5e1;
}

.podium-pillar.bronze {
    height: 60px;
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.25) 0%, rgba(120, 53, 15, 0.1) 100%);
    border-top: 2px solid #d97706;
    color: #f59e0b;
}

/* ==========================================================================
   LIVE COMMUNITY & CREATOR CHAT & FLOATING BUTTON
   ========================================================================== */
.floating-chat-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid rgba(247, 201, 72, 0.4);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(247, 201, 72, 0.2);
    transition: all 0.25s ease;
}

.floating-chat-btn:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: var(--gold);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(247, 201, 72, 0.4);
}

.chat-live-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: chatPulse 1.2s infinite alternate;
}

@keyframes chatPulse {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.chat-msg-row {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 8px 10px;
    align-items: flex-start;
}

.chat-msg-row.is-me {
    background: rgba(247, 201, 72, 0.05);
    border-color: rgba(247, 201, 72, 0.15);
}

.chat-avatar {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-msg-content {
    flex: 1;
}

.chat-msg-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    margin-bottom: 2px;
}

.chat-msg-author strong {
    color: #fff;
    font-weight: 700;
}

.chat-msg-time {
    color: var(--text-dim);
    font-size: 10px;
    margin-left: auto;
}

.chat-msg-text {
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.35;
    word-break: break-word;
}

.chat-badge {
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.chat-badge.admin {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.chat-badge.creator {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.chat-badge.vip {
    background: rgba(247, 201, 72, 0.2);
    color: var(--gold);
    border: 1px solid rgba(247, 201, 72, 0.4);
}

@media (max-width: 640px) {
    .podium-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .podium-card.gold { order: 1; }
    .podium-card.silver { order: 2; }
    .podium-card.bronze { order: 3; }
    .podium-pillar { height: 40px !important; }
}

/* ------------------------------------------------------------------ Header Creator Button */
.creator-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.creator-header-btn:hover, .creator-header-btn.active {
    background: rgba(168, 85, 247, 0.22);
    border-color: #c084fc;
    color: #fff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.35);
    transform: translateY(-1px);
}

.creator-header-btn.active b {
    color: var(--gold);
}

/* ------------------------------------------------------------------ Admin Dashboard Sheet */
.admin-sheet {
    max-width: 1100px !important;
    width: 95vw !important;
    max-height: 90vh !important;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    padding: 24px 28px !important;
}

.admin-sheet .table-scroll {
    overflow-x: auto;
    max-width: 100%;
}

.admin-sheet .admin-tabs {
    flex-wrap: wrap;
    gap: 6px;
}

/* ------------------------------------------------------------------ Online Visitors Pill */
.online-visitors-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.2px;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.15);
}

.online-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* ------------------------------------------------------------------ Partner & Creator Showcase Section */
.partner-showcase-section {
    margin: 48px 0 24px 0;
    padding: 32px 28px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(10, 15, 26, 0.95) 50%, rgba(247, 201, 72, 0.06) 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.partner-showcase-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.partner-showcase-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.partner-showcase-head .section-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #c084fc;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.partner-showcase-head h2 {
    font-size: 24px;
    color: #fff;
    margin: 0 0 6px 0;
    font-family: var(--font-heading);
}

.partner-showcase-head .section-desc {
    font-size: 13.5px;
    color: var(--text-dim);
    margin: 0;
    max-width: 650px;
    line-height: 1.5;
}

.partner-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.partner-showcase-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.partner-showcase-card:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.2);
    background: rgba(20, 29, 52, 0.9);
}

.partner-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.partner-card-avatar {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    border: 2px solid var(--gold);
    box-shadow: 0 0 14px rgba(247, 201, 72, 0.35);
    object-fit: cover;
    background: #0b0f19;
}

.partner-card-info strong {
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.partner-card-info .platform-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid #c084fc;
    color: #d8b4fe;
    display: inline-block;
    margin-top: 4px;
}

.partner-card-stats {
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.partner-card-stats span {
    color: var(--text-dim);
}

.partner-card-stats b {
    color: #4ade80;
}

.partner-card-actions {
    display: flex;
    gap: 8px;
}

.partner-card-actions .btn {
    flex: 1;
}

/* ------------------------------------------------------------------ Smooth Global Scrollbar Fix */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(247, 201, 72, 0.25) transparent;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(247, 201, 72, 0.25);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(247, 201, 72, 0.5);
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.faq-list, .chat-messages-wrap, .table-scroll {
    overflow-x: hidden;
}

/* ------------------------------------------------------------------ Streamer & Creator Modern Showcase Cards */
.creator-cards-grid, .streamer-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.streamer-card {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 27, 40, 0.95) 0%, rgba(11, 15, 24, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.streamer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.streamer-card.twitch {
    border-color: rgba(145, 70, 255, 0.4);
}
.streamer-card.twitch:hover {
    border-color: #9146FF;
    box-shadow: 0 8px 30px rgba(145, 70, 255, 0.25);
}

.streamer-card.kick {
    border-color: rgba(83, 252, 24, 0.4);
}
.streamer-card.kick:hover {
    border-color: #53FC18;
    box-shadow: 0 8px 30px rgba(83, 252, 24, 0.2);
}

.streamer-card.youtube {
    border-color: rgba(239, 68, 68, 0.4);
}
.streamer-card.youtube:hover {
    border-color: #ef4444;
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.25);
}

.streamer-card.featured {
    background: linear-gradient(135deg, rgba(30, 27, 48, 0.95) 0%, rgba(15, 13, 28, 0.98) 100%);
    border-color: rgba(247, 201, 72, 0.5);
    box-shadow: 0 6px 24px rgba(247, 201, 72, 0.15);
}

.streamer-card.active-bound {
    border-color: #22c55e !important;
    box-shadow: 0 0 24px rgba(34, 197, 94, 0.25) !important;
}

.streamer-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.streamer-avatar-wrap {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.streamer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #1e293b;
    image-rendering: pixelated;
}

.streamer-card.twitch .streamer-avatar {
    border-color: #9146FF;
}

.streamer-card.kick .streamer-avatar {
    border-color: #53FC18;
}

.streamer-card.featured .streamer-avatar {
    border-color: var(--gold);
}

.streamer-live-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #ef4444;
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    padding: 1px 4px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    animation: pulseGlow 1.5s infinite ease-in-out;
}

.streamer-meta {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.streamer-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.streamer-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.streamer-platform-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.streamer-platform-tag.twitch {
    background: rgba(145, 70, 255, 0.2);
    color: #c084fc;
    border: 1px solid rgba(145, 70, 255, 0.4);
}

.streamer-platform-tag.kick {
    background: rgba(83, 252, 24, 0.15);
    color: #53FC18;
    border: 1px solid rgba(83, 252, 24, 0.4);
}

.streamer-platform-tag.youtube {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.streamer-tagline {
    font-size: 11.5px;
    color: var(--text-dim);
    margin-top: 2px;
    line-height: 1.3;
}

.streamer-card-info-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
}

.streamer-card-info-box code {
    color: var(--gold);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.streamer-actions-row {
    display: flex;
    gap: 8px;
}

.streamer-actions-row .btn {
    flex: 1;
}

.creator-header-btn.is-active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(247, 201, 72, 0.25) 100%) !important;
    border-color: #22c55e !important;
    color: #4ade80 !important;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.35) !important;
}

/* ==========================================================================
   FLOATING LIVE-CHAT WIDGET (UNTERE RECHTE ECKE)
   ========================================================================== */
.floating-chat-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
    font-family: inherit;
}

.floating-chat-btn,
.floating-chat-widget {
    pointer-events: auto;
}

.floating-chat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #131b2e 0%, #0d1220 100%);
    border: 1.5px solid rgba(247, 201, 72, 0.45);
    border-radius: 999px;
    padding: 11px 20px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(247, 201, 72, 0.2);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
}

.floating-chat-btn:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: var(--gold);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 28px rgba(247, 201, 72, 0.4);
}

.floating-chat-btn:active {
    transform: translateY(0) scale(0.98);
}

.chat-btn-pulse {
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: chatPulse 1.8s infinite;
}

@keyframes chatPulse {
    0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.chat-unread-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 10.5px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 999px;
    border: 2px solid #080c14;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.6);
    animation: bounceBadge 0.3s ease;
}

@keyframes bounceBadge {
    0% { transform: scale(0.4); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.floating-chat-widget {
    width: 370px;
    height: 500px;
    max-height: calc(100vh - 120px);
    max-width: calc(100vw - 36px);
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid rgba(247, 201, 72, 0.35);
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(247, 201, 72, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.floating-chat-header {
    background: linear-gradient(90deg, rgba(19, 27, 46, 0.95), rgba(13, 18, 32, 0.95));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.floating-chat-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-live-pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.chat-online-badge {
    font-size: 11px;
    font-weight: 700;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 4px;
}

.floating-chat-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-action-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.15s;
}

.chat-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.chat-action-btn.close:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
}

.floating-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-behavior: smooth;
}

.floating-chat-body::-webkit-scrollbar {
    width: 5px;
}

.floating-chat-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.chat-msg-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    animation: fadeInMsg 0.2s ease-out;
    padding: 4px 6px;
    border-radius: 8px;
    transition: background 0.12s;
}

.chat-msg-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.chat-msg-row.is-system {
    background: rgba(247, 201, 72, 0.08);
    border-left: 3px solid var(--gold);
    padding: 8px 10px;
    border-radius: 6px;
}

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

.chat-msg-avatar {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    image-rendering: pixelated;
    background: #1e293b;
    flex-shrink: 0;
    margin-top: 2px;
}

.chat-msg-content {
    flex: 1;
    min-width: 0;
}

.chat-msg-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.chat-role-badge {
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.chat-role-inhaber {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(247, 201, 72, 0.3)) !important;
    border: 1px solid #ef4444 !important;
    color: #fca5a5 !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.chat-role-admin {
    background: rgba(247, 201, 72, 0.2) !important;
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
}

.chat-role-creator {
    background: rgba(168, 85, 247, 0.2) !important;
    border: 1px solid #a855f7 !important;
    color: #c084fc !important;
}

.chat-role-vip {
    background: rgba(16, 185, 129, 0.2) !important;
    border: 1px solid #10b981 !important;
    color: #6ee7b7 !important;
}

.chat-author-name {
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
}

.chat-msg-time {
    font-size: 10px;
    color: var(--text-dim);
    margin-left: auto;
}

.chat-msg-text {
    font-size: 12.5px;
    line-height: 1.4;
    color: #f1f5f9;
    word-break: break-word;
}

.chat-media-preview {
    margin-top: 6px;
    max-width: 100%;
    max-height: 140px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    display: block;
}

.chat-emoji-bar {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
}

.chat-emoji-bar::-webkit-scrollbar {
    height: 3px;
}

.chat-emoji-bar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

.emoji-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 3px 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.12s;
    flex-shrink: 0;
}

.emoji-chip:hover {
    background: rgba(247, 201, 72, 0.2);
    border-color: rgba(247, 201, 72, 0.4);
    transform: scale(1.15);
}

.floating-chat-footer {
    padding: 10px 12px;
    background: rgba(13, 18, 32, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 8px;
}

.floating-chat-footer input {
    background: #080c14;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: #fff;
    flex: 1;
    font-size: 12.5px;
    outline: none;
    transition: border-color 0.15s;
}

.floating-chat-footer input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(247, 201, 72, 0.2);
}

/* ==========================================================================
   ADMIN PANEL MODERATION & ONLINE TRACKER BADGES
   ========================================================================== */
.badge-online {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #4ade80;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-offline {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #94a3b8;
    font-size: 10.5px;
    padding: 2px 7px;
    border-radius: 999px;
}

.badge-banned {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #f87171;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.badge-muted {
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid #f97316;
    color: #fb923c;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
}

/* ==========================================================================
   MINECRAFT THEMED CASINO GAME OVERHAUL & BACKGROUND THEMES
   ========================================================================== */
.table.theater-table {
    background: radial-gradient(circle at center 20%, #1e293b 0%, #0f172a 100%);
    border: 2px solid rgba(247, 201, 72, 0.5);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(247, 201, 72, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.table.theater-table::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.88;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
    filter: brightness(1.22) contrast(1.1) saturate(1.3);
}

.table.theater-table.theme-slots::before { background-image: url('/assets/games/slots.jpg'); opacity: 0.90; }
.table.theater-table.theme-megaslot::before { background-image: url('/assets/games/slots.jpg'); opacity: 0.90; }
.table.theater-table.theme-crash::before { background-image: url('/assets/games/crash.jpg'); opacity: 0.92; }
.table.theater-table.theme-mines::before { background-image: url('/assets/games/mines.jpg'); opacity: 0.92; }
.table.theater-table.theme-limbo::before { background-image: url('/assets/games/mines.jpg'); opacity: 0.92; }
.table.theater-table.theme-scratch::before { background-image: url('/assets/games/mines.jpg'); opacity: 0.92; }
.table.theater-table.theme-keno::before { background-image: url('/assets/games/mines.jpg'); opacity: 0.90; }
.table.theater-table.theme-roulette::before { background-image: url('/assets/games/roulette.jpg'); opacity: 0.90; }
.table.theater-table.theme-wheel::before { background-image: url('/assets/games/roulette.jpg'); opacity: 0.90; }
.table.theater-table.theme-plinko::before { background-image: url('/assets/games/plinko.jpg'); opacity: 0.90; }
.table.theater-table.theme-tower::before { background-image: url('/assets/games/tower.jpg'); opacity: 0.90; }
.table.theater-table.theme-dragon::before { background-image: url('/assets/dragon_bg.jpg'); opacity: 0.90; }
.table.theater-table.theme-chicken::before { background-image: url('/assets/games/chicken.jpg'); opacity: 0.90; }
.table.theater-table.theme-dice::before { background-image: url('/assets/games/dice.jpg'); opacity: 0.90; }
.table.theater-table.theme-sicbo::before { background-image: url('/assets/games/dice.jpg'); opacity: 0.90; }
.table.theater-table.theme-craps::before { background-image: url('/assets/games/dice.jpg'); opacity: 0.90; }
.table.theater-table.theme-fishing::before { background-image: url('/assets/games/fishing.jpg'); opacity: 0.92; }
.table.theater-table.theme-blackjack::before { background-image: url('/assets/games/blackjack.jpg'); opacity: 0.90; }
.table.theater-table.theme-baccarat::before { background-image: url('/assets/games/blackjack.jpg'); opacity: 0.90; }
.table.theater-table.theme-threecard::before { background-image: url('/assets/games/blackjack.jpg'); opacity: 0.90; }
.table.theater-table.theme-videopoker::before { background-image: url('/assets/games/blackjack.jpg'); opacity: 0.90; }
.table.theater-table.theme-andar::before { background-image: url('/assets/games/blackjack.jpg'); opacity: 0.90; }
.table.theater-table.theme-hilo::before { background-image: url('/assets/games/blackjack.jpg'); opacity: 0.90; }

.table.theater-table > * {
    position: relative;
    z-index: 1;
}

.table-felt {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: radial-gradient(ellipse at center, rgba(16, 24, 40, 0.72) 0%, rgba(8, 12, 20, 0.86) 100%);
    box-shadow: inset 0 4px 25px rgba(0, 0, 0, 0.7), 0 8px 30px rgba(0, 0, 0, 0.5);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Mines Deepslate Grid */
.mines-grid {
    gap: 8px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.08);
}

.mines-grid .tile {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.mines-grid .tile:not(:disabled):hover {
    transform: translateY(-2px) scale(1.04);
    border-color: var(--gold);
    box-shadow: 0 6px 16px rgba(247, 201, 72, 0.3);
}

/* Crash Canvas Frame */
.crash-graph-box {
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.9) 0%, rgba(7, 10, 18, 0.95) 100%);
    border: 1.5px solid rgba(34, 197, 94, 0.35);
    border-radius: 14px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(34, 197, 94, 0.15);
}

/* ==========================================================================
   MASTER ADMIN DASHBOARD — HIGH END LUXURY GLASSMORPHISM LAYOUT
   ========================================================================== */
.admin-sheet.master-dash {
    max-width: 1320px !important;
    width: 96vw !important;
    height: 92vh !important;
    max-height: 950px !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    background: #080c14 !important;
    border: 1.5px solid rgba(247, 201, 72, 0.35) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 60px rgba(247, 201, 72, 0.12) !important;
    overflow: hidden !important;
}

.adm-top-bar {
    height: 64px;
    background: linear-gradient(90deg, #101624 0%, #0d121d 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    flex-shrink: 0;
}

.adm-top-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.adm-logo-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7c948, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 15px rgba(247, 201, 72, 0.4);
}

.adm-top-title h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.2px;
}

.adm-top-title small {
    color: var(--text-dim);
    font-size: 11.5px;
}

.adm-top-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.adm-pill {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.adm-top-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.adm-top-close-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.6);
    color: #ff8585;
    transform: scale(1.05);
}

.adm-pill.gold {
    border-color: rgba(247, 201, 72, 0.35);
    color: var(--gold);
    background: rgba(247, 201, 72, 0.08);
}

.adm-pill.green {
    border-color: rgba(34, 197, 94, 0.35);
    color: #4ade80;
    background: rgba(34, 197, 94, 0.08);
}

.adm-body-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.adm-sidebar {
    background: #0b0f19;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.adm-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
    width: 100%;
}

.adm-nav-btn .adm-nav-icon {
    font-size: 16px;
    width: 22px;
    text-align: center;
}

.adm-nav-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.adm-nav-btn.active {
    background: linear-gradient(135deg, rgba(247, 201, 72, 0.15), rgba(247, 201, 72, 0.05));
    border-color: rgba(247, 201, 72, 0.35);
    color: var(--gold);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.adm-nav-badge {
    margin-left: auto;
    font-size: 10.5px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    font-weight: 800;
}

.adm-viewport {
    padding: 24px;
    overflow-y: auto;
    background: radial-gradient(circle at top right, rgba(247, 201, 72, 0.03), transparent 40%), #080c14;
}

.adm-viewport::-webkit-scrollbar {
    width: 6px;
}

.adm-viewport::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.adm-hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.adm-card {
    background: rgba(18, 24, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    transition: transform 0.15s, border-color 0.15s;
}

.adm-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.adm-card.border-green { border-color: rgba(34, 197, 94, 0.35); background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(18, 24, 38, 0.7)); }
.adm-card.border-gold { border-color: rgba(247, 201, 72, 0.35); background: linear-gradient(135deg, rgba(247, 201, 72, 0.08), rgba(18, 24, 38, 0.7)); }
.adm-card.border-purple { border-color: rgba(168, 85, 247, 0.35); background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(18, 24, 38, 0.7)); }
.adm-card.border-pink { border-color: rgba(236, 72, 153, 0.35); background: linear-gradient(135deg, rgba(236, 72, 153, 0.08), rgba(18, 24, 38, 0.7)); }

.adm-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.adm-card-title {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.adm-card-val {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.adm-card-sub {
    font-size: 11.5px;
    color: var(--text-dim);
}

.adm-table-wrap {
    background: rgba(13, 17, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.adm-table-toolbar {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.2);
}

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

.adm-table-pro th {
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.adm-table-pro td {
    padding: 8px 12px;
    font-size: 12px;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.adm-table-pro tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.adm-table-pro .btn {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    line-height: 1.2;
}

.table-scroll {
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.table-scroll::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

/* ------------------------------------------------------------------ Game Stage Atmosphere & 3D Minecraft Backgrounds */
.theater-table {
    position: relative;
    overflow: hidden;
    background: #0b1120;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.theater-table::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.98;
    filter: brightness(1.15) saturate(1.25) contrast(1.05);
    z-index: 0;
    pointer-events: none;
    transition: background-image 0.3s ease, opacity 0.3s ease;
}

.theater-table::after {
    display: none !important;
}

.theater-table > * {
    position: relative;
    z-index: 2;
}

/* 3D Minecraft Theme Backdrops for all Games */
.theater-table.theme-blackjack::before { background-image: url('assets/games/blackjack.jpg'); }
.theater-table.theme-mines::before     { background-image: url('assets/games/mines.jpg'); }
.theater-table.theme-slots::before     { background-image: url('assets/games/slots.jpg'); }
.theater-table.theme-crash::before     { background-image: url('assets/games/crash.jpg'); }
.theater-table.theme-roulette::before  { background-image: url('assets/games/roulette.jpg'); }
.theater-table.theme-chicken::before   { background-image: url('assets/games/chicken.jpg'); }
.theater-table.theme-tower::before     { background-image: url('assets/games/tower.jpg'); }
.theater-table.theme-plinko::before    { background-image: url('assets/games/plinko.jpg'); }
.theater-table.theme-fishing::before   { background-image: url('assets/games/fishing.jpg'); }
.theater-table.theme-dice::before      { background-image: url('assets/games/dice.jpg'); }
.theater-table.theme-hilo::before      { background-image: url('assets/games/blackjack.jpg'); }
.theater-table.theme-keno::before      { background-image: url('assets/games/mines.jpg'); }
.theater-table.theme-wheel::before     { background-image: url('assets/games/roulette.jpg'); }
.theater-table.theme-megaslot::before  { background-image: url('assets/games/slots.jpg'); }
.theater-table.theme-baccarat::before  { background-image: url('assets/games/blackjack.jpg'); }
.theater-table.theme-threecard::before { background-image: url('assets/games/blackjack.jpg'); }
.theater-table.theme-videopoker::before{ background-image: url('assets/games/blackjack.jpg'); }

/* Transparent Felt with Glowing Theme Accent */
.theater-table .table-felt {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* Glassmorphism Floating Game Boards on 3D Minecraft Scene (Super Bright & High Contrast) */
.felt, .crash-wrap, .tower, .mines-grid, .slots-cabinet, .chicken-stage {
    background: rgba(13, 20, 36, 0.88) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(247, 201, 72, 0.45) !important;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(247, 201, 72, 0.15) !important;
    padding: 16px;
}

/* ------------------------------------------------------------------ Live-Chat Emoji & GIF / Media System */
.chat-emoji-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: visible;
}

.emoji-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 13px;
    padding: 3px 6px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.15s ease;
}

.emoji-chip:hover {
    background: rgba(247, 201, 72, 0.18);
    border-color: var(--gold);
    transform: scale(1.12);
}

.emoji-chip.gif-trigger {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    color: #d8b4fe;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
}

.emoji-chip.gif-trigger:hover {
    background: rgba(168, 85, 247, 0.35);
    border-color: #c084fc;
}

/* GIF & Media Popover */
.chat-gif-popover {
    position: absolute;
    bottom: 95px;
    left: 12px;
    right: 12px;
    background: rgba(13, 18, 30, 0.96);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: popIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gif-popover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
}

.gif-popover-header .close-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 13px;
}

.gif-quick-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.gif-preset {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}

.gif-preset:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: #a855f7;
    transform: translateY(-2px);
}

.gif-url-input-row {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.gif-url-input-row input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 11px;
    color: #fff;
}

.gif-url-input-row input:focus {
    outline: none;
    border-color: var(--gold);
}

/* Inline Chat Image & GIF display */
.chat-inline-media {
    display: block;
    max-width: 240px;
    max-height: 160px;
    width: auto;
    height: auto;
    border-radius: 8px;
    margin-top: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* ==========================================================================
   🛠️ Wartungsarbeiten Banner & Game Lock
   ========================================================================== */
.maintenance-banner {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.95) 0%, rgba(194, 65, 12, 0.95) 100%);
    border-bottom: 2px solid #fb923c;
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.4);
    color: #fff;
    padding: 10px 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: bannerSlideDown 0.3s ease-out;
}

@keyframes bannerSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.maintenance-banner-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.maintenance-banner .m-icon {
    font-size: 24px;
    animation: wrenchRotate 2s infinite ease-in-out;
}

@keyframes wrenchRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-20deg); }
}

.maintenance-banner .m-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 240px;
}

.maintenance-banner .m-text strong {
    font-size: 14.5px;
    font-weight: 800;
    color: #fff;
}

.maintenance-banner .m-text span {
    font-size: 12.5px;
    color: #fed7aa;
}

.maintenance-banner .m-badge {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 800;
    color: #ffedd5;
    white-space: nowrap;
}

.game.maintenance-locked {
    opacity: 0.65;
    filter: grayscale(0.2);
    cursor: not-allowed !important;
}

.game.maintenance-locked:hover {
    transform: none !important;
    border-color: rgba(234, 88, 12, 0.4) !important;
    box-shadow: none !important;
}

/* ==========================================================================
   🌧️ Live Coins-Regen Banner im Chat
   ========================================================================== */
.chat-rain-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.3) 100%);
    border-bottom: 1.5px solid rgba(16, 185, 129, 0.5);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    animation: rainPulse 2s infinite ease-in-out;
}

@keyframes rainPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 0 16px rgba(16, 185, 129, 0.45); }
}

.chat-rain-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-rain-info .rain-drop-icon {
    font-size: 20px;
    animation: rainBounce 1s infinite ease-in-out alternate;
}

@keyframes rainBounce {
    from { transform: translateY(-2px); }
    to { transform: translateY(2px); }
}

.chat-rain-info .rain-details {
    display: flex;
    flex-direction: column;
}

.chat-rain-info .rain-details strong {
    font-size: 12px;
    color: #34d399;
    font-weight: 800;
}

.chat-rain-info .rain-details span {
    font-size: 11px;
    color: #a7f3d0;
}

/* ==========================================================================
   📊 Admin Analytics Charts Styling
   ========================================================================== */
.adm-charts-grid {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .adm-charts-grid {
        grid-template-columns: 1fr;
    }
}

.adm-chart-card {
    background: rgba(13, 18, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   ⭐ Casino VIP & Level-System Styling
   ========================================================================== */
.profile-level-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.profile-level-card:hover {
    border-color: rgba(247, 201, 72, 0.45) !important;
    box-shadow: 0 6px 25px rgba(247, 201, 72, 0.15);
}

.level-tier-row {
    transition: background 0.2s ease, transform 0.2s ease;
}

.level-tier-row:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    transform: translateX(3px);
}

.chat-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

#dashPlayerLevelBadge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 3px 10px;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

#dashPlayerLevelBadge:hover {
    transform: translateY(-1px) scale(1.03);
}

/* ==========================================================================
   🔥 1-STUNDEN BLITZ-EVENT BANNER & ANIMATIONEN
   ========================================================================== */
.blitz-event-banner {
    display: none !important;
}

@keyframes blitzBannerGlow {
    0% { box-shadow: 0 4px 20px rgba(220, 38, 38, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
    100% { box-shadow: 0 6px 28px rgba(245, 158, 11, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
}

.blitz-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.blitz-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blitz-flame-icon {
    font-size: 26px;
    animation: flamePulse 1.2s infinite alternate ease-in-out;
    filter: drop-shadow(0 0 8px rgba(255, 243, 176, 0.8));
}

@keyframes flamePulse {
    0% { transform: scale(0.92) rotate(-3deg); }
    100% { transform: scale(1.15) rotate(3deg); }
}

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

.blitz-title {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.blitz-subtitle {
    font-size: 12px;
    color: #fef08a;
}

.blitz-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blitz-countdown-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1.5px solid rgba(255, 243, 176, 0.5);
    padding: 4px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.blitz-clock-icon {
    font-size: 14px;
    animation: spinSlow 6s linear infinite;
}

@keyframes spinSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.blitz-timer-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

.blitz-action-btn {
    background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
    color: #0b0f19;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.blitz-action-btn:hover {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
    filter: brightness(1.08);
}

/* Sound Button im Header */
.sound-header-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    padding: 6px 10px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sound-header-btn:hover {
    background: rgba(247, 201, 72, 0.15);
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(247, 201, 72, 0.2);
}
