:root{
    --whps-bg:#131722;
    --whps-card:#1b2230;
    --whps-text:#f5f7ff;
    --whps-muted:rgba(255,255,255,.72);
    --whps-accent:#6674ff;
    --whps-accent2:#7c5cff;
    --whps-border:rgba(255,255,255,.12);
    --whps-shadow:0 20px 60px rgba(0,0,0,.45);
}

.whps-section{
    position:relative;
    width:100%;
    background:var(--whps-bg);
    overflow:hidden;
    isolation:isolate;
}

.whps-slider{
    position:relative;
    min-height:900px;
    width:100%;
}

.whps-slides{
    position:relative;
}

.whps-slide{
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    transition:opacity .7s ease, visibility .7s ease;
}
.whps-slide.is-active{
    opacity:1;
    visibility:visible;
    position:relative;
}

.whps-bg{
    position:absolute;
    inset:0;
    overflow:hidden;
}

.whps-bg-video,
.whps-bg-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}
.whps-bg-image{
    background-size:cover;
    background-position:center;
}
.whps-bg-fallback{
    background:
      radial-gradient(circle at 70% 20%, rgba(116,124,255,.22), transparent 28%),
      linear-gradient(180deg, #1c2231 0%, #131722 100%);
}

.whps-overlay{
    position:absolute;
    inset:0;
    background:
      linear-gradient(90deg, rgba(19,23,34,.94) 0%, rgba(19,23,34,.74) 38%, rgba(19,23,34,.48) 60%, rgba(19,23,34,.70) 100%);
    backdrop-filter: blur(2px);
}

.whps-bottom-gradient{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:220px;
    background:
      linear-gradient(180deg, rgba(19,23,34,0) 0%, rgba(19,23,34,.24) 18%, rgba(19,23,34,.78) 62%, #131722 100%);
    pointer-events:none;
}

.whps-inner{
    position:relative;
    z-index:2;
    max-width:1480px;
    margin:0 auto;
    min-height:900px;
    padding:40px 48px 210px;
    display:grid;
    grid-template-columns: minmax(300px, 520px) minmax(320px, 1fr);
    align-items:center;
    gap:60px;
}

.whps-content{
    order:1;
    justify-self:end;
    max-width:520px;
    text-align:right;
}

.whps-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:10px 18px;
    margin-bottom:20px;
    color:#fff;
    border:1px solid var(--whps-border);
    background:rgba(16,22,35,.55);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
    border-radius:999px;
    backdrop-filter: blur(12px);
    font-size:15px;
    font-weight:700;
}

.whps-title{
    margin:0 0 18px;
    color:var(--whps-text);
    font-size:clamp(34px, 4vw, 72px);
    line-height:1.15;
    font-weight:900;
    letter-spacing:-.02em;
}

.whps-desc{
    color:var(--whps-muted);
    font-size:clamp(14px, 1.1vw, 18px);
    line-height:2.1;
    margin-bottom:28px;
}

.whps-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:56px;
    padding:14px 26px;
    border-radius:999px;
    text-decoration:none;
    color:#fff;
    font-weight:800;
    background:linear-gradient(135deg, var(--whps-accent), var(--whps-accent2));
    box-shadow:0 12px 30px rgba(102,116,255,.35);
    transition:transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.whps-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 36px rgba(102,116,255,.42);
    color:#fff;
}

.whps-side{
    order:2;
    justify-self:end;
    display:flex;
    align-items:center;
    justify-content:flex-end;
}

.whps-side-card{
    position:relative;
    width:min(100%, 390px);
    border-radius:22px;
    overflow:hidden;
    display:block;
    box-shadow:var(--whps-shadow);
    border:1px solid rgba(255,255,255,.1);
    background:#111827;
    transform:translateZ(0);
}
.whps-side-card img{
    width:100%;
    display:block;
    aspect-ratio: 7 / 10;
    object-fit:cover;
    transition:filter .35s ease, transform .45s ease;
}
.whps-side-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.2));
    pointer-events:none;
}
.whps-play{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    opacity:0;
    transform:scale(.9);
    transition:opacity .3s ease, transform .3s ease;
    z-index:2;
}
.whps-play::before{
    content:"";
    width:86px;
    height:86px;
    border-radius:50%;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
    position:absolute;
}
.whps-play svg{
    position:relative;
    z-index:2;
    margin-right:-3px;
}
.whps-side-card:hover img{
    filter:blur(1.8px) brightness(.7);
    transform:scale(1.03);
}
.whps-side-card:hover .whps-play{
    opacity:1;
    transform:scale(1);
}

.whps-thumbs{
    position:absolute;
    left:0;
    right:0;
    bottom:34px;
    z-index:5;
    display:flex;
    justify-content:center;
    align-items:flex-end;
    gap:18px;
    padding:0 24px;
    overflow-x:auto;
    scrollbar-width:none;
}
.whps-thumbs::-webkit-scrollbar{
    display:none;
}

.whps-thumb{
    position:relative;
    width:180px;
    min-width:180px;
    height:350px;
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);
    cursor:pointer;
    opacity:.45;
    transform:scale(.96);
    transition:all .35s ease;
    padding:0;
    box-shadow:0 16px 30px rgba(0,0,0,.18);
}
.whps-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    filter:saturate(.9);
}
.whps-thumb::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}
.whps-thumb-title{
    position:absolute;
    left:14px;
    right:14px;
    bottom:18px;
    z-index:2;
    color:#fff;
    font-size:15px;
    font-weight:800;
    line-height:1.7;
    text-align:center;
}
.whps-thumb.is-active{
    width:245px;
    min-width:245px;
    opacity:1;
    transform:translateY(-8px) scale(1);
    border-color:rgba(255,255,255,.16);
}
.whps-thumb:hover{
    opacity:.85;
}

.whps-dots{
    position:absolute;
    bottom:8px;
    left:50%;
    transform:translateX(-50%);
    z-index:8;
    display:flex;
    gap:10px;
}
.whps-dot{
    width:28px;
    height:4px;
    border:none;
    border-radius:999px;
    background:rgba(255,255,255,.28);
    padding:0;
    cursor:pointer;
}
.whps-dot.is-active{
    background:linear-gradient(90deg, var(--whps-accent), #9aa5ff);
}

.whps-empty{
    padding:40px;
    text-align:center;
    background:#131722;
    color:#fff;
}

@media (max-width: 1400px){
    .whps-inner{
        max-width:1280px;
        padding:40px 32px 210px;
        gap:36px;
    }
    .whps-thumb{
        width:160px;
        min-width:160px;
        height:315px;
    }
    .whps-thumb.is-active{
        width:220px;
        min-width:220px;
    }
}

@media (max-width: 1100px){
    .whps-slider,
    .whps-inner{
        min-height:820px;
    }
    .whps-inner{
        grid-template-columns:1fr 360px;
    }
}

@media (max-width: 991px){
    .whps-slider{
        min-height:auto;
    }
    .whps-inner{
        min-height:auto;
        grid-template-columns:1fr;
        padding:34px 22px 190px;
        gap:28px;
    }
    .whps-content{
        order:1;
        justify-self:center;
        text-align:center;
        max-width:760px;
    }
    .whps-side{
        order:2;
        justify-self:center;
    }
    .whps-side-card{
        width:min(100%, 340px);
    }
    .whps-thumbs{
        gap:12px;
        justify-content:flex-start;
        padding:0 18px;
    }
    .whps-thumb{
        width:132px;
        min-width:132px;
        height:240px;
        border-radius:16px;
    }
    .whps-thumb.is-active{
        width:170px;
        min-width:170px;
    }
}

@media (max-width: 640px){
    .whps-inner{
        padding:26px 14px 160px;
    }
    .whps-badge{
        min-height:38px;
        padding:8px 14px;
        font-size:13px;
    }
    .whps-desc{
        line-height:1.9;
    }
    .whps-btn{
        min-height:50px;
        padding:12px 22px;
        font-size:14px;
    }
    .whps-side-card{
        width:min(100%, 280px);
        border-radius:18px;
    }
    .whps-play::before{
        width:70px;
        height:70px;
    }
    .whps-thumb{
        width:112px;
        min-width:112px;
        height:206px;
    }
    .whps-thumb.is-active{
        width:142px;
        min-width:142px;
    }
    .whps-thumb-title{
        font-size:12px;
        bottom:12px;
    }
    .whps-bottom-gradient{
        height:180px;
    }
}
