/* assets/css/premium.css - BLUE REBRAND */
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@400;600;700&family=Inter:wght@400;600;700&display=swap');

:root {
    /* Cores Base */
    --bg-dark: #0a0a12;
    --bg-panel: rgba(20, 20, 35, 0.95);
    --bg-card: #151525;

    /* Cores Marca - BLUE THEME */
    --neon-blue: #2962ff;
    /* Azul Royal Vibrante */
    --neon-light: #448aff;
    --neon-purple: #6200ea;
    /* Roxo Profundo */
    --brand-primary: #2962ff;

    /* Glows */
    --glow-primary: rgba(41, 98, 255, 0.6);
    --glow-secondary: rgba(98, 0, 234, 0.5);

    /* Texto */
    --text-primary: #ffffff;
    --text-secondary: #b0c4de;
    --text-highlight: #e3f2fd;

    /* Status */
    --success: #00e676;
    --danger: #ff1744;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
.brand-font {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a12;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary);
}

/* Buttons Neon Style - BLUE */
.btn-neon {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: white;
    font-weight: 700;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Teko', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(41, 98, 255, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    /* Mobile Friendly */
}

.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--glow-primary);
    filter: brightness(1.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Card Style */
.glass-panel {
    background: var(--bg-panel);
    border: 1px solid rgba(41, 98, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

/* Inputs */
input,
select {
    background: #0f0f18;
    border: 1px solid #333;
    color: white;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

input:focus {
    border-color: var(--neon-blue);
    outline: none;
    box-shadow: 0 0 10px rgba(41, 98, 255, 0.2);
}

/*--- HAMBURGER MENU (CSS ONLY TOGGLE) ---*/
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .mobile-nav-toggle {
        display: block;
    }

    .game-layout {
        flex-direction: column;
        padding-bottom: 80px;
        padding-top: 75px;
        /* Space from Carousel */
    }

    /* --- CONTROL PANEL (NEON CONSOLE STYLE) --- */
    .controls-panel {
        display: block !important;
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        /* Full width mobile */
        max-width: 500px;
        margin: 0 auto;
        z-index: 20;

        /* Dark Glass + Neon Border */
        background: linear-gradient(180deg, rgba(16, 20, 35, 0.95), rgba(5, 7, 10, 1));
        backdrop-filter: blur(15px);
        border-top: 2px solid cyan;
        border-right: 1px solid rgba(0, 255, 255, 0.1);
        border-left: 1px solid rgba(0, 255, 255, 0.1);
        border-radius: 20px 20px 0 0;

        padding: 25px 20px;
        box-shadow: 0 -10px 40px rgba(0, 255, 255, 0.15), inset 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    /* 3. SMART DRAWER (Bottom - COMPACT) */
    .smart-drawer {
        position: fixed;
        bottom: -240px;
        /* Hidden amount matches height + padding */
        left: 0;
        width: 100%;
        height: 220px;
        /* Reduced from 300px */
        background: rgba(16, 20, 35, 0.90);
        /* More transparent */
        border-top: 2px solid cyan;
        border-radius: 20px 20px 0 0;
        padding: 15px;
        z-index: 2000;
        transition: bottom 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
        display: flex;
        flex-direction: column;
        gap: 10px;
        backdrop-filter: blur(8px);
    }

    .smart-drawer.open {
        bottom: 0;
    }

    .drawer-handle {
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
        margin: -5px auto 5px auto;
        cursor: pointer;
    }

    .smart-drawer h3 {
        color: cyan;
        text-align: center;
        margin: 0;
        font-family: 'Teko', sans-serif;
        font-size: 1.2rem;
    }

    /* Chips Compact */
    .bet-chips-row {
        display: flex;
        gap: 8px;
        justify-content: center;
    }

    .chip-inner {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid cyan;
        background: rgba(0, 255, 255, 0.1);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 0.8rem;
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
        transition: transform 0.2s;
    }

    .controls-panel h3 {
        color: cyan;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-family: 'Teko', sans-serif;
        font-size: 1.4rem;
        margin-bottom: 15px;
        text-shadow: 0 0 10px cyan;
        text-align: center;
        width: 100%;
    }

    /* BET OPTIONS (CHIPS) */
    .bet-options {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 20px;
    }

    .bet-options button {
        flex: 1;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(0, 255, 255, 0.3);
        color: cyan;
        border-radius: 8px;
        padding: 10px 0;
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .bet-options button:hover,
    .bet-options button.active {
        background: cyan;
        color: #000;
        box-shadow: 0 0 15px cyan;
        transform: translateY(-2px);
    }

    /* INPUTS (STYLED DARK) */
    input,
    select {
        background: #0a0b10;
        border: 1px solid #333;
        color: white;
        padding: 15px;
        border-radius: 8px;
        width: 100%;
        margin-bottom: 15px;
        font-family: 'Inter', sans-serif;
        font-size: 1rem;
        transition: border-color 0.3s;
    }

    input:focus {
        border-color: cyan;
        outline: none;
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    }

    /* MAIN ACTION BUTTON (PULSING) */
    .action-btn {
        width: 100%;
        background: linear-gradient(90deg, #7b1fa2, #4a148c);
        /* Purple Neon */
        border: 2px solid #ea80fc;
        color: white;
        padding: 18px;
        font-size: 1.5rem;
        font-family: 'Teko', sans-serif;
        text-transform: uppercase;
        border-radius: 12px;
        cursor: pointer;
        box-shadow: 0 0 20px rgba(123, 31, 162, 0.5);
        transition: transform 0.1s;
        margin-top: 10px;
        animation: pulseNeon 2s infinite;
        text-shadow: 0 0 5px white;
    }

    .action-btn:active {
        transform: scale(0.98);
    }

    @keyframes pulseNeon {
        0% {
            box-shadow: 0 0 20px rgba(123, 31, 162, 0.5);
            border-color: #ea80fc;
        }

        50% {
            box-shadow: 0 0 40px rgba(234, 128, 252, 0.8);
            border-color: white;
        }

        100% {
            box-shadow: 0 0 20px rgba(123, 31, 162, 0.5);
            border-color: #ea80fc;
        }
    }

    #phaser-container {
        height: 85vh;
        /* Increased height to show ball at 547px */
        width: 100%;
        z-index: 1;
    }

    .right-sidebar {
        display: none;
        /* Hide desktop sidebar on mobile */
    }

    /* Mobile Menu Drawer */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        z-index: 100;
        transform: translateX(-100%);
        transition: 0.3s;
        padding: 20px;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .mobile-menu.active {
        transform: translateX(0);
    }
}

/* Notification Toast - Beautiful Style */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    top: auto;
    right: auto;
    background: #00e676;
    /* Solid Green */
    border: 2px solid #ffffff;
    /* White Border */
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 230, 118, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    transform: translateX(-150%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    min-width: 300px;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 1.8rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-content h4 {
    margin: 0;
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.toast-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #f1f1f1;
    font-weight: 500;
}
}

/* Typography */
h1,
h2,
h3,
.brand-font {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons Neon Style */
.btn-neon {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: white;
    font-weight: 700;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Teko', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(55, 66, 250, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--neon-glow);
    filter: brightness(1.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Card Style */
.glass-panel {
    background: linear-gradient(180deg, rgba(30, 30, 45, 0.9) 0%, rgba(20, 20, 30, 0.95) 100%);
    border: 1px solid rgba(189, 0, 255, 0.1);
    /* Borda Roxa sutil */
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Inputs */
.input-premium {
    width: 100%;
    background: #111119;
    border: 1px solid #3f3f5f;
    padding: 14px;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

.input-premium:focus {
    border-color: var(--neon-purple);
    outline: none;
    box-shadow: 0 0 8px rgba(189, 0, 255, 0.2);
}

/* Header / Navbar */
.main-header {
    background: var(--bg-panel);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(55, 66, 250, 0.2);
}

.user-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px 5px 5px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(189, 0, 255, 0.2);
}

.avatar-small {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-glow);
}

/* Sidebar Drawer (Mobile/Desktop) */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99;
    display: none;
    backdrop-filter: blur(5px);
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #13131e;
    z-index: 100;
    transition: 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-menu.active {
    left: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    color: #cbd5e0;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
    font-weight: 500;
    background: transparent;
    border-left: 3px solid transparent;
    transition: 0.2s;
}

.menu-item:hover {
    background: linear-gradient(90deg, rgba(189, 0, 255, 0.1), transparent);
    color: white;
    border-left-color: var(--neon-purple);
}

.menu-item i {
    width: 24px;
    text-align: center;
    color: var(--neon-blue);
}

/* Deposit Grid */
.deposit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.deposit-option {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    padding: 20px 10px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
}

.deposit-option:hover,
.deposit-option.active {
    background: rgba(55, 66, 250, 0.1);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(55, 66, 250, 0.2);
}

/* ... (existing content) ... */
.deposit-option .val {
    font-family: 'Teko', sans-serif;
    font-size: 1.6rem;
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* --- LOBBY SCREEN (START MENU) --- */
.lobby-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    /* Below Preloader (10000), Above Game */
    background: rgba(10, 12, 18, 0.6);
    /* Semi-transparent to show video */
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.lobby-content {
    text-align: center;
    animation: fadeIn 1s ease;
}

.game-title {
    font-family: 'Teko', sans-serif;
    font-size: 5rem;
    color: white;
    margin: 0;
    line-height: 0.9;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.game-title span {
    color: cyan;
}

.game-subtitle {
    font-family: 'Inter', sans-serif;
    color: #aaa;
    letter-spacing: 5px;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.start-game-btn {
    background: linear-gradient(90deg, #00c853, #64dd17);
    /* Neon Green */
    border: none;
    padding: 20px 60px;
    font-size: 1.8rem;
    font-family: 'Teko', sans-serif;
    color: #000;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 200, 83, 0.6);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: pulseStart 2s infinite;
}

.start-game-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 200, 83, 1);
}

.start-game-btn i {
    margin-right: 10px;
}

@keyframes pulseStart {
    0% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(0, 200, 83, 0.6);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 50px rgba(0, 200, 83, 0.9);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(0, 200, 83, 0.6);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- PROFESSIONAL PRELOADER --- */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    /* Highest priority */
    background: #05070a url('../images/hero_preloader.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Text/Bar at bottom */
    align-items: center;
    padding-bottom: 80px;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.preloader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    width: 80%;
    max-width: 400px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    /* Legibility backing */
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.loading-text {
    font-family: 'Teko', sans-serif;
    color: white;
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.8);
}

.loading-bar-container {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.loading-bar-fill {
    width: 0%;
    /* JS updates this */
    height: 100%;
    background: linear-gradient(90deg, #ff6d00, #ffab00);
    /* Orange Fire Gradient */
    border-radius: 6px;
    transition: width 0.2s linear;
    box-shadow: 0 0 10px rgba(255, 100, 0, 0.5);
}

.loading-text-percent {
    position: absolute;
    width: 100%;
    text-align: center;
    top: -20px;
    font-size: 0.8rem;
    color: #ccc;
    font-family: 'Inter', sans-serif;
}

.dots {
    animation: blinkDots 1.5s infinite;
}

@keyframes blinkDots {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* --- WELCOME SCREEN OVERLAY (DEPRECATED BUT KEPT FOR REFERENCE) --- */

/* --- WELCOME SCREEN OVERLAY --- */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 18, 0.85);
    backdrop-filter: blur(12px);
    z-index: 9999;
    /* Topo absoluto */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.welcome-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 350px;
    transform: translateY(0);
    animation: floatCard 3s ease-in-out infinite;
}

.welcome-logo {
    font-family: 'Teko', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(41, 98, 255, 0.6);
    line-height: 1;
}

.welcome-logo span {
    color: var(--neon-blue);
}

.welcome-text {
    font-family: 'Inter', sans-serif;
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 30px;
}

.play-btn {
    background: linear-gradient(90deg, #2962ff, #0039cb);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(41, 98, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
}

.play-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 10px rgba(41, 98, 255, 0.2);
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* --- END WELCOME SCREEN --- */

/* --- RESPONSIVIDADE & LAYOUT MOBILE --- */

/* Mobile Header Toggle (Hamburger) */
.mobile-nav-toggle {
    display: none;
    font-size: 1.8rem;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

/* Tables Responsive */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.table-premium {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.table-premium th,
.table-premium td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e0;
}

.table-premium th {
    color: #718096;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Form Groups Stacking on Mobile */
.form-row {
    display: flex;
    gap: 15px;
}

@media (max-width: 900px) {

    /* Layout Admin Mobile */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        width: 260px;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0 !important;
        /* Remove margem lateral */
        padding: 20px 15px;
        width: 100%;
    }

    /* Mostrar Toggle Button */
    /* Mostrar Toggle Button */
    .mobile-nav-toggle {
        display: block;
        background: transparent;
        padding: 5px;
        border: none;
    }

    /* Ajustar KPI Grid */
    .kpi-grid {
        grid-template-columns: 1fr;
        /* 1 Coluna */
    }

    /* Ajustar Formulários */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row>div {
        margin-bottom: 15px;
    }

    /* Login/Register Form */
    .auth-card {
        padding: 1.5rem;
        max-width: 95%;
    }

    /* Quick Grid */

    /* ... (existing queries) ... */
    .quick-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- SOCIAL PROOF & NOTIFICATIONS --- */

/* Online Counter Badge - PRO STYLE */
.online-counter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 2px 10px;
    border-radius: 8px;
    margin-right: 5px;
    min-width: 80px;
}

.online-number {
    font-family: 'Teko', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFD700;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    transition: color 0.3s ease;
}

.online-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: -2px;
}

/* Notification Toast - Bottom Left (User Preference) */
/* Notification Toast - Bottom Left (User Preference) */
.notification-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: auto;
    /* Não estica */
    background: rgba(0, 200, 83, 0.95);
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transform: translateX(-150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 90%;
    width: auto;
    font-size: 0.85rem;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-toast.show {
    transform: translateX(0);
}

/* Glass Panel Fixed */
.glass-panel {
    background: rgba(20, 20, 35, 0.85);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    border-top-color: var(--neon-blue);
}

.notification-toast.show {
    transform: translateX(0);
}

.toast-check {
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.toast-icon {
    font-size: 1.2rem;
}

.toast-text {
    font-weight: 600;
    white-space: nowrap;
}

/* App Header Card - Fixed Top */
.app-header-card {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    background: rgba(20, 20, 35, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 25px;
    /* Increased Padding */
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Online Counter - Integrated into Header on Mobile or Below */
.online-counter-badge {
    background: #FFC107;
    color: black;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    font-size: 0.8rem;
}

.game-layout {
    padding-top: 80px;
    /* Compensar Header Fixo */
}

/* --- POWER BAR (SKILL GAME) --- */
.power-container {
    position: relative;
    /* Changed from absolute to flow naturally */
    bottom: auto;
    left: auto;
    transform: none;
    margin: 15px auto 5px auto;
    /* Centered with spacing */
    width: 90%;
    max-width: 300px;
    height: 30px;
    background: #000;
    border: 2px solid #fff;
    border-radius: 15px;
    overflow: hidden;
    display: none;
    /* Só aparece na hora do chute */
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    z-index: 50;
}

.power-gradient {
    width: 100%;
    height: 100%;
    /* Vermelho -> Laranja -> Verde -> Laranja -> Vermelho */
    background: linear-gradient(90deg,
            #ff0000 0%,
            #ff8c00 25%,
            #00ff00 45%, #00ff00 55%,
            #ff8c00 75%,
            #ff0000 100%);
}

.power-marker {
    position: absolute;
    top: -5px;
    left: 0%;
    /* Vai de 0 a 100% via JS */
    width: 6px;
    height: 40px;
    background: #fff;
    border: 1px solid #000;
    box-shadow: 0 0 5px #000;
    z-index: 10;
}

/* Texto de instrução acima da barra */
.power-info {
    position: relative;
    /* Changed from absolute */
    bottom: auto;
    left: auto;
    transform: none;
    margin: 10px auto 5px auto;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    text-shadow: 0 2px 2px black;
    display: none;
    white-space: nowrap;
    animation: pulse 1s infinite;
    z-index: 50;
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.1);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}
}