/* Monster Galaxy Smooth: Terms of Service and Privacy Policy pages (terms.html, privacy.html).
   Same look as maintenance.html (space background, gold logo, navy panel), but the page scrolls. */
@font-face { font-family: 'VAG'; src: url('/assets/ui-icons/vag-rounded.ttf'); font-display: swap; }
@font-face { font-family: 'VAG'; font-weight: bold; src: url('/assets/ui-icons/vag-rounded-bold.ttf'); font-display: swap; }
:root { --gold: #ffd23f; --gold-2: #f7ac00; --teal: #1fb5c9; --ink: #0a1230; --text: #eef3ff; --muted: #a9b6dd; }
* { box-sizing: border-box; }
html { min-height: 100%; background: #050816; }
body {
  min-height: 100vh; margin: 0; font: 16px/1.6 VAG, 'Segoe UI', system-ui, sans-serif; color: var(--text);
  background: radial-gradient(ellipse at 50% 120%, #2b4fa8 0%, #16255c 38%, #0a1230 72%, #050816 100%) fixed;
  padding: 32px max(16px, env(safe-area-inset-right)) 40px max(16px, env(safe-area-inset-left));
}
/* star field: three layers drifting at different speeds */
.stars, .stars::before, .stars::after { position: fixed; inset: -50%; content: ''; pointer-events: none; z-index: 0; }
.stars { background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 120px 80px, #cfe0ff, transparent),
    radial-gradient(1.5px 1.5px at 200px 150px, #fff, transparent), radial-gradient(1px 1px at 60px 190px, #fff9, transparent);
  background-size: 240px 240px; animation: drift 120s linear infinite; opacity: .8; }
.stars::before { inset: 0; background-image: radial-gradient(2px 2px at 50px 60px, #fff, transparent), radial-gradient(1.5px 1.5px at 300px 220px, #ffe9a6, transparent);
  background-size: 380px 380px; animation: drift 80s linear infinite reverse, twinkle 4s ease-in-out infinite alternate; }
.stars::after { inset: 0; background-image: radial-gradient(1px 1px at 90px 40px, #fff8, transparent), radial-gradient(1px 1px at 10px 140px, #fff6, transparent);
  background-size: 160px 160px; animation: drift 200s linear infinite; }
@keyframes drift { to { transform: translate3d(240px, 120px, 0); } }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
.planet { position: fixed; z-index: 0; width: 46vmax; height: 46vmax; right: -14vmax; bottom: -22vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, #4fd1e0 0%, #1d7fa8 35%, #12366e 70%, #0b1a44 100%);
  box-shadow: 0 0 80px 10px #1fb5c955, inset -30px -40px 80px #0008; opacity: .55; }

main { position: relative; z-index: 1; width: min(760px, 100%); margin: 0 auto; display: grid; justify-items: center; gap: 14px; }
.seed { width: 96px; height: 96px; filter: drop-shadow(0 10px 24px #0009); animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-4deg); } }
.logo { margin: 0; font-weight: bold; font-size: clamp(32px, 7vw, 48px); line-height: .95; letter-spacing: .5px; text-transform: uppercase; text-align: center; text-decoration: none;
  background: linear-gradient(#fff6b0, var(--gold) 45%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #0b5d6b) drop-shadow(0 0 2px #0b5d6b) drop-shadow(0 8px 18px #0008); }

/* Terms / Privacy switch */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tabs a { padding: 6px 18px; border: 1.5px solid rgba(63,208,232,.45); border-radius: 999px; background: rgba(13,21,48,.75); color: #9fb3d9; font-size: 14px; text-decoration: none; }
.tabs a:hover { color: #fff; border-color: #3fd0e8; }
.tabs a[aria-current=page] { background: #3fd0e8; border-color: #3fd0e8; color: #0d1530; }

.panel { width: 100%; margin-top: 4px; padding: 28px 30px 26px; border-radius: 22px;
  background: linear-gradient(180deg, #1c2d66e6, #111c47e6); border: 2px solid #3b5bb5; box-shadow: 0 0 0 4px #0b1438, 0 20px 50px #000a; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: bold;
  color: var(--ink); background: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
h1 { margin: 12px 0 2px; font-size: clamp(24px, 5vw, 30px); line-height: 1.2; }
.updated { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.notice { margin: 0 0 22px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #f7ac0099; background: #f7ac0014; color: #ffe9a6; }
.notice p { color: #ffe9a6; margin: 0; }
.notice p + p { margin-top: 6px; }
.notice strong { color: var(--gold); }
h2 { margin: 26px 0 6px; font-size: 19px; color: var(--gold); line-height: 1.3; }
h2 span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin-right: 8px; padding: 0 6px; border-radius: 99px;
  background: #0a1230; border: 1.5px solid #3b5bb5; color: #7ee6f2; font-size: 14px; vertical-align: 2px; }
p, li { color: #d7e0fb; }
p { margin: 0 0 10px; }
ul { margin: 0 0 10px; padding-left: 22px; }
li { margin: 4px 0; }
li::marker { color: var(--teal); }
b { color: #fff; }
a { color: #7ee6f2; }
a:hover { color: #fff; }
.foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid #3b5bb566; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: bold; text-decoration: none; border-radius: 99px; padding: 9px 20px; cursor: pointer; }
.btn:active { transform: translateY(2px); }
.btn:focus-visible, .tabs a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn-gold { color: var(--ink); background: linear-gradient(#ffe36b, var(--gold-2)); box-shadow: 0 3px 0 #a86f00; }
.btn-gold:hover { color: var(--ink); filter: brightness(1.06); }
.btn-discord { color: #fff; background: linear-gradient(#6b77ff, #4752c4); box-shadow: 0 3px 0 #2e3796; }
.btn-discord:hover { color: #fff; filter: brightness(1.1); }
.btn-discord img { width: 20px; height: auto; }
.credit { margin: 6px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 520px) { body { padding-top: 20px; } .panel { padding: 22px 18px; } .seed { width: 72px; height: 72px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }
