/* Clean, Lightweight Song Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 20px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
    font-size: 13px;
    color: #5f6368;
    margin-bottom: 16px;
}

.breadcrumb-item a {
    color: #1a73e8;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding: 0 6px;
    color: #5f6368;
}

.breadcrumb-item.current {
    color: #202124;
}

/* Grid Layout */
.row {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
}

.col-12 {
    grid-column: span 2;
}

.album-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

/* Album Details */
.album-details {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.album-cover-container {
    flex-shrink: 0;
}

.album-cover {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.album-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.album-title {
    font-size: 24px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.album-artist {
    font-size: 15px;
    color: #1a73e8;
}

.album-artist a {
    color: #1a73e8;
    text-decoration: none;
}

.album-artist a:hover {
    text-decoration: underline;
}

.album-meta {
    font-size: 14px;
    color: #5f6368;
    padding: 4px 0;
}

.album-meta .bd {
    font-weight: 500;
    color: #202124;
}

/* Reaction Buttons */
.reaction-container {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.like-btn {
    background-color: #1a73e8;
    color: #fff;
}

.dislike-btn {
    background-color: #5f6368;
    color: #fff;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
    opacity: 0.9;
}

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

.btn.user-voted {
    background-color: #34a853;
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.download-button {
    padding: 14px 24px;
    background-color: #5f6368;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.download-button:hover {
    background-color: #3c4043;
}

.download-button.high {
    background-color: #1a73e8;
}

.download-button.high:hover {
    background-color: #1557b0;
}

/* Song Player */
.song-player {
    margin-bottom: 24px;
}

.audio-play-trigger {
    width: 100%;
    padding: 14px 20px;
    border-radius: 6px;
    border: none;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.audio-play-trigger:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.audio-play-trigger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.audio-play-trigger.hidden {
    display: none;
}

.song-player audio {
    width: 100%;
    margin-top: 12px;
    border-radius: 6px;
}

.song-player audio[data-armed="false"] {
    opacity: 0.4;
    pointer-events: none;
}

/* Description */
.song-full-description {
    background-color: #f8f9fa;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #3c4043;
    line-height: 1.6;
}

/* Social Share */
.social-share {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.social-share .share-heading {
    font-weight: 600;
    font-size: 16px;
    color: #202124;
}

.social-share .share-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-share .share-btn {
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.social-share .share-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.social-share .share-btn.facebook {
    background: #1877f2;
}

.social-share .share-btn.whatsapp {
    background: #25d366;
}

.social-share .share-btn.pinterest {
    background: #e60023;
}

.social-share .share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* FAQ Section */
.song-faq {
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.song-faq h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #202124;
}

.song-faq .faq-item {
    margin-bottom: 12px;
}

.song-faq .faq-item h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #202124;
}

.song-faq .faq-item p {
    margin: 0;
    color: #5f6368;
    line-height: 1.5;
    font-size: 14px;
}

/* More Songs Section */
.more-songs {
    margin-bottom: 24px;
}

.more-songs h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #202124;
}

.more-songs ul {
    list-style: none;
    padding: 0;
}

.track-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.track-item:hover {
    background-color: #f1f3f4;
}

.track-info {
    flex: 1;
}

.track-title a {
    font-size: 15px;
    font-weight: 500;
    color: #202124;
    text-decoration: none;
}

.track-title a:hover {
    color: #1a73e8;
    text-decoration: underline;
}

.track-artist {
    color: #5f6368;
    font-size: 13px;
    margin-top: 2px;
}

.track-duration {
    color: #80868b;
    font-size: 13px;
    margin-left: 12px;
}

/* Right Sidebar */
.right-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 0;
    border: 1px solid #e0e0e0;
    align-self: start;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background-color: #5f6368;
    padding: 12px 16px;
    margin: 0;
    border-radius: 8px 8px 0 0;
}

.album-post {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    margin: 8px;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.album-post:hover {
    background-color: #f8f9fa;
}

.album-post-cover {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.album-post-details {
    flex: 1;
    min-width: 0;
}

.album-post-title a {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.album-post-title a:hover {
    color: #1a73e8;
    text-decoration: underline;
}

.album-post-artist {
    font-size: 13px;
    color: #5f6368;
}

/* Loading Spinner */
#download-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.loader-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #1a73e8;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Reaction Message */
.reaction-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 14px;
}

.reaction-message.success {
    background-color: #e6f4ea;
    color: #1e8e3e;
    border: 1px solid #34a853;
}

.reaction-message.error {
    background-color: #fce8e6;
    color: #c5221f;
    border: 1px solid #ea4335;
}

.reaction-message.info {
    background-color: #e8f0fe;
    color: #1967d2;
    border: 1px solid #1a73e8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .row {
        grid-template-columns: 1fr;
    }

    .col-12 {
        grid-column: span 1;
    }

    .right-sidebar {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 70px 16px 16px;
    }

    .album-details {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .album-cover {
        width: 180px;
        height: 180px;
    }

    .album-title {
        font-size: 20px;
    }

    .album-info {
        width: 100%;
    }

    .reaction-container {
        justify-content: center;
    }

    .breadcrumb {
        font-size: 12px;
        gap: 4px;
    }

    .social-share .share-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .album-cover {
        width: 160px;
        height: 160px;
    }

    .album-title {
        font-size: 18px;
    }

    .download-button {
        padding: 12px 20px;
        font-size: 15px;
    }

    .audio-play-trigger {
        padding: 12px 16px;
        font-size: 15px;
    }

    .album-post-cover {
        width: 70px;
        height: 70px;
    }
}
