/* ───────── Dark‑theme foundation ───────── */
:root {
  --bg: #121212;
  --card: #1e1e1e;
  --accent: #0d6efd;
  --text: #f5f5f5;
  --text-muted: #c0c0c0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html,
body {
  height: 100%;
  font-family: "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  background: var(--card);
  padding: 2.5rem 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  width: 100%;
  max-width: 480px;
}

h1 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--accent);
}

label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

input,
button {
  font-size: 0.95rem;
  border-radius: 8px;
}

input {
  background: #2a2a2a;
  border: 1px solid #444;
  padding: 0.65rem 0.75rem;
  color: var(--text);
  width: 100%;
}

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

button {
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

button:hover {
  transform: translateY(-2px);
}

.error {
  background: #600;
  border: 1px solid #c00;
  padding: 0.75rem;
  border-radius: 8px;
  color: #ffd8d8;
  margin-bottom: 1rem;
  text-align: center;
}

/* ───────── Menu styles (your existing block) ───────── */
.menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.menu-btn {
  display: block;
  text-align: center;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.menu-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.secondary {
  background: #444;
  border: 1px solid #666;
}

.secondary:hover {
  background: #666;
}
