/* Lyrics Display System Styles */

:root {
    --lyrics-bg: #0a0a0a;
    --lyrics-text: #ffffff;
    --lyrics-inactive: rgba(255, 255, 255, 0.3);
    --lyrics-active: #00ff41;
    --lyrics-glow: rgba(0, 255, 65, 0.6);
    --neon-cyan: #00d4ff;
    --neon-green: #00ff41;
}

/* Lyrics Hero Section */
.lyrics-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    padding: 100px 20px 40px;
    position: relative;
    overflow: hidden;
}

.lyrics-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 65, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.lyrics-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Lyrics Header */
.lyrics-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 0, 68, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #ff0044;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #ff0044;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px #ff0044;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.live-text {
    color: #ff0044;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 0, 68, 0.6);
}

.track-info {
    margin: 20px 0;
}

.track-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    color: var(--neon-cyan);
    margin: 0 0 10px 0;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    letter-spacing: 2px;
}

.track-artist {
    font-size: 24px;
    color: var(--neon-green);
    margin: 0;
    font-weight: 300;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.sync-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 15px;
}

.sync-status.synced {
    color: var(--neon-green);
}

.sync-status.synced i {
    animation: none;
}

/* Lyrics Display Area */
.lyrics-display {
    min-height: 400px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 212, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.lyrics-loading,
.lyrics-unavailable {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.lyrics-loading i,
.lyrics-unavailable i {
    font-size: 64px;
    color: var(--neon-cyan);
    margin-bottom: 20px;
    opacity: 0.5;
}

.lyrics-loading p,
.lyrics-unavailable p {
    font-size: 18px;
    margin-top: 10px;
}

.lyrics-unavailable h3 {
    color: #fff;
    font-size: 28px;
    margin: 20px 0 10px;
}

/* Lyrics Content */
.lyrics-content {
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
    scroll-behavior: smooth;
}

.lyrics-content::-webkit-scrollbar {
    width: 8px;
}

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

.lyrics-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green));
    border-radius: 10px;
}

.lyrics-line {
    font-size: 28px;
    line-height: 1.8;
    color: var(--lyrics-inactive);
    margin: 15px 0;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: default;
    text-align: center;
    font-weight: 400;
}

.lyrics-line.active {
    color: var(--lyrics-active);
    font-size: 36px;
    font-weight: 700;
    text-shadow: 
        0 0 20px var(--lyrics-glow),
        0 0 40px var(--lyrics-glow);
    background: rgba(0, 255, 65, 0.05);
    border-left: 4px solid var(--neon-green);
    transform: scale(1.05);
    animation: lineGlow 0.5s ease-out;
}

@keyframes lineGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(0, 255, 65, 0);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    }
}

.lyrics-line.upcoming {
    color: rgba(255, 255, 255, 0.5);
}

.lyrics-line.past {
    color: rgba(255, 255, 255, 0.2);
}

/* Section Headers in Lyrics */
.lyrics-section {
    font-size: 20px;
    color: var(--neon-cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 30px 0 20px;
    text-align: center;
    opacity: 0.7;
}

/* Progress Bar */
.lyrics-progress {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green));
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s linear;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.6);
}

.progress-time {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 300;
}

/* Controls */
.lyrics-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    background: rgba(0, 212, 255, 0.1);
    color: var(--neon-cyan);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    transform: scale(1.1);
}

.control-btn:active {
    transform: scale(0.95);
}

/* Font Size Variations */
.lyrics-content.font-small .lyrics-line {
    font-size: 20px;
}

.lyrics-content.font-small .lyrics-line.active {
    font-size: 26px;
}

.lyrics-content.font-large .lyrics-line {
    font-size: 36px;
}

.lyrics-content.font-large .lyrics-line.active {
    font-size: 44px;
}

/* Fullscreen Mode */
.lyrics-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    padding: 40px;
    background: #000;
    z-index: 9999;
    overflow-y: auto;
}

.lyrics-container.fullscreen .lyrics-display {
    min-height: 60vh;
}

.lyrics-container.fullscreen .lyrics-content {
    max-height: 70vh;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lyrics-hero {
        padding: 80px 15px 30px;
    }

    .track-title {
        font-size: 32px;
    }

    .track-artist {
        font-size: 18px;
    }

    .lyrics-display {
        padding: 20px;
    }

    .lyrics-line {
        font-size: 20px;
        padding: 10px 15px;
    }

    .lyrics-line.active {
        font-size: 26px;
    }

    .lyrics-content {
        max-height: 400px;
    }

    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .track-title {
        font-size: 24px;
    }

    .track-artist {
        font-size: 16px;
    }

    .lyrics-line {
        font-size: 18px;
    }

    .lyrics-line.active {
        font-size: 22px;
    }

    .lyrics-header {
        padding: 20px;
    }

    .lyrics-display {
        padding: 15px;
    }
}

/* Animation for line transitions */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lyrics-line {
    animation: slideIn 0.4s ease-out;
}
