@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: #000;
    color: #00ff00;
    overflow: hidden;
}

/* CRT Screen Effect */
.crt-overlay {
    background: 
        linear-gradient(transparent 50%, rgba(0, 255, 0, 0.03) 50%),
        linear-gradient(90deg, transparent 50%, rgba(255, 0, 0, 0.01) 50%);
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    animation: flicker 0.15s infinite linear alternate;
}

@keyframes flicker {
    0% { opacity: 1; }
    98% { opacity: 1; }
    100% { opacity: 0.98; }
}

/* Terminal Glow Effect */
.terminal-glow {
    text-shadow: 0 0 10px currentColor;
    background: radial-gradient(ellipse at center, rgba(0, 20, 0, 0.9) 0%, rgba(0, 0, 0, 1) 100%);
}

/* Cursor Animation */
.cursor {
    animation: blink 1s infinite;
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

/* Button Hover Effects */
button:hover {
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

/* Input Field Styling */
input[type="text"] {
    caret-color: #00ff00;
}

input[type="text"]:focus {
    text-shadow: 0 0 5px #00ff00;
}

/* Phosphor Glow */
* {
    text-shadow: 0 0 2px currentColor;
}

/* Scanlines */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 50%, rgba(0, 255, 0, 0.01) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1000;
}

/* Terminal Screen Curvature Simulation */
.terminal-glow {
    border-radius: 2px;
    box-shadow: 
        inset 0 0 50px rgba(0, 255, 0, 0.1),
        0 0 20px rgba(0, 0, 0, 0.5);
}