:root {
    /* Perfiles variables (MU Carancho Theme) */
    --gold-color: #c09553;
    --gold-dark: #a47b3e;
    --gold-light: #dfbc86;
    --gold-rgb: 192, 149, 83;
    
    --blue-color: #93a7ba;
    --blue-dark: #6e8499;
    --blue-light: #b4c7d8;
    --blue-rgb: 147, 167, 186;
    
    --overlay-dark: rgba(23, 21, 26, 0.75);
    --overlay-medium: rgba(13, 11, 22, 0.85);
    --overlay-light: rgba(30, 27, 34, 0.9);
}

/* Custom Scrollbar for Aetheris Neon Rework */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    border-radius: 5px;
    border: 2px solid #060509;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-neon-gradient-hover);
}

/* Custom Selection */
::selection {
    background: rgba(216, 71, 28, 0.3);
    color: #ffffff;
}

/* Typography Overrides (Gaming Theme) */
h1, h2, h3, h4, .logo, .sidebar-module h3, .admin-sidebar-title, .admin-header-title h1 {
    font-family: 'Orbitron', sans-serif !important;
    letter-spacing: 1px;
}

/* Navigation Menu */
nav > ul > li > a, .admin-menu-item {
    font-family: 'Orbitron', sans-serif !important;
    letter-spacing: 0.5px;
    font-size: 0.8rem !important;
}

/* Buttons */
.btn-more, button[type="submit"], .admin-toggle-sidebar {
    font-family: 'Orbitron', sans-serif !important;
    letter-spacing: 1px;
}

/* Countdown numbers */
.countdown-item span {
    font-family: 'Russo One', sans-serif !important;
    letter-spacing: 1px;
}
.countdown-title {
    font-family: 'Orbitron', sans-serif !important;
    letter-spacing: 2px;
}

/* Statistics and Cards */
.card-label, .cs-label, .admin-stat-title {
    font-family: 'Orbitron', sans-serif !important;
    letter-spacing: 1.5px;
    font-weight: 700;
}
.card-stat, .admin-stat-value {
    font-family: 'Russo One', sans-serif !important;
    letter-spacing: 0.5px;
}
.player-name, .rank-name, .cs-guild-name {
    font-family: 'Orbitron', sans-serif !important;
    letter-spacing: 0.5px;
}

/* Custom styles for tables and specific modules */
.table th, .admin-table th {
    background: rgba(164, 123, 62, 0.08) !important;
    color: var(--accent-cyan) !important;
    border-bottom: 2px solid rgba(164, 123, 62, 0.3) !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.table td, .admin-table td {
    border-bottom: 1px solid rgba(164, 123, 62, 0.1) !important;
    font-family: 'Outfit', sans-serif !important;
}

.table tr:hover td, .admin-table tbody tr:hover td {
    background: rgba(164, 123, 62, 0.04) !important;
}

/* Text glow effects */
.golden, [data-gold] {
    background: linear-gradient(135deg, #fef08a 0%, #fbbf24 100%);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
    font-family: 'Orbitron', sans-serif !important;
}

.silver, [data-silver] {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(203, 213, 225, 0.3);
    font-family: 'Orbitron', sans-serif !important;
}

/* DataTables Pagination custom styling override */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 50px !important;
    border: 1px solid var(--border-color) !important;
    background: rgba(13, 11, 22, 0.5) !important;
    color: var(--text-secondary) !important;
    transition: var(--transition) !important;
    padding: 4px 12px !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.75rem !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--accent-neon-gradient) !important;
    border-color: var(--accent-pink) !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(216, 71, 28, 0.35) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--accent-neon-gradient) !important;
    border-color: var(--accent-pink) !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(216, 71, 28, 0.35) !important;
}

/* Header Online Badge above the logo */
.header-online-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(23, 21, 26, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(164, 123, 62, 0.1);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.header-online-badge .status-dot {
    margin-right: 0;
    margin-bottom: 1px;
    animation: statusBlink 1.6s infinite ease-in-out !important;
}

@keyframes statusBlink {
    0% {
        opacity: 0.35;
        box-shadow: 0 0 4px rgba(0, 230, 118, 0.3);
        transform: scale(0.85);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 16px rgba(0, 230, 118, 0.8);
        transform: scale(1.15);
    }
    100% {
        opacity: 0.35;
        box-shadow: 0 0 4px rgba(0, 230, 118, 0.3);
        transform: scale(0.85);
    }
}

.header-online-badge .label {
    color: var(--text-secondary);
}

.header-online-badge .value {
    color: var(--text-primary);
    font-family: 'Russo One', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Navigation Menu - Dark Diamond Green Override */
nav {
    border: 1px solid rgba(4, 120, 87, 0.35) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(4, 120, 87, 0.15) !important;
}

nav>ul>li>a i {
    color: #059669 !important;
    text-shadow: 0 0 5px rgba(5, 150, 105, 0.3);
    transition: var(--transition);
}

nav>ul>li>a:hover i,
nav>ul>li>a.active i {
    color: #34d399 !important;
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

nav>ul>li>a.active {
    background: rgba(4, 120, 87, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25) !important;
}

nav>ul>li>a .golden,
nav>ul>li>a [data-gold] {
    color: #10b981 !important;
    background-image: linear-gradient(to bottom, #a7f3d0 0%, #059669 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.45) !important;
}

nav>ul>li>a:hover .golden,
nav>ul>li>a:hover [data-gold] {
    background-image: linear-gradient(to bottom, #ffffff 0%, #34d399 100%) !important;
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.6) !important;
}

nav>ul>li>a [data-gold]:before {
    color: #022c22 !important;
    text-shadow: #000 0 1px 5px !important;
}

nav>ul>li>a [data-gold]:after {
    display: none !important;
    content: none !important;
}
