.sidebar {
    position: sticky;
    top: 0;
    width: 320px;
    height: 140vh;
    display: flex;
    flex-direction: column;
    z-index: 10;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
    min-width: 320px;
}

.sidebar::before {
    content: "";
    position: absolute;
    top: -100px; /* Выступает над sticky-элементом */
    left: 0;
    width: 100%;
    height: 110%;
    background: linear-gradient(90deg, #82bbbc 0%, #55837d 100%);
}
.apple-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 128px;
}
.apple-logo {
    position: absolute;
    top: -100px;
    width: 128px; /* Ширина логотипа */
    height: 128px; /* Высота логотипа */
    transition: all 0.7s ease;
}
.apple-logo.sticky {
    position: sticky;
    transition: position 0.7s ease;
}
.non-link{
    text-decoration: none;
}
.menu-pnt {
    height: 24px;
    width: 100%;
    max-width: 320px;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 33px 15px;
    box-sizing: content-box;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1;
}
.menu-pnt > span {
    display: inline-block;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    padding-left: 10px;
}
.menu-pnt:hover > span {
    transform: translateX(calc(160px - 38px - 50%));
}
.menu-pnt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 320px;
    height: 90px;
    background: linear-gradient(90deg, #f2faff 0%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(-180deg);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}
.menu-pnt:hover {
    color: #868686;
}
.menu-pnt:hover::before {
    opacity: 1;
}
/* Стили для выпадающего меню */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 320px;
    background: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.clubs-container:hover {
    margin-bottom: 135px; /* Высота подменю + отступы */
    transition: margin-bottom 0.3s ease-in-out;
}
.clubs-container:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Стили для пунктов подменю */
.submenu-item {
    padding: 10px 25px;
    font-size: 16px;
    color: #868686;
    cursor: pointer;
    transition: all 0.3s ease;
}
.submenu-item:hover {
    background: #f2faff;
    color: #333;
    padding-left: 30px;
}
.submenu-item:last-child {
    border-bottom: none;
}
.clubs-container::before {
    height: 222px; /* Высота кнопки + подменю */
    background: linear-gradient(-90deg, #F2FAFF 0%, rgba(255, 255, 255, 0) 100%);
    transform: none; /* Убираем поворот, так как градиент уже имеет правильное направление */
}
.clubs-container:hover::before {
    opacity: 1;
}
/* Дополнительно: делаем фон подменю прозрачным, чтобы был виден градиент */
.submenu {
    background: transparent;
}
.submenu-item {
    background: transparent;
}
.submenu-item:hover {
    background: rgba(242, 250, 255, 0.7); /* Полупрозрачный фон при наведении на пункты */
}
@media (min-width: 1401px) and (max-width: 1800px) {
    .sidebar {
        width: 250px;
        min-width: 250px;
    }
    .menu-pnt::before {
        height: 70px;
        max-width: 250px;
    }
    .menu-pnt {
        padding: 23px 15px;
        font-size: 15.4167px;
        line-height: 19px;
        max-width: 250px;
    }
    .submenu {
        max-width: 250px;
    }
    .submenu-item {
        max-width: 250px;
    }
    .menu-pnt:hover > span {
        transform: translateX(calc(125px - 20px - 50%));
    }
    .clubs-container::before {
        height: 187px;
    }
}
@media (max-width: 1400px) {
    .sidebar {
        display: none;
    }
}
