/* ==========================================================================
   1. GLOBAL TERMINAL ENVIRONMENT
   ========================================================================== */
body {
    background-color: #0b0f19;
    font-family: 'Courier New', Courier, monospace;
    color: #4af626;
    line-height: 1.6;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    overflow-x: hidden;
}

.terminal {
    background-color: #05070b;
    max-width: 700px;
    width: 100%;
    padding: 30px;
    border: 2px solid #33cc22;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(74, 246, 38, 0.2);
    position: relative;
    box-sizing: border-box;
}

/* CRT Scanline effect overlay */
.scanline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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));
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    z-index: 10;
}

/* ==========================================================================
   2. CRYPTIC TYPOGRAPHY & INTERFACES
   ========================================================================== */
.console-title {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 5px;
    text-shadow: 0 0 8px rgba(74, 246, 38, 0.6);
}

.sys-header {
    border-bottom: 2px dashed #33cc22;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.sys-status {
    font-size: 0.9rem;
    font-weight: bold;
}

.system-alert {
    color: #ffaa00;
    font-size: 0.9rem;
    border: 1px solid #ffaa00;
    padding: 10px;
    background: rgba(255, 170, 0, 0.05);
    margin-bottom: 25px;
}

h3 {
    color: #33cc22;
    font-size: 1.1rem;
    margin-top: 30px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

p {
    margin-top: 20px;
    margin-bottom: 20px;
}

em {
    color: #88ff88;
    font-style: italic;
}

/* ==========================================================================
   3. DATA DIRECTORY NODES & WEATHER WRAPPERS
   ========================================================================== */
.directory-list {
    background-color: #020305;
    padding: 15px;
    border: 1px solid #114411;
    margin-bottom: 25px;
}

.weather-text {
    font-size: 0.9rem;
    line-height: 1.4;
    white-space: pre-wrap;
}

/* ==========================================================================
   4. DATA ARCHIVE MANIFEST & RENDER ENGINE
   ========================================================================== */
.manifest-box {
    border: 1px solid #1f3322;
    padding: 15px;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

#ascii-screen {
    font-size: 7px;
    line-height: 5.5px;
    letter-spacing: 1px;
    white-space: pre;
    color: #ffffff;
    text-shadow: 0 0 2px #ffffff;
    background: #000;
    font-family: monospace;
    font-weight: bold;
    text-align: left;
}

.control-panel {
    text-align: center;
    margin-top: 10px;
}

.btn-terminal {
    background: transparent;
    border: 1px solid #4af626;
    color: #4af626;
    font-family: 'Courier New', monospace;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: bold;
}

.btn-terminal:hover {
    background: #4af626;
    color: #05070b;
    box-shadow: 0 0 10px #4af626;
}

/* ==========================================================================
   5. ANIMATIONS
   ========================================================================== */
.blink-fast {
    animation: blinker 0.8s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}