/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0F0D14;
  --card: #1C1A20;
  --card-hover: #252329;
  --red: #E5180D;
  --white: #FFFFFF;
  --white70: rgba(255,255,255,0.7);
  --white40: rgba(255,255,255,0.4);
  --white10: rgba(255,255,255,0.1);
  --font-display: 'Bangers', cursive;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 680px;
  --px: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

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

/* ── Background Lottie ──────────────────────────────────── */
.bg-lottie {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}

.bg-lottie svg { width: 100% !important; height: 100% !important; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,13,20,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--white10);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links { display: flex; gap: 20px; }

.nav-links a {
  font-size: 13px;
  color: var(--white70);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); text-decoration: none; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px var(--px) 50px;
  text-align: center;
  overflow: hidden;
}

.hero-lottie {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  opacity: 0.55;
  pointer-events: none;
}

.hero h1 {
  position: relative;
  margin-top: 100px;
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero h1 span { color: var(--red); }

.hero p {
  position: relative;
  font-size: 16px;
  color: var(--white70);
  max-width: 480px;
  margin: 0 auto 32px;
}

.hero-btn {
  position: relative;
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1.5px;
  padding: 14px 40px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.15);
  transition: transform 0.15s, box-shadow 0.2s;
}

.hero-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 30px rgba(229,24,13,0.35);
  text-decoration: none;
}

/* ── Features Grid ───────────────────────────────────────── */
.features {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px) 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-card {
  background: var(--card);
  border-radius: 14px;
  padding: 24px 20px;
}

.feature-card .icon { font-size: 28px; margin-bottom: 10px; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13px;
  color: var(--white70);
  line-height: 1.5;
}

/* ── Legal / Content Pages ───────────────────────────────── */
.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px var(--px) 80px;
}

.page h1 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.page .updated {
  font-size: 13px;
  color: var(--white40);
  margin-bottom: 32px;
}

.page h2 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  margin: 32px 0 12px;
  color: var(--red);
}

.page h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 20px 0 8px;
}

.page p, .page li {
  font-size: 14px;
  color: var(--white70);
  line-height: 1.7;
  margin-bottom: 10px;
}

.page ul, .page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page li { margin-bottom: 6px; }

.page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
}

.page th, .page td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--white10);
}

.page th {
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

.page td { color: var(--white70); }

/* ── Table of Contents ───────────────────────────────────── */
.toc {
  background: var(--card);
  border: 1px solid var(--white10);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0 32px;
}

.toc summary {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
  color: var(--white);
  user-select: none;
}

.toc summary::-webkit-details-marker { color: var(--white70); }

.toc ol {
  margin: 16px 0 0;
  padding-left: 24px;
}

.toc li {
  font-size: 14px;
  color: var(--white70);
  margin-bottom: 8px;
  line-height: 1.5;
}

.toc li a {
  color: var(--white70);
  transition: color 0.2s;
}

.toc li a:hover {
  color: var(--white);
  text-decoration: none;
}

/* ── Support ─────────────────────────────────────────────── */
.support-card {
  background: var(--card);
  border-radius: 14px;
  padding: 28px 24px;
  margin-bottom: 16px;
  transition: background 0.15s;
}

.support-card:hover { background: var(--card-hover); }

.support-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.support-card p {
  font-size: 14px;
  color: var(--white70);
  margin-bottom: 12px;
}

.support-card a.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 10px;
  transition: transform 0.15s;
}

.support-card a.btn:hover { transform: scale(1.03); text-decoration: none; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--white10);
  padding: 24px var(--px);
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--white40);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer p {
  font-size: 12px;
  color: var(--white40);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero-lottie { width: 260px; height: 260px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; }
}
