/* ==========================================================================
   TEMA MAVERICK — Preto · Vermelho · Dourado aceso
   Paleta:
     Preto (base)        #0a0a0a / #1a1a1a
     Vermelho (accent)   #DC2626 / #EF4444 / #B91C1C
     Dourado aceso       #FFD700 / #FFE566 / #E6B800
   ========================================================================== */

:root {
    --accent-gold: #FFD700;
    --accent-gold-light: #FFE566;
    --accent-gold-dark: #E6B800;
    --accent-red-primary: #DC2626;
    --accent-red-light: #EF4444;
    --accent-red-dark: #B91C1C;
}

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

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%) !important;
}

html {
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%) !important;
}

.background-overlay {
    background: radial-gradient(circle at 30% 20%, rgba(220, 38, 38, 0.07) 0%, transparent 45%),
                radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.06) 0%, transparent 45%),
                linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
}

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

.card, .game-card, .news-card, .stats-card {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a) !important;
    border: 1px solid rgba(220, 38, 38, 0.22);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);
}

.card:hover {
    border-color: rgba(220, 38, 38, 0.45);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.18);
}

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

.btn-primary {
    background: linear-gradient(135deg, #EF4444, #DC2626) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.45);
    color: #ffffff !important;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFD700, #E6B800) !important;
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    color: #0a0a0a !important;
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.14), rgba(255, 215, 0, 0.08)) !important;
    border: 1px solid rgba(255, 215, 0, 0.55) !important;
    color: #FFD700 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #FFD700, #E6B800) !important;
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.45);
    color: #0a0a0a !important;
}

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

.header {
    background: rgba(10, 10, 10, 0.97) !important;
    border-bottom: 1px solid rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.08);
}

.menu-item.active {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.14), rgba(185, 28, 28, 0.08));
    border-left: 3px solid #EF4444;
}

.menu-item:hover {
    background: rgba(220, 38, 38, 0.08);
}

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

.badge-premium, .badge-gold {
    background: linear-gradient(135deg, #FFD700, #E6B800);
    color: #0a0a0a;
    font-weight: 700;
    text-shadow: none;
}

.badge-success, .badge-green {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #ffffff;
}

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

input:focus, textarea:focus, select:focus {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

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

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

.progress-bar {
    background: linear-gradient(90deg, #DC2626, #FFD700);
}

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

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

.alert-success {
    background: rgba(220, 38, 38, 0.08);
    border-left: 4px solid #EF4444;
    color: #EF4444;
}

.alert-warning {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    color: #FFD700;
}

.alert-error {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    color: #FFE566;
}

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

.tooltip {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border: 1px solid rgba(220, 38, 38, 0.28);
}

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

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

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

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

.site-footer {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    border-top: 1px solid rgba(220, 38, 38, 0.2);
}

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

@keyframes gold-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
    }
    50% {
        box-shadow: 0 0 22px rgba(255, 215, 0, 0.9);
    }
}

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

@keyframes red-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(220, 38, 38, 0.35);
    }
    50% {
        box-shadow: 0 0 22px rgba(239, 68, 68, 0.75);
    }
}

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

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

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

.text-gradient-green {
    background: linear-gradient(135deg, #EF4444, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.btn-deposit {
    background: linear-gradient(135deg, #FFD700, #E6B800) !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    color: #0a0a0a !important;
    font-weight: 700;
}

.btn-deposit:hover {
    background: linear-gradient(135deg, #EF4444, #DC2626) !important;
    box-shadow: 0 6px 25px rgba(220, 38, 38, 0.55);
    color: #ffffff !important;
}

.user-balance {
    background: rgba(10, 10, 10, 0.85) !important;
    border: 1px solid rgba(220, 38, 38, 0.35);
    color: #EF4444 !important;
}

.user-balance:hover {
    background: rgba(26, 26, 26, 0.95) !important;
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.25);
}

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

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

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

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

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

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

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

.border-gold {
    border-color: rgba(255, 215, 0, 0.5) !important;
}

hr, .divider {
    border-color: rgba(42, 42, 42, 0.6);
}

.shadow-depth {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(220, 38, 38, 0.08);
}
