:root {
  --ink: #f3f1e8;
  --dim: #9ba892;
  --line: rgba(243, 241, 232, 0.14);
  --accent: #8fc76a;
  --maxw: 980px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(to bottom, #2f4a2a 0%, #101510 55%, #060705 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.fog-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.fog {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.fog-1 {
  width: 60vw;
  height: 60vw;
  top: -10%;
  left: -15%;
  background: radial-gradient(circle, rgba(120, 168, 96, 0.5) 0%, rgba(120, 168, 96, 0) 70%);
  animation: drift1 20s ease-in-out infinite;
}

.fog-2 {
  width: 50vw;
  height: 50vw;
  top: 10%;
  right: -10%;
  background: radial-gradient(circle, rgba(80, 130, 70, 0.4) 0%, rgba(80, 130, 70, 0) 70%);
  animation: drift2 26s ease-in-out infinite;
}

.fog-3 {
  width: 70vw;
  height: 70vw;
  bottom: -20%;
  left: 20%;
  background: radial-gradient(circle, rgba(20, 40, 24, 0.6) 0%, rgba(20, 40, 24, 0) 70%);
  opacity: 0.7;
  animation: drift3 30s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(14vw, 10vh) scale(1.15); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12vw, 14vh) scale(1.1); }
}

@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10vw, -12vh) scale(1.12); }
}

header, main, footer { position: relative; z-index: 1; }

header { padding: 28px 0; }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-mark {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--dim);
}

.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover { color: var(--ink); }

section { padding: 72px 0; border-top: 1px solid var(--line); }

.section-head { margin-bottom: 40px; }

.section-head h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 10px;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--line);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-discord {
  background: #5865f2;
  border-color: #5865f2;
  color: #ffffff;
}

.btn-discord:hover { background: #4752c4; border-color: #4752c4; }

.btn-meta {
  background: var(--ink);
  border-color: var(--ink);
  color: #101510;
}

.btn-meta:hover { background: var(--accent); border-color: var(--accent); }

.btn-back {
  color: var(--dim);
  border-color: var(--line);
}

.btn-back:hover { color: var(--ink); border-color: var(--ink); }

footer {
  padding: 32px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--dim);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .nav-links { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fog { animation: none; }
}
