/* BitWorld's small website: the confirm-email and reset-password pages, and a home page. */
:root {
  --bg: #120d26;
  --panel: #1c1733;
  --panel-hi: #2a2247;
  --line: #3a2f60;
  --text: #eef1f5;
  --dim: #a39bc4;
  --gold: #f5b83d;
  --good: #4cc38a;
  --bad: #e5484d;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Pixelify Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  display: flex;
  justify-content: center;
  padding: 48px 16px 64px;
  /* A faint pixel grid, like the game's map. */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 22px 22px;
}
main { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.bolt { width: 96px; height: 96px; image-rendering: pixelated; animation: bob 2.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 26px;
  color: var(--gold);
  margin: 0;
  text-shadow: 3px 3px 0 #5a2e00;
  letter-spacing: 1px;
}
.tag { font-family: 'Press Start 2P', monospace; font-size: 9px; color: var(--text); opacity: 0.85; letter-spacing: 1px; margin-top: -8px; }
.card {
  width: 100%;
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: 5px 5px 0 #0a0716;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.card.good { border-color: var(--good); }
.card.bad { border-color: var(--bad); }
.title { font-family: 'Press Start 2P', monospace; font-size: 13px; line-height: 1.6; margin: 0; }
.good .title { color: var(--good); }
.bad .title { color: var(--bad); }
p { margin: 0; }
.dim { color: var(--dim); font-size: 15px; }
.small { font-size: 13px; color: var(--dim); }
.btn {
  display: block;
  text-align: center;
  background: var(--gold);
  color: #1a1300;
  font-family: inherit;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border: none;
  border-bottom: 5px solid #b07d1c;
  padding: 13px 16px;
  cursor: pointer;
}
.btn:disabled { background: #8a85a0; border-bottom-color: #5e5974; cursor: default; }
.btn.ghost { background: transparent; color: var(--text); border: 2px solid var(--line); border-bottom-width: 4px; }
input {
  width: 100%;
  background: var(--bg);
  border: 2px solid var(--line);
  color: var(--text);
  font: inherit;
  padding: 12px;
}
input:focus { outline: none; border-color: var(--gold); }
label { font-family: 'Press Start 2P', monospace; font-size: 9px; color: var(--dim); }
.hide { display: none !important; }
footer { font-size: 12px; color: var(--dim); opacity: 0.8; max-width: 360px; }
