/* ==========================================================================
   Woodflix Slider - estil frontend pou 12 modèl
   ========================================================================== */

.wfs-slider {
    --wfs-red: #e11d2f;
    --wfs-gold: #ffc23c;
    --wfs-border: #2a2a38;
    --wfs-surface: #15151e;
    --wfs-surface-2: #1d1d29;
    box-sizing: border-box;
    max-width: 600px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.wfs-slider * {
    box-sizing: border-box;
}

/* Background presets - itilize si pa gen imaj */
.wfs-bg-1 { background: linear-gradient(120deg, #6a0f1c 0%, #e11d2f 60%, #ff5a3c 100%); }
.wfs-bg-2 { background: linear-gradient(120deg, #0b3d24 0%, #1e8e4f 60%, #5be08a 100%); }
.wfs-bg-3 { background: linear-gradient(120deg, #2a0f4d 0%, #6f2bd6 60%, #b07bff 100%); }
.wfs-bg-4 { background: linear-gradient(120deg, #0a2c52 0%, #1565c0 60%, #5cb3ff 100%); }
.wfs-bg-5 { background: linear-gradient(120deg, #7a4a00 0%, #ffb800 60%, #ffe08a 100%); }

/* Kontni anndan yon slide (imaj plen) */
.wfs-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.wfs-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.78) 100%);
}

.wfs-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 14px;
    color: #fff;
}

.wfs-overlay a {
    text-decoration: none;
}

.wfs-tag {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--wfs-gold);
    margin-bottom: 3px;
}

.wfs-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.18;
    color: #fff;
}

.wfs-price {
    font-size: 12px;
    color: #fff;
    opacity: 0.85;
    margin-top: 3px;
}

.wfs-slide-bg > a {
    position: absolute;
    inset: 0;
    z-index: 1;
    color: inherit;
}

.wfs-btn {
    display: inline-block;
    margin-top: 8px;
    background: var(--wfs-red);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-decoration: none;
}

/* Dòt navigasyon - pataje pa plizyè estil */
.wfs-dots {
    position: absolute;
    bottom: 9px;
    right: 12px;
    z-index: 3;
    display: flex;
    gap: 5px;
}

.wfs-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.wfs-dot.active {
    background: var(--wfs-gold);
}

/* ==========================================================================
   1 & 2. FADE KLASIK / FADE SANT
   ========================================================================== */

.wfs-fade,
.wfs-fade_center {
    position: relative;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--wfs-border);
}

.wfs-fade .wfs-slide,
.wfs-fade_center .wfs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.wfs-fade .wfs-slide.active,
.wfs-fade_center .wfs-slide.active {
    opacity: 1;
}

/* Fade Sant - tit nan mitan, gwo */
.wfs-fade_center .wfs-slide-bg::after {
    background: rgba(0, 0, 0, 0.45);
}

.wfs-fade_center .wfs-overlay {
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    bottom: auto;
}

.wfs-fade_center .wfs-title {
    font-size: 21px;
}

/* ==========================================================================
   3. CAROUSEL (ak flèch)
   ========================================================================== */

.wfs-carousel {
    position: relative;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--wfs-border);
}

.wfs-carousel .wfs-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wfs-carousel .wfs-slide {
    flex: 0 0 86%;
    margin-right: 8px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.wfs-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 8px;
    z-index: 2;
    pointer-events: none;
}

.wfs-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(11, 11, 16, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 17px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    user-select: none;
}

/* ==========================================================================
   4. PIL KAT SENMETRIK
   ========================================================================== */

.wfs-stack {
    position: relative;
    height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.wfs-stack-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wfs-stack .wfs-slide {
    position: absolute;
    width: 80%;
    height: 132px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--wfs-border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.wfs-stack .wfs-slide.p0 {
    transform: translateX(0) scale(1);
    z-index: 3;
    opacity: 1;
}

.wfs-stack .wfs-slide.pL {
    transform: translateX(-56%) scale(0.88);
    z-index: 2;
    opacity: 0.55;
}

.wfs-stack .wfs-slide.pR {
    transform: translateX(56%) scale(0.88);
    z-index: 2;
    opacity: 0.55;
}

.wfs-stack .wfs-slide.hide {
    transform: translateX(0) scale(0.8);
    z-index: 1;
    opacity: 0;
}

.wfs-hint {
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11.5px;
    color: #8d8d9c;
    z-index: 4;
}

/* ==========================================================================
   5. FILMSTRIP
   ========================================================================== */

.wfs-film-main {
    position: relative;
    height: 150px;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    border: 1px solid var(--wfs-border);
    border-bottom: none;
}

.wfs-film-main .wfs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.wfs-film-main .wfs-slide.active {
    opacity: 1;
}

.wfs-thumbs {
    display: flex;
    gap: 6px;
    padding: 8px;
    background: var(--wfs-surface);
    border-radius: 0 0 14px 14px;
    border: 1px solid var(--wfs-border);
    border-top: none;
    overflow-x: auto;
}

.wfs-thumb {
    flex: 0 0 60px;
    height: 44px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.25s;
    background-size: cover;
    background-position: center;
}

.wfs-thumb.active {
    border-color: var(--wfs-red);
    opacity: 1;
}

/* ==========================================================================
   6. MINIMAL + BAR TAN
   ========================================================================== */

.wfs-progress {
    position: relative;
    height: 190px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--wfs-border);
}

.wfs-progress .wfs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s ease, transform 6s linear;
}

.wfs-progress .wfs-slide.active {
    opacity: 1;
    transform: scale(1);
}

.wfs-bars {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    gap: 5px;
}

.wfs-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: hidden;
}

.wfs-bar i {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--wfs-gold);
}

.wfs-bar.done i {
    width: 100%;
    transition: none;
}

.wfs-bar.live i {
    width: 100%;
}

/* ==========================================================================
   7 & 8. SPLIT IMAJ-GOCH / SPLIT IMAJ-DWAT
   ========================================================================== */

.wfs-split_left,
.wfs-split_right {
    position: relative;
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--wfs-border);
    background: var(--wfs-surface);
}

.wfs-split_left .wfs-slide,
.wfs-split_right .wfs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    display: flex;
    transition: opacity 0.6s ease;
}

.wfs-split_left .wfs-slide.active,
.wfs-split_right .wfs-slide.active {
    opacity: 1;
}

.wfs-split-art {
    flex: 0 0 42%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.wfs-split-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 14px;
    color: var(--wfs-text, #f5f5f7);
}

/* ==========================================================================
   9. CAPTION ANBA AK BOUTON
   ========================================================================== */

.wfs-caption {
    position: relative;
    height: 170px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--wfs-border);
}

.wfs-caption .wfs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    display: flex;
    flex-direction: column;
    transition: opacity 0.6s ease;
}

.wfs-caption .wfs-slide.active {
    opacity: 1;
}

.wfs-caption-art {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.wfs-caption-bar {
    flex: 0 0 50px;
    background: var(--wfs-surface-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
}

.wfs-caption-bar .wfs-title {
    font-size: 14px;
}

.wfs-caption-bar .wfs-btn {
    margin-top: 0;
    flex-shrink: 0;
    margin-left: 10px;
}

/* ==========================================================================
   10. BADGE PWOMO
   ========================================================================== */

.wfs-badge {
    position: relative;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--wfs-border);
}

.wfs-badge .wfs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.wfs-badge .wfs-slide.active {
    opacity: 1;
}

.wfs-ribbon {
    position: absolute;
    top: 12px;
    right: -4px;
    background: var(--wfs-red);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 6px 0 0 6px;
    z-index: 2;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   11. TAB VÈTIKAL
   ========================================================================== */

.wfs-tabs {
    position: relative;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--wfs-border);
}

.wfs-tabs-wrap {
    display: flex;
    height: 100%;
}

.wfs-tabs-nav {
    flex: 0 0 64px;
    display: flex;
    flex-direction: column;
    background: var(--wfs-surface-2);
}

.wfs-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #8d8d9c;
    cursor: pointer;
    border-left: 3px solid transparent;
    text-align: center;
    padding: 4px;
}

.wfs-tab.active {
    color: #fff;
    border-left-color: var(--wfs-red);
    background: rgba(255, 255, 255, 0.03);
}

.wfs-tabs-panels {
    flex: 1;
    position: relative;
}

.wfs-tabs-panels .wfs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.wfs-tabs-panels .wfs-slide.active {
    opacity: 1;
}

/* ==========================================================================
   12. GWO POUSANTAJ
   ========================================================================== */

.wfs-percent {
    position: relative;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--wfs-border);
}

.wfs-percent .wfs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    transition: opacity 0.8s ease;
}

.wfs-percent .wfs-slide.active {
    opacity: 1;
}

.wfs-percent-info .wfs-title {
    color: #fff;
}

.wfs-percent-num {
    font-weight: 700;
    font-size: 42px;
    color: #fff;
    line-height: 1;
    text-align: right;
    font-family: inherit;
}

.wfs-percent-num span {
    font-size: 13px;
    display: block;
    opacity: 0.85;
    font-weight: 600;
    margin-top: 2px;
}
