* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --bg-surface: #0f1a0f;
  --bg-input: #0d0d0d;
  --green: #00ff41;
  --green-dim: #00cc33;
  --green-muted: #1a3a1a;
  --green-glow: rgba(0, 255, 65, 0.15);
  --border: #1a3a1a;
  --text: #00ff41;
  --text-dim: #00aa2a;
  --danger: #ff3333;
  --mono: 'Courier New', 'Lucida Console', Monaco, monospace;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  padding: 24px;
}

h1, h2, h3 {
  color: var(--green);
  text-shadow: 0 0 10px var(--green-glow);
  font-weight: normal;
}

h1::before { content: '> '; opacity: 0.5; }

a {
  color: var(--green-dim);
  text-decoration: none;
  border-bottom: 1px dashed var(--green-muted);
  transition: all 0.2s;
}

a:hover {
  color: var(--green);
  text-shadow: 0 0 8px var(--green-glow);
  border-bottom-color: var(--green);
}

p { margin: 8px 0; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

input, textarea {
  background: var(--bg-input);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 13px;
  border-radius: 2px;
  outline: none;
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 8px 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus {
  border-color: var(--green-dim);
  box-shadow: 0 0 8px var(--green-glow);
}

input::placeholder, textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.5;
}

button, .btn {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green-dim);
  padding: 10px 20px;
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  margin: 8px 4px 8px 0;
  display: inline-block;
}

button:hover, .btn:hover {
  background: var(--green-muted);
  box-shadow: 0 0 12px var(--green-glow);
  text-shadow: 0 0 6px var(--green-glow);
}

img {
  border: 1px solid var(--border);
}

/* Scanline effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 99998;
}

/* Cursor blink for h1 */
h1::after {
  content: '_';
  animation: blink 1s step-end infinite;
}

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

/* Auth form container */
.auth-links {
  margin-top: 12px;
}

.auth-links a {
  display: inline-block;
  margin-right: 16px;
}

/* Google button special */
a.google-btn {
  border: 1px solid var(--green-dim);
  padding: 8px 16px;
  display: inline-block;
  margin: 8px 0;
}

a.google-btn:hover {
  background: var(--green-muted);
}
