/* ===================================================
   APEX TACTICAL MILITARY HEADER & SIDE NAVIGATION
   Clean Symmetrical Header with Equal Size & Radius
   =================================================== */

:root {
    --tac-bg: #121417;
    --tac-card: #181b20;
    --tac-border: #272e38;
    --tac-amber: #f59e0b;
    --tac-amber-bright: #fbbf24;
    --tac-amber-subtle: rgba(245, 158, 11, 0.08);
    --tac-text: #f3f4f6;
    --tac-muted: #9ca3af;
}

header.site-header {
    background: #121417;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #272e38;
    box-sizing: border-box;
    width: 100%;
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    gap: 12px;
}

/* Header Left (Menu Trigger) */
.header-left {
    display: flex;
    align-items: center;
}

.site-header .menu-trigger {
    height: 38px;
    padding: 0 16px;
    border-radius: 4px;
    background: var(--tac-amber-subtle);
    color: var(--tac-amber);
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 12px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    line-height: 1;
    user-select: none;
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    transform: none !important;
    box-shadow: none !important;
}

.site-header .menu-trigger:hover,
.site-header .menu-trigger:active {
    background: rgba(245, 158, 11, 0.18);
    color: var(--tac-amber-bright);
    border-color: var(--tac-amber);
    transform: none !important;
}

/* Center Desktop Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav .nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 7px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    text-transform: uppercase;
    transform: none !important;
    white-space: nowrap;
}

.header-nav .nav-item i {
    font-size: 10.5px;
    color: var(--tac-amber);
}

.header-nav .nav-item:hover {
    color: #ffffff;
    background: #181b20;
    border-color: #272e38;
    transform: none !important;
}

/* Header Right (Buy Key Action) */
.header-right {
    display: flex;
    align-items: center;
}

.site-header .shop-link {
    height: 38px;
    padding: 0 16px;
    border-radius: 4px;
    background: var(--tac-amber);
    color: #000000 !important;
    border: 1px solid var(--tac-amber-bright);
    font-size: 12px;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    box-shadow: none !important;
    transition: background 0.15s ease;
    transform: none !important;
}

.site-header .shop-link:hover,
.site-header .shop-link:active {
    background: var(--tac-amber-bright);
    transform: none !important;
    box-shadow: none !important;
}

/* TACTICAL SIDE NAVIGATION DRAWER */
.sidenav {
    height: 100%;
    width: 340px;
    max-width: 86vw;
    position: fixed;
    z-index: 99995;
    top: 0;
    left: 0;
    background-color: #121417;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1), visibility 0.3s;
    visibility: hidden;
    border-right: 2px solid var(--tac-amber);
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    will-change: transform;
}

.sidenav.open {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    visibility: visible;
}

.sidenav-content {
    padding: 24px 18px 35px;
    width: 100%;
    box-sizing: border-box;
}

.sidenav .closebtn {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: var(--tac-amber);
    text-decoration: none;
    font-weight: bold;
    line-height: 1;
    transition: color 0.15s ease;
    z-index: 10;
    padding: 6px;
    transform: none !important;
}

.sidenav .closebtn:hover {
    color: var(--tac-amber-bright);
    transform: none !important;
}

.s1-hud-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #272e38;
}

.s1-hud-title {
    font-size: 15px;
    font-weight: 900;
    color: var(--tac-amber);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.s1-box {
    background: #181b20;
    border: 1px solid #272e38;
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: none !important;
}

.s1-box h4 {
    font-size: 11px;
    font-weight: 800;
    color: var(--tac-amber);
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.s1-box p {
    font-size: 12.5px;
    color: #9ca3af;
    line-height: 1.5;
}

.s1-link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 4px;
    background: #121417;
    border: 1px solid #272e38;
    color: #f3f4f6;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    transform: none !important;
    box-shadow: none !important;
}

.s1-link-btn:hover,
.s1-link-btn:active {
    border-color: var(--tac-amber);
    color: var(--tac-amber);
    background: var(--tac-amber-subtle);
    transform: none !important;
}

.s1-report-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--tac-amber);
    color: #000 !important;
    font-weight: 900;
    padding: 13px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: none !important;
    margin-top: 18px;
    transform: none !important;
    transition: background 0.15s ease;
}

.s1-report-btn:hover {
    background: var(--tac-amber-bright);
    transform: none !important;
}

/* ===================================================
   RESPONSIVE MEDIA QUERIES FOR MOBILE & TABLET
   =================================================== */
@media (max-width: 860px) {
    .header-nav {
        display: none;
    }
}

@media (max-width: 640px) {
    header.site-header {
        height: 52px;
        padding: 0 12px;
    }

    .site-header .menu-trigger {
        height: 35px;
        font-size: 11px;
        padding: 0 12px;
        gap: 5px;
        border-radius: 4px;
    }

    .site-header .shop-link {
        height: 35px;
        font-size: 11px;
        padding: 0 12px;
        gap: 4px;
        border-radius: 4px;
    }
}

@media (max-width: 360px) {
    header.site-header {
        padding: 0 8px;
    }
    
    .site-header .menu-trigger {
        height: 34px;
        padding: 0 10px;
        font-size: 10.5px;
    }

    .site-header .shop-link {
        height: 34px;
        padding: 0 10px;
        font-size: 10.5px;
    }
}
