/* ── Video Player ─────────────────────────────── */
.vp-section {
    padding: 100px 0 120px;
    background: var(--bg-section);
}

.vp-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.vp-header .headline-section {
    margin-bottom: 12px;
}

/* ── Player wrapper ── */
.vp-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.vp-player {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.04),
        0 20px 60px rgba(0, 0, 0, 0.10),
        0 8px 24px rgba(0, 0, 0, 0.06);
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

.vp-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Large play button overlay (before playing) ── */
.vp-poster {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 3;
}

.vp-poster.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.vp-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.vp-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

.vp-play-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--text-primary);
    margin-left: 3px;
}

/* ── Bottom controls bar ── */
.vp-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.vp-player:hover .vp-controls,
.vp-player.vp-paused .vp-controls {
    opacity: 1;
}

/* Small play/pause toggle */
.vp-ctrl-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.vp-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.vp-ctrl-btn svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.vp-ctrl-btn .vp-icon-pause {
    display: none;
}

.vp-player.vp-playing .vp-ctrl-btn .vp-icon-play {
    display: none;
}

.vp-player.vp-playing .vp-ctrl-btn .vp-icon-pause {
    display: block;
}

/* Progress bar */
.vp-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.vp-progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.vp-progress:hover {
    height: 6px;
}

.vp-progress:hover .vp-progress-fill {
    background: var(--accent);
}

/* Time display */
.vp-time {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

/* Mute button */
.vp-mute svg {
    width: 16px;
    height: 16px;
}

.vp-mute .vp-icon-muted {
    display: none;
}

.vp-player.vp-is-muted .vp-mute .vp-icon-unmuted {
    display: none;
}

.vp-player.vp-is-muted .vp-mute .vp-icon-muted {
    display: block;
}

/* Fullscreen button */
.vp-fullscreen svg {
    width: 15px;
    height: 15px;
}

/* ── CTA below player ── */
.vp-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .vp-section {
        padding: 80px 0 100px;
    }

    .vp-player {
        border-radius: 14px;
    }

    .vp-play-btn {
        width: 56px;
        height: 56px;
    }

    .vp-play-btn svg {
        width: 20px;
        height: 20px;
    }

    .vp-controls {
        padding: 12px 14px 14px;
        gap: 10px;
    }

    .vp-actions {
        flex-direction: column;
        gap: 12px;
    }
}
