/* Reset & Base */
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #0F0;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Canvas Background */
canvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.8;
}

/* Container */
.terminal-container {
    position: relative;
    z-index: 10;
    background: rgba(0, 10, 0, 0.9);
    border: 1px solid #0F0;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    border-radius: 4px;
}

/* Typography */
h1 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 0 5px #0F0;
}

.subtitle {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 2rem;
    border-bottom: 1px solid #004400;
    padding-bottom: 0.5rem;
}

/* Inputs */
.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    font-weight: bold;
}

input {
    width: 100%;
    background: #000;
    border: 1px solid #004400;
    color: #0F0;
    padding: 10px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    border-color: #0F0;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

/* Button */
.submit-btn {
    width: 100%;
    background: #002200;
    color: #0F0;
    border: 1px solid #0F0;
    padding: 12px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.submit-btn:hover {
    background: #0F0;
    color: #000;
    box-shadow: 0 0 15px #0F0;
}

/* Console Output */
.console-output {
    background: #000;
    border: 1px dashed #004400;
    padding: 1rem;
    margin-bottom: 2rem;
    min-height: 60px;
    font-size: 0.9rem;
}

.prefix { color: #0F0; font-weight: bold; margin-right: 5px; }
.label { color: #FFF; font-weight: bold; }

.alert.success { color: #0F0; }
.alert.error { color: #F00; text-shadow: 0 0 3px #F00; }

.result-link {
    color: #FFF;
    text-decoration: none;
    background: #004400;
    padding: 2px 5px;
}

.copy-btn {
    background: transparent;
    border: none;
    color: #0F0;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.7rem;
    margin-left: 10px;
    text-decoration: underline;
}

.copy-btn:hover { color: #FFF; }

.captcha-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.7rem;
    opacity: 0.5;
}

.footer a { color: #0F0; text-decoration: none; }
