/* ==========================================================================
   VOIDBORNE — Premium Web3 PFP showcase
   Design tokens live in :root. Sections are ordered to match index.html.
   ========================================================================== */

:root {
  /* Color palette — Street Style Cartoon (graffiti wall + comic sticker) */
  --bg: #15100F;            /* asphalt / concrete wall, warm-black */
  --card: #FFF4DC;          /* cream poster paper — sticker cards */
  --card-2: #FFE9BE;
  --ink: #1A1210;           /* comic ink black — outlines + text on paper */
  --accent: #FF3E7F;        /* hot pink spray paint — primary accent */
  --accent-2: #2CC7FF;      /* electric cyan spray — secondary accent */
  --yellow: #FFD400;        /* spray yellow — pop highlight / tape */
  --text: #FFFFFF;
  --muted: #C9BCA6;         /* warm concrete grey, text on dark bg */
  --muted-ink: #6B5A46;     /* muted text on cream cards */

  /* Rarity tier colors (graffiti tag colors, used for badges/glows) */
  --tier-mythic: #FF2E6D;
  --tier-legendary: #FFC400;
  --tier-epic: #8A3FFC;
  --tier-rare: #21C9F2;

  /* Derived tones */
  --border: rgba(255,255,255,0.14);
  --border-strong: rgba(255,255,255,0.28);
  --glass: rgba(21,16,15,0.55);
  --glass-strong: rgba(14,10,9,0.88);

  /* Type — comic display + handwritten spray tag + clean readable body */
  --font-display: 'Poppins', sans-serif;     /* base/body — stays readable */
  --font-comic: 'Bangers', cursive;           /* headlines — street/comic shout */
  --font-mono: 'Permanent Marker', cursive;   /* tags, IDs, badges — spray marker */

  /* Radii + shadow — comic sticker style */
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --radius-btn: 14px;
  --shadow-soft: 8px 8px 0 rgba(250,240,210,0.95); /* light sticker shadow, pops on dark bg */
  --shadow-glow-accent: 0 0 40px rgba(255,62,127,0.35);

  --container: 1200px;
  --nav-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,0.05) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Shared type utilities */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
  display: block;
}
.eyebrow--center { text-align: center; }

.section-title {
  font-family: var(--font-comic);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #e6e5e3;
  text-shadow: 4px 4px 0 #85780000;
}
.section-title--center { text-align: center; margin: 0 auto 56px; max-width: 640px; }

.text-link {
  color: var(--accent-2);
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  margin-top: 26px;
  transition: gap 0.25s ease, opacity 0.25s ease;
}
.text-link:hover { opacity: 0.8; }

/* ---------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  border: 3px solid var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(0, 0); }

.btn--primary {
  background: #fcc71a;
  color: var(--ink);
  box-shadow: 0 10px 30px #835b04;
}
.btn--primary:hover { box-shadow: 0 14px 40px rgba(161, 119, 2, 0.55); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn--ghost:hover { background: #fff; color: var(--ink); }

.btn--wallet {
  background: var(--yellow);
  border: 3px solid var(--ink);
  color: var(--ink);
  padding: 10px 20px;
  font-size: 13.5px;
}
.btn--wallet:hover { background: var(--accent); border-color: var(--ink); box-shadow: 0 8px 24px rgba(255,62,127,0.4); }

.btn--discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 10px 30px rgba(88,101,242,0.4);
}
.btn--discord:hover { box-shadow: 0 14px 40px rgba(88,101,242,0.55); }

.btn--x {
  background: #fff;
  color: #0a0a0a;
}
.btn--x:hover { box-shadow: 0 14px 40px rgba(255,255,255,0.25); }

.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  color: var(--text);
  border-radius: 50%;
  transition: background 0.2s ease;
}
.icon-btn:hover { background: rgba(255,255,255,0.08); }



/* ==========================================================================
   NAVBAR
   ========================================================================== */

   .navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(21,16,15,0.22);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 3px solid rgba(255,255,255,0.08);
  transition: background 0.4s ease, border-color 0.4s ease, height 0.3s ease, box-shadow .4s ease;
}
.navbar.is-scrolled {
  background: var(--glass-strong);
  border-bottom-color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  height: 72px;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* .logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: radial-gradient(circle at 32% 30%, var(--yellow), var(--accent) 60%, var(--accent-2) 100%);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  flex-shrink: 0;
}
.logo__text {
  font-family: var(--font-comic);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.logo__accent { color: var(--accent-2); font-weight: 800; } */

.navlinks {
  display: flex;
  align-items: center;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.navlink {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.navlink::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.25s ease;
  border-radius: 2px;
}
.navlink:hover { color: var(--text); }
.navlink:hover::after,
.navlink.is-active::after { width: 100%; }
.navlink.is-active { color: var(--text); }

.navbar__actions { display: flex; align-items: center; gap: 10px; }

.avatar-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-strong);
  background: none;
  padding: 0;
  transition: border-color 0.2s ease;
}
.avatar-btn:hover { border-color: var(--accent-2); }
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search overlay */
.search-panel {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.2,.8,.2,1);
}
.search-panel.is-open { max-height: 90px; }
.search-panel__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 20px;
  color: var(--muted);
}
.search-panel__inner input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-family: var(--font-display);
}
.search-panel__inner input:focus { outline: none; }
.search-panel__inner input::placeholder { color: var(--muted); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h); right: 0;
  width: 78%;
  max-width: 320px;
  height: calc(100vh - var(--nav-h));
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 26px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
  z-index: 999;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer .navlink { padding: 12px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-drawer .btn { margin-top: 16px; justify-content: center; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  will-change: opacity, transform;
}
.hero__slide.is-active { opacity: 1; z-index: 2; }

.hero__slide-bg,
.hero__slide-char {
  position: absolute;
  will-change: transform;
}
.hero__slide-bg {
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.08);
}
.hero__slide-char {
  right: 4%;
  bottom: 0;
  height: 96%;
  width: auto;
  max-width: 46%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
  animation: floatChar 7s ease-in-out infinite;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(21,16,15,0.5) 0%, rgba(21,16,15,0.15) 30%, rgba(21,16,15,0.75) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(21,16,15,0.95) 0%, rgba(21,16,15,0.55) 42%, rgba(21,16,15,0.05) 68%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 243, 241, 0.95), rgba(255,212,0,0));
  opacity: 0.5;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-120vh) translateX(20px); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero__info { max-width: 620px; }

.hero__logo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--accent-2);
  text-transform: none;
  margin-bottom: 22px;
  opacity: 0;
  animation: revealUp 0.8s ease 0.15s forwards;
}
.hero__logo-tag::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}

.hero__name {
  font-family: var(--font-comic);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
  color:  #ffffff;
  text-shadow: 5px 5px 0 #382901;
  margin-bottom: 14px;
  opacity: 0;
  animation: revealUp 0.9s ease 0.25s forwards;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  opacity: 0;
  animation: revealUp 0.9s ease 0.35s forwards;
}
.hero__id {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.rarity-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  border: 2.5px solid var(--ink);
  transform: rotate(-2deg);
}
.rarity-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.rarity-badge--mythic { color: #ffffff;
 background: var(--tier-mythic); }
.rarity-badge--legendary { color: #000000;
 background: var(--tier-legendary); }
.rarity-badge--epic { color: #fff; background: var(--tier-epic); }
.rarity-badge--rare { color: #ffffff;
 background: var(--tier-rare); }

.hero__lore {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 18px;
  opacity: 0;
  animation: revealUp 0.9s ease 0.45s forwards;
}

.hero__supply {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
  opacity: 0;
  animation: revealUp 0.9s ease 0.5s forwards;
}
.hero__supply strong { color: var(--text); }

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: revealUp 0.9s ease 0.6s forwards;
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero__dots {
  position: absolute;
  z-index: 6;
  bottom: 108px;
  left: 32px;
  display: flex;
  gap: 10px;
}
@media (min-width: 1264px) {
  .hero__dots { left: calc((100vw - var(--container)) / 2 + 32px); }
}
.hero__dot {
  width: 34px; height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.22);
  border: none;
  overflow: hidden;
  position: relative;
}
.hero__dot::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot.is-active::after {
  transform: scaleX(1);
  transition: transform 6s linear;
}

.scroll-cue {
  position: absolute;
  z-index: 6;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px;
  border-radius: 3px;
  background: var(--accent-2);
  animation: scrollCue 1.8s ease infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { opacity: 0.3; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ==========================================================================
   CAROUSEL
   ========================================================================== */
.carousel-section { padding: 110px 0 60px; }

.carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.carousel-controls { display: flex; gap: 10px; }
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(250,240,210,0.7);
  color: var(--ink);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.carousel-btn:hover { background: var(--accent); border-color: var(--ink); color: var(--ink); transform: scale(1.06); }

.carousel {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 10px 0 30px;
}
.carousel::-webkit-scrollbar { display: none; }

.carousel__track {
  display: flex;
  gap: 22px;
  padding: 0 32px;
  width: max-content;
}
@media (min-width: 1264px) {
  .carousel__track { padding: 0 calc((100vw - var(--container)) / 2); }
}

.char-card {
  position: relative;
  flex: 0 0 auto;
  width: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card);
  border: 3px solid var(--ink);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.char-card:hover,
.char-card:focus-visible {
  transform: translateY(-10px) scale(1.08) rotate(-1deg);
  box-shadow: var(--shadow-soft), 0 0 40px var(--card-glow, rgba(255,62,127,0.4));
  border-color: var(--ink);
  z-index: 2;
}
.char-card.is-selected { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-2), var(--shadow-soft); }

.char-card__img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.char-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.char-card:hover .char-card__img-wrap img { transform: scale(1.06); }

.char-card__img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
}

.char-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
}

.char-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px 16px;
  z-index: 2;
}
.char-card__name { font-size: 15.5px; font-weight: 700; margin-bottom: 3px; color: #d6b303; }
.char-card__id { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-section { padding: 90px 0; position: relative; }
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 0%, rgba(255,62,127,0.10), transparent 70%);
  pointer-events: none;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat-card {
  position: relative;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 36px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  width: 54px; height: 20px;
  background: rgba(255,212,0,0.85);
  border: 2px solid var(--ink);
  transform: translateX(-50%) rotate(-3deg);
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.stat-card__value {
  font-family: var(--font-comic);
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-shadow: 3px 3px 0 var(--accent);
}
.stat-card__label {
  color: var(--muted-ink);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-card__sub { color: var(--muted-ink); font-size: 11px; font-family: var(--font-mono); }

.stat-card--ring { gap: 6px; }
.mint-ring {
  position: relative;
  width: 140px; height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.mint-ring__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mint-ring__track { fill: none; stroke: rgba(26,18,16,0.15); stroke-width: 8; }
.mint-ring__progress {
  fill: none;
  stroke: url(#none);
  stroke: var(--accent-2);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 377;
  stroke-dashoffset: 377;
  filter: drop-shadow(0 0 6px rgba(44,199,255,0.7));
  transition: stroke-dashoffset 1.8s cubic-bezier(.2,.8,.2,1);
}
.mint-ring__label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.mint-ring__label .stat-card__value { font-size: 22px; }

/* ==========================================================================
   LORE
   ========================================================================== */
.lore-section { padding: 100px 0; }
.lore-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 70px;
  align-items: center;
}

.lore-art { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.lore-art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.lore-art__glow {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21,16,15,0.9));
  pointer-events: none;
}

.lore-copy__p { color: var(--muted); font-size: 16.5px; line-height: 1.75; margin-bottom: 18px; max-width: 520px; }

/* ==========================================================================
   ROADMAP
   ========================================================================== */
.roadmap-section { padding: 100px 0 60px; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline__line {
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2), transparent);
}

.timeline__item {
  position: relative;
  padding-left: 52px;
  margin-bottom: 44px;
}
.timeline__item:last-child { margin-bottom: 0; }

.timeline__node {
  position: absolute;
  left: 0; top: 6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border-strong);
}
.timeline__node--active {
  border-color: var(--accent-2);
  background: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(44,199,255,0.15), 0 0 24px rgba(44,199,255,0.6);
  animation: pulseNode 2.4s ease infinite;
}
@keyframes pulseNode {
  0%, 100% { box-shadow: 0 0 0 6px rgba(44,199,255,0.15), 0 0 24px rgba(44,199,255,0.6); }
  50% { box-shadow: 0 0 0 10px rgba(44,199,255,0.08), 0 0 34px rgba(44,199,255,0.8); }
}

.timeline__card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.timeline__card:hover { border-color: var(--ink); transform: translateX(4px); }
.timeline__phase {
  display: inline-block;
  background: var(--ink);
  color: var(--yellow);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.timeline__card h3 { font-family: var(--font-comic); text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink); font-size: 24px; font-weight: 700; margin: 10px 0 10px; }
.timeline__card p { color: var(--muted-ink); font-size: 15px; line-height: 1.6; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-section { padding: 100px 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}
.team-card__avatar {
  width: 132px; height: 132px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--yellow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card:hover .team-card__avatar {
  border-color: var(--white);
  box-shadow: 6px 6px 0 var(--white);
  transform: translateY(-6px) scale(1.04);
}
.team-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 4px; }
.team-card p { color: var(--muted); font-size: 13.5px; }

/* ==========================================================================
   COMMUNITY
   ========================================================================== */
.community-section {
  padding: 110px 0;
  position: relative;
  background: radial-gradient(70% 100% at 50% 0%, rgba(255,62,127,0.14), transparent 60%);
}
.community-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.community-sub { color: var(--muted); font-size: 16.5px; margin-bottom: 40px; }

.community-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.newsletter {
  display: flex;
  gap: 10px;
  background: var(--card);
  border: 3px solid var(--ink);
  padding: 8px;
  border-radius: 100px;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter input {
  flex: 1;
  background: none;
  border: none;
  color: var(--ink);
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 14.5px;
}
.newsletter input:focus { outline: none; }
.newsletter input::placeholder { color: var(--muted-ink); }
.newsletter__msg {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--accent-2);
  min-height: 18px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 50px 0; border-top: 1px solid var(--border); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__copy { color: var(--muted); font-size: 13.5px; }
.footer__socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--ink);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social-btn:hover { background: #fcc71a; border-color: var(--ink); transform: translateY(-3px) rotate(-4deg); }

/* ==========================================================================
   SCROLL REVEAL (generic)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1), filter 0.9s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

.stat-card.reveal-delay-1 { transition-delay: 0.05s; }
.stat-card.reveal-delay-2 { transition-delay: 0.1s; }
.stat-card.reveal-delay-3 { transition-delay: 0.15s; }
.stat-card.reveal-delay-4 { transition-delay: 0.2s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .navlinks { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .lore-grid { grid-template-columns: 1fr; gap: 40px; }
  .lore-art { order: -1; max-width: 460px; margin: 0 auto; }
  .hero__slide-char { max-width: 58%; opacity: 0.9; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  :root { --nav-h: 72px; }
  .btn--wallet span { display: none; }
  .btn--wallet { padding: 10px; }
  .avatar-btn { display: none; }
  .navbar__actions { gap: 6px; }
  .hero {
    display: block;
    min-height: 0;
    padding-top: calc(var(--nav-h) + 18px);
    padding-bottom: 8px;
  }
  .hero__slides {
    position: relative;
    width: calc(100% - 40px);
    max-width: 420px;
    aspect-ratio: 4 / 5;
    height: auto;
    margin: 0 auto 22px;
    border-radius: var(--radius-lg);
    border: 3px solid var(--ink);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }
  .hero__slide-char {
    position: absolute;
    inset: 0;
    right: auto; bottom: auto;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 1;
    filter: none;
    animation: none;
  }
  .hero__overlay { background: none; }
  .hero__content { padding: 4px 0 36px; }
  .hero__info { max-width: 100%; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .hero__dots {
    position: static;
    margin: 22px 0 0;
  }
  .scroll-cue { display: none; }
  .carousel-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .carousel-controls { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card--ring { grid-column: 1 / -1; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .newsletter { flex-direction: column; border-radius: var(--radius-sm); }
  .newsletter .btn { width: 100%; justify-content: center; }
  .footer__inner { flex-direction: column; text-align: center; }
  .community-buttons { flex-direction: column; align-items: stretch; }
  .community-buttons .btn { justify-content: center; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .char-card { width: 200px; }
}

/* DISPLAY LOGO BRAND */

.brand{
    display: flex;
    align-items: center;
    gap: 2px;
}

.brand__logo{
    width:44px;
    height:44px;
    object-fit:contain;
    flex-shrink:0;
}

.brand__text{
    font-family: var(--font-comic);
    font-size: 32px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
}

.brand__void{
    color: #f8fae5;
    text-shadow:
        4px 4px 0 #835b04,
        8px 8px 0 #111;
}

.brand__borne{
    color: #fcc71a;
    text-shadow:
        4px 4px 0 #835b04,
        8px 8px 0 #111;
}