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

:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --border: #2a2a2a;
  --accent: #e8c84a;
  --text: #f0f0f0;
  --muted: #888;
  --error: #e05555;
  --success: #4caf50;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
}

header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

header h1 a { color: inherit; text-decoration: none; }

nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

main {
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.hero {
  text-align: center;
  padding: 3rem 0 2rem;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.pruebas {
  margin-top: 3rem;
}

.pruebas h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prueba {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 1rem;
}

/* Forms */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

button {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 0.875rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.link {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.link a {
  color: var(--accent);
  text-decoration: none;
}

.error {
  background: #2a1515;
  border: 1px solid var(--error);
  color: var(--error);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.success {
  background: #152a15;
  border: 1px solid var(--success);
  color: var(--success);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.hidden { display: none; }
