/* Shared layout for CosmicSeeker legal pages — Terms / Privacy.
 * Comfortable sans-serif body, arcade-font headings, same brand palette
 * as the game (deep purple #0a0014 + Solana-violet accent). Designed for
 * long-form reading on phone screens (dApp Store reviewers open these
 * on the device). */

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #0a0014;
  color: #e0e0f0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(157, 77, 255, 0.06), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 212, 255, 0.05), transparent 55%),
    #0a0014;
  z-index: -1;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 22px 80px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(157, 77, 255, 0.2);
  margin-bottom: 26px;
}

.brand {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  letter-spacing: 1px;
  color: #ab9ff2;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(171, 159, 242, 0.4);
}

.back-link {
  color: #9a9ac0;
  font-size: 13px;
  text-decoration: none;
}
.back-link:hover { color: #ab9ff2; }

h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 22px;
  letter-spacing: 1px;
  color: #ab9ff2;
  text-shadow: 0 0 14px rgba(171, 159, 242, 0.4);
  margin-bottom: 8px;
  line-height: 1.3;
}

.updated {
  color: #9a9ac0;
  font-size: 12px;
  margin-bottom: 26px;
}

h2 {
  font-family: 'Press Start 2P', monospace;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #4cff7a;
  margin-top: 28px;
  margin-bottom: 10px;
  text-shadow: 0 0 6px rgba(76, 255, 122, 0.3);
}

p { margin-bottom: 12px; color: #e0e0f0; }

ul { margin: 8px 0 14px 22px; }
li { margin-bottom: 6px; color: #c8c8d8; }

a { color: #00d4ff; text-decoration: none; }
a:hover { text-decoration: underline; }

strong { color: #fff; }

.footer {
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid rgba(157, 77, 255, 0.2);
  font-size: 12px;
  color: #6b6b8a;
  text-align: center;
}
.footer a {
  margin: 0 10px;
  color: #9a9ac0;
}

@media (max-width: 520px) {
  .page { padding: 20px 16px 60px; }
  h1 { font-size: 18px; }
  h2 { font-size: 11px; }
  body { font-size: 14px; }
}
