/* css/song-page.css */

.song-page-container {
    /* Any specific container adjustments for song page */
}

/* --- Current Song Section --- */
.current-song-section {
    /* Uses .card-style from style.css by default */
    margin-bottom: 30px;
}

.current-song-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.current-song-cover-wrapper {
    flex-shrink: 0;
}

.current-song-cover {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}
.current-song-cover-placeholder {
    width: 180px;
    height: 180px;
    background-color: #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    border-radius: var(--border-radius-md);
    font-size: 0.9em;
}
.current-song-cover-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}
.current-song-cover-placeholder span {
    font-size: 1.1em;
}


.current-song-info {
    flex-grow: 1;
}
.current-song-info .song-title-main {
    font-size: 2em; /* Slightly smaller than album title */
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 8px;
    color: #2c3e50;
}
.current-song-info .album-meta {
    font-size: 1em;
    color: var(--light-text-color);
    margin-bottom: 12px;
}
.current-song-info .album-link {
    color: var(--primary-color);
    font-weight: 500;
}
.current-song-info .album-link:hover {
    color: darken(var(--primary-color), 10%);
}

.song-details-meta {
    font-size: 0.9em;
    color: var(--light-text-color);
    line-height: 1.7;
}
.song-details-meta span {
    display: block; /* Each item on a new line for clarity */
    margin-bottom: 4px;
}
.song-details-meta span:last-child {
    margin-bottom: 0;
}
.song-details-meta strong {
    color: #34495e;
    margin-right: 5px;
}

/* --- Current Song Page Actions --- */
.current-song-page-actions {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.current-song-page-actions .action-button { /* Inherits from style.css */
    padding: 12px 22px;
    font-size: 0.95em;
    border-radius: 50px; /* Pill shape */
}
.current-song-page-actions .action-button svg {
    width: 18px; height: 18px; margin-right: 8px;
}

.play-main-song-btn { background-color: var(--player-accent); }
.play-main-song-btn:hover { background-color: darken(var(--player-accent), 8%); }

.download-main-song-btn { background-color: var(--primary-color); }
.download-main-song-btn:hover { background-color: darken(var(--primary-color), 8%); }

.lyrics-main-song-btn { background-color: #95a5a6; } /* Cool Grey */
.lyrics-main-song-btn:hover { background-color: #7f8c8d; }

.description-main-song-btn { background-color: #e67e22; } /* Orange */
.description-main-song-btn:hover { background-color: #d35400; }


/* --- Collapsible Content (Lyrics, Description) --- */
.collapsible-content {
    /* Uses .card-style from style.css */
    margin-top: 20px; /* Space from button if opened directly after */
    padding: 20px;
    border-top: 3px solid var(--primary-color); /* Accent line */
}
.collapsible-content[hidden] {
    display: none;
}
.collapsible-content h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
}
.collapsible-content pre.lyrics-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-color);
    max-height: 400px; /* Prevent very long lyrics from taking too much space */
    overflow-y: auto; /* Add scroll for long lyrics */
    padding-right: 10px; /* Space for scrollbar */
}
.collapsible-content .description-text {
    line-height: 1.7;
    color: var(--text-color);
}
.collapsible-content .description-text p:last-child {
    margin-bottom: 0;
}

/* --- Album Tracks Section ("More from Album") --- */
.album-tracks-section {
    margin-top: 40px;
}
.section-header { /* For "More from Album" title */
    font-size: 1.7em;
    color: #2c3e50;
    border-bottom: 3px solid var(--player-accent);
    padding-bottom: 10px;
    margin-bottom: 25px;
}


/* Tablet and Desktop Adjustments */
@media (min-width: 768px) {
    .current-song-header {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    .current-song-cover-wrapper {
        margin-right: 25px;
    }
    .current-song-info .song-title-main {
        font-size: 2.4em;
    }
    .current-song-page-actions {
        justify-content: flex-start;
    }
    .song-details-meta span {
        display: inline-block; /* Side-by-side on larger screens */
        margin-right: 15px;
        margin-bottom: 0;
    }
}