.vxfs-slider {
    position: relative;
    width: 100%;
    height: var(--vxfs-height, 75vh);   
    overflow: hidden;
    background: var(--vx-bg-card);
}

.vxfs-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.vxfs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
    pointer-events: none;
}
.vxfs-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.vxfs-slider[data-transition="slide"] .vxfs-slide {
    transform: translateX(100%);
    transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .6s ease;
    opacity: 1;
}
.vxfs-slider[data-transition="slide"] .vxfs-slide.active {
    transform: translateX(0);
    opacity: 1;
}
.vxfs-slider[data-transition="slide"] .vxfs-slide.prev {
    transform: translateX(-100%);
}

.vxfs-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.vxfs-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s ease;
}
.vxfs-slide.active .vxfs-bg-img {
    transform: scale(1.04);
}

.vxfs-video,
.vxfs-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    pointer-events: none;
}
.vxfs-fallback { display: none; }

.vxfs-overlay {
    position: absolute;
    inset: 0;
    background: var(--vx-overlay);
    pointer-events: none;
}

.vxfs-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 5vw, 80px);
    gap: 16px;
    z-index: 2;
}

.vxfs-valign-top    { justify-content: flex-start; padding-top: clamp(40px, 8vw, 100px); }
.vxfs-valign-center { justify-content: center; }
.vxfs-valign-bottom { justify-content: flex-end; padding-bottom: clamp(40px, 8vw, 100px); }

.vxfs-align-left   { align-items: flex-start; text-align: left; }
.vxfs-align-center { align-items: center;     text-align: center; }
.vxfs-align-right  { align-items: flex-end;   text-align: right; }

.vxfs-color-light .vxfs-title,
.vxfs-color-light .vxfs-subtitle { color: #fff; }
.vxfs-color-dark  .vxfs-title,
.vxfs-color-dark  .vxfs-subtitle { color: #111; }

.vxfs-title {
    font-family: var(--vx-font-family);
    font-size: clamp(1.8rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    max-width: 800px;
    text-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.vxfs-subtitle {
    font-family: var(--vx-font-family);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    max-width: 640px;
    opacity: .92;
    text-shadow: 0 1px 6px rgba(0,0,0,.15);
}

.vxfs-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.vxfs-align-center .vxfs-btns { justify-content: center; }
.vxfs-align-right  .vxfs-btns { justify-content: flex-end; }

.vxfs-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: var(--vx-radius);
    font-family: var(--vx-font-family);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}
.vxfs-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.vxfs-btn:active { transform: translateY(0); }

.vxfs-btn--primary {
    background: var(--vx-primary);
    color: var(--vx-text-inv, #fff);
    border: 2px solid transparent;
}
.vxfs-btn--primary:hover { opacity: .9; }

.vxfs-btn--outline {
    background: transparent;
    color: inherit;
    border: 2px solid currentColor;
}
.vxfs-btn--outline:hover { background: rgba(255,255,255,.15); }

.vxfs-btn--ghost {
    background: rgba(255,255,255,.15);
    color: inherit;
    border: 2px solid transparent;
    backdrop-filter: blur(4px);
}
.vxfs-btn--ghost:hover { background: rgba(255,255,255,.25); }

.vxfs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,.35);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    backdrop-filter: blur(4px);
}
.vxfs-arrow:hover { background: rgba(0,0,0,.6); transform: translateY(-50%) scale(1.1); }
.vxfs-arrow--prev { left: 20px; }
.vxfs-arrow--next { right: 20px; }

.vxfs-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.vxfs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: none;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, width .3s ease;
    padding: 0;
}
.vxfs-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

.vxfs-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.vxfs-cd-label {
    font-size: .9rem;
    font-weight: 500;
    opacity: .85;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.vxfs-cd-units {
    display: flex;
    align-items: center;
    gap: 4px;
}
.vxfs-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
    border-radius: var(--vx-radius);
    padding: 10px 14px 8px;
    min-width: 64px;
}
.vxfs-cd-num {
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}
.vxfs-cd-sub {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    opacity: .7;
    margin-top: 2px;
}
.vxfs-cd-sep {
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
    opacity: .6;
    margin-bottom: 14px;
}

.vxfs-anim {
    opacity: 0;
    transition-duration: .7s;
    transition-timing-function: cubic-bezier(.22,1,.36,1);
    transition-property: opacity, transform;
    transition-delay: var(--vxfs-anim-delay, 0ms);
}

.vxfs-slide.active .vxfs-title    { transition-delay: calc(var(--vxfs-anim-delay, 0ms) + 0ms); }
.vxfs-slide.active .vxfs-subtitle { transition-delay: calc(var(--vxfs-anim-delay, 0ms) + 150ms); }
.vxfs-slide.active .vxfs-btns,
.vxfs-slide.active .vxfs-countdown { transition-delay: calc(var(--vxfs-anim-delay, 0ms) + 300ms); }

.vxfs-anim--fade-up    { transform: translateY(28px); }
.vxfs-slide.active .vxfs-anim--fade-up    { opacity: 1; transform: translateY(0); }

.vxfs-anim--fade-down  { transform: translateY(-28px); }
.vxfs-slide.active .vxfs-anim--fade-down  { opacity: 1; transform: translateY(0); }

.vxfs-anim--fade-left  { transform: translateX(40px); }
.vxfs-slide.active .vxfs-anim--fade-left  { opacity: 1; transform: translateX(0); }

.vxfs-anim--fade-right { transform: translateX(-40px); }
.vxfs-slide.active .vxfs-anim--fade-right { opacity: 1; transform: translateX(0); }

.vxfs-anim--zoom-in    { transform: scale(.85); }
.vxfs-slide.active .vxfs-anim--zoom-in    { opacity: 1; transform: scale(1); }

.vxfs-anim--zoom-out   { transform: scale(1.15); }
.vxfs-slide.active .vxfs-anim--zoom-out   { opacity: 1; transform: scale(1); }

.vxfs-anim--slide-up   { transform: translateY(60px); }
.vxfs-slide.active .vxfs-anim--slide-up   { opacity: 1; transform: translateY(0); }

.vxfs-anim--slide-left { transform: translateX(80px); }
.vxfs-slide.active .vxfs-anim--slide-left { opacity: 1; transform: translateX(0); }

.vxfs-anim--slide-right { transform: translateX(-80px); }
.vxfs-slide.active .vxfs-anim--slide-right { opacity: 1; transform: translateX(0); }

.vxfs-anim--bounce     { transform: translateY(28px); }
.vxfs-slide.active .vxfs-anim--bounce {
    opacity: 1;
    transform: translateY(0);
    animation: vxfs-bounce .6s cubic-bezier(.22,1,.36,1) both;
    animation-delay: var(--vxfs-anim-delay, 0ms);
}
@keyframes vxfs-bounce {
    0%   { transform: translateY(28px); }
    60%  { transform: translateY(-8px); }
    80%  { transform: translateY(4px); }
    100% { transform: translateY(0); }
}

.vxfs-anim--flip       { transform: perspective(600px) rotateX(30deg); }
.vxfs-slide.active .vxfs-anim--flip       { opacity: 1; transform: perspective(600px) rotateX(0deg); }

.vxfs-anim--typewriter { opacity: 1; }
.vxfs-slide.active .vxfs-anim--typewriter { opacity: 1; }

@media (max-width: 768px) {
    .vxfs-slider { height: 55vh; }        
    .vxfs-arrow { width: 38px; height: 38px; }
    .vxfs-arrow--prev { left: 10px; }
    .vxfs-arrow--next { right: 10px; }
    .vxfs-cd-unit { min-width: 50px; padding: 8px 10px 6px; }
    .vxfs-btns { gap: 8px; }
    .vxfs-btn { padding: 10px 20px; font-size: .9rem; }
}

@media (max-width: 480px) {
    .vxfs-dots { bottom: 10px; }
    .vxfs-content { padding: 20px 16px; gap: 12px; }
}
