:root {
  --bg: #fff7f4;
  --bg-deep: #fff0ec;
  --card: #ffffff;
  --text: #2d1614;
  --text-subtle: #8a625b;
  --primary: #d4736a;
  --primary-hover: #be5d55;
  --secondary: #e8998d;
  --border: #efd6d0;
  --border-strong: #e7c7c0;
  --ink: #2d1614;
  --success: #278b62;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(45, 22, 20, 0.08);
  --neo-shadow: 4px 4px 0 var(--ink);
  --font: "Satoshi", system-ui, -apple-system, sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg-glow {
  position: fixed;
  inset: -20% -10% auto;
  height: 70vh;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 115, 106, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(232, 153, 141, 0.18), transparent 65%),
    radial-gradient(ellipse 35% 35% at 15% 30%, rgba(255, 240, 236, 0.9), transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: glow-drift 12s ease-in-out infinite alternate;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(231, 199, 192, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 199, 192, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex: 1;
  min-width: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-subtle);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex-shrink: 0;
}

.icon-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-subtle);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.icon-btn:hover {
  background: rgba(212, 115, 106, 0.1);
  color: var(--text);
}

.network-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  background: #fff0ec;
  padding: 0.45rem 0.75rem 0.45rem 0.5rem;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.network-btn:hover {
  background: #f5e0db;
}

.bnb-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}

.network-btn .chevron {
  opacity: 0.7;
}

.connect-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #d4736a 0%, #e8998d 100%);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(212, 115, 106, 0.28);
  transition: filter 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.connect-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  appearance: none;
  border: none;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem 3.5rem;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  min-height: min(72vh, 640px);
}

.hero-mark {
  margin-bottom: 1.5rem;
  animation: rise-in 0.8s ease-out both;
}

.hero-mark img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow:
    0 0 0 1px var(--border),
    0 20px 40px rgba(212, 115, 106, 0.25);
  animation: soft-float 5s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  animation: rise-in 0.8s ease-out 0.1s both;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text);
  animation: rise-in 0.8s ease-out 0.18s both;
}

.lede {
  margin: 1.15rem 0 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-subtle);
  font-weight: 500;
  animation: rise-in 0.8s ease-out 0.26s both;
}

.actions {
  margin-top: 2rem;
  animation: rise-in 0.8s ease-out 0.34s both;
}

.btn-primary {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  background: var(--primary);
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(212, 115, 106, 0.35);
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(190, 93, 85, 0.4);
}

.btn-primary:active,
.btn-primary.is-pressed {
  transform: translateY(0) scale(0.98);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.status {
  margin-top: 1.25rem;
  padding: 0.75rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-subtle);
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  animation: rise-in 0.35s ease-out both;
}

/* —— Tokenomics —— */
.tokenomics {
  padding: 1rem 1.25rem 4.5rem;
}

.tokenomics-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tokenomics h2 {
  margin: 0.9rem 0 1.5rem;
  font-size: clamp(1.65rem, 4.5vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  text-transform: uppercase;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.neo-card {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--neo-shadow);
  padding: 1.35rem 1.4rem 1.4rem;
}

.neo-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.stat-label {
  margin: 0.45rem 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.stat-copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-subtle);
  font-weight: 500;
}

.allocation-card {
  padding: 1.5rem 1.6rem 1.25rem;
}

.allocation-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 2rem;
  align-items: center;
}

.chart-wrap {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.donut {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* cumulative: 19.68, 27.47, 38.68, 40, 70, 85, 95, 100 */
  background: conic-gradient(
    from -90deg,
    #e07a5f 0% 19.68%,
    #c45b9b 19.68% 27.47%,
    #3a3535 27.47% 38.68%,
    #7eb8da 38.68% 40%,
    #4a5fbf 40% 70%,
    #7b5ea7 70% 85%,
    #d4a84b 85% 95%,
    #4a9b8c 95% 100%
  );
  box-shadow: inset 0 0 0 1px rgba(45, 22, 20, 0.06);
}

.donut::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: var(--card);
}

.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  pointer-events: none;
}

.donut-center img {
  width: 32%;
  height: 32%;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--ink);
  background: #f5d0c8;
}

.alloc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.alloc-list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--swatch);
  flex-shrink: 0;
}

.alloc-name {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
}

.alloc-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-subtle);
  white-space: nowrap;
}

.alloc-meta strong {
  color: var(--ink);
  font-weight: 800;
}

.icon-lock,
.icon-fire {
  width: 13px;
  height: 13px;
  fill: var(--ink);
  flex-shrink: 0;
  opacity: 0.85;
}

.icon-fire {
  fill: #d4736a;
}

.alloc-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin: 1.15rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.alloc-note .icon-lock {
  width: 12px;
  height: 12px;
}

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem;
  color: var(--text-subtle);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer a {
  color: var(--text-subtle);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes glow-drift {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(12px) scale(1.04);
  }
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 12px 28px rgba(45, 22, 20, 0.08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: flex;
  }

  .icon-btn {
    display: none;
  }
}

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

  .allocation-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .chart-wrap {
    width: min(100%, 260px);
  }

  .alloc-note {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .network-btn span:not(.bnb-dot) {
    display: none;
  }

  .network-btn .chevron {
    display: none;
  }

  .connect-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 520px) {
  .header-inner {
    padding: 0.65rem 1rem;
  }

  .hero {
    min-height: auto;
    padding: 1.5rem 1.15rem 2.5rem;
  }

  .hero-mark img {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }

  .btn-primary {
    width: 100%;
    max-width: 280px;
  }

  .tokenomics {
    padding: 0.5rem 1rem 3rem;
  }

  .neo-card {
    border-radius: 18px;
    padding: 1.15rem 1.15rem 1.2rem;
  }

  .alloc-list li {
    grid-template-columns: 12px 1fr;
    grid-template-rows: auto auto;
  }

  .alloc-meta {
    grid-column: 2;
    justify-self: start;
  }
}
