.premium-carousel-wrapper {
    background-color: var(--bg);
    position: relative;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.premium-carousel-container {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

.premium-carousel-track {
    display: flex;
    gap: 30px;
    will-change: transform;
    animation: premiumInfiniteScroll 25s linear infinite;
    padding: 0 20px;
}

.premium-carousel-card {
    min-width: 400px;
    width: 400px;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: scale(0.75) rotateY(12deg);
    opacity: 0.5;
    filter: brightness(0.6) contrast(0.8);
}

.premium-carousel-card.premium-active {
    transform: scale(1.0) rotateY(0deg);
    opacity: 1;
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
    z-index: 10;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.premium-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease-out;
}

.premium-carousel-card.premium-active .premium-card-image {
    transform: scale(1.05);
}

.premium-card-content {
    font-family: 'Bolton Serif Bold', 'Michroma', sans-serif !important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        180deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.3) 20%,
        rgba(0, 0, 0, 0.8) 70%,
        rgba(0, 0, 0, 0.95) 100%
    );
    padding: 30px 20px 20px 20px;
    color: white;
    transform: translateY(25px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.premium-carousel-card.premium-active .premium-card-content {
    transform: translateY(0);
    opacity: 1;
}

.premium-card-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    transform: translateX(-15px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s;
}

.premium-carousel-card.premium-active .premium-card-category {
    transform: translateX(0);
    opacity: 1;
}

.premium-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1) 0.2s;
}

.premium-carousel-card.premium-active .premium-card-title {
    transform: translateX(0);
    opacity: 1;
}

.premium-card-description {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
    max-width: 320px;
    transform: translateX(-25px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s;
}

.premium-carousel-card.premium-active .premium-card-description {
    transform: translateX(0);
    opacity: 0.9;
}

.premium-glow-ring {
    position: absolute;
    inset: -2px;
    background: conic-gradient(
        from 0deg,
        #ff0080,
        #ff8c00,
        #40e0d0,
        #8a2be2,
        #ff0080
    );
    border-radius: 22px;
    opacity: 0;
    animation: premiumRotate 4s linear infinite;
    transition: opacity 0.6s ease;
}

.premium-carousel-card.premium-active .premium-glow-ring {
    opacity: 0.5;
}

.premium-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 20px;
    overflow: hidden;
}

@keyframes premiumInfiniteScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-430px * 6));
    }
}

@keyframes premiumRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.premium-carousel-track:hover {
    animation-play-state: paused;
}

.premium-center-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1000;
}

@media (max-width: 1024px) {
    .premium-carousel-card {
        min-width: 350px;
        width: 350px;
        height: 210px;
    }
    
    .premium-carousel-container {
        height: 250px;
    }
    
    @keyframes premiumInfiniteScroll {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-380px * 6));
        }
    }
}

@media (max-width: 768px) {
    .premium-carousel-card {
        min-width: 300px;
        width: 300px;
        height: 180px;
    }
    
    .premium-carousel-container {
        height: 200px;
    }
    
    .premium-card-title {
        font-size: 20px;
    }
    
    .premium-card-description {
        font-size: 12px;
    }
    
    @keyframes premiumInfiniteScroll {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-330px * 6));
        }
    }
}

@media (max-width: 480px) {
    .premium-carousel-wrapper {
        margin-top: -100px;
    }
    .premium-carousel-card {
        min-width: 260px;
        width: 260px;
        height: 160px;
    }
    
    .premium-carousel-container {
        height: 180px;
        padding-top: 30px;
    }
    
    .premium-card-title {
        font-size: 18px;
    }
    
    .premium-card-description {
        font-size: 11px;
    }
    
    @keyframes premiumInfiniteScroll {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-290px * 6));
        }
    }
}