/* Mobile Menu Styles */

/* Mobile menu button - hidden by default on desktop */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--accent-1);
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 100;
}

.mobile-menu-btn:hover {
    color: var(--accent-2);
    transform: scale(1.1);
}

/* Mobile menu container */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, #1a0b2e, #2d1b4e);
    z-index: 1000;
    padding: 60px 30px 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    overflow-y: auto;
}

.mobile-menu-container.active {
    right: 0;
}

/* Close button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--accent-1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--accent-2);
    transform: rotate(90deg);
}

/* Mobile navigation links */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.mobile-nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-links a:hover, 
.mobile-nav-links a.active {
    background: rgba(155, 109, 255, 0.1);
    color: var(--accent-1);
    border-left: 3px solid var(--accent-1);
    transform: translateX(5px);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
}

/* Animation for menu items */
.mobile-nav-links a {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.5s ease forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-links a:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-links a:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-links a:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-links a:nth-child(4) { animation-delay: 0.4s; }
.mobile-nav-links a:nth-child(5) { animation-delay: 0.5s; }
.mobile-nav-links a:nth-child(6) { animation-delay: 0.6s; }
