/* ==========================================
   FUJI X PLAY - BANNER CAROUSEL
========================================== */

.fx-banner {
    position: relative;
    width: 100%;

    overflow: hidden;

    border: 1px solid var(--fx-gold-dark);
    border-radius: 14px;

    background: var(--fx-bg);

    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
}

.fx-banner-track {
    display: flex;

    width: 100%;

    overflow-x: auto;

    scroll-snap-type: x mandatory;
    scrollbar-width: none;

    overscroll-behavior-x: contain;
}

.fx-banner-track::-webkit-scrollbar {
    display: none;
}

.fx-banner-slide {
    position: relative;

    flex: 0 0 100%;
    min-width: 0;

    aspect-ratio: 2.15 / 1;

    overflow: hidden;
    isolation: isolate;

    scroll-snap-align: start;
}

.fx-banner-slide > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    user-select: none;
    pointer-events: none;
}

.fx-banner-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(5, 2, 3, .88) 0%,
        rgba(5, 2, 3, .55) 35%,
        rgba(5, 2, 3, .08) 75%,
        transparent 100%
    );

    z-index: 1;
}

.fx-banner-content {
    position: absolute;

    top: 50%;
    left: 16px;

    width: 55%;

    transform: translateY(-50%);

    z-index: 2;
}

.fx-banner-kicker {
    margin-bottom: 9px;

    color: var(--fx-gold-light);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;

    text-shadow: 0 2px 8px #000;
}

.fx-banner-title {
    margin: 0;

    font-size: clamp(19px, 6vw, 32px);
    font-weight: 900;
    font-style: italic;

    line-height: 1.15;

    color: #fff;

    text-shadow: 0 3px 12px #000;
}

.fx-banner-title span {
    display: block;

    margin-top: 4px;

    color: var(--fx-gold-light);
}

.fx-banner-dots {
    position: absolute;

    bottom: 9px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 5px;

    z-index: 5;
}

.fx-banner-dot {
    position: relative;

    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 10px;

    background: rgba(255, 255, 255, .4);

    transition:
        width .25s ease,
        background .25s ease;
}

.fx-banner-dot::after {
    content: '';
    position: absolute;
    inset: -8px;
}

.fx-banner-dot.is-active {
    width: 23px;

    background: var(--fx-gold-light);

    box-shadow: 0 0 8px rgba(212, 175, 55, .5);
}

/* Japanese typography */

html[lang="ja"] .fx-banner-title {
    font-size: clamp(17px, 5vw, 25px);
    font-style: normal;
    line-height: 1.4;
}

html[lang="ja"] .fx-banner-kicker {
    letter-spacing: .5px;
}

@media (max-width: 360px) {

    .fx-banner-content {
        left: 12px;
        width: 57%;
    }

    .fx-banner-kicker {
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .fx-banner-dot {
        transition: none;
    }
}