.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    nav {
        position: static;
    }

    .header .container {
        position: relative;
        z-index: 1002;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        color: #EAEAFB;
        cursor: pointer;
        padding: 8px 16px;
        margin-left: auto;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1002;
        gap: 12px;
    }

    .menu-toggle .menu-icon {
        font-size: 1.8rem;
        line-height: 1;
        display: flex;
        align-items: center;
    }

    .menu-toggle .menu-text {
        font-size: 0.9rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding-top: 2px;
    }

    .menu-toggle:active {
        transform: scale(0.95);
        background-color: rgba(204, 0, 0, 0.1);
        border-color: #CC0000;
    }

    .menu-toggle[aria-expanded="true"] {
        color: #CC0000;
        border-color: #CC0000;
        text-shadow: 0 0 15px rgba(204, 0, 0, 0.6);
    }

    #nav-list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.4s ease, visibility 0.4s;
        z-index: 1001;
    }

    #nav-list.active {
        visibility: visible;
        opacity: 1;
    }

    #nav-list li {
        width: 100%;
        text-align: center;
        margin: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    #nav-list.active li {
        opacity: 1;
        transform: translateY(0);
    }

    #nav-list.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    #nav-list.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    #nav-list.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    #nav-list.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    #nav-list.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    #nav-list a {
        display: inline-block;
        font-size: 1.5rem;
        font-weight: 600;
        color: #EAEAFB;
        text-decoration: none;
        position: relative;
        padding: 10px 20px;
        transition: color 0.3s ease;
    }

    #nav-list a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: #CC0000;
        transition: all 0.3s ease;
        box-shadow: 0 0 10px #CC0000;
    }

    #nav-list a:hover,
    #nav-list a:active {
        color: #fff;
        text-shadow: 0 0 10px rgba(204, 0, 0, 0.5);
    }

    #nav-list a:hover::after,
    #nav-list a:active::after {
        width: 100%;
        left: 0;
    }
}