/* ==========================================================================
   FRANCK VIDEO PLAYER — Styles
   ========================================================================== */

.franck-video-player {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.franck-video-player-wrapper--container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.franck-video-player__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

/* Aspect ratio presets */
.franck-video-player__viewport--ratio-16-9 {
    aspect-ratio: 16 / 9;
}

.franck-video-player__viewport--ratio-21-9 {
    aspect-ratio: 21 / 9;
}

.franck-video-player__viewport--ratio-4-3 {
    aspect-ratio: 4 / 3;
}

/* Media elements */
.franck-video-player__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.franck-video-player__iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: auto;
}

/* YouTube & Vimeo aspect scaling */
.franck-video-player__iframe-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Overlay layer */
.franck-video-player__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

/* Text Content layer */
.franck-video-player__content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    padding: 36px 42px;
    pointer-events: none;
}

.franck-video-player__content--v-top {
    justify-content: flex-start;
}

.franck-video-player__content--v-middle {
    justify-content: center;
}

.franck-video-player__content--v-bottom {
    justify-content: flex-end;
}

.franck-video-player__content--align-left {
    align-items: flex-start;
    text-align: left;
}

.franck-video-player__content--align-center {
    align-items: center;
    text-align: center;
}

.franck-video-player__content--align-right {
    align-items: flex-end;
    text-align: right;
}

.franck-video-player__inner {
    max-width: 800px;
    pointer-events: auto;
}

.franck-video-player__eyebrow {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.franck-video-player__title {
    font-weight: 950;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin: 0 0 14px;
}

.franck-video-player__subtitle {
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 22px;
}

.franck-video-player__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
    pointer-events: auto;
}

.franck-video-player__content--align-center .franck-video-player__buttons {
    justify-content: center;
}

.franck-video-player__content--align-right .franck-video-player__buttons {
    justify-content: flex-end;
}

.franck-video-player__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.franck-video-player__btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    text-decoration: none;
}

/* Fallback message if no video source is configured */
.franck-video-player__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 320px;
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 40px 20px;
}

.franck-video-player__placeholder i {
    font-size: 52px;
    margin-bottom: 14px;
    color: #64748b;
}

@media (max-width: 768px) {
    .franck-video-player__content {
        padding: 20px;
    }
    .franck-video-player__title {
        font-size: clamp(24px, 6vw, 36px) !important;
    }
    .franck-video-player__subtitle {
        font-size: clamp(14px, 3.5vw, 16px) !important;
    }
    .franck-video-player__buttons {
        flex-direction: column;
        width: 100%;
    }
    .franck-video-player__btn {
        width: 100%;
    }
}
