:root {
    --bg-main: #08090a;
    --bg-side: #0f1114;
    --accent: #3d4ef5;
    --border: rgba(255, 255, 255, 0.08);
    --text-muted: #8b949e;
    --card-bg: #161b22;
}

body { 
    background-color: var(--bg-main); 
    color: #ffffff !important; 
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
    height: 100vh; 
    overflow: hidden; 
    margin: 0; 
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #21262d; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.sidebar { 
    background: var(--bg-side); 
    height: 100vh; 
    width: 280px; 
    border-right: 1px solid var(--border); 
    position: fixed; 
    display: flex; 
    flex-direction: column; 
    z-index: 1000;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}

.sidebar-scroll { flex-grow: 1; overflow-y: auto; padding: 25px 15px; }

.sidebar h5 { letter-spacing: 0.5px; font-size: 1.1rem; }

.nav-pills .nav-link { 
    color: var(--text-muted); 
    padding: 10px 15px;
    margin-bottom: 4px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.nav-pills .nav-link i { font-size: 1.1rem; margin-right: 12px; }

.nav-pills .nav-link:hover { 
    background: rgba(255,255,255,0.05); 
    color: #fff;
    transform: translateX(5px);
}

.nav-pills .nav-link.active { 
    background-color: var(--accent) !important; 
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(61, 78, 245, 0.3);
}

.main-content { 
    margin-left: 280px; 
    height: 100vh; 
    overflow-y: auto; 
    padding: 50px; 
    background: radial-gradient(circle at top right, #11141d, #08090a);
}

.stat-box { 
    background: linear-gradient(145deg, #161b22, #0d1117);
    border: 1px solid var(--border); 
    border-radius: 16px; 
    padding: 25px; 
    text-align: center; 
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.stat-box h2 { font-weight: 800; font-size: 2.2rem; color: #fff; margin-bottom: 5px; }
.stat-box small { color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.7rem; }

.guide-step { 
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border); 
    border-radius: 20px; 
    padding: 30px; 
    height: 100%; 
    backdrop-filter: blur(10px);
    transition: 0.3s; 
}

.guide-step:hover { 
    background: rgba(255,255,255,0.04);
    border-color: var(--accent); 
}

.guide-step h5 { 
    color: #ffffff !important; 
    font-weight: 700; 
    margin-bottom: 10px;
}

.guide-step p { 
    color: rgba(255, 255, 255, 0.8) !important; 
    font-size: 0.9rem;
    line-height: 1.5;
}

.step-icon { 
    font-size: 2rem; 
    color: var(--accent); 
    margin-bottom: 20px; 
    display: inline-block;
    padding: 15px;
    background: rgba(61, 78, 245, 0.1);
    border-radius: 12px;
}

.card-leak { 
    background: var(--card-bg); 
    border: 1px solid var(--border); 
    border-radius: 16px; 
    margin-bottom: 25px; 
    overflow: visible; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative; 
}
.card-header-leak { 
    background: rgba(255,255,255,0.03); 
    padding: 15px 25px; 
    border-bottom: 1px solid var(--border); 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-leak .p-4 { padding: 30px !important; }

.user-link { 
    color: var(--accent) !important; 
    text-decoration: none; 
    font-weight: 700; 
}

.user-link:hover { text-decoration: underline; }

.team-card { 
    background: #161b22; 
    border: 1px solid var(--border); 
    border-radius: 20px; 
    padding: 30px; 
    text-align: center; 
    transition: 0.3s;
}

.team-card:hover { border-color: var(--accent); transform: scale(1.02); }

.team-card img {
    border: 3px solid var(--accent);
    padding: 3px;
    box-shadow: 0 0 15px rgba(61, 78, 245, 0.3);
}

.btn-primary {
    background-color: var(--accent);
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #2b39d1;
    box-shadow: 0 5px 15px rgba(61, 78, 245, 0.4);
    transform: translateY(-2px);
}

.sidebar .p-3.border-top {
    background: rgba(0,0,0,0.2);
}

.small.text-truncate { font-weight: 600; font-size: 0.85rem; }

.badge-discontinued { 
    background: #ff4757; 
    color: white !important; 
    font-size: 0.75rem; 
    padding: 6px 12px; 
    border-radius: 6px; 
    font-weight: 800;
    margin-left: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

.sidebar .nav-link.text-decoration-line-through {
    text-decoration: line-through !important;
    opacity: 0.4;
}

.sidebar .nav-link .badge.bg-danger {
    font-size: 0.55rem;
    padding: 3px 6px;
    vertical-align: middle;
}

.team-card.border-primary {
    border: 1px solid rgba(61, 78, 245, 0.4) !important;
    background: linear-gradient(145deg, #1a1d2e, #161b22);
}

.team-card.border-primary:hover {
    box-shadow: 0 0 20px rgba(61, 78, 245, 0.2);
    border-color: var(--accent) !important;
}

h5.text-uppercase {
    opacity: 0.8;
    border-left: 3px solid var(--accent);
    padding-left: 15px;
}

.text-soft-blue {
    color: #a5b4fc !important;
}

.team-card small.text-soft-blue {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.text-soft-blue {
    color: #a5b4fc !important;
}

.text-visible-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.badge-soft-blue {
    background-color: #a5b4fc !important;
    color: #08090a !important; 
    font-weight: 800;
}

.nav-pills .nav-link {
    color: #cbd5e1; 
}

.nav-pills .nav-link.active {
    background-color: #3d4ef5 !important; 
}

.sidebar .nav-link.text-decoration-line-through {
    text-decoration: line-through !important;
    opacity: 0.4;
}

.sidebar h5.text-primary {
    color: #a5b4fc !important;
}

.table-dark {
    --bs-table-color: #ffffff;
    --bs-table-bg: transparent;
}
.text-warning {
    color: #ffc107 !important;
    filter: drop-shadow(0 0 5px rgba(255, 193, 7, 0.3));
}

.bi-star:hover {
    color: #ffc107 !important;
    transform: scale(1.1);
    transition: 0.2s;
}

.modal-content {
    background-color: #0f1114 !important; 
    border: 1px solid #3d4ef5 !important; 
    color: #ffffff !important;
    border-radius: 20px;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modal-header .modal-title, 
.modal-header .modal-title i {
    color: #ffffff !important;
}

.modal-info-box {
    background: #161b22 !important; 
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 15px;
    padding: 20px;
    height: 100%;
    transition: 0.3s ease;
}

.modal-info-box:hover {
    border-color: #3d4ef5 !important;
    transform: translateY(-3px);
}

.modal-info-box h5 { 
    color: #3d4ef5 !important; 
    font-weight: 700; 
    margin-top: 10px;
}

.modal-info-box p { 
    color: rgba(255, 255, 255, 0.8) !important; 
    font-size: 0.85rem; 
}

.step-badge {
    background: #a5b4fc !important; 
    color: #08090a !important;      
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 900; 
    text-transform: uppercase;
    display: inline-block;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.text-visible-muted {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.75rem;
}

#leaker-stats .text-soft-blue, 
#leaker-stats .user-link {
    color: #a5b4fc !important;
}

#leaker-stats .text-light {
    color: rgba(255, 255, 255, 0.8) !important;
}

.sub-nav .nav-link {
    color: rgba(165, 180, 252, 0.5) !important;
    font-weight: 600;
}
.sub-nav .nav-link.active {
    color: #ffffff !important;
    background-color: var(--accent) !important;
}


.monthly-spotlight {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.mvp-card {
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.1), rgba(13, 17, 23, 0.9));
    border: 1px solid #fbbf24;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.runner-up-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(13, 17, 23, 0.9));
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    margin-left: 30px; 
}

.mvp-crown {
    color: #fbbf24;
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.4));
}

.stat-pill {
    background: rgba(165, 180, 252, 0.1);
    border: 1px solid var(--accent);
    color: #a5b4fc;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

@keyframes leakHighlight {
    0% { background-color: rgba(61, 78, 245, 0); }
    50% { background-color: rgba(61, 78, 245, 0.3); border-color: #3d4ef5; }
    100% { background-color: rgba(61, 78, 245, 0); }
}

.highlight-leak {
    animation: leakHighlight 2s ease-out;
    border: 1px solid #3d4ef5 !important;
}

.badge-new {
    background: rgba(61, 78, 245, 0.15);
    color: #a5b4fc;
    border: 1px solid rgba(165, 180, 252, 0.5);
    backdrop-filter: blur(4px);
    font-size: 0.6rem;
    font-weight: 900;
    padding: 2px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 10px;
    box-shadow: 0 0 10px rgba(61, 78, 245, 0.2);
    position: relative;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.4;
}

.badge-new::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%; 
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transform: skewX(-20deg);
    animation: glass-shimmer 3s infinite;
}

@keyframes glass-shimmer {
    0% { left: -150%; }
    20% { left: 150%; } 
    100% { left: 150%; } 
}