/* ==========================================================================
   TEMA: DOURADO E ESCURO (Bacbo Autobet)
   Sobrescrições e ajustes finais para o tema
   ========================================================================== */

/* ===================================
   FUNDOS E BACKGROUNDS
   =================================== */

body {
    background: linear-gradient(180deg, #16161E 0%, var(--secondary-dark) 100%) !important;
}

html {
    background: #16161E !important;
}

.background-overlay {
    background: radial-gradient(circle at 50% 50%, rgba(255, 226, 2, 0.04) 0%, transparent 50%),
                linear-gradient(180deg, #16161E 0%, var(--secondary-dark) 100%);
}

/* ===================================
   CARDS E CONTAINERS
   =================================== */

.card, .game-card, .news-card, .stats-card {
    background: linear-gradient(145deg, var(--tertiary-dark), var(--secondary-dark)) !important;
    border: 1px solid rgba(255, 226, 2, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.card:hover {
    border-color: rgba(255, 226, 2, 0.38);
    box-shadow: 0 8px 30px rgba(255, 226, 2, 0.12);
}

/* ===================================
   BOTÕES
   =================================== */

.btn-primary {
    background: linear-gradient(135deg, #FFE202, #c9b000) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 226, 2, 0.35);
    color: #16161E !important;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fff04d, #FFE202) !important;
    box-shadow: 0 6px 25px rgba(255, 226, 2, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #10B981, #059669) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #34D399, #10B981) !important;
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
}

/* ===================================
   HEADER E NAVEGAÇÃO
   =================================== */

.header {
    background: rgba(22, 22, 30, 0.95) !important;
    border-bottom: 1px solid rgba(255, 226, 2, 0.22);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.menu-item.active {
    background: linear-gradient(135deg, rgba(255, 226, 2, 0.12), rgba(201, 176, 0, 0.08));
    border-left: 3px solid #FFE202;
}

.menu-item:hover {
    background: rgba(255, 226, 2, 0.08);
}

/* ===================================
   BADGES E LABELS
   =================================== */

.badge-premium, .badge-gold {
    background: linear-gradient(135deg, #c9b000, #a89000);
    color: #16161E;
    font-weight: 700;
    text-shadow: none;
}

.badge-success, .badge-green {
    background: linear-gradient(135deg, #10B981, #059669);
}

/* ===================================
   INPUTS E FORMS
   =================================== */

input:focus, textarea:focus, select:focus {
    border-color: #FFE202 !important;
    box-shadow: 0 0 0 3px rgba(255, 226, 2, 0.12) !important;
}

.form-input:focus {
    border-color: #FFE202;
}

/* ===================================
   PROGRESS BARS E LOADERS
   =================================== */

.progress-bar {
    background: linear-gradient(90deg, #10B981, #FFE202);
}

.loading-spinner i {
    color: #FFE202;
}

/* ===================================
   NOTIFICAÇÕES E ALERTAS
   =================================== */

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10B981;
    color: #34D399;
}

.alert-warning {
    background: rgba(255, 226, 2, 0.1);
    border-left: 4px solid #FFE202;
    color: #fff04d;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    color: #ff6b7a;
}

/* ===================================
   TOOLTIPS E POPOVERS
   =================================== */

.tooltip {
    background: linear-gradient(135deg, var(--tertiary-dark), var(--secondary-dark));
    border: 1px solid rgba(255, 226, 2, 0.25);
}

/* ===================================
   SCROLLBARS
   =================================== */

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFE202, #c9b000);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #fff04d, #FFE202);
}

::-webkit-scrollbar-track {
    background: var(--secondary-dark);
}

/* ===================================
   FOOTER
   =================================== */

.site-footer {
    background: linear-gradient(135deg, var(--secondary-dark), var(--primary-dark));
    border-top: 1px solid rgba(255, 226, 2, 0.18);
}

/* ===================================
   DESTAQUE E ANIMAÇÕES
   =================================== */

@keyframes gold-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 226, 2, 0.35);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 226, 2, 0.55);
    }
}

.glow-gold {
    animation: gold-glow 2s ease-in-out infinite;
}

@keyframes green-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
    }
}

.glow-green {
    animation: green-glow 2s ease-in-out infinite;
}

/* ===================================
   GRADIENTES DE TEXTO
   =================================== */

.text-gradient-gold {
    background: linear-gradient(135deg, #fff04d, #FFE202);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.text-gradient-green {
    background: linear-gradient(135deg, #34D399, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   AJUSTES ESPECÍFICOS
   =================================== */

.btn-deposit {
    background: linear-gradient(135deg, #FFE202, #c9b000) !important;
    box-shadow: 0 4px 15px rgba(255, 226, 2, 0.4);
    color: #16161E !important;
    font-weight: 700;
}

.btn-deposit:hover {
    background: linear-gradient(135deg, #fff04d, #FFE202) !important;
    box-shadow: 0 6px 25px rgba(255, 226, 2, 0.55);
}

.user-balance {
    background: rgba(28, 28, 38, 0.9) !important;
    border: 1px solid rgba(255, 226, 2, 0.3);
    color: #FFE202 !important;
}

.user-balance:hover {
    background: rgba(34, 34, 46, 0.95) !important;
    border-color: rgba(255, 226, 2, 0.5);
    box-shadow: 0 0 15px rgba(255, 226, 2, 0.2);
}

.balance-toggle {
    color: #FFE202 !important;
}

.balance-toggle:hover {
    color: #fff04d !important;
}

.login-logo, .header-logo {
    filter: drop-shadow(0 0 10px rgba(255, 226, 2, 0.35));
}

.bottom-menu-item.active {
    color: #FFE202 !important;
}

.bottom-menu-item.active i {
    color: #FFE202 !important;
}

i.fa-star, i.fa-crown, i.fa-trophy, i.fa-coins {
    color: #FFE202 !important;
}

.text-gold, .gold-text {
    color: #FFE202 !important;
}

.border-gold {
    border-color: rgba(255, 226, 2, 0.38) !important;
}
