/* --- VARIABLES & RESET --- */
:root {
    --bg: #0f1115;      /* Deep Cyber Dark */
    --card: #161b22;    /* Card Background */
    --text: #c9d1d9;    /* Soft Gray Text */
    --accent: #58a6ff;  /* Cyber Blue */
    --border: #30363d;  /* Subtle Borders */
}

body {
    background-color: var(--bg);
    color: var(--text);
    /* Font Stack: Rajdhani for structure */
    font-family: 'Rajdhani', sans-serif; 
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    line-height: 1.6;
}

/* --- LAYOUT CONTAINER --- */
.container {
    width: 100%;
    max-width: 500px; /* Constrains width on Desktop */
    padding: 2rem;
}

/* --- HEADER & LOGO --- */
header {
    font-family: 'Space Mono', monospace; 
    display: flex;
    flex-direction: column; /* Stack Logo on top of Status */
    align-items: center;    /* Center horizontally */
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.logo {
    /* SIZE CONTROL: Adjust this number to resize logo */
    max-width: 280px; 
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.95; 
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 15px rgba(88, 166, 255, 0.4));
}

.status { 
    color: #3fb950; 
    font-size: 0.75rem; 
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* --- TYPOGRAPHY --- */
h1 {
    font-family: 'Space Mono', monospace; 
    font-size: 2rem;
    line-height: 0.9;
    /* Soft Silver instead of blinding white */
    color: #d1d5db; 
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

p { 
    font-family: 'Space Mono', monospace;
    color: #8b949e; 
    margin-bottom: 3rem;
    font-size: 1.0rem;
    letter-spacing: 0.5px;
}

/* --- FORM ELEMENTS (The "Terminal" Look) --- */
.input-group { margin-bottom: 1rem; }

input, textarea {
    width: 100%;
    background: #0d0f12;
    border: 1px solid var(--border);
    color: var(--accent);
    padding: 14px;
    border-radius: 2px; /* Tech corners */
    
    /* Input font is Monospaced */
    font-family: 'Space Mono', monospace; 
    font-size: 0.85rem;
    letter-spacing: -0.5px;
    
    transition: all 0.2s;
    box-sizing: border-box;
}

input::placeholder, textarea::placeholder {
    color: #484f58;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #12161c;
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.1);
}

button {
    background: var(--text);
    color: var(--bg);
    border: none;
    padding: 14px 20px;
    border-radius: 2px;
    
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.2s;
}

button:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.4);
    opacity: 1;
}

/* --- UTILITIES --- */
/* The "Butterpot" - Visually hidden for humans */
.visual-hidden {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Messages */
.alert {
    margin-top: 1rem;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent);
    border: 1px solid var(--border);
    background: rgba(88, 166, 255, 0.05);
    border-radius: 2px;
}

footer {
    margin-top: 4rem;
    text-align: center;
    font-size: 0.8rem;
    color: #484f58;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 600px) {
    .logo { max-width: 240px; }
    h1 { font-size: 2.2rem; }
}