:root {
  --site-bg: #080c14;
  --site-surface: #111827;
  --site-border: #273044;
  --site-text: #f3f4f6;
  --site-muted: #c4cad6;
  --site-muted-soft: #9ca3af;
  --site-accent: #6366f1;
  --site-accent-soft: #a5b4fc;
  --site-glow: rgba(99, 102, 241, 0.14);
  --site-warning: #f2c14e;
}

.site-page,
.site-page body {
  margin: 0;
  min-height: 100%;
}

.site-page body {
  background: radial-gradient(circle at 10% 20%, var(--site-glow), transparent 500px),
    radial-gradient(circle at 90% 80%, var(--site-glow), transparent 500px),
    var(--site-bg);
  background-attachment: fixed;
  color: var(--site-text);
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.6;
}

.site-page header {
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 12, 20, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-page .logo,
.site-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--site-text);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--site-accent-soft), var(--site-accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-page .logo svg,
.site-page .brand svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.site-page .logo svg path,
.site-page .brand svg path {
  fill: url(#logo-gradient);
}

.site-page .nav-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.site-page .nav-links a {
  color: var(--site-muted-soft);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-page .nav-links a:hover {
  color: var(--site-text);
}

.site-page .guide-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 22px 64px;
}

.site-page .guide-main h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
  margin: 70px 0 20px;
}

.site-page .guide-main h2 {
  margin-top: 46px;
  color: #93c5fd;
}

.site-page .guide-main p,
.site-page .guide-main li {
  color: var(--site-muted);
}

.site-page .play {
  display: inline-block;
  margin: 14px 0 22px;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--site-accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.site-page .guide-main aside {
  padding: 8px 18px;
  border-left: 3px solid var(--site-warning);
  background: var(--site-surface);
}

.site-page .legal-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.site-page .content-box {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(22, 28, 45, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.site-page .content-box h1 {
  margin: 0 0 20px;
  color: var(--site-text);
  font-size: 2.5rem;
  font-weight: 800;
}

.site-page .content-box h2 {
  margin: 30px 0 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--site-accent-soft);
  font-size: 1.5rem;
  font-weight: 600;
}

.site-page .content-box p,
.site-page .content-box li {
  color: var(--site-muted-soft);
}

.site-page .inline-link {
  color: var(--site-accent);
  text-decoration: none;
  border-bottom: 1px dashed var(--site-accent);
}

.site-page .site-footer {
  margin-top: 80px;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--site-muted-soft);
  font-size: 0.9rem;
  text-align: center;
}

.site-page .contact-card {
  padding: 24px;
  margin-top: 30px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.06);
}

@media (max-width: 600px) {
  .site-page header {
    padding: 15px 20px;
    gap: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-page header .nav-links {
    gap: 20px;
  }

  .site-page .content-box {
    padding: 24px;
  }

  .site-page .content-box h1 {
    font-size: 2rem;
  }
}

/* Shared static-page application layer. */
body {
  background: radial-gradient(circle at 10% 20%, var(--site-glow), transparent 500px),
    radial-gradient(circle at 90% 80%, var(--site-glow), transparent 500px),
    var(--site-bg);
  color: var(--site-text);
  font-family: 'Outfit', system-ui, sans-serif;
}

body > header {
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 12, 20, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

body > header .logo,
body > header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--site-text);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--site-accent-soft), var(--site-accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body > header .logo svg,
body > header .brand svg {
  width: 28px;
  height: 28px;
}

body > header .nav-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

body > header .nav-links a {
  color: var(--site-muted-soft);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

body > header .nav-links a:hover {
  color: var(--site-text);
}

body > header > nav {
  width: 100%;
  justify-content: space-between;
  border: 0;
  padding: 0;
}

body > .guide-main,
body > main.guide-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 22px 64px;
}

body > .legal-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

body > .site-footer {
  margin-top: 80px;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--site-muted-soft);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 600px) {
  body > header {
    padding: 15px 20px;
    gap: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  body > header .nav-links {
    gap: 20px;
  }
}
