/* ==========================================================================
   Mobile Menu — Glassmorphism Overlay
   ========================================================================== */

/* ── Responsive Visibility Helpers ───────── */
.ntono-mobile-only {
    display: none !important;
}

.ntono-desktop-only {
    display: inline-flex !important;
}

@media (max-width: 768px) {
    .ntono-mobile-only {
        display: flex !important;
    }

    .ntono-desktop-only {
        display: none !important;
    }
}

/* ── Hamburger Button ────────────────────── */
.ntono-mobile-menu-toggle {
    width: 42px;
    height: 42px;
    border: none;
    background: var(--mm-btn-bg, var(--ntono-color-primary, #FAA916));
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ntono-mobile-menu-toggle:hover {
    transform: scale(1.05);
}

.ntono-mobile-menu-toggle:active {
    transform: scale(0.95);
}

.ntono-hamburger-line {
    display: block;
    width: 18px;
    height: 2px;
    background: #0B090A;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ── Full Screen Overlay ─────────────────── */
.ntono-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    background: rgba(11, 9, 10, 0.92);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.05);

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition:
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s,
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ntono-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@supports (backdrop-filter: blur(40px)) {
    .ntono-mobile-menu {
        background: rgba(11, 9, 10, 0.6);
    }
}

/* ── Ambient Glows ───────────────────────── */
.ntono-mm-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}

.ntono-mm-glow-tl {
    top: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(229, 56, 59, 0.2);
    transform: translate(-50%, -50%);
}

.ntono-mm-glow-br {
    bottom: 0;
    right: 0;
    width: 20rem;
    height: 20rem;
    background: rgba(229, 56, 59, 0.1);
    transform: translate(33%, 33%);
    filter: blur(120px);
}

/* Glass accent line */
.ntono-mm-glass-accent {
    position: absolute;
    right: 0;
    top: 25%;
    width: 1px;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

/* ── Header ──────────────────────────────── */
.ntono-mm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1.5rem 1rem;
    position: relative;
    z-index: 50;
}

.ntono-mm-logo {
    text-decoration: none;
}

.ntono-mm-logo-text {
    font-size: 1.85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.ntono-mm-logo-dot {
    color: #E5383B;
}

.ntono-mm-close {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ntono-mm-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ntono-mm-close .material-symbols-outlined {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.ntono-mm-close:hover .material-symbols-outlined {
    transform: rotate(90deg);
}

/* ── Mobile Search Bar ──────────────────── */
.ntono-mm-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 1.5rem;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
    position: relative;
    z-index: 50;
}

.ntono-mm-search:hover,
.ntono-mm-search:active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.ntono-mm-search-icon {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
}

.ntono-mm-search-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Inter', sans-serif;
}

/* Stagger animation for mobile search */
.ntono-mobile-menu.is-open .ntono-mm-search {
    animation: ntonoMMFadeUp 0.35s ease 0.1s both;
}

/* ── Navigation ──────────────────────────── */
.ntono-mm-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
    position: relative;
    z-index: 40;
}

/* Decorative vertical line */
.ntono-mm-nav-line {
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.ntono-mm-nav-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-height: 700px) {
    .ntono-mm-nav-list {
        gap: 2rem;
    }
}

.ntono-mm-nav-list li {
    position: relative;
}

.ntono-mm-nav-list a {
    font-size: clamp(2rem, 8vw, 3.25rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    line-height: 1.15;
}

.ntono-mm-nav-list a:hover,
.ntono-mm-nav-list .current-menu-item>a {
    color: #fff;
}

/* Active indicator dot */
.ntono-mm-nav-list .current-menu-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ntono-color-primary, #FAA916);
    box-shadow: 0 0 10px rgba(249, 169, 21, 0.6);
}

/* Hover dot for non-active items */
.ntono-mm-nav-list li:not(.current-menu-item)::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ntono-color-primary, #FAA916);
    box-shadow: 0 0 10px rgba(249, 169, 21, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ntono-mm-nav-list li:not(.current-menu-item):hover::before {
    opacity: 1;
}

/* ── Footer ──────────────────────────────── */
.ntono-mm-footer {
    padding: 0 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 50;
}

/* CTA Button */
.ntono-mm-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    border-radius: 9999px;
    background: var(--ntono-color-primary, #FAA916);
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(249, 169, 21, 0.3);
}

.ntono-mm-cta:hover {
    background: #fff;
    color: #000;
}

.ntono-mm-cta:active {
    transform: scale(0.98);
}

.ntono-mm-cta .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Bottom row: legal + socials */
.ntono-mm-bottom {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 480px) {
    .ntono-mm-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Legal links */
.ntono-mm-legal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.ntono-mm-legal-list a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ntono-mm-legal-list a:hover {
    color: var(--ntono-color-primary, #FAA916);
}

/* Social icons */
.ntono-mm-socials {
    display: flex;
    gap: 0.75rem;
}

.ntono-mm-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.ntono-mm-social-icon:hover {
    color: #fff;
    border-color: var(--ntono-color-primary, #FAA916);
    background: rgba(249, 169, 21, 0.1);
}

.ntono-mm-svg-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ── Stagger animation for nav items ─────── */
.ntono-mobile-menu.is-open .ntono-mm-nav-list li {
    animation: ntonoMMSlideIn 0.4s ease both;
}

.ntono-mobile-menu.is-open .ntono-mm-nav-list li:nth-child(1) {
    animation-delay: 0.05s;
}

.ntono-mobile-menu.is-open .ntono-mm-nav-list li:nth-child(2) {
    animation-delay: 0.1s;
}

.ntono-mobile-menu.is-open .ntono-mm-nav-list li:nth-child(3) {
    animation-delay: 0.15s;
}

.ntono-mobile-menu.is-open .ntono-mm-nav-list li:nth-child(4) {
    animation-delay: 0.2s;
}

.ntono-mobile-menu.is-open .ntono-mm-nav-list li:nth-child(5) {
    animation-delay: 0.25s;
}

.ntono-mobile-menu.is-open .ntono-mm-nav-list li:nth-child(6) {
    animation-delay: 0.3s;
}

.ntono-mobile-menu.is-open .ntono-mm-nav-list li:nth-child(7) {
    animation-delay: 0.35s;
}

@keyframes ntonoMMSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

/* Footer elements animation */
.ntono-mobile-menu.is-open .ntono-mm-footer {
    animation: ntonoMMFadeUp 0.5s ease 0.3s both;
}

@keyframes ntonoMMFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}