/* --- Global Terminal Styles --- */
body {
    background-color: #0a0a0a !important;
    color: #00FF41 !important;
    font-family: 'VT323', monospace !important;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Phosphor Glow Effect */
h1, h2, h3, p, a {
    color: #00FF41;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.7), 0 0 10px rgba(0, 255, 65, 0.5);
}

a:hover {
    background: #00FF41;
    color: #0a0a0a;
    text-shadow: none;
}

/* --- CRT Scanline Overlay --- */
body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    ), linear-gradient(
        90deg, 
        rgba(255, 0, 0, 0.06), 
        rgba(0, 255, 0, 0.02), 
        rgba(0, 0, 255, 0.06)
    );
    z-index: 9999;
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
}

/* --- The Screen Flicker Animation --- */
@keyframes flicker {
    0% { opacity: 0.97; }
    5% { opacity: 0.95; }
    10% { opacity: 0.9; }
    15% { opacity: 0.95; }
    20% { opacity: 0.98; }
    100% { opacity: 1; }
}

body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(18, 16, 16, 0.1);
    opacity: 0;
    z-index: 10000;
    pointer-events: none;
    animation: flicker 0.15s infinite;
}

/* --- Simple Terminal Borders --- */
.container, article, .widget, .wp-block-group {
    border: 1px solid #00FF41;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.2);
}
