.crt-screen {
    background-color: #030d04;
    border: 4px solid #151a16;
    border-radius: 8px;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0,255,0,0.15);
    overflow: hidden;
}

.crt-screen::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.28) 50%);
    background-size: 100% 4px;
    z-index: 10;
    pointer-events: none;
    opacity: 0.85;
}

.crt-screen::after, .flicker-active::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 255, 50, 0.012);
    pointer-events: none;
    z-index: 11;
    animation: crt-flicker 0.15s infinite;
}

@keyframes crt-flicker {
    0% { opacity: 0.978; }
    50% { opacity: 0.992; }
    100% { opacity: 0.981; }
}

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