:root {
  --bg: #050505;
  --bg-soft: #0f0f0f;
  --text: #f1f1f1;
  --muted: #b7b7b7;
  --line: #272727;
  --neon: #35ff69;
  --neon-soft: #173121;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  scroll-behavior: smooth;
}

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(5, 5, 5, 0.8);
  border-bottom: 1px solid rgba(53, 255, 105, 0.18);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.logo {
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.nav-center {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #c8ffd8;
  font-size: 0.85rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 14px rgba(53, 255, 105, 0.8);
}

.btn {
  border-radius: 999px;
  padding: 0.68rem 1.1rem;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-primary {
  color: #031308;
  border-color: var(--neon);
  background: var(--neon);
}

.btn-primary:hover {
  background: #71ff98;
  box-shadow: 0 0 28px rgba(53, 255, 105, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: #325841;
}

.btn-outline:hover {
  border-color: var(--neon);
  color: var(--neon);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0 6.5rem;
  min-height: 92vh;
  background:
    radial-gradient(circle at 70% 20%, rgba(53, 255, 105, 0.12), transparent 38%),
    linear-gradient(180deg, #090909 0%, #070707 48%, #0d1b12 100%);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
}

.moving-ball {
  position: fixed;
  left: 0;
  top: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  z-index: 40;
  pointer-events: none;
  transform-origin: center;
  will-change: transform;
  background-image: url("./images/ball.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(255, 255, 255, 0.22);
}

.ticker {
  position: absolute;
  left: -8%;
  width: 116%;
  overflow: hidden;
  background: var(--neon-soft);
  border-block: 1px solid rgba(53, 255, 105, 0.35);
  display: flex;
}

.ticker-top {
  top: 5.4rem;
  transform: rotate(1.6deg);
}

.ticker-bottom {
  bottom: 2.3rem;
  transform: rotate(-1.8deg);
}

.ticker-track {
  flex-shrink: 0;
  display: flex;
  animation: ticker 25s linear infinite;
}

.ticker-track.reverse {
  animation-direction: reverse;
}

.ticker-track span {
  white-space: nowrap;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  font-weight: 700;
  color: #bfffd3;
  padding: 0.7rem 1.15rem;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: center;
}

.hero-mini {
  margin: 0;
  display: inline-block;
  border: 1px solid rgba(53, 255, 105, 0.4);
  border-radius: 999px;
  color: #d4ffe1;
  background: rgba(53, 255, 105, 0.08);
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
}

.hero h1 {
  margin: 0.85rem 0 1rem;
  font-size: clamp(2.4rem, 8vw, 6.1rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.hero h1 span {
  color: var(--neon);
  text-shadow: 0 0 28px rgba(53, 255, 105, 0.45);
}

.hero-copy {
  max-width: 700px;
  margin: 0;
  color: #dddddd;
  line-height: 1.62;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 760px;
}

.hero-stats article {
  border: 1px solid #274434;
  background: rgba(10, 18, 13, 0.8);
  border-radius: 14px;
  padding: 0.82rem;
}

.hero-mascot-wrap {
  display: flex;
  justify-content: center;
}

.hero-mascot {
  width: min(420px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(53, 255, 105, 0.35);
  box-shadow: 0 0 42px rgba(53, 255, 105, 0.22);
}

.stat-label {
  margin: 0;
  color: #9ec6ac;
  font-size: 0.78rem;
}

.stat-value {
  margin: 0.45rem 0 0;
  font-weight: 700;
  font-size: 1.45rem;
}

.poster-band {
  padding: 4.4rem 0;
  border-top: 1px solid rgba(53, 255, 105, 0.14);
  border-bottom: 1px solid rgba(53, 255, 105, 0.14);
}

.poster-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.poster {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
}

.poster-highlight {
  border-color: rgba(53, 255, 105, 0.45);
  box-shadow: 0 0 0 1px rgba(53, 255, 105, 0.18) inset;
}

.poster-kicker {
  margin: 0;
  color: var(--neon);
  font-size: 0.8rem;
  font-weight: 700;
}

.poster h3 {
  margin: 0.45rem 0 0.6rem;
}

.poster-image {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0.45rem 0 0.65rem;
  border: 1px solid #30583d;
}

.poster p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.tokenomics {
  padding: 5rem 0;
}

.token-heading h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.8rem, 4.8vw, 3rem);
}

.token-heading p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.token-card {
  border: 1px solid #2b5238;
  border-radius: 12px;
  background: rgba(14, 22, 17, 0.7);
  padding: 0.9rem;
}

.token-card .label {
  margin: 0;
  color: #9ec2aa;
  font-size: 0.82rem;
}

.token-card .value {
  margin: 0.45rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.contract-box {
  margin-top: 1rem;
  border: 1px dashed #3f7f57;
  border-radius: 13px;
  padding: 0.95rem;
  background: rgba(11, 20, 14, 0.8);
}

.token-banner {
  margin-top: 0.9rem;
}

.token-banner img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #31553b;
}

.contract-box p {
  margin: 0 0 0.55rem;
  color: #c6f8d7;
}

.contract-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

code {
  border-radius: 10px;
  border: 1px solid #2f583d;
  background: #0b120e;
  color: #c8ffd9;
  padding: 0.55rem 0.72rem;
  font-size: 0.88rem;
  word-break: break-all;
}

.community {
  padding: 4.8rem 0 5rem;
  border-top: 1px solid var(--line);
}

.community-wrap h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4.8vw, 2.8rem);
}

.community-wrap p {
  margin: 0.65rem 0 1rem;
  max-width: 680px;
  color: var(--muted);
}

.community-image {
  margin: 0.4rem 0 1rem;
}

.community-image img {
  width: 100%;
  max-width: 760px;
  max-height: 280px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #32563d;
}

.community-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.site-footer {
  width: min(1140px, 92vw);
  margin: 0 auto;
  padding: 1.1rem 0 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a9a9a9;
}

#back-to-top {
  background: none;
  border: none;
  color: #8bc69f;
  cursor: pointer;
}

#back-to-top:hover {
  color: var(--neon);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .poster-grid {
    grid-template-columns: 1fr;
  }

  .token-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 450px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-mascot {
    max-width: 360px;
  }
}

@media (max-width: 680px) {
  .nav-center {
    display: none;
  }

  .logo {
    font-size: 0.84rem;
  }

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
