/* =========================================================
   POWER GAMING 7972
   NAVBAR
========================================================= */

header,
.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    background: rgba(15, 15, 15, 0.82);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* =========================
   NAVBAR CONTAINER
========================= */

.navbar {
    width: 100%;
    max-width: var(--container);

    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px 25px;
}


/* =========================
   LOGO
========================= */

.logo {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.logo img {
    width: 55px;
    height: 55px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid var(--gold);

    box-shadow:
        0 0 18px rgba(255, 215, 0, 0.3);

    transition: 0.35s ease;
}

.logo:hover img {
    transform: scale(1.06) rotate(5deg);

    box-shadow:
        0 0 28px rgba(255, 215, 0, 0.55);
}

.logo span {
    font-size: 22px;

    font-weight: 700;

    color: var(--gold);

    white-space: nowrap;
}


/* =========================
   NAVIGATION LINKS
========================= */

.nav-links {
    display: flex;

    align-items: center;

    gap: 35px;
}

.nav-links a {
    position: relative;

    display: inline-block;

    padding: 8px 0;

    color: #fff;

    font-weight: 500;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);

    transform: translateY(-1px);
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-btn {
    display: none;

    width: 45px;
    height: 45px;

    padding: 0;

    align-items: center;
    justify-content: center;

    background: transparent;

    border: 1px solid transparent;

    color: #fff;

    font-size: 25px;

    cursor: pointer;

    border-radius: 10px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.menu-btn:hover {
    color: var(--gold);

    background: rgba(255, 215, 0, 0.08);

    border-color:
        rgba(255, 215, 0, 0.25);
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .navbar {
        padding: 12px 6%;
    }

    .nav-links {
        gap: 20px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 750px) {

    .navbar {
        position: relative;

        padding: 12px 5%;
    }

    .menu-btn {
        display: flex;

        position: relative;

        z-index: 10001;
    }

    .nav-links {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 0;

        padding: 15px 20px 25px;

        background:
            rgba(15, 15, 15, 0.97);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        border-bottom:
            1px solid rgba(255, 255, 255, 0.08);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        pointer-events: none;

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;
    }

    /* JavaScript uses BOTH active and show */
    .nav-links.active,
    .nav-links.show {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);

        pointer-events: auto;
    }

    .nav-links a {
        width: 100%;

        padding: 15px;

        text-align: center;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a::after {
        bottom: 7px;

        left: 50%;

        transform: translateX(-50%);
    }

}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 500px) {

    .logo img {
        width: 48px;
        height: 48px;
    }

    .logo span {
        font-size: 18px;
    }

    .menu-btn {
        width: 42px;
        height: 42px;

        font-size: 23px;
    }

}