/*
 * Homepage entrance video overlay.
 * Sits behind the existing hero gradient/text (z-index: -2, inside the
 * .home-banner stacking context) so it visually replaces the static
 * background image without touching the existing banner markup/CSS.
 * Safe to remove: delete this file's <link>, the hero-video.js <script>,
 * and the .hero-video-wrapper div in public/index.php to fully revert.
 */
.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.hero-video-wrapper.is-active {
    opacity: 1;
}

.hero-video-player {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

.hero-video-player iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.hero-sound-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    pointer-events: auto;
}

.hero-sound-toggle.is-visible {
    display: flex;
}

.hero-sound-toggle svg {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .hero-video-wrapper {
        display: none !important;
    }
}
