/* Shared theme for legal pages (privacy / terms / responsible) */
:root {
  --bg-page:#150531; --bg-card:#271459; --bg-card-2:#371d80;
  --border:rgba(255,255,255,0.07); --border-soft:rgba(255,255,255,0.14);
  --text:#f7f3ff; --text-muted:#b6a8e0; --text-dim:#7e6db3;
  --accent-gold:#ffd24a; --accent-neon:#b6ff3a; --accent-pink:#ff3d6e;
}
* { box-sizing:border-box; }
html, body {
  margin:0; padding:0;
  background:var(--bg-page);
  background-image:
    radial-gradient(ellipse at top, rgba(98,25,190,0.25), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(33,8,65,0.6), transparent 60%);
  color:var(--text);
  font-family:"Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
  line-height:1.6;
}
a { color:var(--accent-gold); text-decoration:none; }
a:hover { text-decoration:underline; }

.topbar {
  background:rgba(21,5,49,0.92);
  border-bottom:1px solid var(--border);
  padding:14px 24px;
  display:flex; align-items:center; gap:14px;
}
.topbar .brand img { height:38px; }
.topbar .nav { display:flex; gap:6px; margin-left:auto; }
.topbar .nav a {
  color:var(--text-muted); font-size:13px; font-weight:600;
  padding:8px 14px; border-radius:8px;
}
.topbar .nav a:hover { color:var(--text); background:rgba(255,255,255,0.05); text-decoration:none; }
.topbar .nav a.current { color:var(--text); background:rgba(98,25,190,0.35); }

main.legal {
  max-width:840px; margin:32px auto 64px; padding:0 24px;
}
main.legal h1 {
  font-size:30px; font-weight:900; margin:0 0 6px;
  background:linear-gradient(90deg, var(--accent-gold), #ff8eb7 60%, var(--accent-neon));
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
main.legal .updated { color:var(--text-dim); font-size:12px; margin-bottom:28px; }
main.legal h2 {
  font-size:20px; font-weight:800; margin:32px 0 10px;
  color:var(--text); border-bottom:1px solid var(--border); padding-bottom:8px;
}
main.legal h3 { font-size:15px; font-weight:700; margin:18px 0 6px; color:var(--accent-gold); }
main.legal p { margin:8px 0; color:var(--text-muted); font-size:14px; }
main.legal strong { color:var(--text); }
main.legal ul { color:var(--text-muted); font-size:14px; padding-left:22px; }
main.legal ul li { margin:4px 0; }
main.legal .callout {
  background:rgba(255,210,74,0.08);
  border:1px solid rgba(255,210,74,0.3);
  border-radius:12px;
  padding:14px 18px;
  margin:18px 0;
  color:var(--text);
  font-size:14px;
}
main.legal .callout.warn {
  background:rgba(255,61,110,0.08);
  border-color:rgba(255,61,110,0.35);
}
main.legal .quote {
  background:rgba(0,0,0,0.28);
  border-left:3px solid var(--accent-gold);
  padding:10px 16px;
  margin:12px 0;
  font-style:italic; color:var(--text);
  font-size:13px;
}
main.legal table {
  width:100%; border-collapse:collapse; margin:14px 0;
  font-size:13px;
}
main.legal table th, main.legal table td {
  text-align:left; padding:9px 12px;
  border-bottom:1px solid var(--border);
  color:var(--text-muted);
}
main.legal table th { color:var(--text); font-weight:700; background:rgba(0,0,0,0.32); }

footer.page {
  margin-top:30px; border-top:1px solid var(--border);
  padding:24px 20px; background:rgba(0,0,0,0.32);
  text-align:center; color:var(--text-muted); font-size:12px;
}
footer.page .links { margin-bottom:12px; }
footer.page .links a { color:var(--text-muted); margin:0 10px; font-weight:600; }
footer.page .copyright { color:var(--text-dim); font-size:11px; margin-top:10px; }

@media (max-width:640px) {
  main.legal { padding:0 16px; margin:20px auto 40px; }
  main.legal h1 { font-size:24px; }
  main.legal h2 { font-size:17px; }
  .topbar { padding:10px 14px; }
  .topbar .brand img { height:30px; }
  .topbar .nav a { padding:6px 10px; font-size:12px; }
}
