/* ── tokens ── */
:root {
  --accent: #c6c6ff;
  --accent-dim: rgba(198,198,255,0.15);
  --fg: #f0f0ff;
  --muted: #7a7a8e;
  --dim: #3a3a50;
  --bg: #0b0a16;
  --glass-bg: rgba(255,255,255,0.038);
  --glass-bg-hover: rgba(255,255,255,0.058);
  --glass-border: rgba(255,255,255,0.08);
  --glass-rim: rgba(255,255,255,0.11);
  --radius: 18px;
  --radius-sm: 12px;
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p { line-height: 1.7; }

/* Hide all scrollbars */
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
}

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── ambient background glow (slow drift) ── */
.bg-glow {
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 50% at 15% 0%, rgba(80,55,150,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 85% 18%, rgba(60,50,140,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(45,35,110,0.16) 0%, transparent 60%);
  animation: bg-glow-drift 60s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes bg-glow-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(1.5%, -1%) scale(1.04); }
  100% { transform: translate(-1%, 1.5%) scale(1); }
}

/* ── noise texture overlay ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── intro animation ── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 90% 50% at 15% 0%, rgba(80,55,150,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 85% 18%, rgba(60,50,140,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(45,35,110,0.16) 0%, transparent 60%),
    var(--bg);
  pointer-events: none;
  animation: intro-bg-fade 0.5s ease 1.0s forwards;
}
.intro-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(198,198,255,0.35));
  animation: intro-logo-anim 1.1s cubic-bezier(0.65,0,0.35,1) forwards;
}

@keyframes intro-logo-anim {
  0% {
    transform: scale(1.6) rotate(0deg);
    opacity: 0;
  }
  35% {
    transform: scale(1.6) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: scale(0.18) rotate(-360deg);
    opacity: 0;
  }
}

@keyframes intro-bg-fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* page content fades in after intro */
.nav {
  animation: content-fade-in-nav 0.7s cubic-bezier(0.16,1,0.3,1) 0.9s both;
}
.hero-inner > *,
.ticker-wrap {
  animation: content-fade-in 0.7s cubic-bezier(0.16,1,0.3,1) 0.9s both;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.9s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.97s; }
.hero-inner > *:nth-child(3) { animation-delay: 1.04s; }
.hero-inner > *:nth-child(4) { animation-delay: 1.11s; }
@keyframes content-fade-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes content-fade-in-nav {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .nav, .hero-inner > *, .guild-ticker-wrap { animation: none; opacity: 1; }
  .bg-glow,   100% { transform: translate(-1.5%, 1.5%); }
}

#star-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ── nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 48px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition:
    width 0.85s cubic-bezier(0.16,1,0.3,1),
    top 0.85s cubic-bezier(0.16,1,0.3,1),
    padding 0.85s cubic-bezier(0.16,1,0.3,1),
    border-radius 0.85s cubic-bezier(0.16,1,0.3,1),
    background 0.7s ease,
    border-color 0.7s ease,
    box-shadow 0.7s ease,
    backdrop-filter 0.7s ease;
}

.nav.scrolled {
  top: 18px;
  width: min(780px, calc(100% - 32px));
  padding: 9px 10px 9px 16px;
  border-color: var(--glass-rim);
  border-radius: 999px;
  background: rgba(7,7,13,0.75);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.06) inset,
    0 24px 48px rgba(0,0,0,0.45);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.nav-logo { width: 20px; height: 20px; object-fit: contain; }

.nav-center {
  display: flex;
  gap: 2px;
}
.nav-center a {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(240,240,255,0.7);
  transition: color 0.14s, background 0.14s;
}
.nav-center a:hover { color: var(--fg); background: rgba(255,255,255,0.055); }
.nav.scrolled .nav-center a { color: var(--muted); }
.nav.scrolled .nav-center a:hover { color: var(--fg); }

.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: #07070d;
  font-size: 13px;
  font-weight: 700;
  transition: opacity 0.14s, transform 0.14s;
  box-shadow: 0 0 20px rgba(198,198,255,0.2);
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
}

/* deep radial glow */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%,
      rgba(110,90,210,0.3) 0%,
      rgba(70,55,150,0.15) 40%,
      transparent 72%),
    radial-gradient(ellipse 50% 40% at 25% 70%,
      rgba(90,60,180,0.13) 0%,
      transparent 65%),
    radial-gradient(ellipse 50% 40% at 78% 65%,
      rgba(70,90,200,0.12) 0%,
      transparent 65%);
  pointer-events: none;
}

/* subtle grid lines */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 10%, transparent 70%);
  pointer-events: none;
}

.hero-star {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.hero-star img {
  width: min(520px, 82vw);
  height: min(520px, 82vw);
  object-fit: contain;
  opacity: 0.1;
  will-change: opacity;
  animation: star-pulse 6s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 36px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
}

h1 {
  font-size: clamp(64px, 13vw, 132px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #d6d2ff 55%, #a9a0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 28px;
  text-shadow: 0 0 100px rgba(198,198,255,0.14);
}

.hero-sub {
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--muted);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}

/* glass primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  background: rgba(198,198,255,0.12);
  border: 1px solid rgba(198,198,255,0.22);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.16s, transform 0.16s, box-shadow 0.16s;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 8px 24px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  background: rgba(198,198,255,0.18);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.14) inset,
    0 12px 32px rgba(0,0,0,0.36),
    0 0 24px rgba(198,198,255,0.12);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  background: transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
}

.hero-stat {
  font-size: 11.5px;
  color: var(--dim);
  letter-spacing: 0.05em;
}



/* ── guild ticker ── */
.guild-ticker-stat {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}
.guild-ticker-stat strong {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
}
.guild-ticker-wrap {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 20px 0 16px;
  background: rgba(255,255,255,0.014);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.guild-ticker {
  display: flex;
  width: max-content;
  gap: 14px;
  white-space: nowrap;
}
.guild-card {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(198,198,255,0.055);
  border: 1px solid rgba(198,198,255,0.13);
  border-radius: 10px;
  padding: 7px 13px 7px 9px;
  flex-shrink: 0;
}
.guild-card img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(198,198,255,0.15);
}
.guild-card-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(198,198,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(198,198,255,0.7);
  flex-shrink: 0;
}
.guild-card-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.guild-card-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.guild-card-members {
  font-size: 10px;
  color: rgba(198,198,255,0.55);
  font-weight: 500;
}

/* ── sections ── */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 110px 28px;
}

.section-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(198,198,255,0.45);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 52px;
}

.section-sub {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 36px;
  margin-top: -32px;
  line-height: 1.7;
}

code {
  padding: 2px 7px;
  border: 1px solid var(--glass-border);
  border-radius: 5px;
  font-size: 12.5px;
  color: rgba(198,198,255,0.8);
  background: rgba(255,255,255,0.04);
  font-family: "SFMono-Regular", Consolas, monospace;
}

/* ── feature grid ── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.feat-card {
  position: relative;
  padding: 26px 22px;
  background:
    linear-gradient(155deg, rgba(180,170,255,0.07) 0%, rgba(120,100,200,0.02) 45%, rgba(180,170,255,0.035) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.16) inset,
    0 -1px 0 rgba(255,255,255,0.03) inset,
    0 4px 20px rgba(0,0,0,0.25);
  overflow: hidden;
}
.feat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(198,198,255,0.1), transparent 60%);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.25s;
}
.feat-card:hover {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 40%, rgba(255,255,255,0.06) 100%);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 -1px 0 rgba(255,255,255,0.05) inset,
    0 16px 40px rgba(0,0,0,0.4),
    0 0 0 1px rgba(198,198,255,0.1);
}
.feat-card:hover::before {
  opacity: 1;
}

.feat-card > * {
  position: relative;
  z-index: 1;
}

.feat-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(198,198,255,0.07);
  border: 1px solid rgba(198,198,255,0.14);
  border-top-color: rgba(198,198,255,0.2);
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset;
}
.feat-icon svg { width: 14px; height: 14px; }

.feat-card h3 {
  font-size: 14px;
  font-weight: 650;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feat-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 14px;
}
.feat-tags span {
  padding: 3px 8px;
  border-radius: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
}

/* ── commands ── */
.cmd-browser {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(180,170,255,0.07) 0%, rgba(120,100,200,0.02) 45%, rgba(180,170,255,0.035) 100%);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.14) inset,
    0 -1px 0 rgba(255,255,255,0.04) inset,
    0 8px 32px rgba(0,0,0,0.35);
}

.cmd-tabs {
  display: flex;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.018);
}
.cmd-tabs button {
  flex: 1;
  padding: 13px 18px;
  border: none;
  border-right: 1px solid var(--glass-border);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.14s, background 0.14s;
}
.cmd-tabs button:last-child { border-right: none; }
.cmd-tabs button:hover { color: var(--fg); background: rgba(255,255,255,0.03); }
.cmd-tabs button.active {
  color: var(--fg);
  background: rgba(255,255,255,0.045);
  box-shadow: 0 -2px 0 var(--accent) inset;
}

.cmd-list { display: grid; padding: 6px; gap: 2px; }

.command-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 10px;
  transition: background 0.14s;
}
.command-row:hover { background: rgba(255,255,255,0.028); }

.command-row strong {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(198,198,255,0.72);
}
.command-row span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── status ── */
.status-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.status-item {
  position: relative;
  background:
    linear-gradient(155deg, rgba(180,170,255,0.07) 0%, rgba(120,100,200,0.02) 45%, rgba(180,170,255,0.035) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.16) inset,
    0 -1px 0 rgba(255,255,255,0.03) inset,
    0 4px 20px rgba(0,0,0,0.25);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.status-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(198,198,255,0.1), transparent 60%);
  pointer-events: none;
  opacity: 0.7;
}
.status-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 -1px 0 rgba(255,255,255,0.05) inset,
    0 16px 40px rgba(0,0,0,0.4),
    0 0 0 1px rgba(198,198,255,0.1);
}
.status-item > * {
  position: relative;
  z-index: 1;
}

.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-item strong {
  font-size: 15px;
  font-weight: 650;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.status-label {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  position: relative;
  flex-shrink: 0;
}
.dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.35;
  animation: dot-ring 2.4s ease-out infinite;
}
.dot.green { background: #5ecfb1; color: #5ecfb1; box-shadow: 0 0 10px rgba(94,207,177,0.65); }
.dot.yellow { background: #e8c97a; color: #e8c97a; box-shadow: 0 0 10px rgba(232,201,122,0.65); }

@keyframes dot-ring {
  0% { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ── cta ── */
.cta {
  position: relative;
  text-align: center;
  padding: 130px 24px 120px;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%,
    rgba(90,70,180,0.45) 0%,
    transparent 65%);
  pointer-events: none;
}
.cta-star {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 500px;
  height: 500px;
  object-fit: contain;
  opacity: 0.07;
  will-change: opacity;
  animation: star-pulse 6s ease-in-out infinite alternate;
  animation-delay: -3s;
  pointer-events: none;
}
.cta .tag,
.cta h2,
.cta .btn-primary { position: relative; }

.cta h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 14px 0 36px;
}

/* ── footer ── */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 28px 52px;
  border-top: 1px solid var(--glass-border);
}
.footer p { font-size: 12px; color: var(--dim); }
.footer-links { display: flex; gap: 22px; align-items: center; }
.footer-links a {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.14s;
}
.footer-links a:hover { color: var(--fg); }
.footer-legal-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.1);
}
.footer-links a.legal {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.22);
}
.footer-links a.legal:hover { color: var(--muted); }


/* ── animations ── */
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes star-pulse {
  from { opacity: 0.07; }
  to   { opacity: 0.18; }
}

/* ── responsive ── */
@media (max-width: 780px) {
  .nav-center { display: none; }
  .feat-grid,
  .status-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .feat-grid,
  .status-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .command-row { grid-template-columns: 1fr; gap: 4px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta-star { width: 280px; height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .guild-ticker, .hero-star img, .cta-star { animation: none; }
  .reveal, .reveal-item { opacity: 1; transform: none; transition: none; }
}

/* ── scroll reveal ── */
.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s cubic-bezier(0.16,1,0.3,1), transform 0.45s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.reveal.in-view,
.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children within a revealed group */
.reveal-group .reveal-item:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal-item:nth-child(2) { transition-delay: 0.03s; }
.reveal-group .reveal-item:nth-child(3) { transition-delay: 0.06s; }
.reveal-group .reveal-item:nth-child(4) { transition-delay: 0.09s; }
.reveal-group .reveal-item:nth-child(5) { transition-delay: 0.12s; }
.reveal-group .reveal-item:nth-child(6) { transition-delay: 0.15s; }
.reveal-group .reveal-item:nth-child(7) { transition-delay: 0.18s; }
.reveal-group .reveal-item:nth-child(8) { transition-delay: 0.21s; }
.reveal-group .reveal-item:nth-child(9) { transition-delay: 0.24s; }
.reveal-group .reveal-item:nth-child(10) { transition-delay: 0.27s; }
.reveal-group .reveal-item:nth-child(11) { transition-delay: 0.3s; }
.reveal-group .reveal-item:nth-child(12) { transition-delay: 0.33s; }

.section .reveal.order-1 { transition-delay: 0s; }
.section .reveal.order-2 { transition-delay: 0.04s; }
.section .reveal.order-3 { transition-delay: 0.08s; }

.cta .reveal.order-1 { transition-delay: 0s; }
.cta .reveal.order-2 { transition-delay: 0.05s; }
.cta .reveal.order-3 { transition-delay: 0.1s; }
/* ── section dividers ── */
.section-divider {
  width: 100%;
  pointer-events: none;
  overflow: visible;
  margin: -10px 0;
}
.divider-canvas {
  width: 100%;
  height: 70px;
  display: block;
}
