:root {
  --bg-main: #020617;
  --bg-card: #0f172a;
  --text-main: #e5e7eb;
  --text-soft: #94a3b8;
  --accent: #22c55e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #020617, #000);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
}

.language-switch {
  position: fixed;
  top: 16px;
  left: 24px;
  font-size: 0.9rem;
}

.language-switch a {
  color: var(--text-soft);
  text-decoration: none;
}

.language-switch a:hover {
  color: var(--accent);
}

main {
  display: flex;
  justify-content: center;
  padding: 120px 24px;
}

.legal-card {
  background: var(--bg-card);
  max-width: 900px;
  width: 100%;
  padding: 64px 56px;
  border-radius: 28px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
}

h1 {
  text-align: center;
  margin-bottom: 48px;
}

h2 {
  margin-top: 48px;
}

h3 {
  margin-top: 32px;
}

p {
  color: var(--text-soft);
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.updated {
  margin-top: 32px;
  font-size: 0.85rem;
}

.back-link {
  margin-top: 48px;
  text-align: center;
}

/* ================================
   LANGUAGE SWITCG
================================ */

.language-switch {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 1000;
  font-size: 1.1rem;
  display: flex;
  gap: 6px;
  align-items: center;
}

.language-switch a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.language-switch a:hover {
  opacity: 1;
  color: var(--accent);
}

.language-switch a.active {
  color: var(--accent);
  opacity: 1;
}

.language-switch span {
  color: var(--text-soft);
  opacity: 0.5;
}

@media (max-width: 768px) {
   .language-switch {
    top: 20px;
    left: 20px;
    font-size: 0.85rem;
  }
}
