/* C:\Users\insom\Desktop\AIM RANKS CORE\website\assets\css\style.css */

:root {
    --primary-cyan: #00e5ff;
    --primary-cyan-glow: rgba(0, 229, 255, 0.6);
    --primary-green: #00e676;
    --panel-bg: rgba(15, 18, 25, 0.75);
    --panel-border: rgba(255, 255, 255, 0.08);
    --row-bg: rgba(25, 30, 40, 0.5);
    --row-hover: rgba(0, 229, 255, 0.15);
    --text-muted: #d0dbe8;
}

/* Override Bootstrap text-muted */
.text-muted { color: var(--text-muted) !important; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #05070a; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.4); }

/* Hide scrollbar for table-responsive to prevent the horizontal line */
.table-responsive::-webkit-scrollbar {
    display: none;
}
.table-responsive {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

body {
    background-color: #05070a;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bg-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('../img/background.jpg') no-repeat center center; transform: translateZ(0) scale(1.05); will-change: transform;
    background-size: cover;
    z-index: -2;
    filter: brightness(0.35) blur(8px);
}

#particles-js { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: -1; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; opacity: 0; }

@keyframes radarPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}
.radar-glow { animation: radarPulse 2s infinite; border-radius: 50%; display: inline-block; }

/* Glassmorphism Navigation */
.bg-dark-glass { min-height: 72px; display: flex; align-items: center;
    background: rgba(10, 12, 16, 0.7) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--panel-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.navbar-brand .brand-text {
    font-size: 2.2rem;
    background: linear-gradient(90deg, #fff, var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px var(--primary-cyan-glow);
    margin-left: 10px;
    line-height: 1;
}

/* Glass Panels */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,255,0.05);
    color: #fff;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: ''; position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 10s infinite;
}

@keyframes shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

.glass-header {
    font-family: 'Teko', sans-serif;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Leaderboard */
.page-title { font-size: 4.5rem; text-shadow: 0 0 15px var(--primary-cyan-glow); line-height: 1; }

.leaderboard-table { width: 100%; border-collapse: separate; border-spacing: 0 12px; }
.leaderboard-table th { color: var(--text-muted); font-weight: 600; font-size: 0.85rem; letter-spacing: 2px; padding: 0 20px 10px 20px; border: none; }
.leaderboard-table tbody tr { background: var(--row-bg); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03); }
.leaderboard-table tbody tr:hover { background: var(--row-hover); transform: scale(1.01) translateY(-3px); box-shadow: inset 0 0 0 1px var(--primary-cyan-glow), 0 10px 25px rgba(0, 0, 0, 0.8); }
.leaderboard-table td { padding: 15px 20px; vertical-align: middle; border: none; }
.leaderboard-table td:first-child { border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
.leaderboard-table td:last-child { border-top-right-radius: 12px; border-bottom-right-radius: 12px; }

/* Avatars & Ranks */
.rank-icon { height: 40px; filter: drop-shadow(0 0 8px rgba(255,215,0,0.6)); transition: transform 0.3s; }
.leaderboard-table tr:hover .rank-icon { transform: scale(1.2); }
.rank-icon-lg { height: 90px; filter: drop-shadow(0 0 15px rgba(255,215,0,0.8)); }

.avatar-img { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; border: 2px solid rgba(255,255,255,0.1); }
.avatar-img-lg { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary-cyan); padding: 5px; background: rgba(0,0,0,0.6); }

.player-link { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: all 0.3s; }
.leaderboard-table tr:hover .player-link { color: var(--primary-cyan); text-shadow: 0 0 8px var(--primary-cyan-glow); }

/* Stats */
.stat-kdr { color: var(--primary-cyan); font-weight: 800; }
.stat-time { color: var(--primary-green); font-weight: 700; }
.stat-xp { color: #fff; font-family: 'Teko', sans-serif; font-size: 1.6rem; letter-spacing: 1px; }

/* Profile Specific */
.font-teko { font-family: 'Teko', sans-serif; }
.tracking-wider { letter-spacing: 2px; }

.avatar-img-hero {
    width: 130px; height: 130px; 
    border-radius: 12px; 
    object-fit: cover; 
    border: 3px solid var(--primary-cyan); 
    background: #000;
}
.rank-icon-hero {
    height: 90px;
    filter: drop-shadow(0 0 15px rgba(255,215,0,0.6));
}

.stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 2px solid transparent !important;
}
.stat-card:hover {
    transform: translateY(-5px);
    border-top: 2px solid var(--primary-cyan) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 0 20px rgba(0,229,255,0.1) !important;
}
.stat-card-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.weapon-row { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--panel-border); transition: background 0.3s; }
.weapon-row:hover { background: rgba(255,255,255,0.03); border-radius: 8px; }
.weapon-row:last-child { border-bottom: none; }
.weapon-icon-wrapper { width: 110px; text-align: center; }
.weapon-icon { max-width: 90px; max-height: 45px; filter: invert(1) opacity(0.8) drop-shadow(0 0 5px rgba(255,255,255,0.3)); }
.weapon-stats { flex: 1; display: flex; justify-content: space-between; margin-left: 20px; }
.w-stat { text-align: center; }
.w-stat-val { font-weight: 800; font-size: 1.3rem; font-family: 'Teko', sans-serif; letter-spacing: 1px; }
.w-stat-lbl { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 1px; }

/* Language Switch */
.lang-switch {
    background: rgba(0,0,0,0.5);
    border-radius: 30px;
    padding: 5px;
    display: inline-flex;
    border: 1px solid rgba(255,255,255,0.1);
}
.lang-btn {
    color: var(--text-muted);
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lang-btn:hover { color: #fff; }
.page-link:focus {
    background-color: var(--glass-bg);
    color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 230, 255, 0.2);
}

.btn-outline-cyan { color: var(--primary-cyan); border-color: var(--primary-cyan); }
.btn-outline-cyan:hover { background-color: var(--primary-cyan); color: #000; box-shadow: 0 0 15px var(--primary-cyan-glow); }
.btn-cyan { background-color: var(--primary-cyan); color: #000; border-color: var(--primary-cyan); }
.btn-cyan:hover { background-color: #00b3cc; color: #000; box-shadow: 0 0 15px var(--primary-cyan-glow); }

.lang-btn.active {
    background: var(--primary-cyan);
    color: #000;
    box-shadow: 0 0 10px var(--primary-cyan-glow);
}
.lang-btn.active .flag-icon { box-shadow: 0 0 5px rgba(0,0,0,0.5); border-radius: 2px; }

/* Interactive Hitbox using specific images */
.hitbox-interactive {
    position: relative;
    width: 100%;
    height: 450px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
.hitbox-wrapper {
    position: relative;
    width: 100%;
    max-width: 250px;
    aspect-ratio: 213 / 390;
    margin: 0 auto;
}
.hitbox-model {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: contain;
    opacity: 1;
    z-index: 5;
    transition: all 0.2s;
}
.hitbox-part {
    width: 100%;
    height: 100%;
    object-fit: fill;
    filter: brightness(0.6);
    transition: all 0.2s;
}
.hit-zone {
    position: absolute;
    cursor: crosshair;
    z-index: 5;
    transition: all 0.2s;
}
.hit-zone:hover {
    z-index: 50 !important;
}
.hit-zone:hover .hitbox-part {
    filter: brightness(1.2) drop-shadow(0 0 10px var(--primary-cyan)) !important;
}

/* Exact Percentage Reconstruction for 213x390 Canvas */
.zone-head { top: 24.36%; left: 42.72%; width: 30.05%; height: 16.67%; z-index: 101; }
.zone-neck { top: 37.95%; left: 44.13%; width: 22.54%; height: 5.64%; z-index: 103; pointer-events: none; }
.zone-chest { top: 33.85%; left: 31.46%; width: 46.01%; height: 18.72%; z-index: 101; }
.zone-stomach { top: 47.95%; left: 29.58%; width: 48.36%; height: 17.44%; z-index: 101; }
.zone-left-arm { top: 20.26%; left: 14.55%; width: 23.00%; height: 38.97%; z-index: 101; }
.zone-right-arm { top: 38.21%; left: 69.95%; width: 20.19%; height: 41.03%; z-index: 104; }
.zone-left-leg { top: 55.90%; left: 35.68%; width: 25.35%; height: 38.46%; z-index: 101; }
.zone-right-leg { top: 56.15%; left: 51.17%; width: 34.27%; height: 37.95%; z-index: 101; }

[data-tooltip] {
    position: relative;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, bottom 0.2s;
    border: 1px solid var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 230, 255, 0.2);
    z-index: 1000;
}
[data-tooltip]:hover::after {
    opacity: 1;
    bottom: 105%;
}

/* Misc */
.social-icon-wrapper {
    display: inline-flex; justify-content: center; align-items: center;
    width: 45px; height: 45px; border-radius: 50%;
    background: rgba(255,255,255,0.05); margin: 0 8px;
    transition: all 0.3s;
}
.social-icon-wrapper:hover { background: var(--primary-cyan); box-shadow: 0 0 15px var(--primary-cyan-glow); transform: translateY(-3px); }
.social-icon { width: 22px; filter: invert(1); transition: filter 0.3s; }
.social-icon-wrapper:hover .social-icon { filter: invert(0); }

.pagination-dark .page-link { background: var(--panel-bg); border: 1px solid var(--panel-border); color: #fff; margin: 0 5px; border-radius: 8px; transition: all 0.3s; font-weight: 600; }
.pagination-dark .page-link:hover { background: rgba(255,255,255,0.1); }
.pagination-dark .page-item.active .page-link { background: var(--primary-cyan); border-color: var(--primary-cyan); color: #000; box-shadow: 0 0 15px var(--primary-cyan-glow); }
.pagination-dark .page-item.disabled .page-link { background: rgba(0,0,0,0.4); color: var(--text-muted); border-color: transparent; }

.text-cyan { color: var(--primary-cyan) !important; }

.search-input {
    background: rgba(0,0,0,0.4) !important;
    border: 1px solid var(--panel-border) !important;
    color: #fff !important;
    border-radius: 20px;
    padding: 10px 20px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
    transition: all 0.3s;
}
.search-input:focus { border-color: var(--primary-cyan) !important; box-shadow: 0 0 15px var(--primary-cyan-glow) !important; outline: none; }

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 72px;
    left: 0;
    width: 250px;
    bottom: 0; overflow-y: auto;
    background: rgba(10, 12, 16, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-right: 1px solid var(--panel-border);
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-item:hover, .sidebar-item.active {
    background: rgba(255,255,255,0.05);
    color: var(--primary-cyan);
    border-left: 3px solid var(--primary-cyan);
    box-shadow: inset 15px 0 25px -15px var(--primary-cyan-glow);
}

.sidebar-item i {
    width: 30px;
    font-size: 1.2rem;
    text-align: center;
    margin-right: 15px;
}

/* Adjust main content to accommodate sidebar */
@media (min-width: 992px) {
    .main-content {
        margin-left: 250px !important;
        width: calc(100% - 250px) !important;
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Sidebar Collapsed State */
body.sidebar-collapsed .sidebar {
    width: 80px;
}
body.sidebar-collapsed .sidebar-item {
    justify-content: center;
    padding: 15px 0 !important;
}
body.sidebar-collapsed .sidebar-item span {
    display: none;
}
body.sidebar-collapsed .sidebar-item i {
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-size: 1.4rem;
}
/* Social collapse remains functional in collapsed mode */

@media (min-width: 992px) {
    body.sidebar-collapsed .main-content {
        margin-left: 80px !important;
        width: calc(100% - 80px) !important;
    }
    
    /* RTL Support for collapsed sidebar */
    html[dir="rtl"] body.sidebar-collapsed .main-content {
        margin-left: 0 !important;
        margin-right: 80px !important;
    }
}
.main-content {
    transition: margin 0.3s, width 0.3s;
}




/* Cyber Monitor Styles */

        .cyber-monitor {
            position: relative;
            background: rgba(10, 15, 20, 0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 60px;
            border: 1px solid rgba(0, 230, 255, 0.2);
            box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 0 20px rgba(0, 230, 255, 0.05);
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 30px;
        }
        .cyber-monitor:hover {
            transform: translateY(-5px);
            border-color: rgba(0, 230, 255, 0.6);
            box-shadow: 0 25px 50px rgba(0,0,0,0.7), 0 0 30px rgba(0, 230, 255, 0.2);
        }
        /* Map Background Aura */
        .cyber-bg {
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            
            filter: brightness(0.5);
            z-index: 0;
            opacity: 0.5;
            animation: pulse-bg 12s infinite alternate;
        }
        @keyframes pulse-bg {
            0% { transform: scale(1); opacity: 0.4; }
            100% { transform: scale(1.05); opacity: 0.6; }
        }
        .monitor-content {
            position: relative;
            z-index: 2;
            width: 100%;
            display: flex;
            flex-direction: column;
        }
        @media (min-width: 992px) {
            .monitor-content {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }
        }
        
        .pulse-dot {
            width: 12px;
            height: 12px;
            background-color: #00ff88;
            border-radius: 50%;
            box-shadow: 0 0 10px #00ff88;
            animation: pulse-dot 1.5s infinite;
        }
        @keyframes pulse-dot {
            0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
            70% { box-shadow: 0 0 0 12px rgba(0, 255, 136, 0); }
            100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
        }
        
        .ip-pill {
            background: rgba(0, 230, 255, 0.1);
            border-radius: 40px;
            border: 1px solid rgba(0, 230, 255, 0.3);
            transition: all 0.3s ease;
        }
        .ip-pill:hover {
            background: rgba(0, 230, 255, 0.2);
            border-color: rgba(0, 230, 255, 0.8);
            transform: scale(1.05);
        }
        
        .divider-line {
            display: none;
        }
        @media (min-width: 992px) {
            .divider-line {
                display: block;
                width: 1px;
                height: 60px;
                background: rgba(255,255,255,0.1);
                margin: 0 20px;
            }
        }
        




/* Force footer to ignore container padding and stick perfectly to sidebar */



/* Bulletproof Footer Full Bleed (Goes under sidebar to eliminate gaps) */
.footer-full-bleed {
    width: calc(100% + 200px) !important;
    margin-left: -100px !important;
    margin-right: -100px !important;
    padding-left: 100px !important;
    padding-right: 100px !important;
    position: relative;
    z-index: 1 !important; /* Sidebar is z-index 1000 */
}

/* Home Stat Cards (PLAYERS & MATCHES) - Site Cyber Style */
.home-stat-card {
    background: rgba(10, 15, 20, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 18px;
    padding: 16px 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 18px;
}

.home-stat-card:hover {
    transform: translateY(-3px);
    background: rgba(14, 20, 28, 0.85);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 255, 0.2);
}

.home-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border: 1.5px solid rgba(0, 229, 255, 0.4);
    color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2), inset 0 0 10px rgba(0, 229, 255, 0.06);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.home-stat-icon svg {
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.6));
    transition: filter 0.3s ease;
}

.home-stat-card:hover .home-stat-icon {
    transform: scale(1.06);
    background: rgba(0, 229, 255, 0.2);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 25px var(--primary-cyan-glow), inset 0 0 12px rgba(0, 229, 255, 0.15);
}

.home-stat-card:hover .home-stat-icon svg {
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.95));
}

.home-stat-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-stat-label {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.home-stat-value {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.95rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
    font-family: 'Montserrat', sans-serif;
}


