/* ============================================================
   Neighborhood Fins — Landing Page Styles
   Palette: Neon Lime bg + Strict Black text + Dark alt + Orange accent
   (mengikuti branding imagery project)
   ============================================================ */

:root {
  /* STEP 1: Global Color Palette */
  --bg: #CEED0C;                    /* Primary Green (Main Background) — warna bg logo */
  --text: #000000;                  /* Text (Main) — strict black */
  --bg-alt: #121212;                /* Dark Background (Alternative Section) */
  --text-light: #F3F4F6;            /* Text (Light) */
  --accent: #FF9900;                /* Accent Orange (dari jaket karakter) */

  /* Derived tokens */
  --bg-card: #121212;               /* kartu di atas latar hijau */
  --bg-card-alt: #1b1b1b;           /* kartu di atas latar gelap */
  --border-on-green: rgba(0, 0, 0, 0.18);
  --border-on-dark: rgba(255, 255, 255, 0.14);
  --text-dim: rgba(0, 0, 0, 0.7);       /* teks redup di atas hijau */
  --text-faint: rgba(0, 0, 0, 0.52);    /* teks sangat redup di atas hijau */
  --text-light-dim: rgba(243, 244, 246, 0.72);
  --text-light-faint: rgba(243, 244, 246, 0.5);
  --accent-2: #FFB84D;              /* oranye terang untuk gradien */
  --accent-glow: rgba(255, 153, 0, 0.35);
  --grad: linear-gradient(120deg, #FF9900 0%, #FFB84D 100%);

  --radius: 14px;
  --container: 1100px;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* STEP 3.1: Smooth Scrolling */
html { scroll-behavior: smooth; }

/* ---------- Original opening sequence ---------- */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background: var(--bg);
  color: var(--text);
  animation: introOut 0.7s ease 1.35s forwards;
  pointer-events: none;
}
.intro-logo {
  width: 82px;
  height: 82px;
  border: 3px solid #000;
  border-radius: 20px;
  object-fit: cover;
  animation: introMark 0.8s cubic-bezier(.2,.8,.2,1) both;
}
.intro-wordmark {
  font: 700 13px ui-monospace, monospace;
  letter-spacing: .2em;
  animation: introText 0.7s ease .22s both;
}
@keyframes introMark { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes introText { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
body.page-loading .hero-inner { animation: heroEnter 0.8s ease 1.38s both; }
@keyframes heroEnter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--accent); color: #000; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-lg { padding: 15px 34px; font-size: 16px; }

.btn-primary {
  background: var(--grad);
  color: #000;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.55);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(206, 237, 12, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  transition: box-shadow 0.2s ease;
}
.nav.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28); }

.nav-brand { display: flex; align-items: center; gap: 12px; }
.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #000;
  box-shadow: 0 2px 12px var(--accent-glow);
}
.nav-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #000;
  background: var(--grad);
  border-radius: 8px;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.75);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta { padding: 9px 20px; font-size: 13px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #000;
  font-size: 24px;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(255, 153, 0, 0.16), transparent 65%),
    radial-gradient(ellipse 45% 40% at 80% 90%, rgba(255, 153, 0, 0.1), transparent 65%),
    var(--bg);
}

.hero-inner { width: 100%; max-width: 1200px; }

.hero-layout {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  align-items: center;
  gap: 40px;
}

/* Floating underwater accents — decorative only */
.hero-decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bubble, .shell, .current { position: absolute; display: block; will-change: transform; }
.bubble { border: 2px solid rgba(255,255,255,.65); border-radius: 50%; animation: bubbleDrift 7s ease-in-out infinite; }
.bubble-1 { width: 18px; height: 18px; left: 13%; bottom: 18%; }
.bubble-2 { width: 9px; height: 9px; left: 29%; top: 24%; animation-delay: -2s; }
.bubble-3 { width: 26px; height: 26px; right: 20%; top: 16%; animation-delay: -4s; }
.bubble-4 { width: 12px; height: 12px; right: 10%; bottom: 28%; animation-delay: -1s; }
@keyframes bubbleDrift { 0%,100% { opacity: .35; transform: translate(0, 18px) scale(.85); } 50% { opacity: .9; transform: translate(12px, -28px) scale(1.1); } }
.shell { color: var(--accent); font-size: 32px; font-weight: 700; animation: shellFloat 5s ease-in-out infinite; }
.shell-1 { left: 22%; top: 16%; }
.shell-2 { right: 25%; top: 30%; font-size: 24px; animation-delay: -2s; }
.shell-3 { right: 12%; bottom: 20%; font-size: 38px; animation-delay: -3.5s; }
@keyframes shellFloat { 0%,100% { opacity: .5; transform: rotate(-12deg) translateY(6px); } 50% { opacity: 1; transform: rotate(18deg) translateY(-14px); } }
.current { height: 1px; background: rgba(255,153,0,.5); transform-origin: left center; animation: currentFlow 6s ease-in-out infinite; }
.current-1 { width: 180px; left: 5%; top: 40%; }
.current-2 { width: 230px; right: 2%; bottom: 38%; animation-delay: -3s; }
@keyframes currentFlow { 0%,100% { opacity: .1; transform: scaleX(.5) rotate(-7deg); } 50% { opacity: .65; transform: scaleX(1) rotate(5deg); } }

/* Logo besar hollow kiri */
.hero-logotype {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-letter {
  font-family: var(--font-head);
  font-size: 150px;
  font-weight: 700;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 4px var(--accent);
  text-stroke: 4px var(--accent);
  user-select: none;
}

/* Karakter tengah dengan glow */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.hero-frames {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
}
.hero-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid #000;
  box-shadow: 0 0 60px var(--accent-glow), 0 0 120px rgba(255, 153, 0, 0.25);
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: float 3s ease-in-out infinite;
  pointer-events: none;
}
.hero-frame.active { opacity: 1; }

/* Teks kanan */
.hero-copy { text-align: left; }

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
}
.hero-title .line-2 { color: var(--accent); }

.hero-sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: 15.5px;
  color: var(--text-dim);
  font-weight: 500;
}

.hero-scroll {
  margin-top: 36px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  text-transform: uppercase;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; color: var(--text); background: var(--bg); }
.section-alt { background: var(--bg-alt); color: var(--text-light); }
.hero, .cta { background: var(--bg); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 16px;
}
.section-title::after {
  content: '';
  display: block;
  width: 68px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 10px;
}
.section-alt .section-title { color: var(--text-light); }

.section-sub {
  text-align: left;
  color: var(--text-faint);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.section-alt .section-sub { color: var(--text-light-faint); }

/* ---------- Power ---------- */
.power-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.power-card {
  background: var(--bg-card);
  border: 2px solid #000;
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  padding: 30px 28px;
  color: var(--text-light);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.power-card:hover { transform: translateY(-6px); border-color: var(--accent); }

.power-idx {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
}
.power-card h3 { font-family: var(--font-head); font-size: 22px; margin: 10px 0 10px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.04em; }
.power-card p { font-size: 14.5px; color: var(--text-light-dim); }

/* ---------- Stats band ---------- */
.stats-band {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.35);
  padding-top: 36px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { display: block; margin-top: 4px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; }

/* ---------- Specimens ---------- */
.specimen-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}

.specimen {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius);
  padding: 0;
  color: var(--text-light);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.specimen:hover { transform: translateY(-6px); border-color: var(--accent); }

/* STEP 3.2: NFT Floating Animation */
.specimen img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  image-rendering: auto;
  animation: float 3s ease-in-out infinite;
}
.specimen:nth-child(2n) img { animation-delay: 0.6s; }
.specimen:nth-child(3n) img { animation-delay: 1.2s; }

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

.specimen-id {
  display: block;
  padding: 12px 14px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-light-dim);
  text-align: left;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-on-dark);
  border-radius: 18px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  color: var(--text-light);
  animation: pop 0.25s ease;
}
@keyframes pop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
}
.modal-card h3 { font-family: var(--font-head); font-size: 24px; color: var(--text-light); }
.modal-card p { color: var(--text-light-dim); font-size: 14px; margin-top: 8px; }

.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  color: var(--text-light-dim);
  font-size: 26px;
  line-height: 1;
  transition: color 0.15s ease;
}
.modal-close:hover { color: var(--accent); }

/* ---------- Traits ---------- */
.traits-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.trait-group {
  background: var(--bg-card);
  border: 2px solid #000;
  border-radius: var(--radius);
  padding: 26px 24px;
}
.trait-group h3 {
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.trait-list li {
  display: grid;
  grid-template-columns: 92px 1fr 56px;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  color: var(--text-light-dim);
}
.trait-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.trait-bar {
  display: block;
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}
.trait-bar-fill {
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: 4px;
}

.trait-count { font-family: var(--font-head); color: var(--text-light); font-weight: 500; text-align: right; }

/* ---------- Evolution ---------- */
.evolution-track {
  margin: 54px auto 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 900px;
}
.evolution-track::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.evo-node {
  position: relative;
  text-align: center;
  color: var(--text-light);
  padding: 42px 6px 0;
  min-width: 0;
}
.evo-dot {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 3px solid;
  z-index: 1;
}
.node-base .evo-dot { border-color: #9CA3AF; }
.node-charged .evo-dot { border-color: var(--text-light); background: var(--text-light); }
.node-evolved .evo-dot { border-color: #FFB84D; }
.node-legendary .evo-dot { border-color: #FF6A00; }
.node-transcendent .evo-dot { border-color: #9C6ADE; }

.evo-idx {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light-faint);
}
.node-evolved .evo-idx { color: #FFB84D; }
.node-legendary .evo-idx { color: #FF6A00; }
.node-transcendent .evo-idx { color: #9C6ADE; }

.evo-node h3 { font-family: var(--font-head); font-size: 14px; letter-spacing: 0.07em; color: var(--text-light); }
.evo-day { font-size: 10px; color: var(--text-light-faint); letter-spacing: 0.1em; text-transform: uppercase; margin: 3px 0 6px; font-weight: 600; }
.evo-node p:last-child { font-size: 10px; line-height: 1.35; color: var(--text-light-dim); max-width: 140px; margin: 0 auto; }

.evo-preview {
  margin: 46px auto 0;
  text-align: center;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius);
  padding: 22px 26px 24px;
  max-width: 900px;
}
.evo-preview-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-light-faint);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.evo-preview-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.evo-panel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  aspect-ratio: 1 / 1;
}
.evo-panel img { width: 100%; height: 100%; object-fit: cover; }
.evo-panel.active { border-color: var(--accent); }
.evo-three-panels {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  gap: 12px;
}
.evo-stage-panel { min-width: 0; }
.evo-stage-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--text-light);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

/* Aura rings */
.evo-panel::before,
.evo-panel::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.evo-panel::before {
  inset: 12%;
  border: 2px solid var(--aura, #fff);
  opacity: 0.55;
  animation: auraPulse 2.4s ease-in-out infinite;
}
.evo-panel::after {
  inset: 26%;
  border: 1.5px dashed var(--aura, #fff);
  opacity: 0.35;
}
.aura-white { --aura: #F3F4F6; }
.aura-gold  { --aura: #FFB84D; }
.aura-red   { --aura: #FF6A00; }
.aura-purple{ --aura: #9C6ADE; }

@keyframes auraPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.35; }
  50% { transform: scale(1.05); opacity: 0.75; }
}

.evo-preview-title {
  display: block;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.evo-preview-seq {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-light-faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.06em;
}

.evo-paths {
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 900px;
}

.evo-path {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  color: var(--text-light);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.evo-path:hover { transform: translateY(-4px); border-color: var(--accent); }

.evo-emoji { font-size: 26px; display: block; }
.evo-path h4 { font-family: var(--font-head); font-size: 15px; letter-spacing: 0.12em; margin: 8px 0 6px; color: var(--text-light); }
.evo-path p { font-size: 12.5px; color: var(--text-light-dim); }
.evo-path.active { border-color: var(--accent); background: var(--bg-card); }

/* ---------- Stake ---------- */
.stake-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.stake-card {
  background: var(--bg-card);
  border: 2px solid #000;
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: left;
  color: var(--text-light);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.stake-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.stake-featured { border-color: var(--accent); }

.stake-emoji { font-size: 28px; }
.stake-card h3 { font-family: var(--font-head); font-size: 16px; letter-spacing: 0.08em; margin: 12px 0 8px; color: var(--text-light); }
.stake-card p { font-size: 13.5px; color: var(--text-light-dim); }
.stake-label {
  display: block;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light-faint);
  font-weight: 600;
}
.stake-value {
  display: block;
  margin-top: 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  color: var(--accent);
}

/* ---------- Dashboard ---------- */
.dashboard {
  margin-top: 44px;
  background: var(--bg-card);
  border: 2px solid #000;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.dashboard h3 { font-family: var(--font-head); font-size: 20px; color: var(--text-light); }

.dashboard-stats {
  margin: 26px 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}
.dash-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light-faint);
  font-weight: 600;
}
.dash-value {
  display: block;
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
}

.dashboard-box {
  margin-top: 24px;
  border: 2px dashed rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 30px 24px;
}
.dashboard-hint { font-size: 14px; color: var(--text-light-dim); margin-bottom: 20px; }
.wallet-network {
  margin-top: 14px;
  color: var(--text-light-faint);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wallet-gallery {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
}
.wallet-gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.wallet-gallery-head h4 {
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.16em;
}
.wallet-gallery-head span {
  color: var(--text-light-faint);
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.wallet-nfts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}
.wallet-nft {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border-on-dark);
  border-radius: 10px;
  background: var(--bg-alt);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.wallet-nft:hover { transform: translateY(-4px); border-color: var(--accent); }
.wallet-nft img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.wallet-nft span {
  display: block;
  padding: 8px 9px;
  color: var(--text-light-dim);
  font-family: var(--font-head);
  font-size: 12px;
  text-align: center;
}
.wallet-empty {
  padding: 22px 12px;
  color: var(--text-light-dim);
  font-size: 13px;
  text-align: center;
}
.wallet-error { color: #ffb3a7; }

.btn-outline-red {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.btn-outline-red:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
}

/* ---------- Roadmap ---------- */
.roadmap-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.phase {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius);
  padding: 26px 20px;
  position: relative;
  color: var(--text-light);
  transition: transform 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}
.phase:hover { transform: translateY(-6px); border-color: var(--accent); }
.phase-live { border-color: rgba(255, 153, 0, 0.55); }
.phase-featured { border-color: var(--accent); }

.phase-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}
.phase h3 { font-family: var(--font-head); font-size: 18px; margin: 8px 0 4px; color: var(--text-light); }
.phase p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-light-dim);
  overflow-wrap: anywhere;
}
.phase-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.status-live {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}
.phase-meta {
  margin-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  padding-top: 14px;
  display: grid;
  gap: 9px;
}
.phase-meta > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  font-size: 12px;
  line-height: 1.4;
}
.meta-label { color: var(--text-light-faint); overflow-wrap: anywhere; }
.meta-value { color: var(--text-light); font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* ---------- Funding ---------- */
.funding {
  margin-top: 40px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.funding h3 {
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  text-align: center;
}

.funding-rows { display: grid; gap: 16px; }

.funding-item {
  display: grid;
  grid-template-columns: 170px 1fr 90px;
  align-items: center;
  gap: 16px;
}
.funding-label { font-size: 13px; color: var(--text-light-dim); white-space: nowrap; }
.funding-value { font-family: var(--font-head); font-size: 16px; font-weight: 500; color: var(--accent); text-align: right; }

.funding-bar {
  display: block;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}
.funding-bar-fill {
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: 4px;
}

.funding-total {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 20px;
}
.funding-total .funding-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}
.funding-total .funding-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- Mint eligibility & contract ---------- */
.info-section { background: var(--bg); }
.eligibility-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.eligibility-card {
  background: var(--bg-card);
  border: 2px solid #000;
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text-light);
}
.eligibility-tag, .contract-label {
  display: block;
  color: var(--accent);
  font: 600 11px ui-monospace, monospace;
  letter-spacing: .14em;
}
.eligibility-card h3 { margin: 9px 0 8px; font-family: var(--font-head); }
.eligibility-card p { min-height: 52px; color: var(--text-light-dim); font-size: 13px; }
.eligibility-card strong { display: block; margin-top: 17px; color: var(--accent); font: 700 24px var(--font-head); }
.contract-panel {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 2px solid #000;
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-light);
}
.contract-panel code { display: block; margin-top: 5px; color: var(--text-light-dim); font-size: 13px; }
.contract-panel strong { display: block; margin-top: 5px; font-size: 13px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 42px auto 0; }
.faq-list details { border-bottom: 1px solid var(--border-on-dark); padding: 17px 0; color: var(--text-light); }
.faq-list summary { cursor: pointer; list-style: none; font: 500 16px var(--font-head); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; float: right; color: var(--accent); font-size: 20px; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 760px; padding: 12px 28px 2px 0; color: var(--text-light-dim); font-size: 14px; }
.faq-list a { color: var(--accent); }

/* ---------- CTA / Footer ---------- */
.cta {
  padding: 110px 0 0;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(255, 153, 0, 0.14), transparent 70%),
    var(--bg);
}
.cta h2 { font-family: var(--font-head); font-size: clamp(30px, 5vw, 52px); color: var(--text); }
.cta p { color: var(--text-dim); margin: 14px 0 32px; font-size: 17px; font-weight: 500; }

.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.footer {
  margin-top: 90px;
  border-top: 2px solid #000;
  padding: 24px;
  font-size: 13px;
  color: var(--text-light-faint);
  background: var(--bg-alt);
  color: var(--text-light-faint);
}
.footer-links { margin-top: 8px; }
.footer-links a { color: var(--text-light-dim); transition: color 0.15s ease; }
.footer-links a:hover { color: var(--accent); }

/* ============================================================
   STEP 3.3: Scroll Reveal (fade-up)
   Class .reveal ditambahkan via JS (Intersection Observer).
   Tanpa JS, konten tetap terlihat normal.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Kartu yang punya hover-transform: pertahankan transisi transform cepat,
   sementara opacity tetap 0.8s untuk reveal. */
.power-card.reveal,
.specimen.reveal,
.evo-tier.reveal,
.evo-path.reveal,
.stake-card.reveal,
.phase.reveal {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.8s ease;
}
.power-card.reveal:hover,
.specimen.reveal:hover,
.evo-tier.reveal:hover,
.evo-path.reveal:hover,
.stake-card.reveal:hover,
.phase.reveal:hover {
  transform: translateY(-6px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) and (min-width: 761px) {
  .nav { padding-left: 18px; padding-right: 18px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 12px; }
  .nav-cta { padding-left: 13px; padding-right: 13px; }
}

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-logotype { display: none; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .power-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .traits-grid { grid-template-columns: 1fr; }
  .evolution-track { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .evo-node h3 { font-size: 14px; }
  .evo-node p:last-child { font-size: 11.5px; }
  .evo-preview-panels { grid-template-columns: repeat(2, 1fr); }
  .evo-three-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evo-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evo-path { padding: 15px 10px; }
  .roadmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funding-item { grid-template-columns: 120px 1fr 80px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; order: 2; }
  .nav-cta { order: 3; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    background: var(--bg-card);
    border: 2px solid #000;
    border-radius: 12px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 18px; color: var(--text-light); }
  .nav-mono { display: none; }
  .section { padding: 72px 0; }
  .hero { padding-top: 110px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual img { width: min(260px, 80%); }
  .hero-scroll { margin-top: 30px; }
  .evo-three-panels { grid-template-columns: 1fr; max-width: 330px; }
  .eligibility-grid { grid-template-columns: 1fr; }
  .contract-panel { grid-template-columns: 1fr; gap: 14px; }
  .contract-panel .btn { justify-self: start; }
  .cta { text-align: center; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .phase-meta > div { grid-template-columns: minmax(0, 1fr) auto; }
  .funding-item { grid-template-columns: 1fr; gap: 6px; text-align: left; }
  .funding-value { text-align: left; }
}

@media (max-width: 520px) {
  .evolution-track { grid-template-columns: 1fr 1fr; gap: 18px 8px; }
  .evolution-track::before { display: none; }
  .evo-node { padding-top: 34px; }
  .evo-preview { padding-left: 14px; padding-right: 14px; }
  .evo-preview-title { font-size: 26px; }
  .evo-preview-seq { font-size: 11px; }
  .evo-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Kurangi animasi bagi pengguna yang memilih reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .specimen img, .hero-frame, .bubble, .shell, .current { animation: none; }
  .intro-overlay { animation: none; opacity: 0; visibility: hidden; }
  body.page-loading .hero-inner { animation: none; opacity: 1; transform: none; }
}
