/* The sign-up page: the launcher's palette (Tools/Launcher/App.axaml) and the game's serif, Alegreya SC (SIL OFL). */
@font-face {
  font-family: "Alegreya SC";
  src: url("/site/alegreya-sc.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
/* The same font with a dotted small-cap İ, for Turkish text only ("Lost in Totality" stays plain). */
@font-face {
  font-family: "Alegreya SC TR";
  src: url("/site/alegreya-sc-tr.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --parchment: #e6dac2;
  --dim: #9a8d7a;
  --gold: #d9ae6a;
  --gold-bright: #f4d398;
  --warn: #ee9a7e;
  --ink: #1d1408;
  --field: #0b0f1c;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #0f1526; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  color: var(--parchment);
  font: 16px/1.5 Georgia, "Times New Roman", serif;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(240, 138, 60, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 60% at 50% 110%, rgba(106, 44, 126, 0.35), transparent 70%),
    linear-gradient(#1d2844, #0f1526 60%, #170c24);
}
.card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 28px 28px 22px;
  background: rgba(11, 15, 28, 0.82);
  border: 1px solid rgba(217, 174, 106, 0.45);
  border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(11, 15, 28, 0.6), 0 18px 60px rgba(0, 0, 0, 0.55);
}
.game, h1, label, button, .lang {
  font-family: "Alegreya SC", Georgia, serif;
  font-weight: 700;
}
h1:lang(tr), label:lang(tr), button:lang(tr), .lang :lang(tr) { font-family: "Alegreya SC TR", Georgia, serif; }
.game { margin: 0; color: var(--gold); letter-spacing: 0.08em; font-size: 15px; }
h1 { margin: 2px 0 18px; color: var(--gold-bright); font-size: 30px; line-height: 1.15; }
section + section { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(217, 174, 106, 0.25); }
section h1 { margin-top: 0; font-size: 26px; }
.lang { position: absolute; top: 14px; right: 18px; font-size: 14px; display: flex; gap: 12px; }
.lang span { color: var(--gold-bright); }
a { color: var(--gold); }
a:hover { color: var(--gold-bright); }
.lang a { color: var(--dim); text-decoration: none; }
.lang a:hover { color: var(--gold-bright); }
label { display: block; margin: 14px 0 4px; color: var(--gold); font-size: 16px; }
input {
  width: 100%;
  padding: 9px 11px;
  color: var(--parchment);
  background: var(--field);
  border: 1px solid #6e6455;
  border-radius: 4px;
  font: 16px Georgia, serif;
}
input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(217, 174, 106, 0.25); }
small { display: block; margin-top: 3px; color: var(--dim); font-size: 13px; }
button {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 10px 16px;
  color: var(--ink);
  font-size: 19px;
  background: linear-gradient(#ffe9b8, #e2ae5c 55%, #b57b35);
  border: 1px solid #f4d398;
  border-radius: 4px;
  cursor: pointer;
}
button:hover { box-shadow: 0 0 18px rgba(255, 179, 71, 0.45); }
button.quiet {
  color: var(--gold-bright);
  font-size: 16px;
  background: rgba(244, 211, 152, 0.1);
  border-color: rgba(244, 211, 152, 0.45);
}
.error { margin: 16px 0 0; color: var(--warn); }
.note { color: var(--gold-bright); }
.aside { margin: 18px 0 0; font-size: 14px; color: var(--dim); }
.privacy { margin: 14px 0 0; font-size: 12.5px; color: var(--dim); }
