/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 40px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.1) 0%, rgba(30, 215, 96, 0.05) 100%);
    border-radius: 0 0 20px 20px;
    margin-bottom: 40px;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #1db954, #1ed760);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    margin-right: 10px;
    -webkit-text-fill-color: #1db954;
}

.tagline {
    font-size: 1.1rem;
    color: #b3b3b3;
    font-weight: 300;
}

/* Main content */
.main-content {
    padding: 20px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff;
}

/* Artists grid */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.artist-card {
    background: linear-gradient(135deg, #282828 0%, #1f1f1f 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.artist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(30, 215, 96, 0.3);
}

.artist-card:hover::before {
    opacity: 1;
}

.artist-card:hover .artist-icon {
    transform: scale(1.1);
    color: #1db954;
}

.artist-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #b3b3b3;
    transition: all 0.3s ease;
}

.artist-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.artist-info {
    color: #b3b3b3;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #b3b3b3;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

/* Music player styles */
.music-player {
    background: linear-gradient(135deg, #282828 0%, #1f1f1f 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.back-button {
    background: none;
    border: none;
    color: #1db954;
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 20px;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: rgba(30, 215, 96, 0.1);
}

.artist-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
}

.playlist {
    margin-bottom: 30px;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background: rgba(30, 215, 96, 0.1);
    transform: translateX(5px);
}

.playlist-item.playing {
    background: rgba(30, 215, 96, 0.2);
    border-left: 4px solid #1db954;
}

.song-number {
    width: 30px;
    color: #b3b3b3;
    font-weight: 500;
}

.song-title {
    flex: 1;
    color: #ffffff;
    font-weight: 500;
}

.song-duration {
    color: #b3b3b3;
    font-size: 0.9rem;
}

/* Audio controls */
.audio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.control-button {
    background: #1db954;
    border: none;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.control-button:hover {
    background: #1ed760;
    transform: scale(1.1);
}

.control-button:disabled {
    background: #535353;
    cursor: not-allowed;
    transform: none;
}

.progress-container {
    flex: 1;
    max-width: 400px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: #1db954;
    border-radius: 3px;
    transition: width 0.1s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #b3b3b3;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 30px 0;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .artists-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .artist-card {
        padding: 20px;
    }
    
    .audio-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .progress-container {
        max-width: 100%;
    }
}

/* Loading animation */
.loading {
    text-align: center;
    padding: 40px;
    color: #b3b3b3;
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #1db954;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 