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

:root {
  --bg: #080404;
  --bg2: #140808;
  --card: #1a0a0a;
  --border: #331111;
  --text: #f5e8e8;
  --muted: #9a8888;
  --red: #dc2626;
  --red-dark: #991b1b;
  --red-bright: #ef4444;
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --green: #22c55e;
  --yellow: #eab308;
  --mono: "SF Mono", Menlo, Consolas, "Courier New", monospace;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--red-bright); text-decoration: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, textarea {
  font-family: inherit; font-size: inherit; color: var(--text);
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px; width: 100%; outline: none;
}
input:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; font-weight: 600;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; transition: all .15s; width: 100%;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(220, 38, 38, 0.6); }
.btn:active { transform: translateY(0); }
.btn.secondary { background: var(--card); border: 1px solid var(--border); color: var(--text); box-shadow: none; }
.btn.secondary:hover { border-color: var(--red); }
.btn.large { padding: 16px 32px; font-size: 16px; }

#app { min-height: 100vh; display: flex; flex-direction: column; }

.svg-icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-icon-sm { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

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