/* Featured Track of the Day - Styles */
.featured-track-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: featuredFadeIn 0.8s ease-out;
}

@keyframes featuredFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured-track-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.featured-track-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.featured-track-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 25px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.featured-track-artwork {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.featured-track-artwork:hover {
    transform: scale(1.05) rotate(2deg);
}

.featured-track-info {
    color: white;
}

.featured-track-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.featured-track-artist {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.95;
}

.featured-track-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    font-size: 0.95rem;
}

.featured-track-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.featured-track-detail-item strong {
    font-weight: 600;
}

.featured-track-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 140px;
}

.featured-track-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-track-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: white;
}

.featured-track-btn.playing {
    background: #28a745;
    color: white;
    animation: playingPulse 1.5s infinite;
}

@keyframes playingPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(40, 167, 69, 0.7);
    }
}

.featured-track-btn.add-to-cart {
    background: rgba(255, 193, 7, 0.95);
    color: #212529;
}

.featured-track-btn.add-to-cart:hover {
    background: #ffc107;
}

.featured-track-btn.add-to-cart.added {
    background: #28a745;
    color: white;
}

.featured-track-waveform {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-waveform-bar {
    width: 4px;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 2px;
    border-radius: 2px;
    transition: all 0.1s ease;
    min-height: 20px;
}

.featured-waveform-bar.active {
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.featured-waveform-bar.playing {
    animation: waveformPulse 0.5s infinite alternate;
}

@keyframes waveformPulse {
    0% {
        transform: scaleY(1);
        opacity: 0.8;
    }
    100% {
        transform: scaleY(1.8);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .featured-track-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .featured-track-artwork {
        margin: 0 auto;
    }
    
    .featured-track-actions {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
    
    .featured-track-btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .featured-track-container {
        padding: 20px;
        margin: 15px 10px;
    }
    
    .featured-track-title {
        font-size: 1.5rem;
    }
    
    .featured-track-artist {
        font-size: 1.1rem;
    }
    
    .featured-track-artwork {
        width: 120px;
        height: 120px;
    }
    
    .featured-track-details {
        font-size: 0.85rem;
        gap: 10px;
    }
    
    .featured-track-detail-item {
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .featured-track-title {
        font-size: 1.3rem;
    }
    
    .featured-track-artwork {
        width: 100px;
        height: 100px;
    }
    
    .featured-track-actions {
        flex-direction: column;
    }
    
    .featured-track-btn {
        width: 100%;
    }
}

