        /* =========================================
           ESTILOS ORIGINAIS (MANTIDOS)
           ========================================= */
        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        body { font-family: Arial, sans-serif; background-color: #f0f2f5; min-height: 100vh; color: #333; display: flex; user-select: none; }

        :root {
            --primary-color: #3b82f6;
            --primary-hover: #2563eb;
            --secondary-color: #FFD700;
            --secondary-dark: #FFA500;
            --success-color: #10b981;
            --error-color: #ef4444;
            --neutral-bg-light: #ffffff;
            --neutral-bg-dark: #e9ecef;
            --neutral-border: #dee2e6;
            --neutral-text: #495057;
        }

        .sidebar { width: 255px; background-color: var(--neutral-bg-light); height: 100vh; position: fixed; left: 0; top: 0; z-index: 100; box-shadow: 2px 0 5px rgba(0,0,0,0.1); border-right: 1px solid var(--neutral-border); transition: transform 0.3s ease; }
        .sidebar-header { padding: 20px; background-color: var(--neutral-bg-dark); border-bottom: 1px solid var(--neutral-border); text-align: center; }
        .logo { width: 100px; margin-bottom: 10px; display: block; margin-left: auto; margin-right: auto; }
        .logo img { width: 100%; border-radius: 8px; }
        .user-balance { background-color: var(--primary-color); color: white; padding: 10px 15px; border-radius: 20px; font-size: 14px; font-weight: bold; margin-bottom: 15px; }
        .menu-item { display: flex; align-items: center; padding: 12px 20px; color: var(--neutral-text); text-decoration: none; transition: 0.3s; font-size: 14px; }
        .menu-item.active { background-color: var(--primary-color); color: white; border-left: 5px solid var(--secondary-color); }
        .deposit-btn { background-color: var(--success-color) !important; color: white !important; padding: 10px 15px !important; border-radius: 20px !important; font-weight: bold !important; text-decoration: none !important; display: flex !important; align-items: center; justify-content: center; margin: 15px 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
        .main-content { margin-left: 255px; flex: 1; padding: 20px; background-color: #f0f2f5; max-width: calc(100vw - 255px); overflow-x: hidden; }

        /* =========================================
           NOVAS CLASSES DE GAMEFICAÇÃO
           ========================================= */
        .winners-ticker { background-color: var(--neutral-bg-dark); border-bottom: 2px solid var(--secondary-color); padding: 12px 0; overflow: hidden; white-space: nowrap; margin-bottom: 20px; border-radius: 8px; }
        .ticker-wrapper { display: inline-block; animation: ticker 40s linear infinite; }
        .winner-item { display: inline-flex; align-items: center; margin-right: 50px; font-size: 13px; font-weight: bold; color: var(--neutral-text); }
        .winner-item i { color: var(--secondary-dark); margin-right: 8px; }
        .winner-item b { color: var(--success-color); margin-left: 3px; margin-right: 3px; }

        @keyframes ticker { 
            0% { 
                transform: translateX(0); 
            } 
            100% { 
                transform: translateX(-50%); 
            } 
        }

        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; margin-bottom: 25px; }
        .stat-card { background: white; padding: 15px; border-radius: 12px; text-align: center; border: 1px solid var(--neutral-border); box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
        .stat-card i { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 5px; }
        .stat-card h4 { font-size: 1.2rem; font-weight: 900; color: var(--neutral-text); }

        .rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
        .room-card { background-color: var(--neutral-bg-light); border: 1px solid var(--neutral-border); border-radius: 10px; overflow: hidden; transition: 0.3s; position: relative; }
        .room-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
        
        .room-card.live-glow { border: 2px solid var(--success-color); }
        .live-tag { position: absolute; top: 10px; right: 10px; background: var(--success-color); color: white; padding: 3px 10px; border-radius: 5px; font-size: 9px; font-weight: 900; animation: pulseGlow 1.5s infinite alternate; }

        @keyframes pulseGlow { 0% { box-shadow: 0 0 5px var(--success-color); } 100% { box-shadow: 0 0 15px var(--success-color); } }

        .room-prize { font-size: 32px; font-weight: 900; color: var(--success-color); margin: 10px 0; }
        .buy-btn-lobby { width: 100%; padding: 15px; background-color: var(--primary-color); color: white; border: none; font-weight: bold; text-decoration: none; display: block; text-align: center; transition: 0.3s; }
        .buy-btn-lobby:hover { background-color: var(--primary-hover); }

        .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
        .info-item { text-align: center; background: white; padding: 20px; border-radius: 10px; border: 1px solid var(--neutral-border); }
        .step-circle { width: 40px; height: 40px; background: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-weight: 900; }

        @media (max-width: 768px) { .main-content { margin-left: 0; max-width: 100vw; } .sidebar { transform: translateX(-100%); } .info-grid { grid-template-columns: 1fr; } }
    /* --- GRID DE SALAS --- */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

/* --- CARD DA SALA --- */
.room-card {
    background-color: var(--neutral-bg-light);
    border: 1px solid var(--neutral-border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

/* --- CABEÇALHO DO CARD --- */
.room-header {
    padding: 15px 20px;
    background-color: var(--neutral-bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--neutral-border);
    font-size: 13px;
    font-weight: 700;
    color: var(--neutral-text);
}

/* --- TAG AO VIVO (LIVE) --- */
.live-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* --- EFEITO LIVE GLOW --- */
.live-glow {
    border: 2px solid var(--success-color) !important;
}

.live-glow::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 14px;
    box-shadow: inset 0 0 15px rgba(16, 185, 129, 0.1);
    pointer-events: none;
}

/* --- CORPO DO CARD --- */
.room-body {
    padding: 25px 20px;
    text-align: center;
}

.room-prize {
    font-size: 36px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: var(--success-color);
    margin: 8px 0 15px 0;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* --- BOTÃO DE AÇÃO --- */
.buy-btn-lobby {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white !important;
    font-weight: 800;
    font-size: 14px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.buy-btn-lobby:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.45);
    transform: scale(1.02);
}

/* --- ANIMAÇÃO PULSE (CSS ORIGINAL REUTILIZADO) --- */
@keyframes pulseGlow {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.status-live {
    animation: pulseGlow 1.5s infinite alternate;
}

/* Botão de Info no Card */
.info-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    transition: 0.3s;
}
.info-btn:hover { color: var(--primary-hover); transform: scale(1.1); }

/* Overlay do Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none; /* Escondido por padrão */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* Conteúdo do Modal */
.modal-content {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 25px;
    animation: slideUp 0.3s ease-out;
}

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.close-modal { background: none; border: none; font-size: 30px; cursor: pointer; color: #999; }

.prize-detail-grid { display: grid; gap: 10px; margin-bottom: 20px; }
.detail-item { display: flex; justify-content: space-between; padding: 10px; background: #f8fafc; border-radius: 10px; border-left: 4px solid var(--primary-color); }

.rules-section h4 { font-size: 14px; margin-bottom: 10px; color: var(--neutral-text); }
.rules-section ul { padding-left: 20px; font-size: 13px; color: #666; }

@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Briefing e Mini Badges */
.active-prizes-briefing { display: flex; justify-content: center; gap: 5px; margin-bottom: 10px; }
.mini-badge { font-size: 9px; padding: 2px 8px; border-radius: 4px; background: #edf2f7; color: #718096; font-weight: 700; text-transform: uppercase; border: 1px solid #e2e8f0; }
.mini-badge.active { background: #ebf8ff; color: var(--primary-color); border-color: #bee3f8; }

/* Info Bar interna */
.room-meta-info { display: flex; justify-content: space-around; background: #f7fafc; padding: 10px; border-radius: 12px; margin: 15px 0; border: 1px solid #edf2f7; }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--neutral-text); }
.meta-item i { color: var(--primary-color); }

/* Modal Estilizado */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: none; justify-content: center; align-items: center; z-index: 2000; backdrop-filter: blur(4px); }
.modal-content { background: white; width: 90%; max-width: 400px; border-radius: 20px; padding: 25px; animation: modalSlideUp 0.3s ease-out; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.close-modal { background: none; border: none; font-size: 28px; cursor: pointer; color: #cbd5e0; }
.detail-item { display: flex; justify-content: space-between; padding: 12px; background: #f8fafc; border-radius: 10px; margin-bottom: 8px; border-left: 4px solid var(--success-color); }
.rules-section ul { padding: 15px; font-size: 13px; color: #4a5568; line-height: 1.6; }

@keyframes modalSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Container que centraliza o aviso no grid */
.empty-state-card {
    grid-column: 1 / -1; /* Ocupa toda a largura do grid */
    background: white;
    border-radius: 20px;
    padding: 60px 20px;
    text-align: center;
    border: 2px dashed var(--neutral-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #f0f7ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    animation: slowRotate 4s linear infinite;
}

.empty-state-card h4 {
    color: var(--neutral-text);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.empty-state-card p {
    color: #718096;
    font-size: 14px;
    max-width: 300px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.empty-stats {
    background: var(--neutral-bg-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

@keyframes slowRotate {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

/* Overlay que cobre a tela toda */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px); /* Efeito de vidro no fundo */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px; /* Margem de segurança para mobile */
}

/* O corpo do Modal */
.modal-content {
    background: white;
    width: 100%;
    /* No desktop terá 450px, no mobile ocupará a largura disponível */
    max-width: 450px; 
    
    /* Altura máxima para não sumir em telas pequenas */
    max-height: 90vh; 
    
    border-radius: 24px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto; /* Adiciona scroll interno se o conteúdo for grande */
    
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animação de entrada "Pop" */
@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Ajuste específico para celulares muito pequenos */
@media (max-width: 480px) {
    .modal-content {
        padding: 20px;
        border-radius: 20px;
        margin-bottom: 0; /* Pode encostar embaixo se preferir estilo "Sheet" */
    }
    
    .detail-value {
        font-size: 14px; /* Diminui um pouco a fonte do prêmio */
    }
}

.recharge-cta-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: slideDown 0.4s ease-out;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.2rem;
}

.cta-text {
    display: flex;
    flex-direction: column;
}

.cta-title {
    font-weight: 800;
    color: #1e293b;
    font-size: 0.95rem;
}

.cta-desc {
    font-size: 0.8rem;
    color: #64748b;
}

.cta-button {
    background: #3b82f6;
    color: white !important;
    text-decoration: none !important;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

	.home-cta-premium {
    position: relative;
    background: #ffffff; /* Fundo branco limpo */
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.home-cta-premium:hover {
    transform: translateY(-2px);
}

.home-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.home-cta-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-cta-icon {
    width: 55px;
    height: 55px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.5rem;
}

.home-cta-details h4 {
    color: #1e293b;
    font-weight: 800;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.home-cta-details p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    max-width: 450px;
}

.btn-home-recharge {
    background: #3b82f6;
    color: white !important;
    text-decoration: none !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-home-recharge:hover {
    background: #2563eb;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Responsividade */
@media (max-width: 768px) {
    .home-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .home-cta-info {
        flex-direction: column;
        gap: 10px;
    }
    .btn-home-recharge {
        width: 100%;
        justify-content: center;
    }
}