/* The Beast of Skypiea — $BeastBull */

:root {
  --sky-deep: #0b1e33;
  --sky-mid: #1a4a6e;
  --sky-high: #3d7ea6;
  --cloud: #e8f4fc;
  --ink: #07090d;
  --panel: rgba(8, 14, 22, 0.72);
  --panel-edge: rgba(212, 175, 55, 0.35);
  --gold: #e0b84a;
  --gold-deep: #a67c1f;
  --gold-soft: #f3d98a;
  --green: #7cff3a;
  --green-hot: #b8ff6a;
  --green-dim: #3a8f1a;
  --green-glow: rgba(124, 255, 58, 0.55);
  --text: #eef6fb;
  --muted: #9bb4c7;
  --danger-smoke: rgba(0, 0, 0, 0.55);
  --font-display: "Pirata One", serif;
  --font-title: "Cinzel", serif;
  --font-body: "Crimson Pro", Georgia, serif;
  --nav-h: 78px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  background: var(--sky-deep);
  overflow-x: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

/* ---------- Sky background ---------- */

.sky-stack {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.sky-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, #6eb8e0 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(124, 255, 58, 0.12), transparent 60%),
    linear-gradient(180deg, #4a9bc7 0%, #1f4f72 38%, #0d2238 72%, #060b12 100%);
  animation: sky-breathe 14s ease-in-out infinite alternate;
}

@keyframes sky-breathe {
  from { filter: saturate(1) brightness(1); }
  to { filter: saturate(1.15) brightness(1.06); }
}

.sky-haze {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 70%, rgba(124, 255, 58, 0.08), transparent 35%),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.12), transparent 40%);
  animation: haze-drift 18s ease-in-out infinite alternate;
}

@keyframes haze-drift {
  from { transform: translate3d(-1%, 0, 0); opacity: 0.7; }
  to { transform: translate3d(2%, -1%, 0); opacity: 1; }
}

#energy-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

.cloud-layer {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 40%;
  background-repeat: repeat-x;
  background-size: 900px 100%;
  opacity: 0.35;
  filter: blur(2px);
}

.cloud-far {
  top: 8%;
  height: 28%;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='200' viewBox='0 0 900 200'%3E%3Cellipse cx='120' cy='120' rx='110' ry='40' fill='%23ffffff' opacity='.55'/%3E%3Cellipse cx='220' cy='110' rx='90' ry='35' fill='%23ffffff' opacity='.45'/%3E%3Cellipse cx='480' cy='130' rx='140' ry='45' fill='%23ffffff' opacity='.5'/%3E%3Cellipse cx='720' cy='115' rx='120' ry='38' fill='%23ffffff' opacity='.4'/%3E%3C/svg%3E");
  animation: cloud-drift 90s linear infinite;
}

.cloud-mid {
  top: 28%;
  height: 32%;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='220' viewBox='0 0 900 220'%3E%3Cellipse cx='160' cy='140' rx='130' ry='48' fill='%23f0f7fc' opacity='.6'/%3E%3Cellipse cx='320' cy='125' rx='100' ry='40' fill='%23ffffff' opacity='.5'/%3E%3Cellipse cx='560' cy='150' rx='150' ry='52' fill='%23e8f4fc' opacity='.55'/%3E%3Cellipse cx='800' cy='130' rx='110' ry='42' fill='%23ffffff' opacity='.45'/%3E%3C/svg%3E");
  animation: cloud-drift 55s linear infinite reverse;
}

.cloud-near {
  bottom: 0;
  height: 36%;
  opacity: 0.4;
  filter: blur(4px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='240' viewBox='0 0 900 240'%3E%3Cellipse cx='100' cy='180' rx='160' ry='55' fill='%23ffffff' opacity='.65'/%3E%3Cellipse cx='340' cy='170' rx='140' ry='50' fill='%23eef6fb' opacity='.55'/%3E%3Cellipse cx='600' cy='190' rx='170' ry='58' fill='%23ffffff' opacity='.6'/%3E%3Cellipse cx='820' cy='165' rx='120' ry='45' fill='%23f5faff' opacity='.5'/%3E%3C/svg%3E");
  animation: cloud-drift 35s linear infinite;
}

@keyframes cloud-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-20%); }
}

.island-silhouettes {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80px 28px at 12% 42%, rgba(20, 40, 28, 0.55), transparent 70%),
    radial-gradient(ellipse 60px 22px at 88% 36%, rgba(18, 36, 26, 0.5), transparent 70%),
    radial-gradient(ellipse 100px 34px at 70% 58%, rgba(16, 32, 24, 0.45), transparent 70%);
  animation: island-float 12s ease-in-out infinite alternate;
}

@keyframes island-float {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

.smoke-frame {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(0, 0, 0, 0.75), transparent 55%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 18%);
}

.vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 180px 40px rgba(0, 0, 0, 0.55);
}

/* ---------- Shared UI ---------- */

.ico {
  width: 1.15em;
  height: 1.15em;
  object-fit: contain;
  flex-shrink: 0;
}

.ico-sm {
  width: 0.95em;
  height: 0.95em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s ease, border-color 0.35s ease;
  white-space: nowrap;
}

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

.btn-sm {
  padding: 0.6rem 1rem;
  font-size: 0.72rem;
}

.btn-green {
  color: #061208;
  background: linear-gradient(135deg, var(--green-hot), var(--green) 45%, var(--green-dim));
  box-shadow:
    0 0 0 1px rgba(124, 255, 58, 0.35),
    0 0 28px rgba(124, 255, 58, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: pulse-glow 2.8s ease-in-out infinite;
}

.btn-green:hover {
  box-shadow:
    0 0 0 1px rgba(124, 255, 58, 0.55),
    0 0 40px rgba(124, 255, 58, 0.55);
}

.btn-gold {
  color: #1a1204;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 50%, var(--gold-deep));
  box-shadow: 0 0 24px rgba(224, 184, 74, 0.35);
}

.btn-ghost {
  color: var(--cloud);
  background: rgba(8, 18, 28, 0.45);
  border-color: rgba(232, 244, 252, 0.28);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(124, 255, 58, 0.2);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(124, 255, 58, 0.35), 0 0 22px rgba(124, 255, 58, 0.28); }
  50% { box-shadow: 0 0 0 1px rgba(124, 255, 58, 0.55), 0 0 38px rgba(124, 255, 58, 0.5); }
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(8, 18, 28, 0.55);
  border: 1px solid rgba(232, 244, 252, 0.22);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease);
}

.icon-btn .ico {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

.icon-btn:hover {
  border-color: var(--green);
  box-shadow: 0 0 18px var(--green-glow);
  transform: translateY(-2px);
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, rgba(6, 12, 20, 0.85), rgba(6, 12, 20, 0.35));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
  background: rgba(6, 12, 20, 0.92);
  border-bottom-color: rgba(224, 184, 74, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.nav-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(124, 255, 58, 0.45), 0 0 18px rgba(124, 255, 58, 0.35);
  animation: logo-aura 3s ease-in-out infinite;
}

@keyframes logo-aura {
  0%, 100% { box-shadow: 0 0 0 2px rgba(124, 255, 58, 0.4), 0 0 14px rgba(124, 255, 58, 0.3); }
  50% { box-shadow: 0 0 0 2px rgba(184, 255, 106, 0.7), 0 0 28px rgba(124, 255, 58, 0.55); }
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.nav-symbol {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--green);
  text-shadow: 0 0 12px rgba(124, 255, 58, 0.45);
}

.nav-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cloud);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid rgba(232, 244, 252, 0.2);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--cloud);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1rem, 4vw, 2.5rem);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-kicker {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1;
  color: var(--cloud);
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.35),
    0 0 30px rgba(124, 255, 58, 0.15);
}

.title-ornament {
  width: 140px;
  height: 14px;
  margin: 1rem auto 0;
  background:
    linear-gradient(90deg, transparent, var(--gold), transparent) center / 100% 2px no-repeat,
    radial-gradient(circle, var(--green) 0 3px, transparent 4px) center / 14px 14px no-repeat;
  position: relative;
}

.title-ornament::before,
.title-ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.title-ornament::before { left: 8px; }
.title-ornament::after { right: 8px; }

.section-sub {
  max-width: 540px;
  margin: 1.1rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 2rem) clamp(1rem, 4vw, 2.5rem) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 244, 252, 0.18);
  background: rgba(8, 18, 28, 0.4);
}

.eyebrow .ico-sm {
  filter: invert(1);
  opacity: 0.9;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  line-height: 0.92;
  margin-bottom: 0.75rem;
}

.hero-the {
  font-family: var(--font-title);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-soft);
  padding: 0.2rem 0.7rem;
  border: 1px solid rgba(224, 184, 74, 0.55);
  background: linear-gradient(180deg, rgba(224, 184, 74, 0.2), rgba(166, 124, 31, 0.08));
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

.hero-beast {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 6.2rem);
  background: linear-gradient(180deg, #ffe9a0 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 0 rgba(80, 50, 0, 0.35)) drop-shadow(0 0 24px rgba(224, 184, 74, 0.25));
  animation: title-shimmer 5s ease-in-out infinite;
}

.hero-of {
  font-family: var(--font-title);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-style: italic;
  letter-spacing: 0.35em;
  color: var(--muted);
  margin: 0.15rem 0;
}

.hero-skypiea {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.5vw, 5.8rem);
  color: #f4f8fc;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.25),
    0 6px 0 rgba(20, 40, 60, 0.35),
    0 0 40px rgba(124, 255, 58, 0.2);
  position: relative;
}

.hero-skypiea::after {
  content: "";
  position: absolute;
  left: 0;
  right: 20%;
  bottom: 0.08em;
  height: 0.08em;
  background: linear-gradient(90deg, var(--green), transparent);
  opacity: 0.7;
  animation: underline-sweep 3.5s ease-in-out infinite;
}

@keyframes title-shimmer {
  0%, 100% { filter: drop-shadow(0 4px 0 rgba(80, 50, 0, 0.35)) drop-shadow(0 0 18px rgba(224, 184, 74, 0.2)); }
  50% { filter: drop-shadow(0 4px 0 rgba(80, 50, 0, 0.35)) drop-shadow(0 0 32px rgba(224, 184, 74, 0.45)); }
}

@keyframes underline-sweep {
  0%, 100% { transform: scaleX(0.55); opacity: 0.45; }
  50% { transform: scaleX(1); opacity: 0.9; }
}

.hero-ticker {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  letter-spacing: 0.08em;
  color: var(--green);
  text-shadow: 0 0 18px rgba(124, 255, 58, 0.45);
  margin-bottom: 0.85rem;
}

.hero-bio {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ca-box {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
  padding: 0.55rem 0.55rem 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(6, 12, 20, 0.65);
  border: 1px solid rgba(124, 255, 58, 0.28);
  box-shadow: 0 0 24px rgba(124, 255, 58, 0.08);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ca-box:hover {
  border-color: var(--green);
  box-shadow: 0 0 28px rgba(124, 255, 58, 0.2);
}

.ca-label {
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--green);
}

.ca-addr {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--cloud);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(42vw, 280px);
}

.ca-copy {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #061208;
  background: var(--green);
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(68vh, 620px);
  isolation: isolate;
}

.stage-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 255, 58, 0.45) 0%, rgba(124, 255, 58, 0.12) 40%, transparent 70%);
  filter: blur(18px);
  animation: glow-pulse 3.2s ease-in-out infinite;
  z-index: 0;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

.stage-ring,
.stage-ring-2 {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124, 255, 58, 0.28);
  z-index: 1;
  animation: ring-spin 18s linear infinite;
}

.stage-ring {
  width: 86%;
  height: 86%;
  box-shadow: 0 0 40px rgba(124, 255, 58, 0.12), inset 0 0 40px rgba(124, 255, 58, 0.06);
}

.stage-ring-2 {
  width: 100%;
  height: 100%;
  border-style: dashed;
  border-color: rgba(224, 184, 74, 0.28);
  animation-direction: reverse;
  animation-duration: 28s;
}

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

.stage-media {
  --tilt-x: 0px;
  --tilt-y: 0px;
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  animation: float-beast 5.5s ease-in-out infinite;
  will-change: transform;
}

.hero-video,
.hero-logo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.55),
    0 0 0 2px rgba(124, 255, 58, 0.25),
    0 0 50px rgba(124, 255, 58, 0.2);
}

.hero-video {
  display: none;
}

.hero-video.is-ready {
  display: block;
}

.hero-video.is-ready ~ .hero-logo {
  display: none;
}

@keyframes float-beast {
  0%, 100% { transform: translate3d(var(--tilt-x), var(--tilt-y), 0); }
  50% { transform: translate3d(var(--tilt-x), calc(var(--tilt-y) - 14px), 0); }
}

.stage-mist {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 4%;
  height: 28%;
  z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(230, 242, 250, 0.35) 40%, rgba(8, 16, 24, 0.55));
  filter: blur(10px);
  border-radius: 50%;
  pointer-events: none;
  animation: mist-breathe 4.5s ease-in-out infinite;
}

@keyframes mist-breathe {
  0%, 100% { opacity: 0.55; transform: scaleX(1); }
  50% { opacity: 0.9; transform: scaleX(1.06); }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.8;
}

.scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--green), transparent);
  animation: scroll-drip 1.8s ease-in-out infinite;
}

@keyframes scroll-drip {
  0% { transform: scaleY(0.4); opacity: 0.3; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.4); opacity: 0.3; }
}

/* ---------- About ---------- */

.about-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.about-panel,
.stat-card,
.buy-step,
.chart-frame {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.about-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), var(--gold), transparent);
}

.about-lead {
  font-size: 1.28rem;
  color: var(--cloud);
  margin-bottom: 1rem;
}

.about-panel p + p {
  margin-top: 0.9rem;
  color: var(--muted);
}

.trait-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.7rem;
}

.trait-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
}

.trait-mark {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.about-stats {
  display: grid;
  gap: 0.85rem;
}

.stat-card {
  padding: 1.1rem 1.2rem;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 255, 58, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(124, 255, 58, 0.12);
}

.stat-card.accent {
  border-color: rgba(124, 255, 58, 0.4);
  background: linear-gradient(160deg, rgba(124, 255, 58, 0.12), rgba(8, 14, 22, 0.72));
}

.stat-label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.stat-value {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cloud);
}

.stat-with-ico {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.stat-with-ico .ico {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

/* ---------- How to buy ---------- */

.buy-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.buy-step {
  padding: 1.5rem 1.25rem 1.35rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.buy-step::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 55%;
  background: radial-gradient(circle at 50% 0%, rgba(124, 255, 58, 0.14), transparent 65%);
  pointer-events: none;
}

.buy-step:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 255, 58, 0.45);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(124, 255, 58, 0.12);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--green);
  text-shadow: 0 0 18px rgba(124, 255, 58, 0.4);
  margin-bottom: 0.75rem;
}

.buy-step h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
  color: var(--cloud);
}

.buy-step p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 0.9rem;
}

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  position: relative;
  z-index: 1;
}

.step-link:hover {
  color: var(--green);
}

/* ---------- Chart ---------- */

.chart-frame {
  padding: 1rem;
  overflow: hidden;
}

.chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.chart-embed {
  position: relative;
  width: 100%;
  height: min(70vh, 620px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(124, 255, 58, 0.2);
  background: #0b1118;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
}

.chart-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Join Us (banner only here) ---------- */

.joinus {
  padding-top: clamp(5rem, 12vw, 8rem);
  padding-bottom: clamp(5rem, 12vw, 8rem);
  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.05) contrast(1.05);
}

@keyframes banner-ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1%, -1%, 0); }
}

.join-banner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 12, 20, 0.72) 0%, rgba(6, 12, 20, 0.45) 40%, rgba(6, 12, 20, 0.78) 100%),
    radial-gradient(ellipse at center, transparent 20%, rgba(0, 0, 0, 0.45) 100%);
}

.join-inner {
  position: relative;
  z-index: 1;
}

.join-sub {
  color: rgba(238, 246, 251, 0.88);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.joinus .section-title {
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.45),
    0 0 28px rgba(124, 255, 58, 0.25),
    0 0 40px rgba(0, 0, 0, 0.5);
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.join-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 180px;
  justify-content: center;
  padding: 1rem 1.35rem;
  border-radius: 16px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cloud);
  background: rgba(6, 12, 20, 0.62);
  border: 1px solid rgba(224, 184, 74, 0.4);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.join-chip .ico {
  width: 22px;
  height: 22px;
}

.join-chip:first-child .ico {
  filter: invert(1);
}

.join-chip:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--green);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(124, 255, 58, 0.25);
}

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

.footer {
  position: relative;
  padding: 2.5rem 1.25rem 2rem;
  border-top: 1px solid rgba(224, 184, 74, 0.2);
  background: rgba(4, 8, 14, 0.85);
}

.footer-inner {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-title);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(124, 255, 58, 0.4);
}

.footer-tag {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(232, 244, 252, 0.2);
  background: rgba(12, 20, 30, 0.7);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease);
}

.footer-links a:hover {
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(124, 255, 58, 0.25);
  transform: translateY(-2px);
}

.footer-links .ico {
  width: 18px;
  height: 18px;
}

.footer-links a:first-child .ico {
  filter: invert(1);
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: rgba(155, 180, 199, 0.75);
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Reveal + toast ---------- */

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

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

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 200;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #061208;
  background: var(--green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 24px rgba(124, 255, 58, 0.35);
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

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

@media (max-width: 980px) {
  .hero-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-title {
    align-items: center;
  }

  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta,
  .ca-box {
    justify-content: center;
  }

  .ca-box {
    width: 100%;
  }

  .ca-addr {
    max-width: none;
    flex: 1;
  }

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

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: rgba(6, 12, 20, 0.96);
    border-bottom: 1px solid rgba(224, 184, 74, 0.25);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s ease;
  }

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

  .nav-links a {
    width: 100%;
    padding: 0.9rem 1.25rem;
    text-align: center;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .nav-title {
    display: none;
  }
}

@media (max-width: 620px) {
  .buy-steps {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
  }

  .stage-media {
    width: min(100%, 360px);
  }

  .scroll-cue {
    display: none;
  }

  .join-chip {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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