/* lyrics.css - Lyrics Page Styles */

.lyrics-page {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.lyrics-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px 30px;
    color: white;
    text-align: center;
}

.lyrics-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    word-break: break-word;
}

.lyrics-header .artist {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Artist Link Style */
.artist-link {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.artist-link:hover {
    color: #ff6b5c;
    text-decoration: underline;
}

.lyrics-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 25px;
    background: #f8f9fa;
    border-bottom: 2px solid #eee;
}

.lyrics-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

.share-btn.fb {
    background: #1877f2;
    color: white;
}

.share-btn.fb:hover {
    background: #166fe5;
}

.share-btn.x {
    background: #000000;
    color: white;
}

.share-btn.x:hover {
    background: #1a1a1a;
}

.share-icon {
    font-size: 0.9rem;
}

.lyrics-container {
    padding: 30px;
    background: #fafafa;
}

.lyrics-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #eee;
}

.lyrics-content .lyric-paragraph {
    margin-bottom: 12px;
}

.lyrics-content .lyric-line {
    display: block;
    line-height: 1.6;
}

.no-lyrics {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

/*  Ad Container Styles */
.ad-container {
    margin: 20px auto;
    text-align: center;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 10px;
}

.ad-top {
    margin-top: 0;
    margin-bottom: 20px;
}

.ad-bottom {
    margin-top: 20px;
    margin-bottom: 0;
}

/* Related Songs Section */
.related-section {
    max-width: 900px;
    margin: 25px auto 0;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eee;
}

.related-header {
    padding: 20px 25px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.related-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
}

.related-header .artist-link {
    font-size: 1rem;
}

.related-song {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 25px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.related-song:last-child {
    border-bottom: none;
}

.related-song:hover {
    background: #fafafa;
}

.related-song-info {
    flex: 1;
}

.related-song-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.related-song-artist {
    font-size: 0.75rem;
    color: #999;
}

.related-view-btn {
    background: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.65rem;
    cursor: pointer;
    margin-left: 12px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.related-view-btn:hover {
    background: #e74c3c;
    color: white;
}

/* Responsive Styles — Tablet */
@media (max-width: 768px) {
    .lyrics-header {
        padding: 25px 20px;
    }
    .lyrics-header h1 {
        font-size: 1.5rem;
    }
    .lyrics-header .artist {
        font-size: 0.95rem;
    }
    .lyrics-title-bar {
        padding: 12px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .lyrics-title {
        font-size: 1rem;
    }
    .share-btn {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
    .share-icon {
        font-size: 0.8rem;
    }
    .lyrics-container {
        padding: 15px;
    }
    .lyrics-content {
        font-size: 0.85rem;
        padding: 20px;
    }
    .ad-container {
        margin: 15px auto;
        padding: 8px;
    }
    .ad-top {
        margin-bottom: 15px;
    }
    .ad-bottom {
        margin-top: 15px;
    }
    .related-header {
        padding: 15px 20px;
    }
    .related-header h3 {
        font-size: 1rem;
    }
    .related-song {
        padding: 10px 20px;
    }
    .related-song-name {
        font-size: 0.85rem;
    }
    .related-view-btn {
        padding: 3px 10px;
        font-size: 0.6rem;
    }
}

/* Responsive Styles – Mobile */
@media (max-width: 480px) {
    .lyrics-header h1 {
        font-size: 1.2rem;
    }
    .lyrics-header .artist {
        font-size: 0.85rem;
    }
    .lyrics-title-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .share-buttons {
        width: 100%;
        justify-content: flex-start;
    }
    .lyrics-content {
        font-size: 0.8rem;
        padding: 15px;
    }
    .ad-container {
        padding: 6px;
    }
    .related-song {
        flex-wrap: wrap;
        padding: 10px 15px;
    }
    .related-song-info {
        flex: 1;
        min-width: 0;
    }
    .related-view-btn {
        margin-left: auto;
        margin-top: 0;
    }
}


.lyrics-content .lyric-line {
    word-break: break-word;
    white-space: normal;
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    border: 1px solid #eee;
}

.empty-state p {
    color: #999;
    margin-bottom: 20px;
}

/* Loading Status */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

/* Page Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lyrics-page,
.related-section {
    animation: fadeIn 0.3s ease-out;
}