/* ==================== MENU - Bottom Right Open → Top Left Close ==================== */
.custom-full-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Circular Reveal Layer */
.custom-full-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000000;
    transform: scale(0);
    transform-origin: 92% 88%;        /* Bottom Right - Stronger corner */
    border-radius: 50%;
    z-index: 1;
    transition: transform 1.15s cubic-bezier(0.6, 0, 0.25, 1);
}

/* When Active (Opening) */
.custom-full-menu.active::before {
    transform: scale(4.5);
}

/* When Closing */
.custom-full-menu.closing::before {
    transform-origin: 12% 12%;        /* Top Left */
    transform: scale(0);
    transition: transform 1.05s cubic-bezier(0.6, 0, 0.25, 1);
}

/* Menu Content */
.menu-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 1300px;
    padding: 2rem 1rem;
    opacity: 0;
    transition: opacity 0.7s ease 0.45s;
}

.custom-full-menu.active .menu-content {
    opacity: 1;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 45px;
    right: 45px;
    font-size: 3.5rem;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s ease;
}


/* Menu Items */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin: 16px 0;
    opacity: 0;
    transform: translateY(70px);
}

.custom-full-menu.active .menu-list li {
    animation: menuItemPop 0.85s forwards;
}

.custom-full-menu.active .menu-list li:nth-child(1) { animation-delay: 0.45s; }
.custom-full-menu.active .menu-list li:nth-child(2) { animation-delay: 0.55s; }
.custom-full-menu.active .menu-list li:nth-child(3) { animation-delay: 0.65s; }
.custom-full-menu.active .menu-list li:nth-child(4) { animation-delay: 0.75s; }
.custom-full-menu.active .menu-list li:nth-child(5) { animation-delay: 0.85s; }
.custom-full-menu.active .menu-list li:nth-child(6) { animation-delay: 0.95s; }
.custom-full-menu.active .menu-list li:nth-child(7) { animation-delay: 1.05s; }

.menu-list a {
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
    font-size: 42px;
    display: inline-block;
    transition: all 0.4s ease;
    text-decoration:none;
}



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

/* Mobile */
@media(max-width: 767px) {
    .menu-list a { font-size: 28px !important; }
    .close-btn { top: 30px; right: 30px; font-size: 2.8rem; }
}