/* ===== MODERN FEATURED TRACKS CAROUSEL ===== */
.featured-slider-section {
    margin-bottom: 3rem;
    width: 100%;
    position: relative;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.8rem;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-golden);
    border-radius: 3px;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
}

/* Card Styles */
.featured-card {
    flex: 0 0 calc(33.333% - 13.33px);
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(54, 154, 179, 0.2);
    position: relative;
}

.featured-card:hover {
    transform: translateY(-8px);
    border-color: var(--golden);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* High-Quality Image */
.featured-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-card:hover .featured-image img {
    transform: scale(1.08);
}

/* Play Overlay */
.play-overlay-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.featured-card:hover .play-overlay-card {
    opacity: 1;
}

.play-btn-card {
    background: var(--gradient-golden);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.play-btn-card:hover {
    transform: scale(1.1);
}

.play-btn-card svg {
    width: 26px;
    height: 26px;
    fill: #fff;
    margin-left: 3px;
}

/* Card Info */
.featured-info {
    padding: 1rem;
}

.featured-artist {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--golden);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.featured-song {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    word-wrap: break-word;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.featured-date {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.featured-date svg {
    width: 10px;
    height: 10px;
    fill: var(--golden);
}

/* Navigation Buttons */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(54, 154, 179, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--golden);
    border-color: var(--golden);
}

.carousel-prev:hover svg, .carousel-next:hover svg {
    fill: #fff;
}

.carousel-prev svg, .carousel-next svg {
    width: 22px;
    height: 22px;
    fill: var(--golden);
    transition: fill 0.3s;
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

/* Dots Navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(54, 154, 179, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--golden);
    width: 24px;
    border-radius: 4px;
}

/* ===== TABLET: 2 CARDS ===== */
@media (max-width: 992px) {
    .featured-card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

/* ===== MOBILE: 2 CARDS (Side by side on mobile) ===== */
@media (max-width: 768px) {
    .featured-slider-section {
        margin-bottom: 2rem;
    }
    
    .carousel-track {
        gap: 1rem;
    }
    
    .featured-card {
        flex: 0 0 calc(50% - 0.5rem);
        border-radius: 12px;
    }
    
    /* REDUCED IMAGE HEIGHT ON MOBILE */
    .featured-image {
        aspect-ratio: 1 / 1;
        max-height: 160px;
    }
    
    .featured-image img {
        object-position: center;
    }
    
    /* Compact Info Section */
    .featured-info {
        padding: 0.7rem 0.8rem;
    }
    
    .featured-artist {
        font-size: 0.65rem;
        letter-spacing: 0.8px;
        margin-bottom: 0.2rem;
    }
    
    .featured-song {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
        -webkit-line-clamp: 1;
    }
    
    .featured-meta {
        font-size: 0.6rem;
        gap: 0.4rem;
    }
    
    /* Smaller Play Button */
    .play-btn-card {
        width: 40px;
        height: 40px;
    }
    
    .play-btn-card svg {
        width: 20px;
        height: 20px;
        margin-left: 2px;
    }
    
    /* Smaller Navigation Buttons */
    .carousel-prev, .carousel-next {
        width: 32px;
        height: 32px;
    }
    
    .carousel-prev svg, .carousel-next svg {
        width: 18px;
        height: 18px;
    }
    
    .carousel-prev {
        left: 0.5rem;
    }
    
    .carousel-next {
        right: 0.5rem;
    }
    
    /* Compact Dots */
    .carousel-dots {
        margin-top: 1rem;
        gap: 8px;
    }
    
    .carousel-dot {
        width: 6px;
        height: 6px;
    }
    
    .carousel-dot.active {
        width: 20px;
    }
}

/* ===== SMALL MOBILE: EVEN MORE COMPACT ===== */
@media (max-width: 480px) {
    .carousel-track {
        gap: 0.75rem;
    }
    
    .featured-card {
        flex: 0 0 calc(50% - 0.375rem);
    }
    
    .featured-image {
        max-height: 140px;
    }
    
    .featured-info {
        padding: 0.6rem 0.7rem;
    }
    
    .featured-artist {
        font-size: 0.6rem;
        margin-bottom: 0.15rem;
    }
    
    .featured-song {
        font-size: 0.75rem;
        margin-bottom: 0.15rem;
    }
    
    .featured-meta {
        font-size: 0.55rem;
    }
    
    .play-btn-card {
        width: 36px;
        height: 36px;
    }
    
    .play-btn-card svg {
        width: 18px;
        height: 18px;
    }
    
    .carousel-prev, .carousel-next {
        width: 28px;
        height: 28px;
    }
    
    .carousel-prev svg, .carousel-next svg {
        width: 16px;
        height: 16px;
    }
    
    .carousel-prev {
        left: 0.25rem;
    }
    
    .carousel-next {
        right: 0.25rem;
    }
}

@media (max-width: 400px) {
    .featured-card {
        flex: 0 0 calc(50% - 0.25rem);
    }
    
    .carousel-track {
        gap: 0.5rem;
    }
    
    .featured-image {
        max-height: 130px;
    }
}

/* Animation */
.featured-card {
    animation: cardFadeIn 0.5s ease;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}