@media (max-width: 768px) {
    body {
        padding-top: 4.9rem !important;
    }

    .menu-toggle {
        display: inline-flex;
        width: 2.7rem;
        height: 2.7rem;
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 0.75rem;
        background-color: rgba(0, 0, 0, 0.85);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 0.28rem;
        padding: 0.45rem;
    }

    .menu-toggle span {
        width: 100%;
        height: 0.13rem;
        border-radius: 999px;
        background-color: #fff;
        display: block;
    }

    .navbar {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 12px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: auto !important;
        padding: 8px 12px;
        background: rgba(0, 0, 0, 0.94) !important;
        box-shadow: 0 0.45rem 1rem rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(8px);
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .navbar.is-hidden {
        transform: translateY(-100%);
        opacity: 0;
    }

    .navbar .logo {
        grid-column: 2;
        justify-self: center;
    }

    .menu-toggle {
        grid-column: 3;
        justify-self: end;
    }

    .navbar nav {
        width: 100%;
        grid-column: 1 / -1;
        display: none;
    }

    .navbar nav.is-open {
        display: block;
    }

    .navbar .nav_links {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        margin-top: 6px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 0.95rem;
        overflow: hidden;
        box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.25);
        background: rgba(10, 10, 10, 0.96) !important;
        backdrop-filter: blur(8px);
    }

    .nav_links li {
        width: 100%;
        padding: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background: transparent !important;
    }

    .nav_links li:last-child {
        border-bottom: 0;
    }

    .nav_links li a {
        display: block;
        width: 100%;
        padding: 0.85rem 1rem;
        text-align: center;
        background: transparent !important;
        color: #fff !important;
    }

    .btm {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .logo,
    .navbar .logo,
    .navbar img {
        background: transparent !important;
    }

    .navbar img {
        height: 2.5rem;
        width: auto;
        object-fit: contain;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
}
