.crt-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 15;
    will-change: opacity;
    transform: translateZ(0);
}

.crt-overlay {
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
    background: radial-gradient(circle at center, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
}

.scanlines {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.2)
    );
    background-size: 100% 4px;
    pointer-events: none;
    transform: translateZ(0);
}

.crt-refresh-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12vh;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.01) 20%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.01) 80%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 2;

    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: refresh-roll 8s linear infinite;
}

@keyframes refresh-roll {
    0% { transform: translate3d(0, -50vh, 0); }
    100% { transform: translate3d(0, 150vh, 0); }
}
