/* The Privacy Policy, Terms of Service and Credits: plain pages in the game's colors
   (static — they load without the app). */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Philosopher:wght@400;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #0b0b1c;
  --panel: #14142e;
  --text: #e9e6dc;
  --dim: #a9a7bf;
  --gold: #e8c46a;
  --gold-deep: #a8822c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Philosopher', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

.legal-home {
  display: inline-block;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 28px;
}

h1, h2, h3 { font-family: 'Cinzel', Georgia, serif; color: var(--gold); line-height: 1.25; }
h1 { font-size: 30px; font-weight: 900; letter-spacing: 0.04em; margin: 0 0 4px; }
h2 { font-size: 19px; font-weight: 700; margin: 34px 0 8px; padding-top: 14px; border-top: 1px solid rgba(232, 196, 106, 0.2); }
h3 { font-size: 15px; font-weight: 700; margin: 18px 0 4px; color: var(--text); }

.legal-date { margin: 0 0 24px; color: var(--dim); font-size: 14px; }
p, li { color: var(--text); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--gold); }
a:hover { color: #ffd877; }
strong { color: #fff; }

.legal-foot {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(232, 196, 106, 0.2);
  font-size: 14px;
  color: var(--dim);
}

/* A license quoted in full (the Credits page). */
.legal-license {
  margin: 8px 0 0;
  padding: 12px 14px;
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid rgba(232, 196, 106, 0.18);
  border-radius: 8px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}
