/* ===================================
   LYRICS BUTTON
   =================================== */

#lyricsButtonContainer {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.lyrics-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #E53935;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.lyrics-button:hover {
    background: #C62828;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.lyrics-button i {
    font-size: 18px;
}

/* ===================================
   LYRICS MODAL
   =================================== */

.lyrics-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lyrics-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    background: #1A1A1A;
    border-radius: 20px;
    border: 3px solid #00FFFF;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.6), 0 0 60px rgba(0, 255, 0, 0.4);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.lyrics-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(229, 57, 53, 0.9);
    border: 2px solid #E53935;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lyrics-close-btn:hover {
    background: #C62828;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(229, 57, 53, 0.8);
}

/* Header */
.lyrics-header {
    padding: 30px 30px 20px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    text-align: center;
}

.lyrics-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.3;
}

.lyrics-header p {
    font-size: 18px;
    color: #B3B3B3;
    font-weight: 500;
}

/* Lyrics Container */
.lyrics-container {
    flex: 1;
    overflow-y: auto;
    padding: 40px 30px;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.lyrics-container::-webkit-scrollbar {
    width: 8px;
}

.lyrics-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.lyrics-container::-webkit-scrollbar-thumb {
    background: #00FFFF;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.lyrics-container::-webkit-scrollbar-thumb:hover {
    background: #00FF00;
}

/* Lyric Lines */
.lyric-line {
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
    margin: 16px 0;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #B3B3B3;
}

.lyric-line.upcoming {
    color: #B3B3B3;
    opacity: 0.6;
}

.lyric-line.current {
    color: #E53935;
    font-size: 22px;
    font-weight: 700;
    transform: scale(1.05);
    background: rgba(229, 57, 53, 0.1);
    border: 2px solid #E53935;
    box-shadow: 0 0 20px rgba(229, 57, 53, 0.4);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(229, 57, 53, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(229, 57, 53, 0.6);
    }
}

.lyric-line.past {
    color: #757575;
    opacity: 0.5;
}

/* Loading State */
.lyrics-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 60px 20px;
    color: #00FFFF;
}

.lyrics-loading i {
    font-size: 48px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.lyrics-loading p {
    font-size: 16px;
    font-weight: 600;
}

/* Error State */
.lyrics-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 60px 20px;
    color: #E53935;
}

.lyrics-error i {
    font-size: 48px;
}

.lyrics-error p {
    font-size: 16px;
    font-weight: 600;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .lyrics-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .lyrics-header {
        padding: 25px 20px 15px;
    }
    
    .lyrics-header h2 {
        font-size: 20px;
    }
    
    .lyrics-header p {
        font-size: 16px;
    }
    
    .lyrics-container {
        padding: 30px 20px;
    }
    
    .lyric-line {
        font-size: 16px;
        padding: 10px 15px;
    }
    
    .lyric-line.current {
        font-size: 20px;
    }
    
    .lyrics-close-btn {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .lyrics-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .lyrics-button i {
        font-size: 16px;
    }
    
    .lyrics-header h2 {
        font-size: 18px;
    }
    
    .lyrics-header p {
        font-size: 14px;
    }
    
    .lyric-line {
        font-size: 15px;
        margin: 12px 0;
    }
    
    .lyric-line.current {
        font-size: 18px;
    }
}

/* ===================================
   TOUCH GESTURES (MOBILE)
   =================================== */

@media (max-width: 768px) {
    .lyrics-modal-content {
        touch-action: pan-y;
    }
    
    .lyrics-container {
        -webkit-overflow-scrolling: touch;
    }
}
