/* ============================================================
   CONFIGURAÇÕES GERAIS E VARIÁVEIS
   ============================================================ */
:root {
    --bg-body: #050507;
    --bg-side: #0d0e12;
    --gold: #ffb347;
    --gold-dark: #b37d32;
    --blue-realm: #00d4ff;
    --text-muted: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    background-color: var(--bg-body);
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* Camada de Fundo com Imagem e Filtro */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(13, 14, 18, 0.85) 0%, var(--bg-body) 100%),
                url('https://wyd2.com.br/assets/img/bg.jpeg') no-repeat center center;
    background-size: cover;
    z-index: -1;
    filter: brightness(0.4);
}

/* ============================================================
   SIDEBAR (MENU LATERAL)
   ============================================================ */
.sidebar {
    width: 280px;
    height: 100vh;
    position: fixed;
    background: var(--bg-side);
    border-right: 1px solid var(--glass-border);
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar-header {
    padding: 30px 20px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(255, 179, 71, 0.08) 0%, transparent 70%);
    border-bottom: 1px solid var(--glass-border);
}

/* Efeito de Brilho na Logo */
.logo-wrapper {
    padding: 10px;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(255, 179, 71, 0.4));
    transition: filter 0.4s ease;
}

.logo-wrapper:hover {
    filter: drop-shadow(0 0 25px rgba(255, 179, 71, 0.6));
}

.logo-main {
    max-width: 210px;
    height: auto;
    filter: brightness(1.1) contrast(1.1);
}

/* Navegação */
.nav-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 2px;
    padding: 25px 25px 10px;
    text-transform: uppercase;
    opacity: 0.7;
}

.nav-link {
    color: var(--text-muted);
    padding: 14px 25px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    border-left: 4px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(255,179,71,0.1) 0%, transparent 100%);
    border-left-color: var(--gold);
}

/* ============================================================
   BOTÕES E AÇÕES
   ============================================================ */
.btn-auth {
    width: 100%;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px;
    border-radius: 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-auth:hover {
    background: var(--gold);
    color: #000;
}

.btn-action {
    display: block;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 179, 71, 0.2);
    border: none;
    transition: transform 0.2s;
}

.btn-action:hover { transform: translateY(-2px); color: #000; }

.btn-action.discord {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.2);
}

/* ============================================================
   CONTEÚDO PRINCIPAL E CARDS
   ============================================================ */
.layout-content { margin-left: 280px; min-height: 100vh; }

.content-wrapper { max-width: 1100px; margin: 0 auto; }

.info-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 40px 20px;
    border-radius: 24px;
    transition: 0.3s ease;
}

.info-card.highlight {
    border-color: rgba(255, 179, 71, 0.4);
    background: rgba(255, 179, 71, 0.03);
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
}

.icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #111;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.border-gold {
    border: 1px solid var(--gold);
    border-radius: 12px;
    overflow: hidden;
}

/* ============================================================
   MODAIS PERSONALIZADOS (GUERRA, ARENA, MERCADO)
   ============================================================ */
.modal-custom {
    background: rgba(10, 11, 14, 0.98) !important;
    backdrop-filter: blur(20px);
    border-radius: 15px !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

/* Variações de Borda por Modal */
#modalGuerra .modal-custom { border: 1px solid var(--gold) !important; }
#modalArena .modal-custom { border: 1px solid var(--blue-realm) !important; }
#modalMercado .modal-custom { border: 1px solid var(--gold) !important; }

.modal-header { border-bottom: 1px solid rgba(255,255,255,0.05); }

.info-item p {
    color: #bbb;
    margin-left: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Estilo da Tabela de Donate */
.table-dark { background: transparent !important; margin-bottom: 0; }
.table-dark th { font-family: 'Orbitron', sans-serif; font-size: 0.75rem; }
.table-dark td { padding: 15px; border-color: rgba(255,255,255,0.05); }

/* Utilitários de Texto */
.font-orbitron { font-family: 'Orbitron', sans-serif; }
.text-gold { color: var(--gold) !important; }
.text-blue { color: var(--blue-realm) !important; }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 991px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.active { transform: translateX(0); }
    .layout-content { margin-left: 0; }
    
    .topbar {
        background: var(--bg-side);
        padding: 15px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .btn-toggle {
        background: none;
        border: 1px solid #333;
        color: #fff;
        padding: 5px 12px;
        border-radius: 4px;
    }
    
    .brand-name { font-family: 'Orbitron', sans-serif; font-weight: bold; }
}