/* AFTER DWN - Scanline Pulse Effect */

.scanline-pulse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--signal-red);
    opacity: 0.7;
    z-index: 200;
    box-shadow: 0 0 10px var(--signal-red);
    animation: scanlinePulse 20s linear infinite;
    pointer-events: none;
}

@keyframes scanlinePulse {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    95% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(200vh);
        opacity: 0;
    }
}

/* Horizontal line divider */
.horizontal-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(185, 187, 194, 0),
        rgba(185, 187, 194, 0.5),
        rgba(185, 187, 194, 0)
    );
    margin: 2rem 0;
    position: relative;
}

.horizontal-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 1px;
    background-color: var(--violet-haze);
    opacity: 0.3;
    animation: dividerPulse 4s ease-in-out infinite alternate;
}

@keyframes dividerPulse {
    0% {
        left: 0;
        width: 30%;
    }
    100% {
        left: 70%;
        width: 30%;
    }
}

/* Enhanced scanlines effect */
.enhanced-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0px,
        rgba(0, 0, 0, 0) 1px,
        rgba(0, 0, 0, 0.1) 1px,
        rgba(0, 0, 0, 0.1) 2px
    );
    pointer-events: none;
    z-index: 102;
    opacity: 0.3;
    animation: scanlineFlicker 10s infinite;
}

@keyframes scanlineFlicker {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.2;
    }
    75% {
        opacity: 0.4;
    }
}
