/* =====================
   MOBILE MENU STYLES - PREMIUM DARK THEME
   ===================== */

/* Mobile Menu Hidden by default */
.navbar {
    display: block !important;
    /* Force override */
    /* Override display: none from components.css */
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 0;
    overflow: hidden;
    background: rgba(10, 6, 24, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(178, 75, 243, 0.3);
    transition: max-height 0.4s ease-in-out;
    z-index: 999;
}

/* Mobile Menu Active State */
.navbar.active {
    max-height: 100vh;
    overflow-y: auto;
}

/* Mobile Menu List */
.navbar__menu {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-lg) 0;
    gap: 0;
}

/* Mobile Menu Items */
.navbar__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar__item:last-child {
    border-bottom: none;
}

/* Mobile Menu Links */
.navbar__link {
    display: block;
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    position: relative;
}

.navbar__link:hover,
.navbar__link:active {
    color: var(--color-primary);
    background: rgba(0, 212, 255, 0.05);
    padding-left: calc(var(--spacing-lg) + 8px);
}

.navbar__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    transition: height 0.3s ease;
}

.navbar__link:hover::before {
    height: 60%;
}

/* Desktop - Original Horizontal Menu */
@media (min-width: 992px) {
    .navbar {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        background: transparent;
        backdrop-filter: none;
        border-bottom: none;
    }

    .navbar__menu {
        flex-direction: row;
        padding: 0;
        gap: var(--spacing-md);
        align-items: center;
    }

    .navbar__item {
        border-bottom: none;
    }

    .navbar__link {
        padding: 0;
        font-size: 0.9rem;
        text-transform: none;
        letter-spacing: 0;
        color: var(--color-text-muted);
    }

    .navbar__link:hover,
    .navbar__link:active {
        padding-left: 0;
        background: transparent;
        color: var(--color-primary);
    }

    .navbar__link::before {
        display: none;
    }

    .navbar__link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-primary);
        transition: width 0.3s;
    }

    .navbar__link:hover::after {
        width: 100%;
    }
}