/* Custom Styles for RavBeat Music Website */

.artist-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.3);
}

.artist-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.artist-card:hover .artist-image {
    border-color: #10b981;
    transform: scale(1.05);
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.album-item {
    text-align: center;
    transition: all 0.3s ease;
}

.album-item:hover {
    transform: scale(1.05);
}

.album-cover {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.album-item:hover .album-cover {
    border-color: #10b981;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.spotify-button {
    background: linear-gradient(135deg, #1db954 0%, #1ed760 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.spotify-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(29,185,84,0.3);
    color: white;
}

.genre-tag {
    background: rgba(255,255,255,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    border: 1px solid rgba(255,255,255,0.2);
    margin: 0.25rem;
    display: inline-block;
}

.track-list {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.track-item {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.track-item:hover {
    background: rgba(255,255,255,0.05);
}

.track-item:last-child {
    border-bottom: none;
}

/* Scrollbar Styles */
.track-list::-webkit-scrollbar {
    width: 6px;
}

.track-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.track-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.track-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.artist-card {
    animation: fadeInUp 0.6s ease-out;
}

.artist-card:nth-child(2) {
    animation-delay: 0.2s;
}

.artist-card:nth-child(3) {
    animation-delay: 0.4s;
}

.artist-card:nth-child(4) {
    animation-delay: 0.6s;
}

/* Special styling for main artist */
.artist-card.border-green-500 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(16, 185, 129, 0.5);
    transform: scale(1.02);
}

.artist-card.border-green-500:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.8);
}

.artist-image.ring-4 {
    border: 4px solid #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

/* Main artist badge animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.bg-gradient-to-r.from-green-400.to-blue-500 {
    animation: pulse 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .artist-image {
        width: 120px;
        height: 120px;
    }
    
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .artist-card.border-green-500 {
        transform: scale(1);
    }
}
