/* Genius-style Lyrics Formatting */

/* Lyrics Container */
.lyrics-container {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    padding-bottom: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Section Headers */
.section-header {
    font-weight: 600;
    color: #9CA3AF; /* gray-400 */
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Lyrics Lines */
.lyrics-line {
    margin-bottom: 0.25rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.lyrics-line:hover {
    background-color: rgba(59, 130, 246, 0.1); /* blue-500 with opacity */
    color: #fff;
}

/* Highlighted Lines */
.lyrics-line.highlight {
    background-color: rgba(245, 158, 11, 0.1); /* amber-500 with opacity */
    color: #F59E0B; /* amber-500 */
    font-weight: 500;
}

/* Lyrics Sections */
.lyrics-section {
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

/* Special Sections (Chorus, Hook) */
.lyrics-section.chorus, 
.lyrics-section.hook {
    background-color: rgba(55, 65, 81, 0.5); /* gray-700 with opacity */
    padding: 1rem;
    border-left: 3px solid #3B82F6; /* blue-500 */
}

/* Verification Badge */
.verification-badge {
    display: flex;
    align-items: center;
    background-color: #111827; /* gray-900 */
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.verification-badge .badge-icon {
    background-color: #F59E0B; /* amber-500 */
    color: #111827; /* gray-900 */
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.verification-badge .badge-text {
    color: #F59E0B; /* amber-500 */
    font-weight: 500;
}

/* Lyrics Footer */
.lyrics-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #374151; /* gray-700 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #9CA3AF; /* gray-400 */
}

/* Interactive Elements */
.lyrics-action-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.lyrics-action-button {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: #374151; /* gray-700 */
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}

.lyrics-action-button:hover {
    background-color: #4B5563; /* gray-600 */
}

.lyrics-action-button svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.375rem;
}

/* Line Selection Styles */
.lyrics-line.selected {
    background-color: rgba(59, 130, 246, 0.2); /* blue-500 with more opacity */
    color: #60A5FA; /* blue-400 */
    font-weight: 500;
}

/* Annotation Styles */
.annotation-marker {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    background-color: #3B82F6; /* blue-500 */
    color: white;
    border-radius: 9999px;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.25rem;
    margin-left: 0.5rem;
    cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .lyrics-container {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .lyrics-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .lyrics-action-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

/* Animations */
@keyframes highlightPulse {
    0% { background-color: rgba(245, 158, 11, 0.1); }
    50% { background-color: rgba(245, 158, 11, 0.2); }
    100% { background-color: rgba(245, 158, 11, 0.1); }
}

.lyrics-line.highlight-pulse {
    animation: highlightPulse 2s infinite;
}

/* Accessibility */
.lyrics-line:focus {
    outline: 2px solid #3B82F6; /* blue-500 */
    outline-offset: 2px;
}
