*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --bg:#000; --card:#0d0d0d; --border:rgba(255,255,255,0.07); --red:#FF3B3B; --text:#F0F0F0; --muted:#666; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1rem; }
.nav-logo img { width: 30px; height: 30px; object-fit: contain; }
.nav-home {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .85rem; font-weight: 600; color: var(--muted);
  transition: color .2s;
}
.nav-home:hover { color: var(--text); }
.nav-home svg { flex-shrink: 0; }

/* Hero */
.legal-hero {
  border-bottom: 1px solid var(--border);
  padding: 80px 24px 60px;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(255,59,59,0.06) 0%, transparent 70%);
}
.legal-hero-inner { max-width: 800px; margin: 0 auto; }
.legal-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--muted); margin-bottom: 20px;
}
.legal-breadcrumb a { color: var(--muted); transition: color .2s; }
.legal-breadcrumb a:hover { color: var(--text); }
.legal-breadcrumb span { color: #333; }
.legal-tag {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); background: rgba(255,59,59,0.08);
  border: 1px solid rgba(255,59,59,0.2); border-radius: 100px;
  padding: 4px 12px; margin-bottom: 16px;
}
.legal-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: 12px; }
.legal-hero p { color: var(--muted); font-size: .95rem; }
.legal-hero .updated { font-size: .78rem; color: #444; margin-top: 10px; }

/* Content */
.legal-body { max-width: 800px; margin: 0 auto; padding: 64px 24px 100px; }
.legal-body h2 {
  font-size: 1.15rem; font-weight: 700; margin: 40px 0 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 .num {
  width: 26px; height: 26px; background: rgba(255,59,59,0.1); border: 1px solid rgba(255,59,59,0.2);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: .72rem; color: var(--red); flex-shrink: 0;
}
.legal-body p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; line-height: 1.75; }
.legal-body ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.legal-body ul li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--muted); font-size: .92rem; line-height: 1.65;
}
.legal-body ul li::before { content: '—'; color: var(--red); flex-shrink: 0; margin-top: 1px; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body .callout {
  background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--red);
  border-radius: 10px; padding: 16px 20px; margin: 20px 0;
  font-size: .9rem; color: var(--muted); line-height: 1.7;
}
.legal-body .callout strong { color: var(--red); }
.legal-contact {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 28px; margin-top: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.legal-contact p { color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.legal-contact h3 { font-size: 1rem; font-weight: 700; }
.btn-discord {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; padding: 10px 22px;
  border-radius: 8px; font-weight: 600; font-size: .875rem;
  transition: background .2s, transform .2s; white-space: nowrap;
}
.btn-discord:hover { background: #e52e2e; transform: translateY(-2px); }

/* Other docs links */
.other-docs {
  max-width: 800px; margin: 0 auto; padding: 0 24px 40px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.other-doc-link {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 18px;
  font-size: .82rem; font-weight: 500; color: var(--muted);
  transition: border-color .2s, color .2s;
}
.other-doc-link:hover { border-color: rgba(255,255,255,0.18); color: var(--text); }

/* Footer */
.legal-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: .78rem;
  color: #333;
}
.legal-footer a { color: #444; transition: color .2s; }
.legal-footer a:hover { color: var(--text); }
