.video-slides {
    position: relative;
    padding: 109px 0 127px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.video-slides__stats {
    position: absolute;
    top: 34px;
    left: calc(50% - 600px - 6px);
    width: 427px;
    height: 140px;
    border: 2px solid white;
    border-radius: 46px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 30px 20px 30px;
    gap: 15px;
    z-index: 150;
    user-select: none;
    -webkit-user-select: none;
}

.video-slides__stats-number {
    font-family: 'RockStar', 'Impact', sans-serif;
    font-size: 90px;
    font-weight: 700;
    color: #E2C7FC;
    line-height: 1;
}

.video-slides__stats-text {
    font-family: 'Play', 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: white;
    line-height: 1.3;
    max-width: 120px;
    padding-bottom: 5px;
}

/* Кнопка выбора плана */
.video-slides__plan-btn {
    position: absolute;
    bottom: 46px;
    left: calc(50% - 600px + 9px);
    width: 331px;
    height: 52px;
    background: #CFF745;
    border: none;
    border-radius: 100px;
    font-family: 'RockStar', 'Impact', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 150;
    user-select: none;
    -webkit-user-select: none;
}

.video-slides__plan-btn:hover {
    transform: scale(1.02);
}

.video-slides__plan-btn:active {
    transform: scale(0.98);
}

.video-slides__player {
    position: relative;
    width: 1200px;
    max-width: 1200px;
    height: 736px;
    background: #2a2a2a;
    border-radius: 46px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

.video-slides__player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-slides__player.locked video {
    filter: blur(20px);
}

.video-slides__loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 15;
}

.video-slides__loader.active {
    display: flex;
}

.video-slides__spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #CFF745;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.video-slides__locked {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.video-slides__player.locked .video-slides__locked {
    display: flex;
}

.video-slides__lock-icon-big {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.video-slides__locked p {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 0 40px;
    line-height: 1.4;
}

.video-slides__wheel {
    position: absolute;
    left: calc(50% + 344px);
    top: 50%;
    transform: translateY(-50%);
    width: 231px;
    height: 834px;
    perspective: 1500px;
    flex-shrink: 0;
    z-index: 100;
}

.video-slides__item {
    position: absolute;
    width: 231px;
    height: 240px;
    left: 50%;
    top: 50%;
    margin-left: -115.5px;
    margin-top: -120px;
    border-radius: 23px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.3);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.video-slides__item-content {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transform-style: preserve-3d;
}

.video-slides__item.locked .video-slides__item-content {
    filter: blur(8px);
}

.video-slides__item-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: all 0.4s ease;
}

.video-slides__item.dimmed .video-slides__item-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.video-slides__item-play {
    position: absolute;
    width: 59px;
    height: 59px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 20;
    transition: all 0.3s ease;
}

.video-slides__item-play::before {
    content: '▶';
    margin-left: 3px;
    color: #333;
}

.video-slides__item.active .video-slides__item-play {
    display: flex;
}

.video-slides__item.active:hover .video-slides__item-play {
    transform: translate(-50%, -50%) scale(1.15);
}

.video-slides__item-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 35px;
    display: none;
    z-index: 21;
}

.video-slides__item.locked .video-slides__item-lock {
    display: block;
}

.video-slides__item.locked .video-slides__item-play {
    display: none !important;
}

/* Информация о тренировке */
.video-slides__info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    width: 90%;
}

.video-slides__info h3 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 700;
}

.video-slides__info p {
    font-size: 12px;
    opacity: 0.95;
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .video-slides {
        flex-direction: column;
        padding: 34px 10px;
        width: 100%;
        max-width: 500px;
        align-items: flex-start;
    }

    .video-slides__stats {
        position: relative;
        top: 0;
        left: 0;
        height: auto;
        width: 100%;
        max-width: 380px;
        margin: 0 auto 24px auto;
        display: flex;
        flex-direction: column;
        padding: 0 20px 10px 20px;
        align-items: center;
        gap: 0;
    }

    .video-slides__stats-number {
        margin-top: 15px;
        font-size: 56px;
    }

    .video-slides__stats-text {
        font-size: 12px;
        margin-bottom: 9px;
    }

    .video-slides__player {
        position: relative;
        width: 100%;
        max-width: 373px;
        height: 418px;
        margin: 0 0 20px 0;
        border-radius: 15px;
    }

    .video-slides__spinner {
        width: 50px;
        height: 50px;
    }

    .video-slides__wheel {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        width: 100%;
        height: 140px;
        perspective: 800px;
        display: block;
        overflow: visible;
        padding: 0;
        margin: 0 0 55px 0;
    }

    .video-slides__item {
        position: absolute;
        width: 119px;
        height: 123px;
        left: 50%;
        top: 50%;
        margin-left: -59.5px;
        margin-top: -61.5px;
        flex-shrink: 0;
        border-radius: 20px;
        transform-style: preserve-3d;
    }

    .video-slides__item.locked .video-slides__item-content {
        filter: blur(6px);
    }

    .video-slides__item.dimmed .video-slides__item-overlay {
        background: rgba(0, 0, 0, 0.4);
    }

    .video-slides__item-play {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .video-slides__item-play::before {
        margin-left: 2px;
    }

    .video-slides__item-lock {
        width: 22px;
        height: 28px;
    }

    .video-slides__info {
        bottom: 10px;
    }

    .video-slides__info h3 {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .video-slides__info p {
        font-size: 10px;
    }

    .video-slides__plan-btn {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 331px;
        margin: 0 auto;
        align-self: center;
    }
}

@media (min-width: 421px) and (max-width: 768px) {
    .video-slides {
        max-width: 100%;
        padding: 34px 20px;
    }

    .video-slides__player {
        max-width: calc(373px + (100vw - 421px) * 0.94);
        height: calc(418px + (100vw - 421px) * 0.81);
    }

    .video-slides__wheel {
        width: calc(100% - 40px);
        max-width: calc(373px + (100vw - 421px) * 0.94);
    }
}

@media (min-width: 769px) and (max-width: 1280px) {
    .video-slides__player {
        width: 90%;
    }

    .video-slides__stats {
        left: 50px;
        top: 20px;
    }

    .video-slides__plan-btn {
        left: 50px;
        bottom: 40px;
    }

    .video-slides__wheel {
        left: calc(100% - 330px);
    }
}
