.menu_btn {
    position: ABSOLUTE;
    TOP: 10px;
    right: 40px;
    height: 70px;
    width: 70px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, #ecdede 0%, rgb(154, 99, 156) 100%);
    color: #62176d;
    border: none;
    cursor: pointer;
    font-family: 'Trav_next_B', sans-serif;
    font-weight: 600;
    z-index: 1;
    font-size: 15px;
    box-shadow: 0 0 20px rgba(154, 99, 156, 0.5);
    /* Анимация подпрыгивания */
    animation: bounce 2s infinite ease-in-out, shadow-pulse 2s infinite ease-in-out;
    transition: all .3s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home .footer .menu {
    display: none;
}

.menu_btn:hover {
    height: 80px;
    width: 80px;
    font-size: 17px;
}

.menu_wrap {
    position: sticky;
    margin-top: -150%;
    display: block;
    transition: all 1.5s;
}

.menu_wrap.active {
    margin-top: 0%;
    height: calc(100vh - 110px);
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.7);
    display: block;
    height: calc(100vh + 100px) !important;
    box-shadow: 0 0 20px black;
    margin: 60px 20px;
    border-radius: 50px;
    z-index: 100000;
}

.menu_wrap.active .circle-menu {
    top: -100px;
}

.footer .menu {
    position: relative;
    top: 0;
    height: auto;
    margin: 0;
    display: block;
    left: 0;
    transform: none;
    width: auto;
}

footer .circle-menu {
    display: flex;
    gap: 30px;
    height: auto;
    display: flex;
    flex-direction: row;

    justify-content: center;
    margin: 0;
    width: auto;
    flex-wrap: wrap;
}

.footer .punkt_menu {
    font-size: 8px;
    line-height: 155%;
}

.footer .circle-menu li {
    transform: none;
    width: auto;
    height: auto;

}


.footer .circle-btn {
    width: 80px;
    height: 80px;
}

.footer .launch-btn {
    display: none;
}


@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

@keyframes shadow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(154, 99, 156, 0.5);
    }

    50% {
        box-shadow: 0 5px 25px rgba(154, 99, 156, 0.7);
    }
}

.menu {
    top: 0;
    width: 100vw;
    height: calc(100vh - 100px);
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* Чтобы клики проходили сквозь, когда не нужно */
    z-index: 10;
    position: absolute;
    top: 100px;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -0%)
        /* Ниже хедера, если нужно */
}

/* Меню в футере - статичное, без анимации */


.circle-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 600px;
    /* Диаметр круга */
    height: 600px;
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    margin: 0 auto;
}

.punkt_menu {
    text-transform: uppercase;
    line-height: 160%;
    font-size: 12px;
}

/* Стили для каждого пункта меню */
.circle-menu li {
    font-family: 'Trav_next_b', sans-serif;
    /* text-transform: uppercase; */
    font-weight: 600;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    /* Возвращаем кликабельность */
    transition: all 0.4s ease;
}

/* Стили для ссылок внутри пунктов */
.circle-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    text-decoration: none;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
    transition: all 0.3s ease;
    padding: 5px;
}



.circle-btn:hover {
    transform: scale(1.2) translateY(-5px);
    /* Подъём + увеличение */
}

/* Кнопка в центре меню */
.circle-menu .center-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 120px;
    height: 120px;
    margin: 0;
    list-style: none;
}

/* Стиль кнопки */
.launch-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #d995e2 0%, #802c2c 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-family: 'Trav_next_B', sans-serif;
    color: #300b0b;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    /* Кнопка поверх стрелки */
}





/* Анимация вращения */


/* Эффект при наведении */
.launch-btn:hover {
    transform: scale(1.2) translateY(-5px);
}

/* Стрелка вокруг кнопки - ПОЛНЫЙ КРУГ */
/* Стрелка вокруг кнопки - КРУГ С РАЗРЫВОМ */
/* Стрелка вокруг кнопки - ПОЛУКРУГ (как изначально) */
.arrow-around {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 125px;
    height: 125px;
    transform: translate(-50%, -50%);
    border: 10px solid rgb(180 89 185);
    border-left: 10px solid transparent;
    border-radius: 50%;
    animation: spinArrow 6s linear infinite;
    z-index: 1;
}


/* Треугольная стрелка на конце */
.arrow-around::after {
    content: '';
    position: absolute;
    top: 0px;
    right: 75px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid rgb(180 89 185);
    transform: rotate(90deg);
}

/* Стили для активной кнопки */
.launch-btn.active {
    background: radial-gradient(circle at center, #e3b7b7 0%, #9c2121 100%);
    box-shadow: 0 0 25px rgba(255, 107, 107, 0.8);
}

/* Базовая анимация стрелки (медленная, когда меню не вращается) */
.arrow-around {
    animation: spinArrow 6s linear infinite;
}

/* Ключевые кадры для вращения */
@keyframes spinArrow {
    0% {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@media (max-width: 998px) {
    .menu {
        margin-top: -30px;
    }

}


@media (max-width: 768px) {


    .circle-btn {
        width: 80px !important;
        height: 80px !important;
        font-size: 8px;
        line-height: 140%;
    }

    .launch-btn {
        width: 80px !important;
        height: 80px !important;
        font-size: 8px;
        line-height: 140%;
    }



    .menu_btn {
        height: 40px;
        width: 40px;
        font-size: 8px;
        right: 15px;
    }

    .menu_btn:hover {
        height: 50px;
        width: 50px;
        font-size: 10px;
    }

    .menu {
        top: 50px;
    }

    .menu_wrap.active {
        height: calc(100vh - 100px) !important;
        margin: 20px 20px;
    }

    .menu_wrap.active .circle-menu {
        top: -0px;
    }



    .circle-menu {
        width: 200px !important;
        height: 200px !important;

    }



    .arrow-around {
        width: 95px;
        height: 95px;
    }



    .arrow-around::after {
        top: 0px;
        right: 56px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 20px solid rgb(180 89 185);
    }

    .menu_wrap {
        margin-top: -250%;
    }

}

@media (max-width: 600px) {
    .menu {
        margin-top: -30px;
    }


}



@media (max-width: 493px) {
    .menu {
        margin-left: 12px;
        width: auto;
    }



}

@media (max-height: 650px) {
    .menu {
        margin-top: 80px;
    }

}

/* для асf смотри menu.php */