.lyrics-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 25px;
    margin-bottom: 30px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lyrics-header.color-loaded {
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lyrics-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
    transition: all 1s ease;
}

.lyrics-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0.4;
    pointer-events: none;
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.1); opacity: 0.5; }
}

/* Loading Overlay */
.color-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease;
    pointer-events: none;
    z-index: 10;
}

.color-loading-overlay.hidden {
    opacity: 0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

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

/* Header Content */
.header-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.lyrics-image {
    flex-shrink: 0;
    width: 220px;
}

.lyrics-thumbnail {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lyrics-thumbnail:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 8px 16px rgba(0,0,0,0.3);
}

.lyrics-thumbnail.placeholder {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 52px;
    font-weight: bold;
    border: 3px dashed rgba(255,255,255,0.3);
}

.header-info {
    flex: 1;
    min-width: 0;
}

.lyrics-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 24px 0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    line-height: 1.1;
    word-wrap: break-word;
    transition: all 1s ease;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Meta Information Styling */
.lyrics-meta {
    margin-bottom: 30px;
}

@media (min-width: 768px) {
  .meta-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .meta-info {
    display: none;
  }
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 15px;
    line-height: 1.5;
}

.meta-label {
    color: rgba(255,255,255,0.95);
    min-width: 90px;
    font-weight: 700;
    flex-shrink: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 1s ease;
}

.meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Enhanced Meta Tags */
.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), inset 0 1px 2px rgba(255,255,255,0.1);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.meta-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.meta-tag:hover::before {
    left: 100%;
}

.tag-icon {
    font-size: 14px;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
}

.tag-text {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Taxonomy Specific Colors */
.artist-tag {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.artist-tag:hover {
    background: linear-gradient(135deg, #45a049 0%, #388e3c 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4), inset 0 1px 2px rgba(255,255,255,0.2);
}

.lyricist-tag {
    background: linear-gradient(135deg, #FF9800 0%, #f57c00 100%);
    color: white;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.lyricist-tag:hover {
    background: linear-gradient(135deg, #f57c00 0%, #ef6c00 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4), inset 0 1px 2px rgba(255,255,255,0.2);
}

.musician-tag {
    background: linear-gradient(135deg, #9C27B0 0%, #7b1fa2 100%);
    color: white;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.musician-tag:hover {
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4), inset 0 1px 2px rgba(255,255,255,0.2);
}

.album-tag {
    background: linear-gradient(135deg, #009688 0%, #00695c 100%);
    color: white;
    border: 1px solid rgba(0, 150, 136, 0.3);
}

.album-tag:hover {
    background: linear-gradient(135deg, #00695c 0%, #004d40 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 150, 136, 0.4), inset 0 1px 2px rgba(255,255,255,0.2);
}

.genre-tag {
    background: linear-gradient(135deg, #E91E63 0%, #c2185b 100%);
    color: white;
    border: 1px solid rgba(233, 30, 99, 0.3);
}

.genre-tag:hover {
    background: linear-gradient(135deg, #c2185b 0%, #ad1457 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4), inset 0 1px 2px rgba(255,255,255,0.2);
}

/* Light Theme Adjustments */
.lyrics-header.light-theme {
    color: #2c3e50 !important;
}

.lyrics-header.light-theme::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(0,0,0,0.05) 100%) !important;
}

.lyrics-header.light-theme .lyrics-title {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8) !important;
}

.lyrics-header.light-theme .meta-label {
    color: rgba(0,0,0,0.9) !important;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8) !important;
}

.lyrics-header.light-theme .lyrics-thumbnail {
    border: 4px solid rgba(0,0,0,0.1) !important;
}

.lyrics-header.light-theme .lyrics-thumbnail.placeholder {
    background: rgba(0,0,0,0.1) !important;
    color: #2c3e50 !important;
    border: 3px dashed rgba(0,0,0,0.2) !important;
}

/* Actions Section */
.lyrics-actions {
    margin-top: 25px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
}

.favorite-btn {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.favorite-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.favorite-btn .heart {
    font-size: 18px;
    color: #ff6b6b;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
}

.rating-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.current-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.rating-label {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    transition: all 1s ease;
}

.rating-value {
    color: #ffd700;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-size: 16px;
}

.vote-count {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    transition: all 1s ease;
}

.rate-lyrics {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rate-label {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 600;
    transition: all 1s ease;
}

.stars {
    display: flex;
    gap: 4px;
}

.star {
    color: rgba(255,255,255,0.3);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
}

.star:hover,
.star.active {
    color: #ffd700;
    transform: scale(1.2);
}

/* Light Theme Actions */
.lyrics-header.light-theme .rating-label,
.lyrics-header.light-theme .vote-count,
.lyrics-header.light-theme .rate-label {
    color: rgba(0,0,0,0.8) !important;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8) !important;
}

.lyrics-header.light-theme .favorite-btn {
    background: rgba(0,0,0,0.15) !important;
    color: #2c3e50 !important;
    border: 2px solid rgba(0,0,0,0.2) !important;
}

.lyrics-header.light-theme .favorite-btn:hover {
    background: rgba(0,0,0,0.25) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lyrics-header {
        padding: 25px 18px;
        border-radius: 12px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 25px;
        align-items: center;
        text-align: center;
    }
    
    .lyrics-image {
        width: 180px;
    }
    
    .lyrics-thumbnail {
        width: 180px;
        height: 180px;
    }
    
    .lyrics-thumbnail.placeholder {
        font-size: 40px;
    }
    
    .header-info {
        width: 100%;
    }
    
    .lyrics-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .meta-item {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }
    
    .meta-label {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .meta-tags {
        justify-content: center;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 18px;
        align-items: center;
        width: 100%;
    }
    
    .rating-section {
        align-items: center;
        text-align: center;
    }
    
    .current-rating {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .lyrics-header {
        padding: 20px 15px;
    }
    
    .lyrics-image {
        width: 140px;
    }
    
    .lyrics-thumbnail {
        width: 140px;
        height: 140px;
    }
    
    .lyrics-title {
        font-size: 1.9rem;
    }
    
    .meta-tag {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .tag-icon {
        font-size: 12px;
    }
    
    .favorite-btn .btn-text {
        display: none;
    }
    
    .favorite-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
}
/* NEW: Lyrics Viewer Styles */
.lyrics-viewer {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: 2rem 0;
    overflow: hidden;
}

.lyrics-controls {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    color: white;
}

.main-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.main-tab-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.main-tab-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.main-tab-btn.active {
    background: white;
    color: #667eea;
    border-color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tab-icon {
    font-size: 1.2rem;
}

.translation-selector {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.translation-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: white;
}

.translation-selector select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23333" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.lyrics-display {
    min-height: 400px;
}

.tab-content {
    display: none;
    padding: 0;
}

.tab-content.active {
    display: block;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 2px solid #f8f9fa;
    background: #fdfdfd;
}

.content-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    font-size: 1.4rem;
}

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

.content-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.language-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.language-badge.original {
    background: #e74c3c;
    color: white;
}

.language-badge.translation {
    background: #27ae60;
    color: white;
}

.translator-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: #f39c12;
    color: white;
    font-size: 0.8rem;
}

/* Enhanced Lyrics Text Styles */
.lyrics-text {
    line-height: 1.9;
    white-space: pre-wrap;
    word-wrap: break-word;
    padding: 2.5rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.2rem;
    color: #2c3e50;
    direction: auto;
    text-align: start;
    unicode-bidi: plaintext;
    margin: 0;
}

.original-lyrics {
    background: #f8f9fa;
    border-left: 5px solid #e17055;
}

.translation-lyrics {
    background: #f8f9fa;
    border-left: 5px solid #00b894;
}

.translation-notes {
    margin: 0 2rem 2rem 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.notes-header {
    background: #f39c12;
    color: white;
    padding: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notes-icon {
    font-size: 1.2rem;
}

.notes-content {
    background: #fff8e1;
    padding: 1.5rem;
    border-left: 4px solid #f39c12;
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Enhanced Section Styles */
.section-icon {
    margin-right: 0.5rem;
}

/* YouTube Section */
.youtube-container {
    margin: 2rem 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.youtube-container h3 {
    margin: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Audio Section */
.audio-section {
    margin: 2rem 0;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.audio-section h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.audio-grid {
    display: grid;
    gap: 1.5rem;
}

.audio-player {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #6c5ce7;
}

.audio-player h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
}

.audio-player audio {
    width: 100%;
    height: 40px;
}

/* Metadata Section */
.lyrics-metadata {
    margin: 3rem 0;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.lyrics-metadata h3 {
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.metadata-section h4 {
    color: #2c3e50;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
    font-size: 1.2rem;
}

.metadata-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s;
}

.metadata-item:hover {
    transform: translateX(5px);
}

.metadata-item a {
    text-decoration: none;
    color: #3498db;
    font-weight: 600;
}

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

.metadata-item p {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: #666;
}

/* Actions and Ratings */
.lyrics-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.favorite-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.favorite-btn:hover,
.favorite-btn.favorited {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.rating-container {
    text-align: right;
}

.current-rating {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.rate-lyrics {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    cursor: pointer;
    color: #ddd;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.star:hover,
.star.active {
    color: #f39c12;
}

/* Social Sharing */
.lyrics-footer {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    border-radius: 15px;
    text-align: center;
    color: white;
}

.lyrics-footer h4 {
    margin: 0 0 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-buttons a {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
}

.share-buttons a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Related Lyrics */
.related-lyrics {
    margin: 3rem 0;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.related-lyrics h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-radius: 10px;
    transition: all 0.3s;
    border-left: 4px solid #fd79a8;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(253, 121, 168, 0.3);
}

.related-item h4 {
    margin: 0 0 0.5rem 0;
}

.related-item a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
}

.related-item a:hover {
    color: #e84393;
}

.related-meta {
    font-size: 0.9rem;
    color: #636e72;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .metadata-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .lyrics-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .lyrics-actions {
        align-items: flex-start;
        width: 100%;
    }
    
    .main-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .main-tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .content-meta {
        flex-wrap: wrap;
    }
    
    .lyrics-text {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
    
    .translation-notes {
        margin: 0 1rem 1rem 1rem;
    }
    
    .notes-content {
        padding: 1rem;
    }
    
    .metadata-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .audio-grid {
        gap: 1rem;
    }
    
    .audio-player {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .lyrics-content,
    .lyrics-metadata,
    .related-lyrics,
    .audio-section {
        margin: 1.5rem 0;
    }
    
    .lyrics-text {
        padding: 1rem;
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .content-header {
        padding: 1rem;
    }
    
    .content-header h3 {
        font-size: 1.2rem;
    }
    
    .main-tab-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .translation-selector {
        padding: 0.75rem;
    }
    
    .translation-selector select {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* RTL Language Support */
[dir="rtl"] .lyrics-text,
[dir="rtl"] .notes-content {
    text-align: right;
    direction: rtl;
}

/* Print Styles */
@media print {
    .lyrics-actions,
    .lyrics-footer,
    .related-lyrics,
    .lyrics-controls {
        display: none;
    }
    
    .lyrics-text {
        background: transparent !important;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    
    .lyrics-viewer {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}