/* Homepage Video Section Styling */
.hp-video-sec {
    background: transparent;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.hp-video-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 56px;
}

.hp-video-eyebrow {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pink);
    background: rgba(255, 61, 138, 0.10);
    border: 1px solid rgba(255, 61, 138, 0.28);
    padding: 7px 18px;
    margin-bottom: 24px;
}

.hp-video-title {
    font-family: var(--font-primary);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 20px;
}

.hp-video-sub {
    font-family: var(--font-primary);
    font-size: 17px;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.65;
    margin: 0;
}

.hp-video-player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 61, 138, 0.20);
    border-radius: 16px !important;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 61, 138, 0.05);
    margin: 0 auto;
}

.hp-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Vignette */
.hp-video-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* Play button overlay */
.hp-play-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 20;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.85;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: hpPlayPulse 3s infinite ease-in-out;
}

.hp-play-center svg {
    margin-left: 4px;
    /* offset for triangle */
    transition: transform 0.3s ease;
}

.hp-play-center:hover {
    background: var(--pink);
    border-color: var(--pink);
    color: #000000;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.hp-play-center.is-playing {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

@keyframes hpPlayPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 61, 138, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(255, 61, 138, 0);
    }
}

/* Controls */
.hp-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    padding: 24px 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hp-video-player-wrap:hover .hp-video-controls {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hp-video-timeline {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}

.hp-video-timeline:hover {
    height: 5px;
}

.hp-video-timeline-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(to right, var(--pink), var(--amber));
    width: 0%;
    pointer-events: none;
}

.hp-video-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hp-video-controls-left,
.hp-video-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-ctrl-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hp-ctrl-btn:hover {
    background: var(--pink);
    border-color: var(--pink);
    color: var(--ink-dark);
}

.hp-video-time {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--ink-soft);
}

@media (max-width: 768px) {
    .hp-video-sec {
        padding: 60px 0;
    }

    .hp-play-center {
        width: 60px;
        height: 60px;
    }
}