.lyrics-layer {
    overflow: hidden;
    max-width: 800px;
    width: 100%;
    text-align: center;
    padding: 0px;
    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.2),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.lyrics-layer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0, 255, 255, 0.1) 50%,
        transparent 100%
    );
    animation: glitch 10s linear infinite;
    pointer-events: none;
}


.lyrics-container {
    background: transparent;
    padding: 30px;
    border-radius: 10px;
    margin: 0;
    height: 200px;
    overflow-y: hidden;
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-blue) rgba(0,0,0,0.2);
}

.lyrics-container::-webkit-scrollbar {
    width: 6px;
}

.lyrics-container::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}

.lyrics-container::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--neon-blue);
}

.lyrics-line {
    margin: 20px 0;
    font-size: 1.2em;
    opacity: 0.7;
    transition: all 0.5s cubic-bezier(0.3, 0, 0.2, 1);
    padding: 15px;
    border-radius: 8px;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
    transform: perspective(1000px) translateZ(0);
    transform-style: preserve-3d;
}

.lyrics-line.active {
    color: var(--neon-green);
    font-size: 2em;  /* 更大的字體 */
    font-weight: bold;
    opacity: 1;
    background: rgba(0, 255, 153, 0.15);
    border: 1px solid rgba(0, 255, 153, 0.4);
    text-shadow: 
        0 0 5px var(--neon-green),
        0 0 10px var(--neon-green),
        0 0 20px var(--neon-green);
    transform: 
        perspective(1000px)
        translateZ(100px) 
        scale(1.2)       
        rotateX(5deg);    
    letter-spacing: 2px;
    /*box-shadow: 
        0 10px 30px rgba(0, 255, 153, 0.2),
        0 0 20px rgba(0, 255, 153, 0.3);*/
}