:root {
  color-scheme: dark;
  --bg: #0c0d0a;
  --bg-soft: #141610;
  --panel: #191c14;
  --panel-strong: #202419;
  --line: rgba(245, 221, 91, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f8f4df;
  --muted: #b8b39b;
  --dim: #827d68;
  --yellow: #f8db36;
  --yellow-strong: #ffe84d;
  --green: #78e28c;
  --red: #ff756f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(248, 219, 54, 0.12), transparent 30rem),
    linear-gradient(180deg, #0c0d0a 0%, #11130d 48%, #0c0d0a 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

button,
input,
select {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 13, 10, 0.82);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(199, 255, 55, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.button svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wallet-button.connected {
  background: rgba(199, 255, 55, 0.14);
  color: #c7ff37;
  border: 1px solid rgba(199, 255, 55, 0.35);
  box-shadow: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-menu a:hover {
  color: var(--yellow);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.social-button svg {
  width: 18px;
  height: 18px;
}

.social-button:hover {
  color: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.wallet-button,
.button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.94rem;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.wallet-button,
.button.primary {
  background: var(--yellow);
  color: #101107;
  box-shadow: 0 14px 38px rgba(248, 219, 54, 0.22);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.wallet-button:hover,
.button:hover {
  transform: translateY(-2px);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  max-width: min(420px, calc(100% - 32px));
  padding: 14px 18px;
  color: #101107;
  background: var(--yellow);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  font-size: 0.94rem;
  font-weight: 800;
  text-align: center;
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast[hidden] {
  display: block;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  min-height: min(860px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 58px;
  align-items: center;
  padding: 68px 0 38px;
}

.hero-copy h1 {
  max-width: min(760px, 100%);
  margin: 0;
  font-size: clamp(3.4rem, 8.2vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 span {
  color: var(--yellow);
}

.hero-copy p {
  margin: 28px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  line-height: 1.35;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.launch-card {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(248, 219, 54, 0.08), transparent 32%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.06rem;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.launch-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.launch-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(248, 219, 54, 0.13);
}

.launch-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.launch-meta div,
.stats div,
.allocation,
.steps article,
.feature-grid article,
.featured-grid article,
.timeline article,
.faq details {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.launch-meta div {
  padding: 14px;
}

.launch-meta span,
.stats span,
.allocation span {
  display: block;
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.launch-meta strong,
.stats strong,
.allocation strong {
  display: block;
  margin-top: 7px;
  font-size: 1.15rem;
}

small {
  display: block;
  margin-top: 5px;
  color: var(--dim);
}

.full {
  width: 100%;
}

.hidden {
  display: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 16px 0 70px;
}

.stats div {
  padding: 22px;
}

.stats strong {
  color: var(--yellow);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.section {
  padding: 76px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  align-items: start;
  border-top: 1px solid var(--line-soft);
}

.steps,
.feature-grid,
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.steps article,
.feature-grid article,
.featured-grid article {
  padding: 24px;
}

.steps span,
.featured-grid span,
.timeline span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading.row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.why {
  border-top: 1px solid var(--line-soft);
}

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

.launches {
  border-top: 1px solid var(--line-soft);
}

.filters {
  display: flex;
  gap: 10px;
  min-width: min(100%, 420px);
}

.filters select {
  max-width: 150px;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.meme-card {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.meme-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.meme-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #101107;
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 950;
}

.meme-card h3 {
  margin-bottom: 3px;
}

.meme-card p {
  margin: 0;
  font-size: 0.9rem;
}

.progress {
  height: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  border-radius: inherit;
}

.meme-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
}

.meme-stats div {
  padding: 11px;
  background: rgba(255, 255, 255, 0.045);
  border-radius: 8px;
}

.meme-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meme-links a {
  padding: 8px 10px;
  color: var(--yellow);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 850;
}

.featured {
  border-top: 1px solid var(--line-soft);
}

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

.tokenomics {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: center;
  border-top: 1px solid var(--line-soft);
}

.allocation {
  padding: 24px;
}

.bar {
  position: relative;
  height: 44px;
  margin-top: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.bar span {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, rgba(248, 219, 54, 0.95), rgba(120, 226, 140, 0.74));
}

.bar b {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  color: var(--text);
  font-size: 0.9rem;
}

.roadmap,
.faq {
  border-top: 1px solid var(--line-soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.timeline article {
  padding: 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq details {
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.faq p {
  margin-bottom: 0;
}

.footer {
  padding: 54px 0 24px;
  background: #080905;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 40px;
}

.footer h3 {
  margin: 0 0 14px;
}

.footer a:not(.brand) {
  display: block;
  margin: 9px 0;
  color: var(--muted);
}

.copyright {
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    inset: 76px 16px auto;
    display: none;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .hero,
  .split,
  .tokenomics {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .hero {
    min-height: 0;
    padding-top: 52px;
  }

  .hero-copy h1 {
    font-size: 4rem;
    line-height: 0.94;
  }

  .stats,
  .feature-grid,
  .launch-grid,
  .featured-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading.row {
    display: block;
  }

  .filters {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 44px);
    max-width: 1180px;
  }

  .hero {
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: 2.86rem;
    line-height: 1;
    overflow-wrap: normal;
  }

  .hero-actions,
  .filters {
    flex-direction: column;
  }

  .button,
  .wallet-button {
    width: 100%;
  }

  .nav-actions {
    width: 100%;
  }

  .nav-actions .wallet-button {
    flex: 1 1 auto;
  }

  .launch-card {
    padding: 18px;
  }

  .form-row,
  .launch-meta,
  .stats,
  .steps,
  .feature-grid,
  .launch-grid,
  .featured-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }
}

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