:root {
    --neon-green: #39ff14;
    --crt-bg: #050505;
    --glow: 0 0 10px rgba(57, 255, 20, 0.7);
}

body {
    background-color: var(--crt-bg);
    color: var(--neon-green);
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    animation: flicker 0.15s infinite;
}

/* Scanline Effect */
body::before {
    content: " ";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.2) 50%);
    background-size: 100% 4px;
    z-index: 100;
    pointer-events: none;
}

@keyframes flicker {
    0% { opacity: 0.98; }
    5% { opacity: 0.95; }
    15% { opacity: 0.99; }
    100% { opacity: 1; }
}

/* The New CSS Logo */
.terminal-logo {
    font-size: 2.5rem;
    font-weight: bold;
    border: 3px double var(--neon-green);
    padding: 10px 20px;
    margin-bottom: 10px;
    text-shadow: 0 0 15px var(--neon-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.status-bar { font-size: 0.8rem; margin-bottom: 30px; }

#log-container { width: 100%; max-width: 800px; display: flex; flex-direction: column; gap: 20px; }

.entry {
    border: 1px solid var(--neon-green);
    padding: 20px;
    background: rgba(5, 44, 5, 0.2);
    box-shadow: inset 0 0 15px rgba(57, 255, 20, 0.1);
}

.timestamp { font-size: 0.7rem; display: block; margin-bottom: 10px; border-bottom: 1px dashed var(--neon-green); }

.entry p { line-height: 1.6; font-size: 1.1rem; text-shadow: 0 0 5px var(--neon-green); }

/* Admin Styles */
.admin-box { border: 1px solid var(--neon-green); padding: 25px; width: 100%; max-width: 600px; }

.prompt::after { content: "_"; animation: blink 1s infinite; }

@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } }

textarea {
    width: 100%; background: #000; color: var(--neon-green);
    border: 1px solid var(--neon-green); padding: 15px; font-family: inherit;
}

button {
    background: var(--neon-green); color: black; border: none;
    padding: 10px 20px; font-weight: bold; cursor: pointer; text-transform: uppercase;
}

.nav-link { color: var(--neon-green); text-decoration: none; font-size: 0.9rem; }

@media (max-width: 600px) { .terminal-logo { font-size: 1.5rem; } }
