/* ==========================================================================
   TEMA: Deroma App — fundo #020F24 | azul #073884 | dourado #E8DC00 | texto branco
   ========================================================================== */

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

body {
    background: linear-gradient(135deg, #020F24 0%, #031528 100%) !important;
    color: #ffffff !important;
}

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

.background-overlay {
    background: radial-gradient(circle at 50% 50%, rgba(7, 56, 132, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(232, 220, 0, 0.06) 0%, transparent 40%),
                linear-gradient(135deg, #020F24 0%, #031528 100%);
}

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

.card, .game-card, .news-card, .stats-card {
    background: linear-gradient(145deg, #031528, #020F24) !important;
    border: 1px solid rgba(232, 220, 0, 0.2);
    box-shadow: 0 4px 20px rgba(7, 56, 132, 0.15);
    color: #ffffff;
}

.card:hover {
    border-color: rgba(232, 220, 0, 0.45);
    box-shadow: 0 8px 30px rgba(7, 56, 132, 0.25), 0 0 0 1px rgba(232, 220, 0, 0.12) inset;
}

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

.btn-primary {
    background: linear-gradient(135deg, #073884, #0a52b8) !important;
    border: 1px solid rgba(232, 220, 0, 0.35) !important;
    box-shadow: 0 4px 15px rgba(7, 56, 132, 0.45);
    color: #ffffff !important;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a52b8, #073884) !important;
    box-shadow: 0 6px 25px rgba(7, 56, 132, 0.6), 0 0 12px rgba(232, 220, 0, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #052d66, #073884) !important;
    border: 1px solid rgba(232, 220, 0, 0.3) !important;
    box-shadow: 0 4px 15px rgba(7, 56, 132, 0.35);
    color: #ffffff !important;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #073884, #052d66) !important;
    box-shadow: 0 6px 25px rgba(7, 56, 132, 0.5);
    border-color: rgba(232, 220, 0, 0.5) !important;
}

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

.header {
    background: rgba(2, 15, 36, 0.96) !important;
    border-bottom: 1px solid rgba(232, 220, 0, 0.25);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 14px rgba(7, 56, 132, 0.3), 0 1px 0 rgba(232, 220, 0, 0.2);
}

.menu-item.active {
    background: linear-gradient(135deg, rgba(7, 56, 132, 0.2), rgba(10, 82, 184, 0.15));
    border-left: 3px solid #E8DC00;
    box-shadow: inset 0 -2px 0 rgba(232, 220, 0, 0.5);
    color: #ffffff !important;
}

.menu-item:hover {
    background: rgba(7, 56, 132, 0.15);
    color: #E8DC00 !important;
}

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

.badge-premium, .badge-gold {
    background: linear-gradient(135deg, #E8DC00, #C4BA00);
    color: #020F24;
    font-weight: 700;
    text-shadow: none;
}

.badge-success, .badge-green {
    background: linear-gradient(135deg, #26de81, #1aab63);
    color: #020F24;
}

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

input, textarea, select {
    background: rgba(2, 15, 36, 0.8) !important;
    color: #ffffff !important;
    border-color: rgba(7, 56, 132, 0.5) !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #E8DC00 !important;
    box-shadow: 0 0 0 3px rgba(232, 220, 0, 0.15), 0 0 0 1px rgba(7, 56, 132, 0.5) !important;
}

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

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

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

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

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

.alert-success {
    background: rgba(7, 56, 132, 0.15);
    border-left: 4px solid #073884;
    color: #ffffff;
}

.alert-warning {
    background: rgba(232, 220, 0, 0.1);
    border-left: 4px solid #E8DC00;
    color: #E8DC00;
}

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

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

.tooltip {
    background: linear-gradient(135deg, #031528, #020F24);
    border: 1px solid rgba(232, 220, 0, 0.3);
    color: #ffffff;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0a52b8, #073884);
}

::-webkit-scrollbar-track {
    background: #020F24;
}

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

.site-footer {
    background: linear-gradient(135deg, #020F24, #031528);
    border-top: 1px solid rgba(232, 220, 0, 0.2);
    color: #ffffff;
}

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

@keyframes gold-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(232, 220, 0, 0.35);
    }
    50% {
        box-shadow: 0 0 20px rgba(232, 220, 0, 0.65);
    }
}

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

@keyframes blue-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(7, 56, 132, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(7, 56, 132, 0.7);
    }
}

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

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

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

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

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

.btn-deposit {
    background: linear-gradient(135deg, #073884, #0a52b8) !important;
    box-shadow: 0 4px 15px rgba(7, 56, 132, 0.5);
    color: #ffffff !important;
    font-weight: 700;
    border: 1px solid rgba(232, 220, 0, 0.35) !important;
}

.btn-deposit:hover {
    background: linear-gradient(135deg, #0a52b8, #073884) !important;
    box-shadow: 0 6px 25px rgba(7, 56, 132, 0.7), 0 0 10px rgba(232, 220, 0, 0.2);
}

.user-balance {
    background: rgba(2, 15, 36, 0.85) !important;
    border: 1px solid rgba(232, 220, 0, 0.35);
    color: #E8DC00 !important;
}

.user-balance:hover {
    background: rgba(3, 21, 40, 0.92) !important;
    border-color: rgba(232, 220, 0, 0.55);
    box-shadow: 0 0 15px rgba(7, 56, 132, 0.35);
}

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

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

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

.bottom-menu-item.active {
    color: #E8DC00 !important;
    box-shadow: inset 0 3px 0 rgba(232, 220, 0, 0.7);
}

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

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

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

.border-gold {
    border-color: rgba(232, 220, 0, 0.4) !important;
}

h1, h2, h3, h4, h5, h6, p, span, label, a {
    color: inherit;
}

a {
    color: #E8DC00;
}

a:hover {
    color: #ffffff;
}
