/* ===========================
   NAVBAR STYLES — Gaming RPG Theme (Blue Edition)
   =========================== */
.navbar {
    background: 
        linear-gradient(135deg, rgba(20, 20, 25, 0.85), rgba(30, 25, 20, 0.88)),
        url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* RPG-style gradient glowing bottom border — orange theme */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--neon-red), var(--accent-primary), transparent);
    box-shadow: 0 0 12px rgba(255, 154, 0, 0.6), 0 0 24px rgba(255, 77, 46, 0.3);
}


.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* ===========================
   LOGO
   =========================== */
.navbar-logo a {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-shadow: 0 0 14px rgba(0, 212, 255, 0.5);
}

.navbar-logo a:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 24px rgba(255, 154, 0, 0.9), 0 0 40px rgba(255, 154, 0, 0.5);
}

/* ===========================
   NAV MENU
   =========================== */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(255, 154, 0, 0.5), 0 0 20px rgba(255, 154, 0, 0.3);
}

.nav-link.active {
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(255, 154, 0, 0.9), 0 0 30px rgba(255, 77, 46, 0.6);
}


/* Glowing gradient underline for active link */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--neon-red), transparent);
    box-shadow: 0 0 8px rgba(255, 154, 0, 0.6);
    border-radius: 2px;
}


/* Hover underline effect */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    transition: all 0.3s ease;
    border-radius: 2px;
    opacity: 0;
}

.nav-link:hover::before {
    left: 0;
    right: 0;
    opacity: 1;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    box-shadow: 0 0 8px rgba(255, 154, 0, 0.5);
}

/* ===========================
   JOIN CTA BUTTON
   =========================== */
.nav-cta {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #000000;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, #0088ff 100%);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.5);
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--neon-red) 100%);
    border-color: rgba(255, 154, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 154, 0, 0.7), 0 0 40px rgba(255, 77, 46, 0.3);
    filter: brightness(1.15);
}

/* ===========================
   MOBILE NAVBAR
   =========================== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--neon-cyan);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
    }

.nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: 
            linear-gradient(180deg, rgba(20, 20, 25, 0.95), rgba(30, 25, 20, 0.98)),
            url('../images/herohero.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid var(--border-color);
        padding: 0.5rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        text-align: center;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background: rgba(255, 154, 0, 0.15);
        color: var(--accent-primary);
    }


    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
}
