/* ==========================================================================
   TEMA: JR CLUB — base #092113, acento #245235
   Sobrescrições e ajustes finais para o tema
   ========================================================================== */

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

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

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

.background-overlay {
    background: radial-gradient(circle at 50% 50%, rgba(36, 82, 53, 0.08) 0%, transparent 50%),
                linear-gradient(135deg, #092113 0%, #0d2b1c 100%);
}

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

.card, .game-card, .news-card, .stats-card {
    background: linear-gradient(145deg, #0f3322, #061810) !important;
    border: 1px solid rgba(36, 82, 53, 0.2);
    box-shadow: 0 4px 20px rgba(36, 82, 53, 0.1);
}

.card:hover {
    border-color: rgba(36, 82, 53, 0.42);
    box-shadow: 0 8px 30px rgba(36, 82, 53, 0.2), 0 0 0 1px rgba(214, 69, 69, 0.12) inset;
}

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

.btn-primary {
    background: linear-gradient(135deg, #245235, #2f6b47) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(36, 82, 53, 0.4);
    color: #f4faf6 !important;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5fa078, #245235) !important;
    box-shadow: 0 6px 25px rgba(36, 82, 53, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #2f6b47, #245235) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(36, 82, 53, 0.35);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5fa078, #2f6b47) !important;
    box-shadow: 0 6px 25px rgba(36, 82, 53, 0.45);
}

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

.header {
    background: rgba(9, 33, 19, 0.96) !important;
    border-bottom: 1px solid rgba(36, 82, 53, 0.35);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 14px rgba(36, 82, 53, 0.22), 0 1px 0 rgba(214, 69, 69, 0.45);
}

.menu-item.active {
    background: linear-gradient(135deg, rgba(36, 82, 53, 0.15), rgba(47, 107, 71, 0.15));
    border-left: 3px solid #245235;
    box-shadow: inset 0 -2px 0 rgba(214, 69, 69, 0.55);
}

.menu-item:hover {
    background: rgba(36, 82, 53, 0.1);
}

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

.badge-premium, .badge-gold {
    background: linear-gradient(135deg, #2f6b47, #1a3324);
    color: #000;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-success, .badge-green {
    background: linear-gradient(135deg, #357a52, #245235);
}

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

input:focus, textarea:focus, select:focus {
    border-color: #245235 !important;
    box-shadow: 0 0 0 3px rgba(36, 82, 53, 0.12), 0 0 0 1px rgba(214, 69, 69, 0.35) !important;
}

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

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

.progress-bar {
    background: linear-gradient(90deg, #357a52, #245235);
}

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

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

.alert-success {
    background: rgba(36, 82, 53, 0.12);
    border-left: 4px solid #245235;
    color: #5fa078;
}

.alert-warning {
    background: rgba(36, 82, 53, 0.1);
    border-left: 4px solid #245235;
    color: #5fa078;
}

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

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

.tooltip {
    background: linear-gradient(135deg, #0d2b1c, #061810);
    border: 1px solid rgba(36, 82, 53, 0.3);
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5fa078, #245235);
}

::-webkit-scrollbar-track {
    background: #061810;
}

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

.site-footer {
    background: linear-gradient(135deg, #061810, #092113);
    border-top: 1px solid rgba(36, 82, 53, 0.2);
}

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

@keyframes gold-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(36, 82, 53, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(36, 82, 53, 0.8);
    }
}

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

@keyframes green-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(36, 82, 53, 0.35);
    }
    50% {
        box-shadow: 0 0 20px rgba(36, 82, 53, 0.55);
    }
}

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

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

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

.text-gradient-green {
    background: linear-gradient(135deg, #5fa078, #357a52);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Botão depositar no header */
.btn-deposit {
    background: linear-gradient(135deg, #245235, #2f6b47) !important;
    box-shadow: 0 4px 15px rgba(36, 82, 53, 0.5);
    color: #f4faf6 !important;
    font-weight: 700;
}

.btn-deposit:hover {
    background: linear-gradient(135deg, #5fa078, #245235) !important;
    box-shadow: 0 6px 25px rgba(36, 82, 53, 0.7);
}

/* User balance */
.user-balance {
    background: rgba(9, 33, 19, 0.85) !important;
    border: 1px solid rgba(36, 82, 53, 0.4);
    color: #245235 !important;
}

.user-balance:hover {
    background: rgba(12, 40, 24, 0.92) !important;
    border-color: rgba(36, 82, 53, 0.6);
    box-shadow: 0 0 15px rgba(36, 82, 53, 0.3);
}

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

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

/* Logo e branding */
.login-logo, .header-logo {
    filter: drop-shadow(0 0 10px rgba(36, 82, 53, 0.4));
}

/* Menu inferior mobile */
.bottom-menu-item.active {
    color: #245235 !important;
    box-shadow: inset 0 3px 0 rgba(214, 69, 69, 0.7);
}

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

/* Ícones e destaques dourados */
i.fa-star, i.fa-crown, i.fa-trophy, i.fa-coins {
    color: #245235 !important;
}

/* Texto dourado */
.text-gold, .gold-text {
    color: #245235 !important;
}

/* Border dourado */
.border-gold {
    border-color: rgba(36, 82, 53, 0.4) !important;
}

