@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #060606;
  --bg-alt: #0c0c0c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e5e5e5;
  --text-dim: #9a9a9a;
  --accent: #ff6a1a;
  --accent-soft: rgba(255, 106, 26, 0.14);
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.09);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
}
body::before, body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}
body::before {
  width: 520px; height: 520px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}
body::after {
  width: 620px; height: 620px;
  bottom: -220px; right: -160px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
}
.navbar, main, .hero, section.block, footer { position: relative; z-index: 1; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--white);
  margin: 0;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 6, 6, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar .logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.navbar .logo img {
  height: 42px;
  width: auto;
  display: block;
}
.navbar nav { display: flex; gap: 28px; }
.navbar nav a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
}
.navbar nav a:hover { color: var(--white); text-decoration: none; }
.navbar nav a.current { color: var(--accent); }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 40px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
footer .footer-links { display: flex; gap: 20px; }
footer strong { color: var(--text); }

/* Glass */
.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02) 55%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 0 60px rgba(255, 255, 255, 0.03),
    0 12px 34px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 65%;
  height: 220%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 55%);
  transform: rotate(18deg);
  pointer-events: none;
}
.glass > * { position: relative; z-index: 1; }

/* Decorative color blobs behind glass panels */
section.block { position: relative; overflow: hidden; }
section.block::before, section.block::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
section.block::before {
  width: 380px; height: 380px;
  top: -120px; left: 5%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}
section.block::after {
  width: 340px; height: 340px;
  bottom: -140px; right: 8%;
  background: radial-gradient(circle, rgba(190, 190, 200, 0.14), transparent 70%);
}
section.block .container { position: relative; z-index: 1; }

/* Legal pages */
.legal-page { padding: 64px 0 40px; }
.legal-page h1 { font-size: 2.2rem; margin-bottom: 6px; }
.legal-page .updated { color: var(--accent); font-size: 0.85rem; margin-bottom: 48px; }
.legal-page section { margin-bottom: 40px; }
.legal-page section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.legal-page section p { line-height: 1.7; margin: 0 0 12px 0; }
.legal-page section ul { margin: 0 0 12px 0; padding-left: 20px; line-height: 1.8; }
.legal-page strong { color: var(--white); }

@media (max-width: 640px) {
  .navbar nav { gap: 16px; }
  .navbar nav a { font-size: 0.8rem; }
  .legal-page h1 { font-size: 1.7rem; }
}
