.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s var(--transition-timing);
    z-index: 3;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, background, border-color;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(100%, 0, 0);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    will-change: opacity, transform, visibility;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    user-select: none;
    border-radius: var(--radius);
    box-sizing: border-box;
    overflow: hidden;
    /* Default VIP background - green */
    background: radial-gradient(45.92% 136.33% at 100% 100%, rgba(87, 136, 52, 0.3) 0%, rgba(85, 130, 48, 0) 100%),
        radial-gradient(53.2% 157.94% at 0.88% 5.47%, rgba(87, 136, 52, 0.13) 0%, rgba(87, 136, 52, 0) 100%);
}

.carousel-slide.standard-server-carousel {
    background: radial-gradient(45.92% 136.33% at 100% 100%, rgba(215, 51, 60, 0.29) 0%, rgba(215, 51, 60, 0) 100%), radial-gradient(53.2% 157.94% at 0.88% 5.47%, rgba(215, 51, 60, 0.13) 0%, rgba(215, 51, 60, 0) 100%) !important;
}

.carousel-slide.standard-server-carousel .deals-info h2 {
    background: linear-gradient(180deg, #D7333C 0%, #711B1F 287.5%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.carousel-slide.standard-server-carousel .buy-btn {
    background: linear-gradient(180deg, #D7333C 0%, #711B1F 287.5%) !important;
}

.carousel-slide.legend-vip-us-server-carousel,
.carousel-slide.legend-vip-eu-server-carousel {
    background: radial-gradient(45.92% 136.33% at 100% 100%, rgba(89, 126, 196, 0.3) 0%, rgba(89, 126, 196, 0) 100%),
        radial-gradient(53.2% 157.94% at 0.88% 5.47%, rgba(89, 126, 196, 0.13) 0%, rgba(89, 126, 196, 0) 100%) !important;
}

.carousel-slide.legend-vip-us-server-carousel .deals-info h2,
.carousel-slide.legend-vip-eu-server-carousel .deals-info h2 {
    background: linear-gradient(180deg, #6D9DF7 0%, #364D7A 287.5%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.carousel-slide.legend-vip-us-server-carousel .buy-btn,
.carousel-slide.legend-vip-eu-server-carousel .buy-btn {
    background: linear-gradient(180deg, #6D9DF7 0%, #364D7A 287.5%) !important;
}

.carousel-slide img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.deals-image img {
    width: 487px;
    height: 456px;
    display: block;
    max-width: 100%;
    object-fit: contain;
}

.carousel-slide.active .deals-image {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
}

.carousel-nav svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.carousel-nav:hover:not(.disabled) {
    background: rgba(215, 51, 60, 0.8);
    border-color: var(--color-accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(215, 51, 60, 0.4);
}

.carousel-nav:hover svg {
    transform: scale(1.1);
}

.carousel-nav:active:not(.disabled) {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav.disabled {
    pointer-events: none;
    opacity: 0.4;
    cursor: not-allowed;
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.carousel-loading.active {
    opacity: 1;
}

.carousel-container {
    position: relative;
    width: 100%;
    min-height: 384px;
    max-height: 384px;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    max-width: calc(100vw - 10px);
    box-sizing: border-box;
    margin: 0 auto;
}

.carousel-container.transitioning {
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    z-index: 2;
    overflow: visible;
}

.carousel-slide.active .deals-features {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.carousel-slide.active .deals-info {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.carousel-slide.active .deals-info h2 {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.carousel-slide.active .buy-btn {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
}

.carousel-slide.prev {
    transform: translate3d(-100%, 0, 0);
    opacity: 0;
    transition-duration: 0.4s;
}

.carousel-slide.next {
    transform: translate3d(100%, 0, 0);
    opacity: 0;
}

.carousel-slide.slide-in-right {
    transform: translateX(100%);
    opacity: 0;
}

.carousel-slide.slide-in-left {
    transform: translateX(-100%);
    opacity: 0;
}

.carousel-slide.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.carousel-slide.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(215, 51, 60, 0.3);
    border-top: 3px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    will-change: transform;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.auto-play-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--color-card-bg);
    z-index: 4;
    opacity: 0.7;
    transform-origin: left;
    will-change: width;
    border-radius: 0 0 var(--radius) var(--radius);
}

.deals-info {
    padding: 36px 20px 22px 49px;
    flex: 1 1 400px;
    z-index: 2;
    transform: translate3d(0, 30px, 0);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.deals-info h2 {
    margin: 0;
    margin-bottom: 17px;

    font-weight: 600;
    font-size: 68px;
    line-height: 49px;

    text-transform: uppercase;

    /* Default VIP gradient - green */
    background: linear-gradient(180deg, #80CA4C 0%, #578834 287.5%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* CSS animations */
    transform: translate3d(0, 30px, 0);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.deals-image {
    position: absolute;
    right: 20px;
    top: -50px;
    z-index: 1;
    transform: translate3d(50px, 0, 0) scale(0.8);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
    will-change: transform, opacity;
    backface-visibility: hidden;
    pointer-events: none;
    height: auto;
}

.deals-image img {
    width: 487px;
    height: 456px;
    display: block;
    position: relative;
    z-index: 1;
}



.deals-features {
    list-style: none;
    padding: 0;
    margin-bottom: 22px;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    transform: translate3d(0, 30px, 0);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.3s;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.buy-btn {
    cursor: pointer;

    padding: 11px 0;
    width: 246px;

    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #E7E7E7;

    /* Default VIP gradient - green */
    background: linear-gradient(180deg, #80CA4C 0%, #578834 287.5%);
    border-radius: var(--radius-sm);
    border: none;

    /* CSS animations */
    transform: translate3d(0, 30px, 0) scale(0.9);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.4s;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.buy-btn:hover:not(.disabled) {
    opacity: 0.8;
    transform: translate3d(0, -2px, 0) scale(1.05);
    box-shadow: 0 8px 25px rgba(215, 51, 60, 0.4);
}

.buy-btn:active:not(.disabled) {
    transform: translate3d(0, 0, 0) scale(0.98);
}

.buy-btn.disabled {
    pointer-events: none;
    opacity: 0.7;
}

.dot {
    width: 14px;
    height: 14px;
    border: 0.6px solid rgba(228, 218, 209, 1);
    border-radius: 50%;
    background: rgba(22, 22, 22, 1);
    cursor: pointer;
    transition: all 0.4s var(--transition-timing);
    position: relative;
    will-change: transform, background, border-color;
    /* Hardware acceleration */
    backface-visibility: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--color-card-bg);
    border-color: transparent;
    transform: scale(1.2);
}

.dot.active::before {
    width: 20px;
    height: 20px;
    opacity: 0.3;
}

.dot:hover:not(.disabled) {
    transform: scale(1.15);
    border-color: var(--color-accent);
}

.dot.disabled {
    pointer-events: none;
    opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {

    .auto-scroll,
    .parallax,
    .floating,
    .wobble,
    .shake,
    .bounce-loop {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================
   TOP DEALS RESPONSIVE
   ============================ */

@media (max-width: 580px) {
    .deals-features {
        display: none !important;
    }

    .deals-info {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) !important;
        text-align: center;
        width: 100%;
        padding: 20px;
        flex: none;
    }

    .deals-info h2 {
        transform: none !important;
        opacity: 1 !important;
        text-align: center;
        margin: 0 auto 15px auto;
    }

    .buy-btn {
        transform: none !important;
        opacity: 1 !important;
        margin: 0 auto;
        display: block;
    }

    .deals-image {
        position: absolute !important;
        top: 20px !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        text-align: center;
        margin-bottom: 0;
        opacity: 1 !important;
        z-index: 1;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .deals-image img {
        width: 250px !important;
        height: 220px !important;
        object-fit: contain;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .deals-info h2 {
        font-size: 56px;
        line-height: 45px;
    }

    .deals-image {
        right: 15px;
        top: -30px;
    }

    .deals-image img {
        width: 380px;
        height: 355px;
    }

    .buy-btn {
        width: 220px;
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .deals-info {
        padding: 20px;
    }

    .deals-info h2 {
        font-size: 48px;
        line-height: 40px;
    }

    .deals-image {
        right: 10px;
        top: 20px;
    }

    .deals-image img {
        width: 300px;
        height: 280px;
    }

    .buy-btn {
        width: 200px;
        font-size: 20px;
    }

    .carousel-nav {
        padding: 10px 12px;
        font-size: 20px;
        width: 40px;
        height: 40px;
    }
}