/* Секция VIDEO — вертикальное видео в рамке смартфона */
.video-section {
    padding: 4rem 0;
}

.video-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.video-phone-frame {
    position: relative;
    width: 320px;
    max-width: 90vw;
    aspect-ratio: 9 / 16;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow:
        0 0 0 3px #333,
        0 0 0 6px #1a1a1a,
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(200, 155, 60, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-phone-frame:hover {
    transform: scale(1.02);
    box-shadow:
        0 0 0 3px #444,
        0 0 0 6px #1a1a1a,
        0 25px 70px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(200, 155, 60, 0.25);
}

.video-phone-notch {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 18px;
    background: #1a1a1a;
    border-radius: 0 0 12px 12px;
    z-index: 3;
}

.video-phone__player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

/* Лоадер до загрузки видео */
.video-phone-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(200, 155, 60, 0.1) 0%, transparent 70%),
        #111;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.video-phone-frame.is-loaded::before {
    opacity: 0;
    pointer-events: none;
}

.video-phone-frame::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(200, 155, 60, 0.6);
    z-index: 4;
    animation: pulse-play 1.5s ease-in-out infinite;
}

.video-phone-frame.is-loaded::after {
    display: none;
}

@keyframes pulse-play {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Адаптив */
@media (min-width: 768px) {
    .video-section {
        padding: 6rem 0;
    }

    .video-phone-frame {
        width: 380px;
    }

    .video-phone-notch {
        width: 100px;
        height: 22px;
    }
}

@media (min-width: 1024px) {
    .video-phone-frame {
        width: 400px;
    }
}