/* Music Page Styles */

.music-header {
    text-align: center;
    margin-top: 15vh;
    margin-bottom: 4rem;
    color: white;
}

.music-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Funnel Display', sans-serif;
}

.music-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    font-family: 'Funnel Display', sans-serif;
    color: rgba(255, 255, 255, 0.8);
}

/* Music Sections */
.music-section {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.section-heading {
    color: white;
    font-size: 1.8rem;
    font-family: 'Funnel Display', sans-serif;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(232, 129, 127, 0.3);
}

/* Music Grid */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Music Cards */
.music-card {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(232, 129, 127, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(232, 129, 127, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.music-card:hover {
    background: rgba(232, 129, 127, 0.15);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.music-card.featured {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.music-card.placeholder {
    opacity: 0.5;
    border-style: dashed;
}

/* Music Artwork */
.music-artwork {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(232, 129, 127, 0.3), rgba(90, 51, 110, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.music-card.featured .music-artwork {
    width: 250px;
    min-width: 250px;
    aspect-ratio: auto;
}

.artwork-placeholder {
    font-size: 4rem;
}

/* Music Info */
.music-info {
    padding: 1.25rem;
}

.music-card.featured .music-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.track-title {
    color: white;
    font-size: 1.3rem;
    font-family: 'Funnel Display', sans-serif;
    margin-bottom: 0.25rem;
}

.track-artist {
    color: rgba(232, 129, 127, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.track-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.track-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.track-genre {
    color: #e8817f;
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    background: rgba(232, 129, 127, 0.15);
    border-radius: 12px;
}

.track-duration {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Music Player */
.music-player {
    margin-top: 1rem;
}

.play-btn {
    background: rgba(232, 129, 127, 0.3);
    border: 1px solid rgba(232, 129, 127, 0.4);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Funnel Display', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.play-btn:hover:not(:disabled) {
    background: rgba(232, 129, 127, 0.5);
    transform: scale(1.05);
}

.play-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Streaming Links */
.streaming-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.streaming-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(232, 129, 127, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(232, 129, 127, 0.18);
    color: white;
    text-decoration: none;
    font-family: 'Funnel Display', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.streaming-btn:hover {
    background: rgba(232, 129, 127, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.streaming-icon {
    font-size: 1.5rem;
}

.streaming-btn.spotify:hover { border-color: #1DB954; }
.streaming-btn.soundcloud:hover { border-color: #FF5500; }
.streaming-btn.youtube:hover { border-color: #FF0000; }
.streaming-btn.bilibili:hover { border-color: #00A1D6; }

/* Responsive */
@media (max-width: 768px) {
    .music-card.featured {
        flex-direction: column;
    }
    
    .music-card.featured .music-artwork {
        width: 100%;
        min-width: auto;
        aspect-ratio: 16/9;
    }
    
    .music-title {
        font-size: 2.5rem;
    }
    
    .streaming-links {
        flex-direction: column;
        align-items: center;
    }
    
    .streaming-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
