@font-face {
  font-family: Tussilago;
  src: url("../fonts/tussilago-rg.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Tussilago;
  src: url("../fonts/tussilago-bd.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #050705;
  --bg-2: #0b100b;
  --line: rgba(36, 255, 0, 0.18);
  --neon: #24ff00;
  --text: #eef6ee;
  --muted: #9aaf9a;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Tussilago, Arial, sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100%;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

.bg-glow {
  position: fixed;
  inset: -20% auto auto 40%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(36, 255, 0, 0.16), transparent 62%);
  pointer-events: none;
  z-index: 0;
  animation: glow-drift 12s ease-in-out infinite;
}

.nav,
main,
.footer,
.mobile-menu {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 6vw;
  background: rgba(5, 7, 5, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-brand {
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a:hover,
.mobile-menu-links a:hover,
.text-link:hover {
  color: var(--neon);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.16s var(--ease), background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.btn-lg {
  min-height: 3.1rem;
  padding: 0.8rem 1.7rem;
}

.btn-neon {
  background: var(--neon);
  color: #041004;
  box-shadow: 0 0 24px rgba(36, 255, 0, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn:hover {
  transform: scale(1.04);
}

.btn-neon:hover {
  background: #041004;
  color: var(--neon);
  border-color: var(--neon);
}

.btn:active {
  transform: scale(0.97);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: grid;
  place-items: center;
  padding: 5rem 1.5rem 2rem;
  background: rgba(5, 7, 5, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-out);
}

.mobile-menu.is-open,
body.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.mobile-menu-art {
  width: min(14rem, 62vw);
  animation: float 4.5s ease-in-out infinite;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.socials {
  display: flex;
  gap: 0.7rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #101510;
}

.socials svg {
  width: 18px;
  height: 18px;
}

.hero,
.section,
.cta,
.footer {
  width: min(1120px, calc(100% - 10vw));
  margin: 0 auto;
}

.hero {
  position: relative;
  width: min(1240px, calc(100% - 6vw));
  display: grid;
  grid-template-columns: minmax(20rem, 1fr) minmax(18rem, 1.15fr);
  align-items: center;
  gap: 1.25rem 2rem;
  min-height: calc(100dvh - 4.5rem);
  padding: 1.5rem 0 2.5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
}

.hero-copy h1 {
  text-shadow:
    0 0 18px rgba(5, 7, 5, 0.95),
    0 0 42px rgba(5, 7, 5, 0.85),
    8px 0 24px rgba(5, 7, 5, 1);
}

.hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 68vh;
  overflow: hidden;
}

.hero-art img {
  width: min(820px, 100%);
  max-width: 100%;
  height: auto;
  min-height: 68vh;
  object-fit: contain;
  object-position: right bottom;
  animation: float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.55));
}

.cta-art {
  width: 100%;
  animation: float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.45));
}

.hero h1,
.section h2,
.cta h2 {
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.kicker {
  margin: 0;
  color: var(--neon);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lede,
.section-copy,
.section-head p,
.team-card p,
.cta p,
.disclaimer {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section {
  padding: 5.5rem 0;
  scroll-margin-top: 5.5rem;
}

.gallery {
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.4rem 2.8rem;
  align-items: center;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track img {
  flex: 0 0 168px;
  width: 168px;
  height: 168px;
  max-width: 168px;
  min-width: 168px;
  object-fit: contain;
  scroll-snap-align: center;
  border-radius: 1.1rem;
  background: #0c120c;
  transition: transform 0.28s var(--ease-out);
}

.gallery-track img:hover {
  transform: scale(1.05);
}

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

.section-copy {
  max-width: 46rem;
  font-size: 1.05rem;
}

.cards,
.team-grid,
.stats {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.team-card,
.stat,
.copy-btn {
  background: linear-gradient(180deg, rgba(36, 255, 0, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.card {
  padding: 1rem 1rem 1.4rem;
  transition: transform 0.28s var(--ease-out), border-color 0.28s ease;
}

.card:hover,
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 255, 0, 0.45);
}

.card img,
.team-card img {
  width: 100%;
  border-radius: 0.9rem;
  margin-bottom: 1rem;
}

.card h3,
.team-card h3,
.stat strong {
  margin: 0.35rem 0 0.6rem;
  text-transform: uppercase;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.tokenomics {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(20rem, 1.2fr);
  grid-template-areas:
    "head art"
    "data art";
  gap: 1.25rem 2rem;
  align-items: center;
}

.tokenomics-head {
  grid-area: head;
}

.tokenomics-data {
  grid-area: data;
}

.tokenomics-art {
  grid-area: art;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tokenomics-art img {
  width: min(720px, 100%);
  min-height: 52vh;
  object-fit: contain;
  animation: float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.5));
}

.stats {
  grid-template-columns: 1fr 1fr;
  margin: 0 0 1rem;
}

.stat {
  padding: 1.15rem 1.2rem;
}

.stat strong,
.copy-value {
  display: block;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
}

.stat span,
.copy-label {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.1rem;
  color: inherit;
  text-align: left;
}

.copy-value {
  overflow: hidden;
  min-width: 0;
  font-size: 0.95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-label {
  flex: 0 0 auto;
  color: var(--neon);
}

.copy-btn.is-copied {
  border-color: var(--neon);
  color: var(--neon);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 7, 5, 0.8);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-btn.prev { left: 0; }
.gallery-btn.next { right: 0; }

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

.team-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
}

.text-link {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--neon);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 5rem;
}

.footer {
  padding: 2rem 0 3.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.disclaimer {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.85rem;
  line-height: 1.7;
}

.disclaimer strong {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-in {
  animation: rise 0.7s var(--ease-out) forwards;
}

.card.reveal.is-in:nth-child(2) { animation-delay: 0.08s; }
.card.reveal.is-in:nth-child(3) { animation-delay: 0.16s; }
.team-card.reveal.is-in:nth-child(2) { animation-delay: 0.1s; }

html.menu-open,
body.menu-open {
  overflow: hidden;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
  50% { transform: translate(-8%, 10%) scale(1.08); opacity: 1; }
}

@media (max-width: 900px) {
  .nav {
    gap: 0.5rem;
    padding: 0.65rem 4.5vw;
  }

  .nav-brand {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
  }

  .nav-actions {
    gap: 0.35rem;
    margin-left: auto;
    justify-content: flex-end;
  }

  .nav-actions .btn {
    min-height: 2.15rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    box-shadow: 0 0 14px rgba(36, 255, 0, 0.28);
  }

  .hero,
  .tokenomics,
  .team-grid,
  .cta,
  .cards {
    grid-template-columns: 1fr;
  }

  .section,
  .hero,
  .cta,
  .footer {
    width: min(1120px, calc(100% - 8vw));
  }

  .section {
    padding: 3.25rem 0;
    scroll-margin-top: 4.5rem;
  }

  .hero h1,
  .section h2,
  .cta h2 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
    line-height: 1.05;
  }

  .tokenomics {
    grid-template-areas:
      "head"
      "data"
      "art";
    text-align: center;
    gap: 1.1rem;
  }

  .tokenomics-data {
    text-align: left;
  }

  .tokenomics-art img {
    width: min(58vw, 210px);
    min-height: 0;
    max-height: 180px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .stat {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    text-align: left;
  }

  .stat strong {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .stat span {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .copy-btn {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.45rem 0.45rem 0.45rem 0.95rem;
    text-align: left;
    border-radius: 999px;
  }

  .copy-value {
    flex: 1;
    width: auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: normal;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .copy-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--neon);
    color: #041004;
    font-size: 0.68rem;
  }

  .hero {
    min-height: auto;
    text-align: center;
    padding-top: 1.2rem;
    gap: 0.5rem;
  }

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

  .hero-copy {
    order: 1;
    max-width: none;
  }

  .hero-art {
    order: 2;
    min-height: 0;
    overflow: visible;
    justify-content: center;
    margin: 0;
  }

  .hero-art img {
    width: min(78vw, 340px);
    min-height: 0;
    max-height: 42vh;
    max-width: 100%;
  }

  .cards {
    gap: 1.1rem;
  }

  .card img {
    max-height: 180px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
  }

  .team-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .cta {
    text-align: center;
    padding: 1rem 0 3rem;
  }

  .cta-art {
    max-width: 280px;
    margin: 0 auto;
  }

  .gallery-track {
    padding: 0.2rem 2.4rem;
  }
}

@media (max-width: 700px) {
  .tokenomics h2,
  .cta h2 {
    font-size: 1.7rem;
    line-height: 1.1;
    max-width: 12ch;
    margin-left: auto;
    margin-right: auto;
  }

  .tokenomics {
    gap: 1.25rem;
  }

  .tokenomics .stats {
    grid-template-columns: 1fr;
  }

  .tokenomics .stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.85rem 0.95rem;
  }

  .tokenomics .stat strong {
    font-size: 0.95rem;
  }

  .tokenomics-art img {
    width: 150px;
    max-height: 140px;
    min-height: 0;
  }

  .team-grid {
    gap: 0.9rem;
  }

  .team-card {
    overflow: hidden;
  }

  .cta {
    gap: 1.25rem;
    margin-top: 0.5rem;
    padding: 2.25rem 0 2.5rem;
    border-top: 1px solid var(--line);
  }

  .cta .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1rem;
  }

  .cta .btn-lg {
    width: 100%;
    min-height: 2.55rem;
    padding: 0.65rem 1.1rem;
    font-size: 0.8rem;
  }

  .cta-art {
    max-width: 190px;
  }

  .cta p {
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
  }
}

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

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