body { 
    background: linear-gradient(to bottom, #333, #333 50%, #3a3a3a 50%, #3a3a3a); 
    background-size: 100% 4px; 
    color: #ffedcc; 
    text-shadow: 0 0 10px #ffa500; 
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5em; 
    padding: 0 0.25em; 
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 165, 0, 0.075) 0px,
            rgba(255, 192, 203, 0.05) 1px,
            transparent 1px,
            transparent 3px
        ),
        linear-gradient(
            45deg,
            transparent 49%,
            rgba(255,140,0,0.05) 50%,
            transparent 51%
        );
    animation: scan 5s linear infinite;
}

a, a:visited {
    color: #ffebcc;  /* Lightened amber to match ASCII art */
    text-decoration: none;
}

a:hover {
    color: #fff0f0;
    text-shadow: 0 0 15px #ff9999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.menu ul li a {
    background-color: #666;
    color: #ffd799;
    text-shadow: 0 0 10px #ffcc80;
}

.menu ul li a:hover {
    background-color: #588;
    color: #ffaaff;
    text-shadow: 0 0 15px #ff99ff;
}

.header {
    border: 1px solid #fec;
    border-radius: 5px;
    padding: 5px;
    width: 95%;
    margin: 5px auto;
}

.ascii-border pre {
    font-family: 'VT323', monospace;
    color: #ffebcc;
    text-align: center;
    margin: 0 auto;
    letter-spacing: -1px;
}

@keyframes scan {
    0% { transform: translateY(-100%) rotate(0.05deg); }
    100% { transform: translateY(100%) rotate(0.05deg); }
}