/* ==========================================================================
   Landing page
   ========================================================================== */

/* --------------------------------------------------------------------------
   Ambient background
   -------------------------------------------------------------------------- */

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #16112e 0%, var(--bg-base) 55%);
}

.bg-grid {
  position: absolute;
  inset: -50%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 20%, #000 20%, transparent 75%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
}

.bg-orb-1 {
  width: 620px;
  height: 620px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.62), transparent 68%);
  animation: drift-1 26s ease-in-out infinite;
}

.bg-orb-2 {
  width: 520px;
  height: 520px;
  top: 12%;
  right: -140px;
  background: radial-gradient(circle, rgba(52, 224, 196, 0.4), transparent 68%);
  animation: drift-2 32s ease-in-out infinite;
}

.bg-orb-3 {
  width: 460px;
  height: 460px;
  bottom: 8%;
  left: 22%;
  background: radial-gradient(circle, rgba(255, 196, 77, 0.22), transparent 68%);
  animation: drift-3 38s ease-in-out infinite;
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.12); }
}

@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 80px) scale(0.9); }
}

@keyframes drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -70px) scale(1.15); }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background var(--t-mid) var(--ease-out), border-color var(--t-mid) var(--ease-out),
    backdrop-filter var(--t-mid) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(7, 7, 13, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.site-header > .wrap {
  width: 100%;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  flex: none;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  transition: transform var(--t-slow) var(--ease-spring);
}

.brand:hover .brand-mark {
  transform: rotate(90deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.brand-sub {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  margin-inline: auto;
}

.site-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-block: 0.4rem;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width var(--t-mid) var(--ease-out);
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  width: 100%;
}

.icon-discord {
  width: 19px;
  height: 15px;
  flex: none;
}

.nav-toggle {
  display: none;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
  background: rgba(11, 11, 20, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.mobile-nav.open {
  display: flex;
  animation: fade-up 240ms var(--ease-out);
}

.mobile-nav a:not(.btn) {
  padding: 0.85rem 0.25rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.mobile-nav .btn {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy {
  animation: fade-up 800ms var(--ease-out) both;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  margin-bottom: 1.6rem;
  border-radius: var(--r-pill);
  background: rgba(52, 224, 196, 0.08);
  border: 1px solid rgba(52, 224, 196, 0.24);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

.hero h1 {
  margin-bottom: 1.35rem;
}

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tick {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(53, 221, 143, 0.16);
  color: var(--win);
  font-size: 0.68rem;
  flex: none;
}

/* Mock window ------------------------------------------------------------ */

.hero-visual {
  position: relative;
  animation: fade-up 900ms 140ms var(--ease-out) both;
}

.mock-window {
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(32, 32, 54, 0.95), rgba(11, 11, 20, 0.98));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-3), 0 0 80px -30px rgba(123, 92, 255, 0.6);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform var(--t-slow) var(--ease-out);
}

.hero-visual:hover .mock-window {
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.1rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--line);
}

.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-raised);
}

.mock-dot:first-child { background: #ff5f57; }
.mock-dot:nth-child(2) { background: #febc2e; }
.mock-dot:nth-child(3) { background: #28c840; }

.mock-url {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.mock-body {
  padding: 1.6rem 1.5rem 1.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.mock-balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.mock-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.mock-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(255, 196, 77, 0.45);
  transition: transform var(--t-mid) var(--ease-spring);
}

.mock-amount.bump {
  transform: scale(1.14);
}

.mock-coin-stage {
  height: 118px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.mock-coin {
  position: relative;
  width: 96px;
  height: 96px;
  transform-style: preserve-3d;
  transition: transform 1.5s cubic-bezier(0.36, 0, 0.15, 1);
}

.mock-coin-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 2.4rem;
  font-weight: 800;
  backface-visibility: hidden;
  border: 3px solid rgba(255, 255, 255, 0.22);
}

.mock-coin-heads {
  background: linear-gradient(145deg, #ffd97a, #d99a2b);
  color: #4a2e00;
  box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.28);
}

.mock-coin-tails {
  background: linear-gradient(145deg, #b9c2e8, #6f7aa8);
  color: #1a1f36;
  transform: rotateY(180deg);
  box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.28);
}

.mock-chips {
  display: flex;
  gap: 0.5rem;
}

.mock-chip {
  padding: 0.32rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.mock-chip-active {
  background: rgba(123, 92, 255, 0.18);
  border-color: rgba(123, 92, 255, 0.5);
  color: var(--brand-bright);
}

.mock-result {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--win);
  min-height: 1.4em;
  transition: color var(--t-fast) linear;
}

.mock-result.loss {
  color: var(--loss);
}

/* Floating cards */
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-radius: var(--r-md);
  background: rgba(24, 24, 41, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-2);
  font-size: 0.82rem;
}

.hero-float strong {
  display: block;
  font-size: 0.85rem;
}

.hero-float small {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.float-icon {
  font-size: 1.3rem;
}

.hero-float-1 {
  top: 8%;
  left: -8%;
  animation: float-y 5.5s ease-in-out infinite;
}

.hero-float-2 {
  bottom: 10%;
  right: -6%;
  animation: float-y 6.8s 0.7s ease-in-out infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Stats row -------------------------------------------------------------- */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.stat-tile {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  background: rgba(18, 18, 31, 0.6);
  border: 1px solid var(--line);
  transition: border-color var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out);
}

.stat-tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--text), var(--brand-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.section-alt {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(11, 11, 20, 0.75) 12%, rgba(11, 11, 20, 0.75) 88%, transparent);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head .eyebrow {
  display: block;
  margin-bottom: 0.7rem;
}

.section-lead {
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Steps ------------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2rem 1.6rem 1.6rem;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--surface-1), var(--bg-deep));
  border: 1px solid var(--line);
  transition: border-color var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out);
}

.step:hover {
  border-color: rgba(123, 92, 255, 0.4);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 1.6rem;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dim));
  font-weight: 800;
  box-shadow: var(--glow-brand);
}

.step h3 {
  margin-bottom: 0.55rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Games ------------------------------------------------------------------ */

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--surface-1), var(--bg-deep));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out), border-color var(--t-mid) var(--ease-out),
    box-shadow var(--t-mid) var(--ease-out);
}

.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% -10%, rgba(123, 92, 255, 0.22), transparent 62%);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 92, 255, 0.4);
  box-shadow: var(--shadow-2);
}

.game-card:hover::before {
  opacity: 1;
}

.game-card > * {
  position: relative;
}

.game-card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--surface-3);
  border: 1px solid var(--line);
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.game-card h3 {
  font-size: 1.2rem;
}

.game-card-tagline {
  font-size: 0.86rem;
  color: var(--accent);
  font-weight: 600;
}

.game-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Features --------------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem 1.6rem;
  border-radius: var(--r-lg);
  background: rgba(18, 18, 31, 0.55);
  border: 1px solid var(--line);
  transition: border-color var(--t-mid) var(--ease-out), background var(--t-mid) var(--ease-out);
}

.feature-card:hover {
  border-color: var(--line-strong);
  background: rgba(24, 24, 41, 0.72);
}

.feature-wide {
  grid-column: span 2;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin-bottom: 1.1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon-brand { background: rgba(123, 92, 255, 0.15); color: var(--brand-bright); }
.feature-icon-accent { background: rgba(52, 224, 196, 0.13); color: var(--accent); }
.feature-icon-gold { background: rgba(255, 196, 77, 0.13); color: var(--gold); }

.feature-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.12rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.feature-card code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 0.1em 0.4em;
  border-radius: 5px;
  background: var(--surface-3);
  color: var(--brand-bright);
}

/* Guild separation diagram */
.feature-diagram {
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.diag-node {
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  text-align: center;
  min-width: 96px;
}

.diag-node strong {
  display: block;
  font-size: 0.8rem;
}

.diag-node small {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.diag-user {
  background: rgba(123, 92, 255, 0.16);
  border-color: rgba(123, 92, 255, 0.4);
  font-weight: 700;
}

.diag-lines {
  display: flex;
  gap: 4.5rem;
  height: 20px;
}

.diag-lines span {
  width: 1px;
  background: linear-gradient(180deg, var(--line-strong), transparent);
}

.diag-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.diag-ok { border-color: rgba(53, 221, 143, 0.35); }
.diag-ok small { color: var(--win); }
.diag-off { opacity: 0.5; border-style: dashed; }

/* Economy ---------------------------------------------------------------- */

.economy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.economy-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2rem;
}

.economy-list li {
  padding-left: 1.15rem;
  border-left: 2px solid var(--line-strong);
  transition: border-color var(--t-mid) var(--ease-out);
}

.economy-list li:hover {
  border-left-color: var(--accent);
}

.economy-list strong {
  display: block;
  margin-bottom: 0.15rem;
}

.economy-list span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.ledger-card {
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--surface-2), var(--bg-deep));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
}

.ledger-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  animation: fade-in 600ms var(--ease-out) both;
}

.ledger-list li:nth-child(1) { animation-delay: 60ms; }
.ledger-list li:nth-child(2) { animation-delay: 120ms; }
.ledger-list li:nth-child(3) { animation-delay: 180ms; }
.ledger-list li:nth-child(4) { animation-delay: 240ms; }
.ledger-list li:nth-child(5) { animation-delay: 300ms; }
.ledger-list li:nth-child(6) { animation-delay: 360ms; }

.ledger-list li:last-child {
  border-bottom: none;
}

.ledger-type {
  color: var(--text-muted);
}

.ledger-amount {
  font-family: var(--font-mono);
  font-weight: 700;
}

.ledger-amount.win { color: var(--win); }
.ledger-amount.loss { color: var(--loss); }
.ledger-amount.push { color: var(--push); }

/* Commands --------------------------------------------------------------- */

.command-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.command-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(18, 18, 31, 0.6);
  border: 1px solid var(--line);
  transition: transform var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}

.command-card:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 224, 196, 0.35);
}

.command-card code {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.command-card span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* FAQ -------------------------------------------------------------------- */

.faq-wrap {
  max-width: 860px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--r-md);
  background: rgba(18, 18, 31, 0.6);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--t-mid) var(--ease-out);
}

.faq-item[open] {
  border-color: rgba(123, 92, 255, 0.35);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex: none;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-dim);
  transition: transform var(--t-mid) var(--ease-spring), color var(--t-mid) var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--brand-bright);
}

.faq-item p {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  animation: fade-up 300ms var(--ease-out);
}

/* CTA -------------------------------------------------------------------- */

.cta-section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.cta-card {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  text-align: center;
  background: linear-gradient(135deg, rgba(123, 92, 255, 0.18), rgba(52, 224, 196, 0.1));
  border: 1px solid rgba(123, 92, 255, 0.3);
  overflow: hidden;
}

.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(123, 92, 255, 0.35), transparent 60%);
  pointer-events: none;
}

.cta-card > * {
  position: relative;
}

.cta-card p {
  max-width: 40rem;
  margin: 1rem auto 2rem;
  color: var(--text-muted);
}

.cta-actions {
  justify-content: center;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem 2rem;
  background: rgba(7, 7, 13, 0.6);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-note {
  margin-top: 1rem;
  font-size: 0.86rem;
  max-width: 26rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-links h4 {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.footer-links a {
  display: block;
  padding-block: 0.3rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 460px;
    margin-inline: auto;
  }

  .hero-float-1 { left: -2%; }
  .hero-float-2 { right: -2%; }

  .economy-layout {
    grid-template-columns: 1fr;
  }

  .feature-wide {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .site-nav,
  .header-invite {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-header .btn-discord {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .mock-window {
    transform: none;
  }

  .hero-float {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions .btn {
    width: 100%;
  }
}
