body {
    background: #000;
    color: #39ff14;
    font-family: 'Share Tech Mono', monospace, 'Courier New', Courier;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow: hidden;
}

canvas#matrix-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.glitch-title {
    font-size: 2.5rem;
    color: #39ff14;
    text-shadow: 0 0 8px #39ff14, 0 0 20px #39ff14, 0 0 40px #39ff14;
    font-family: 'Share Tech Mono', monospace;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    animation: glitch 1.5s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% { text-shadow: 2px 0 red, -2px 0 #39ff14; }
    20% { text-shadow: -2px 0 red, 2px 0 #39ff14; }
    40% { text-shadow: 2px 2px red, -2px -2px #39ff14; }
    60% { text-shadow: -2px -2px red, 2px 2px #39ff14; }
    80% { text-shadow: 2px 0 red, -2px 0 #39ff14; }
    100% { text-shadow: 0 0 8px #39ff14, 0 0 20px #39ff14; }
}

.form-container, .results-container {
    background: rgba(0,0,0,0.85);
    border: 2px solid #39ff14;
    border-radius: 12px;
    box-shadow: 0 0 20px #39ff14, 0 0 40px #222 inset;
    max-width: 420px;
    margin: 2rem auto;
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    z-index: 2;
    position: relative;
}

label {
    color: #39ff14;
    font-size: 1.1rem;
    margin-top: 1rem;
    display: block;
    text-shadow: 0 0 4px #39ff14;
}

input, select, textarea {
    width: 100%;
    background: #111;
    color: #39ff14;
    border: 1px solid #39ff14;
    border-radius: 6px;
    padding: 0.6rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-family: inherit;
    box-shadow: 0 0 8px #39ff14 inset;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
    border: 1.5px solid #fff;
    box-shadow: 0 0 12px #39ff14, 0 0 8px #fff inset;
}

.glow-btn {
    background: #000;
    color: #39ff14;
    border: 2px solid #39ff14;
    border-radius: 8px;
    padding: 0.7rem 2rem;
    font-size: 1.2rem;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 0 12px #39ff14, 0 0 24px #39ff14 inset;
    text-shadow: 0 0 8px #39ff14;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.glow-btn:hover {
    background: #39ff14;
    color: #000;
    box-shadow: 0 0 24px #39ff14, 0 0 48px #39ff14 inset;
}

.results-output pre {
    background: #111;
    color: #39ff14;
    border: 1px solid #39ff14;
    border-radius: 6px;
    padding: 1rem;
    font-size: 1rem;
    overflow-x: auto;
    box-shadow: 0 0 8px #39ff14 inset;
}

.glow {
    color: #39ff14;
    text-shadow: 0 0 8px #39ff14, 0 0 20px #39ff14;
}

.hidden {
    display: none;
}

.console-tab {
    background: rgba(0,0,0,0.92);
    border: 2px solid #39ff14;
    border-radius: 10px;
    box-shadow: 0 0 10px #39ff14, 0 0 20px #222 inset;
    max-width: 600px;
    margin: 1.5rem auto 2rem auto;
    padding: 0;
    z-index: 2;
    position: relative;
    font-family: 'Share Tech Mono', monospace, 'Courier New', Courier;
}
.console-header {
    background: #111;
    color: #39ff14;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #39ff14;
    border-radius: 8px 8px 0 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.console-log {
    background: transparent;
    color: #39ff14;
    padding: 1rem;
    min-height: 120px;
    max-height: 220px;
    overflow-y: auto;
    font-size: 1rem;
    border-radius: 0 0 8px 8px;
    white-space: pre-wrap;
    word-break: break-all;
    box-shadow: none;
}

@media (max-width: 600px) {
    .form-container, .results-container {
        max-width: 98vw;
        padding: 1rem 0.5rem;
    }
    .glitch-title {
        font-size: 1.5rem;
    }
}
