/* ===================================================
   RED KOS HEADER & SIDE NAVIGATION (100% MATCH)
   =================================================== */

header.site-header {
    background: #e31e24;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 35px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    width: 100%;
}

.site-header .menu-trigger {
    cursor: pointer;
    font-weight: 900;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-transform: uppercase;
    user-select: none;
    transition: opacity 0.2s ease;
}

.site-header .menu-trigger:hover {
    opacity: 0.85;
}

.site-header .header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.site-header .header-logo img {
    height: 46px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}

.site-header .header-logo:hover img {
    transform: scale(1.05);
}

.site-header .shop-link {
    background: #ffffff;
    color: #000000 !important;
    padding: 9px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: none !important;
    transform: none !important;
    border: none;
    transition: background 0.2s ease;
}

.site-header .shop-link:hover {
    background: #f0f0f0;
}

/* SIDE NAVIGATION DRAWER (DESIGN #1: CYBER HUD RED UPGRADED) */
.sidenav {
    height: 100%;
    width: 380px;
    max-width: 88vw;
    position: fixed;
    z-index: 99995;
    top: 0;
    left: 0;
    background-color: #0b0d13;
    overflow-x: hidden;
    overflow-y: auto;
    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 #e31e24;
    box-shadow: 10px 0 45px rgba(227, 30, 36, 0.3);
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    will-change: transform;
}

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

.sidenav-content {
    padding: 28px 22px 35px;
    width: 100%;
    box-sizing: border-box;
    opacity: 1; /* Content stays 100% fixed and stable */
}

.sidenav .closebtn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #e31e24;
    text-decoration: none;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s;
    z-index: 10;
}

.sidenav .closebtn:hover {
    transform: scale(1.15) rotate(90deg);
    color: #ff4d4d;
}

.s1-hud-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(227, 30, 36, 0.35);
}

.s1-hud-badge {
    background: rgba(227, 30, 36, 0.2);
    border: 1px solid #e31e24;
    color: #ff4d4d;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace, sans-serif;
}

.s1-hud-title {
    font-size: 17px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
}

.s1-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid #e31e24;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 18px;
}

.s1-box h4 {
    color: #ff4d4d;
    font-size: 13.5px;
    font-weight: 900;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.s1-box p {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.55;
    margin: 0;
}

.s1-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.s1-link-btn {
    background: #131722;
    border: 1px solid #232a3b;
    color: #f1f5f9;
    text-decoration: none;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    box-shadow: none !important;
    transform: none !important;
}

.s1-link-btn:hover {
    background: #1c2233;
    border-color: #e31e24;
    color: #ffffff;
    transform: translateX(4px) !important;
}

.s1-report-btn {
    background: #25d366;
    color: #fff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: none !important;
    transform: none !important;
    transition: background 0.2s ease;
    margin-top: 10px;
}

.s1-report-btn:hover {
    background: #1ebd54;
}

@media (max-width: 768px) {
    header.site-header {
        padding: 0 16px;
        height: 60px;
    }
    .site-header .header-logo img {
        height: 38px;
    }
    .site-header .menu-trigger {
        font-size: 14px;
    }
    .site-header .shop-link {
        padding: 8px 18px;
        font-size: 12px;
    }
    .sidenav {
        width: 88vw;
        max-width: 360px;
    }
    .sidenav-content {
        width: 100%;
        padding: 24px 18px 30px;
    }
}
