:root {
  --sky-top: #7ec8f5;
  --sky-mid: #2f7eb8;
  --sky-deep: #0b1e3a;
  --navy: #071526;
  --cyan: #22c7ff;
  --cyan-hot: #5de8ff;
  --yellow: #ffd84d;
  --lime: #7dff5a;
  --grass: #3ecf6e;
  --earth: #8b5a2b;
  --ink: #06101f;
  --foam: #f4fbff;
  --muted: rgba(244, 251, 255, 0.72);
  --glass: rgba(8, 28, 52, 0.55);
  --line: rgba(94, 214, 255, 0.35);
  --shadow: 0 18px 50px rgba(0, 10, 28, 0.45);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --radius-block: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--foam);
  background: var(--navy);
  overflow-x: hidden;
  line-height: 1.55;
}

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

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

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

/* Atmosphere */
.sky-layer {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(180, 230, 255, 0.55), transparent 60%),
    radial-gradient(ellipse 40% 30% at 85% 20%, rgba(255, 216, 77, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 35% at 10% 30%, rgba(125, 255, 90, 0.12), transparent 50%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 28%, var(--sky-deep) 62%, var(--navy) 100%);
}

.aurora {
  position: fixed;
  inset: -20% -10%;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 40%, rgba(34, 199, 255, 0.22), transparent 35%),
    radial-gradient(circle at 75% 55%, rgba(125, 255, 90, 0.14), transparent 40%),
    radial-gradient(circle at 55% 25%, rgba(255, 216, 77, 0.12), transparent 35%);
  filter: blur(18px);
  animation: aurora-drift 18s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

#voxel-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grid-floor {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42vh;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(7, 21, 38, 0.85)),
    repeating-linear-gradient(
      90deg,
      transparent 0 38px,
      rgba(34, 199, 255, 0.08) 38px 40px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 38px,
      rgba(34, 199, 255, 0.06) 38px 40px
    );
  transform: perspective(500px) rotateX(62deg) translateY(18%);
  transform-origin: center bottom;
  mask-image: linear-gradient(180deg, transparent, #000 35%, #000);
  opacity: 0.55;
  animation: grid-pulse 6s ease-in-out infinite;
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(7, 21, 38, 0.78), rgba(7, 21, 38, 0.35));
  border-bottom: 2px solid rgba(94, 214, 255, 0.18);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 199, 255, 0.55), 0 0 18px rgba(34, 199, 255, 0.35);
  animation: logo-halo 3.2s ease-in-out infinite;
}

@keyframes logo-halo {
  0%, 100% { box-shadow: 0 0 0 2px rgba(34, 199, 255, 0.45), 0 0 12px rgba(34, 199, 255, 0.25); }
  50% { box-shadow: 0 0 0 3px rgba(125, 255, 90, 0.55), 0 0 22px rgba(255, 216, 77, 0.35); }
}

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

.nav-links a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--foam);
}

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

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

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: var(--radius-block);
  background: rgba(10, 36, 64, 0.65);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-hot);
  background: rgba(34, 199, 255, 0.18);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border: 2px solid var(--line);
  border-radius: var(--radius-block);
  background: rgba(10, 36, 64, 0.65);
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--foam);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem) 3.5rem;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: orb-float 10s ease-in-out infinite;
}

.hero-orb-a {
  width: 280px;
  height: 280px;
  top: 8%;
  left: 5%;
  background: rgba(34, 199, 255, 0.28);
}

.hero-orb-b {
  width: 220px;
  height: 220px;
  right: 8%;
  bottom: 18%;
  background: rgba(125, 255, 90, 0.2);
  animation-delay: -4s;
}

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

.hero-stage {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}

.logo-ring {
  position: relative;
  width: min(420px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(34, 199, 255, 0.2), transparent 55%),
    rgba(5, 18, 36, 0.35);
  box-shadow:
    0 0 0 4px rgba(34, 199, 255, 0.55),
    0 0 0 14px rgba(34, 199, 255, 0.12),
    0 30px 80px rgba(0, 20, 50, 0.55);
  overflow: hidden;
  animation: ring-breathe 4.5s ease-in-out infinite;
}

@keyframes ring-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 4px rgba(34, 199, 255, 0.5),
      0 0 0 14px rgba(34, 199, 255, 0.1),
      0 30px 80px rgba(0, 20, 50, 0.5);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(125, 255, 90, 0.55),
      0 0 0 18px rgba(255, 216, 77, 0.12),
      0 34px 90px rgba(0, 20, 50, 0.55);
  }
}

.hero-logo,
.hero-video {
  width: 92%;
  height: 92%;
  object-fit: contain;
  border-radius: 50%;
}

.hero-video {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-video.is-ready + .hero-logo {
  opacity: 0;
}

.hero-logo {
  animation: logo-float 5s ease-in-out infinite;
  transition: opacity 0.45s ease;
}

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

.spark-ring {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 216, 77, 0.35);
  animation: spin-slow 22s linear infinite;
  pointer-events: none;
}

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

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-symbol {
  margin: 0;
  width: fit-content;
  padding: 0.35rem 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  background: linear-gradient(135deg, var(--yellow), #ffe99a);
  border: 3px solid #1a1200;
  box-shadow: 4px 4px 0 #1a1200;
  animation: badge-pop 3.5s ease-in-out infinite;
}

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

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  filter: drop-shadow(0 6px 0 rgba(5, 18, 36, 0.85)) drop-shadow(0 14px 24px rgba(0, 20, 40, 0.35));
}

.hero-title .letter {
  display: inline-block;
  animation: letter-bounce 2.8s ease-in-out infinite;
}

.hero-title .letter:nth-child(2) { animation-delay: 0.05s; }
.hero-title .letter:nth-child(3) { animation-delay: 0.1s; }
.hero-title .letter:nth-child(4) { animation-delay: 0.15s; }
.hero-title .letter:nth-child(5) { animation-delay: 0.2s; }
.hero-title .letter:nth-child(6) { animation-delay: 0.25s; }
.hero-title .letter:nth-child(7) { animation-delay: 0.3s; }

.letter-s { color: var(--cyan-hot); }
.letter-a,
.letter-n,
.letter-d { color: #eef9ff; }
.letter-b { color: var(--yellow); }
.letter-o { color: #eef9ff; }
.letter-x { color: var(--lime); }

@keyframes letter-bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(2px); }
}

.hero-bio {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(244, 251, 255, 0.9);
  text-shadow: 0 2px 12px rgba(0, 20, 40, 0.45);
}

.hero-ctas,
.buy-links,
.join-actions,
.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.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-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: 3px solid #04101f;
  border-radius: var(--radius-block);
  box-shadow: 5px 5px 0 #04101f;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.2s ease;
}

.btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #04101f;
  filter: brightness(1.05);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #04101f;
}

.btn-cyan {
  color: #032033;
  background: linear-gradient(180deg, #7aedff, var(--cyan));
}

.btn-lime {
  color: #0c2a10;
  background: linear-gradient(180deg, #b6ff8f, var(--lime));
}

.btn-yellow {
  color: #2a1d00;
  background: linear-gradient(180deg, #ffe789, var(--yellow));
}

.btn-lg {
  min-height: 56px;
  padding: 0.9rem 1.5rem;
  font-size: 1.1rem;
}

.btn-tiny {
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  box-shadow: 3px 3px 0 #04101f;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 28, 52, 0.45);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.pill-link img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.pill-link:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-hot);
  background: rgba(34, 199, 255, 0.16);
}

.ca-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
  padding: 0.65rem 0.8rem;
  background: rgba(5, 18, 36, 0.55);
  border: 2px solid var(--line);
  border-radius: var(--radius-block);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.ca-label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--yellow);
}

#ca-value {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(244, 251, 255, 0.88);
}

.scroll-hint {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 2px solid rgba(244, 251, 255, 0.45);
  border-radius: 14px;
}

.scroll-hint span {
  display: block;
  width: 5px;
  height: 9px;
  margin: 7px auto 0;
  border-radius: 3px;
  background: var(--cyan-hot);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

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

/* Dividers */
.block-divider {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0.35rem 1rem 0.15rem;
}

.block-divider span {
  width: 18px;
  height: 18px;
  background: linear-gradient(180deg, var(--grass), #24984d);
  border: 2px solid rgba(4, 16, 31, 0.55);
  box-shadow: 0 3px 0 rgba(4, 16, 31, 0.35);
  animation: block-wave 2.4s ease-in-out infinite;
}

.block-divider span:nth-child(2) { animation-delay: 0.08s; background: linear-gradient(180deg, var(--cyan), #1490c2); }
.block-divider span:nth-child(3) { animation-delay: 0.16s; background: linear-gradient(180deg, var(--yellow), #d9a81a); }
.block-divider span:nth-child(4) { animation-delay: 0.24s; }
.block-divider span:nth-child(5) { animation-delay: 0.32s; background: linear-gradient(180deg, var(--cyan), #1490c2); }
.block-divider span:nth-child(6) { animation-delay: 0.4s; background: linear-gradient(180deg, var(--yellow), #d9a81a); }
.block-divider span:nth-child(7) { animation-delay: 0.48s; }

.block-divider-alt span:nth-child(odd) {
  background: linear-gradient(180deg, #6ec8ff, #2f7eb8);
}

@keyframes block-wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections */
.section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 3vw, 2.5rem);
}

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

.section-head {
  max-width: 680px;
  margin-bottom: 2.2rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--yellow);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 0 rgba(4, 16, 31, 0.55);
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  position: relative;
  padding: 1.4rem 1.25rem 1.5rem;
  background:
    linear-gradient(160deg, rgba(20, 58, 92, 0.72), rgba(8, 28, 52, 0.72));
  border: 3px solid rgba(94, 214, 255, 0.28);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--cyan), var(--lime));
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(125, 255, 90, 0.55);
}

.feature h3 {
  margin: 0.85rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border: 3px solid #04101f;
  border-radius: 8px;
  box-shadow: 4px 4px 0 #04101f;
  position: relative;
}

.feature-build {
  background:
    linear-gradient(135deg, #5ad8ff 40%, transparent 40%),
    linear-gradient(225deg, #3ecf6e 40%, transparent 40%),
    #1a4d72;
}

.feature-create {
  background:
    radial-gradient(circle at 30% 30%, #ffe789 0 28%, transparent 29%),
    linear-gradient(135deg, #22c7ff, #1490c2);
}

.feature-own {
  background:
    conic-gradient(from 180deg, #7dff5a, #ffd84d, #22c7ff, #7dff5a);
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  animation: icon-spin 8s linear infinite;
}

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

/* How to buy */
.steps {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: none;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  background: rgba(7, 24, 44, 0.62);
  border: 3px solid rgba(94, 214, 255, 0.22);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 10, 28, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step:hover {
  transform: translateX(6px);
  border-color: rgba(255, 216, 77, 0.5);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  min-width: 58px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #9af0ff, var(--cyan));
  border: 3px solid #04101f;
  border-radius: 8px;
  box-shadow: 3px 3px 0 #04101f;
}

.step h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.step:nth-child(2) .step-num {
  background: linear-gradient(180deg, #ffe789, var(--yellow));
}

.step:nth-child(3) .step-num {
  background: linear-gradient(180deg, #b6ff8f, var(--lime));
}

.step:nth-child(4) .step-num {
  background: linear-gradient(180deg, #9af0ff, #7dff5a);
}

/* Chart */
.chart-frame {
  position: relative;
  border: 3px solid rgba(94, 214, 255, 0.35);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(4, 16, 31, 0.75);
  box-shadow: var(--shadow), 0 0 0 8px rgba(34, 199, 255, 0.08);
  margin-bottom: 1.25rem;
}

.chart-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 4.5s linear infinite;
  z-index: 1;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

.chart-frame iframe {
  display: block;
  width: 100%;
  height: min(640px, 72vh);
  border: 0;
  background: #0b1420;
}

.chart .buy-links,
.howtobuy .buy-links {
  justify-content: center;
}

/* Join us — banner only here */
.joinus .banner-stage {
  position: relative;
  margin-bottom: 1.5rem;
}

.join-banner {
  width: 100%;
  border-radius: 14px;
  border: 4px solid rgba(34, 199, 255, 0.45);
  box-shadow:
    0 0 0 10px rgba(34, 199, 255, 0.08),
    0 28px 70px rgba(0, 12, 30, 0.55);
  animation: banner-sway 7s ease-in-out infinite;
}

@keyframes banner-sway {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.008); }
}

.banner-glow {
  position: absolute;
  inset: 8% 10% auto;
  height: 40%;
  background: radial-gradient(ellipse, rgba(34, 199, 255, 0.35), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  animation: glow-pulse 3.5s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

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

/* Footer */
.footer {
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 2.5rem;
  border-top: 2px solid rgba(94, 214, 255, 0.16);
  background: linear-gradient(180deg, transparent, rgba(3, 12, 24, 0.85));
}

.footer-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.footer-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: var(--radius-block);
  background: rgba(10, 36, 64, 0.55);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.footer-links a img {
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
}

.footer-links a:hover {
  transform: translateY(-3px);
  border-color: var(--lime);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-stage {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-bio {
    max-width: 42ch;
  }

  .hero-ctas,
  .hero-socials {
    justify-content: center;
  }

  .ca-bar {
    width: min(520px, 100%);
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: rgba(7, 21, 38, 0.96);
    border: 2px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links a {
    padding: 0.9rem 1rem;
    border-radius: 8px;
  }

  .nav-links a:hover {
    background: rgba(34, 199, 255, 0.12);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@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;
  }
}
