:root {
  --bg-dark: #1e1e1e;
  --bg-panel: #2a2a2a;
  --text-main: #e5e5e5;
  --text-muted: #9e9e9e;
  --gold: #c9a24d;
  --gold-hover: #e0bb63;
  --border-dark: #3a3a3a;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #2b2b2b, var(--bg-dark));
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 32px 36px 36px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

h1 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  color: var(--gold);
}

p {
  margin: 0 0 28px;
  font-size: 14px;
  text-align: center;
  color: var(--text-muted);
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.list a {
  display: block;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-dark);
  background: #1c1c1c;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}

.list a:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 162, 77, 0.35);
}

/* ---------- Form elements ---------- */

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  background: #1c1c1c;
  color: var(--text-main);
  font-size: 14px;
  margin-bottom: 18px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  background: #1c1c1c;
  color: var(--text-main);
  font-size: 14px;
  margin-bottom: 18px;
}

input::placeholder {
  color: #777;
}

input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

/* ---------- Button ---------- */

button {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.05s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 16px rgba(201, 162, 77, 0.35);
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(201, 162, 77, 0.5);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(201, 162, 77, 0.3);
}

/* ---------- Error box ---------- */

.error-box {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #5a2a2a;
  background: linear-gradient(135deg, #3a1f1f, #2a1515);
  color: #ffb3b3;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.error-box::before {
  content: "⚠ ";
  margin-right: 4px;
}

/* ---------- Card subtle glow ---------- */

.card {
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(201, 162, 77, 0.0);
  transition: box-shadow 0.25s ease;
}

.card:hover::after {
  box-shadow: 0 0 0 1px rgba(201, 162, 77, 0.35);
}