:root {
  --bg-deep: #020805;
  --bg-mid: #04150c;
  --bg-lift: #0a2414;
  --phosphor: #39ff14;
  --phosphor-hot: #b8ff6a;
  --phosphor-dim: #16a34a;
  --teal: #22c55e;
  --ink: #f4fff4;
  --ink-soft: #b6e5b8;
  --ink-mute: #6f9a72;
  --line: rgba(57, 255, 20, 0.32);
  --glass: rgba(2, 12, 8, 0.78);
  --font-brand: "Orbitron", sans-serif;
  --font-pixel: "Press Start 2P", monospace;
  --font-body: "Oxanium", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
  --max: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-deep);
  overflow-x: hidden;
  line-height: 1.55;
  cursor: none;
}

body.is-touch {
  cursor: auto;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ===== World atmosphere ===== */
.world {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.world-depth {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(93, 255, 138, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(20, 200, 168, 0.1), transparent 50%),
    radial-gradient(ellipse 55% 45% at 10% 70%, rgba(31, 170, 85, 0.14), transparent 55%),
    linear-gradient(180deg, #03140f 0%, #062218 45%, #041510 100%);
}

.world-grid {
  position: absolute;
  inset: -20% 0 0;
  background-image:
    linear-gradient(rgba(93, 255, 138, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 255, 138, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(600px) rotateX(58deg);
  transform-origin: center top;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 75%);
  animation: grid-drift 28s linear infinite;
}

@keyframes grid-drift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 48px, 48px 0; }
}

.world-reef {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(93, 255, 138, 0.08) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 40%, rgba(20, 200, 168, 0.07) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 20%, rgba(157, 255, 184, 0.05) 0 1.5px, transparent 2.5px);
  background-size: 160px 160px, 220px 220px, 120px 120px;
  animation: reef-shift 40s linear infinite;
  opacity: 0.7;
}

@keyframes reef-shift {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 160px 80px, -220px 110px, 60px -120px; }
}

#pixel-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.world-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 2px,
    rgba(0, 0, 0, 0.08) 2px 3px
  );
  opacity: 0.35;
  mix-blend-mode: multiply;
}

.world-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(2, 10, 8, 0.75) 100%);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--phosphor);
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), opacity 0.2s;
  opacity: 0;
}

.cursor-ring.is-on {
  opacity: 0.85;
}

.cursor-ring.is-hot {
  width: 42px;
  height: 42px;
  background: rgba(93, 255, 138, 0.08);
}

/* ===== Header ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}

.topbar.is-scrolled {
  background: rgba(4, 21, 16, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(93, 255, 138, 0.45));
  animation: logo-bob 4.5s ease-in-out infinite;
}

@keyframes logo-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

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

.brand-stack strong {
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
}

.brand-stack small {
  font-family: var(--font-mono);
  color: var(--phosphor);
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  z-index: 2;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--phosphor);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-panel > a:not(.nav-buy):not(.nav-x) {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s;
}

.nav-panel > a:not(.nav-buy):not(.nav-x)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--phosphor);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-panel > a:not(.nav-buy):not(.nav-x):hover {
  color: var(--phosphor-hot);
}

.nav-panel > a:not(.nav-buy):not(.nav-x):hover::after {
  transform: scaleX(1);
}

.nav-x {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: rgba(93, 255, 138, 0.05);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.nav-x img {
  width: 16px;
  height: 16px;
  filter: invert(84%) sepia(42%) saturate(523%) hue-rotate(74deg) brightness(105%);
}

.nav-x:hover {
  border-color: var(--phosphor);
  background: rgba(93, 255, 138, 0.12);
  transform: translateY(-2px);
}

.nav-buy {
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 1.1rem;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--phosphor-hot), var(--phosphor) 55%, var(--teal));
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: filter 0.25s, transform 0.25s;
}

.nav-buy:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), filter 0.25s, background 0.25s, border-color 0.25s;
}

.btn img {
  width: 16px;
  height: 16px;
}

.btn-phosphor {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--phosphor-hot), var(--phosphor) 50%, var(--teal));
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 0 28px rgba(93, 255, 138, 0.25);
}

.btn-phosphor img {
  filter: brightness(0) saturate(100%);
}

.btn-phosphor:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.btn-ghost {
  color: var(--phosphor-hot);
  border: 1px solid var(--line);
  background: rgba(93, 255, 138, 0.05);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-ghost img {
  filter: invert(84%) sepia(42%) saturate(523%) hue-rotate(74deg) brightness(105%);
}

.btn-ghost:hover {
  border-color: var(--phosphor);
  background: rgba(93, 255, 138, 0.12);
  transform: translateY(-3px);
}

.btn-icon {
  width: 48px;
  padding-inline: 0;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 8s ease;
}

.hero-video.is-ready {
  opacity: 0.55;
  transform: scale(1);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 21, 16, 0.35) 0%, rgba(4, 21, 16, 0.55) 40%, rgba(4, 21, 16, 0.92) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(93, 255, 138, 0.12), transparent 50%);
}

.hero-pixels {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(93, 255, 138, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 255, 138, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 70%);
  animation: pixel-pulse 6s ease-in-out infinite;
}

@keyframes pixel-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

.hero-orbit {
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(42vw, 420px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
}

.hero-orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(93, 255, 138, 0.18);
  border-radius: 50%;
  animation: orbit-spin 18s linear infinite;
}

.hero-orbit span:nth-child(2) {
  inset: 12%;
  border-style: dashed;
  animation-duration: 26s;
  animation-direction: reverse;
}

.hero-orbit span:nth-child(3) {
  inset: 26%;
  border-color: rgba(20, 200, 168, 0.25);
  animation-duration: 12s;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.hero-stage {
  position: relative;
  z-index: 2;
  padding: 7rem 0 5.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
}

.hero-copy {
  max-width: 640px;
}

.hero.has-video .hero-mascot {
  opacity: 0;
  pointer-events: none;
}

.hero-mascot {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  margin-bottom: 1rem;
}

.hero-mascot-glow {
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.45), transparent 68%);
  filter: blur(22px);
  animation: glow-breathe 4s ease-in-out infinite;
}

.hero-mascot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(57, 255, 20, 0.55));
  animation: mascot-float 5.5s ease-in-out infinite;
}

.ticker-chip {
  margin: 0 0 0.75rem;
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--phosphor);
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.55);
}

.hero-pill {
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.45rem 0.95rem;
  border: 1.5px solid var(--phosphor);
  border-radius: 999px;
  background: rgba(57, 255, 20, 0.06);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.18);
}

.brand-signal {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  letter-spacing: 0.08em;
  line-height: 0.92;
  color: #fff;
  text-shadow:
    0 0 8px rgba(57, 255, 20, 0.85),
    0 0 24px rgba(57, 255, 20, 0.55),
    0 0 48px rgba(57, 255, 20, 0.35);
  animation: brand-flicker 7s ease-in-out infinite;
}

@keyframes brand-flicker {
  0%, 92%, 100% {
    text-shadow:
      0 0 8px rgba(57, 255, 20, 0.85),
      0 0 24px rgba(57, 255, 20, 0.55),
      0 0 48px rgba(57, 255, 20, 0.35);
    opacity: 1;
  }
  93% { opacity: 0.82; }
  94% { opacity: 1; }
  96% {
    opacity: 0.7;
    text-shadow: 0 0 6px rgba(57, 255, 20, 0.35);
  }
  97% { opacity: 1; }
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: var(--ink);
  max-width: 16ch;
}

.hero-lede {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.ca-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.65rem;
  max-width: 100%;
  border: 1px solid var(--line);
  background: rgba(4, 28, 18, 0.65);
  backdrop-filter: blur(8px);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.ca-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--bg-deep);
  background: var(--phosphor);
  padding: 0.2rem 0.45rem;
}

#ca-value {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#copy-ca {
  font-family: var(--font-brand);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--phosphor);
  border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
  transition: background 0.2s, border-color 0.2s;
}

#copy-ca:hover {
  background: rgba(93, 255, 138, 0.12);
  border-color: var(--phosphor);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-hint span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--phosphor);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ===== Panels ===== */
.panel {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}

.section-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--phosphor);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-head h2,
.about-copy h2,
.join-content h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.section-head p,
.about-copy p,
.join-content > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.mascot-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 440px;
  margin-inline: auto;
}

.mascot-glow {
  position: absolute;
  inset: 12%;
  background: radial-gradient(circle, rgba(93, 255, 138, 0.35), transparent 65%);
  filter: blur(18px);
  animation: glow-breathe 4s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.65; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.08); }
}

.mascot-logo {
  position: relative;
  z-index: 1;
  width: min(86%, 380px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(93, 255, 138, 0.4));
  animation: mascot-float 5.5s ease-in-out infinite;
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}

.mascot-ring {
  position: absolute;
  inset: 4%;
  border: 1px dashed rgba(93, 255, 138, 0.35);
  border-radius: 50%;
  animation: orbit-spin 22s linear infinite;
}

.mascot-ring::before,
.mascot-ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--phosphor);
  box-shadow: 0 0 12px var(--phosphor);
}

.mascot-ring::before {
  top: 8%;
  left: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.mascot-ring::after {
  bottom: 12%;
  right: 18%;
  width: 8px;
  height: 8px;
  background: var(--teal);
}

.trait-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.trait-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(93, 255, 138, 0.08), transparent 70%);
  font-weight: 600;
  letter-spacing: 0.03em;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: border-color 0.25s, transform 0.25s;
}

.trait-list li:hover {
  border-color: var(--phosphor);
  transform: translateX(6px);
}

.trait-list span {
  font-family: var(--font-mono);
  color: var(--phosphor);
  font-size: 0.85rem;
}

/* How to buy */
.howtobuy {
  background:
    linear-gradient(180deg, transparent, rgba(93, 255, 138, 0.03), transparent);
}

.buy-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}

.buy-step {
  position: relative;
  padding: 1.5rem 1.35rem 1.6rem;
  border: 1px solid var(--line);
  background: rgba(4, 28, 18, 0.55);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.buy-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--phosphor), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.buy-step:hover {
  border-color: rgba(93, 255, 138, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.buy-step:hover::before {
  transform: scaleX(1);
}

.step-index {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(93, 255, 138, 0.28);
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  line-height: 1;
}

.buy-step h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-brand);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.buy-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.buy-links,
.chart-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Chart */
.chart-shell {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 0 0 1px rgba(93, 255, 138, 0.05), 0 24px 60px rgba(0, 0, 0, 0.35);
}

.chart-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(93, 255, 138, 0.08);
  box-shadow: inset 0 0 40px rgba(93, 255, 138, 0.05);
}

.chart-shell iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
  background: #0b1210;
}

/* Join Us — banner only here */
.joinus {
  padding: 0;
  overflow: hidden;
}

.join-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.join-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: banner-ken 22s ease-in-out infinite alternate;
  filter: saturate(1.15) brightness(0.72);
}

@keyframes banner-ken {
  0% { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.join-banner-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 21, 16, 0.92) 0%, rgba(4, 21, 16, 0.72) 48%, rgba(4, 21, 16, 0.55) 100%),
    radial-gradient(ellipse at 80% 50%, rgba(93, 255, 138, 0.18), transparent 50%);
}

.join-content {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 12vw, 8rem) 0;
  max-width: 620px;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
}

.joinus .wrap.join-content {
  width: min(100% - 2rem, 620px);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  background: rgba(2, 12, 9, 0.85);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.brand-foot img {
  width: 36px;
  height: 36px;
  animation: none;
}

.brand-foot span {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.footer-row > p {
  margin: 0;
  color: var(--ink-mute);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 0.55rem;
}

.footer-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: rgba(93, 255, 138, 0.04);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.footer-links a:hover {
  border-color: var(--phosphor);
  background: rgba(93, 255, 138, 0.12);
  transform: translateY(-2px);
}

.footer-links img {
  width: 16px;
  height: 16px;
  filter: invert(84%) sepia(42%) saturate(523%) hue-rotate(74deg) brightness(105%);
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.buy-step.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.buy-step.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }

  .mascot-frame {
    max-width: 320px;
  }

  .buy-rail {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    opacity: 0.35;
    right: -8%;
    top: 8%;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero-mascot {
    justify-self: center;
    order: -1;
    width: min(72%, 300px);
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 780px) {
  body {
    cursor: auto;
  }

  .cursor-ring {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-panel {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    padding: 5.5rem 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: rgba(4, 21, 16, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s;
  }

  .nav-panel.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-panel > a:not(.nav-buy):not(.nav-x) {
    padding: 0.85rem 0.5rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(93, 255, 138, 0.1);
  }

  .nav-panel > a:not(.nav-buy):not(.nav-x)::after {
    display: none;
  }

  .nav-x,
  .nav-buy {
    width: fit-content;
    margin-top: 0.5rem;
  }

  .hero-stage {
    padding: 6.5rem 0 4.5rem;
  }

  .brand-signal {
    font-size: clamp(2.6rem, 16vw, 4.2rem);
  }

  .chart-shell,
  .chart-shell iframe {
    min-height: 420px;
    height: 420px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-video {
    transform: none;
  }
}
