/* CRT-style container */
.crt-player {
    background: #001100;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px #00ff33;
    position: relative;
    overflow: hidden;
    margin: 20px;
    max-width: 600px;
}

/* Scanlines effect */
.crt-player::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 255, 51, 0.1) 50%, 
               rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    animation: scanline 6s linear infinite;
}

/* CRT flicker animation */
@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Custom controls */
.player-controls {
    position: relative;
    z-index: 1;
}

button {
    background: #003300;
    border: 1px solid #00ff33;
    color: #00ff33;
    padding: 8px 15px;
    cursor: pointer;
    text-shadow: 0 0 5px #00ff33;
    transition: all 0.3s;
    margin-bottom: 10px;
}

button:hover {
    background: #00ff33;
    color: #001100;
    box-shadow: 0 0 10px #00ff33;
}

progress {
    width: 100%;
    height: 5px;
    background: #002200;
    border: 1px solid #00ff33;
}

progress::-webkit-progress-value {
    background: #00ff33;
}
