/* Definição de Variáveis de Tema - Alteráveis pelo Admin */
:root {
    --primary-color: #007bff;      /* Cor de destaque (Azul padrão) */
    --accent-color: #ffc107;       /* Cor de destaque secundária (Dourado/Battle Pass) */
    --bg-overlay: rgba(0, 0, 0, 0.7); /* Escuridão do fundo */
    --card-bg: rgba(20, 20, 20, 0.85);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #FFFFFF;
    --font-heading: 'Cinzel', serif; /* Fonte clássica de RPG (Opcional) */
}

/* Background Principal */
body {
    background: url('../../img/background.png') no-repeat center top fixed;
    background-size: cover;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Overlay Dinâmico */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-overlay);
    z-index: -1;
}

/* Navbar com efeito Glassmorphism */
.navbar {
    background: rgba(0, 0, 0, 0.9) !important;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.nav-link:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px var(--primary-color);
}

/* Reestilização dos Cards (Login e Status) */
.card {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-top: 3px solid var(--primary-color) !important;
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.card-header {
    background: rgba(0, 0, 0, 0.4) !important;
    color: var(--primary-color) !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border-color) !important;
}

/* Input Styles */
.form-control {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid #444 !important;
    color: #fff !important;
}

.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 8px var(--primary-color);
}

/* Tabelas de Ranking */
.table {
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4) !important;
}

.table thead th {
    background-color: rgba(0, 0, 0, 0.8) !important;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Títulos com brilho */
h2 {
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 30px;
}

/* Utilitários de Cor */
.text-primary-theme { color: var(--primary-color) !important; }
.btn-primary-theme { 
    background: var(--primary-color); 
    border: none; 
    color: white;
}
/* Battle Pass Styles */
.reward-slot {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    position: relative;
}

.reward-slot.unlocked {
    border-color: var(--accent-color);
    box-shadow: inset 0 0 10px rgba(255, 193, 7, 0.2);
}

.reward-slot.locked {
    filter: grayscale(1);
    opacity: 0.6;
}

.reward-slot:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.reward-status {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
}