/* ==========================================================================
   SBTU Modern Cinematic Hero Slider (.sbtu-hero)
   Crossfade + Depth Scale + Luminous Progress Bar + Glass Control Capsule
   ========================================================================== */

#slider-wrapper.sbtu-hero-wrap {
    position: relative;
    width: 100%;
    background: #061224;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.sbtu-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 606;
    min-height: 0;
    max-height: 640px;
    background: #061224;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
}

.sbtu-hero__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.sbtu-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transform: scale(1.035);
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.72s ease;
    will-change: opacity, transform;
}

.sbtu-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transform: scale(1);
}

.sbtu-hero__link {
    display: block;
    width: 100%;
    height: 100%;
}

.sbtu-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Subtle bottom vignette so controls remain crisp on bright banners */
.sbtu-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 92px;
    background: linear-gradient(0deg, rgba(5, 13, 26, 0.56) 0%, rgba(5, 13, 26, 0) 100%);
    pointer-events: none;
    z-index: 3;
}

/* Frosted Glass Side Navigation Arrows */
.sbtu-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(6, 18, 36, 0.48);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    outline: none;
}

.sbtu-hero__arrow--prev {
    left: 20px;
}

.sbtu-hero__arrow--next {
    right: 20px;
}

.sbtu-hero__arrow:hover {
    background: rgba(0, 159, 227, 0.88);
    border-color: rgba(186, 230, 253, 0.85);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 28px rgba(0, 159, 227, 0.55);
}

/* Floating Glass Control Capsule (Bottom Right) */
.sbtu-hero__hud {
    position: absolute;
    right: 22px;
    bottom: 18px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px 5px 14px;
    border-radius: 999px;
    background: rgba(6, 18, 36, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
    color: #ffffff;
}

.sbtu-hero__counter {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    margin-right: 4px;
}

.sbtu-hero__counter-curr {
    color: #ffffff;
    font-size: 14px;
}

.sbtu-hero__counter-sep,
.sbtu-hero__counter-total {
    color: rgba(203, 213, 225, 0.72);
    font-weight: 500;
}

.sbtu-hero__hud-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    outline: none;
}

.sbtu-hero__hud-btn:hover,
.sbtu-hero__hud-btn.is-active {
    background: #009fe3;
    border-color: #38bdf8;
    color: #ffffff;
}

/* Premium Collapsible Glass Thumbnail Dock */
.sbtu-hero__thumbs-dock {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 64px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 16px;
    background: linear-gradient(
        180deg,
        rgba(8, 24, 48, 0.88) 0%,
        rgba(5, 14, 29, 0.92) 100%
    );
    border: 1px solid rgba(125, 211, 252, 0.32);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.985);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s ease;
}

.sbtu-hero.is-thumbs-open .sbtu-hero__thumbs-dock {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.sbtu-hero__thumbs-nav {
    flex: 0 0 32px;
    width: 32px;
    height: 54px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    outline: none;
}

.sbtu-hero__thumbs-nav:hover {
    background: #009fe3;
    border-color: #38bdf8;
    color: #ffffff;
}

.sbtu-hero__thumbs {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(90deg, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%);
}

.sbtu-hero__thumbs::-webkit-scrollbar {
    display: none;
}

.sbtu-hero__thumb {
    flex: 0 0 148px;
    height: 54px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    overflow: hidden;
    background: #0b192e;
    cursor: pointer;
    opacity: 0.68;
    transition:
        opacity 0.22s ease,
        border-color 0.22s ease,
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.22s ease;
    position: relative;
    outline: none;
}

.sbtu-hero__thumb:hover {
    opacity: 0.96;
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(125, 211, 252, 0.65);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.sbtu-hero__thumb.is-active {
    opacity: 1;
    transform: translateY(-4px) scale(1.04);
    border-color: #00c6ff;
    box-shadow:
        0 10px 22px rgba(0, 159, 227, 0.48),
        0 0 0 2px rgba(0, 198, 255, 0.25);
}

.sbtu-hero__thumb-num {
    position: absolute;
    top: 4px;
    left: 5px;
    z-index: 2;
    padding: 1px 5px;
    border-radius: 5px;
    background: rgba(5, 13, 26, 0.78);
    color: #e2e8f0;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    border: 1px solid rgba(255, 255, 255, 0.16);
    line-height: 1.3;
    pointer-events: none;
}

.sbtu-hero__thumb.is-active .sbtu-hero__thumb-num {
    background: #009fe3;
    color: #ffffff;
    border-color: #7dd3fc;
}

.sbtu-hero__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom Luminous Progress Bar */
.sbtu-hero__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3.5px;
    background: rgba(255, 255, 255, 0.16);
    z-index: 7;
    overflow: hidden;
}

.sbtu-hero__progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #009fe3 0%, #38bdf8 70%, #ffffff 100%);
    box-shadow: 0 0 12px rgba(0, 198, 255, 0.9);
    transform-origin: left center;
}

/* Tablet & Mobile */
@media (max-width: 991px) {
    .sbtu-hero__arrow {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    .sbtu-hero__arrow--prev { left: 12px; }
    .sbtu-hero__arrow--next { right: 12px; }
}

@media (max-width: 640px) {
    .sbtu-hero {
        min-height: 0;
        aspect-ratio: 1920 / 606;
    }
    .sbtu-hero__img {
        object-fit: contain;
    }
    .sbtu-hero::after {
        height: 42px;
    }
    .sbtu-hero__arrow {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    .sbtu-hero__arrow--prev { left: 6px; }
    .sbtu-hero__arrow--next { right: 6px; }

    .sbtu-hero__hud {
        right: 6px;
        bottom: 6px;
        padding: 2px 4px 2px 8px;
        gap: 3px;
    }
    .sbtu-hero__counter {
        font-size: 10px;
        margin-right: 2px;
    }
    .sbtu-hero__counter-curr {
        font-size: 11px;
    }
    .sbtu-hero__hud-btn {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }
    .sbtu-hero__thumbs-dock {
        left: 8px;
        right: 8px;
        bottom: 36px;
        padding: 5px 6px;
        border-radius: 10px;
    }
    .sbtu-hero__thumbs-nav {
        display: none;
    }
    .sbtu-hero__thumb {
        flex: 0 0 88px;
        height: 32px;
        border-radius: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sbtu-hero__slide {
        transform: none !important;
        transition: opacity 0.25s ease !important;
    }
}
