:root {
  --bg: #020202;
  --bg-soft: #090909;
  --panel: rgba(18, 18, 18, 0.82);
  --panel-strong: rgba(12, 12, 12, 0.96);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f7f7f8;
  --muted: #a9adb7;
  --silver: #d8dde5;
  --silver-soft: #8d95a3;
  --silver-bright: #ffffff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.09), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, #080808 0%, #020202 42%, #050505 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 12% 22%, #ffffff 0 1.2px, transparent 1.4px),
    radial-gradient(circle at 78% 18%, #ffffff 0 1.4px, transparent 1.6px),
    radial-gradient(circle at 84% 63%, #ffffff 0 1.1px, transparent 1.3px),
    radial-gradient(circle at 31% 74%, #ffffff 0 1.4px, transparent 1.6px),
    radial-gradient(circle at 63% 82%, #ffffff 0 1px, transparent 1.2px);
}

body::after {
  content: "";
  position: fixed;
  inset: -20% auto auto 10%;
  width: 80vw;
  height: 40vh;
  pointer-events: none;
  transform: rotate(-8deg);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 28%,
    rgba(255, 255, 255, 0.02) 45%,
    transparent 64%
  );
  filter: blur(50px);
  opacity: 0.6;
}

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

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

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-row {
  min-height: 84px;
}

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

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links,
.nav-actions,
.footer-links,
.hero-actions,
.join-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  color: #060606;
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(135deg, #fafafa 0%, #c4ccd8 28%, #fdfdfd 52%, #8c95a4 80%, #f5f6f8 100%);
  box-shadow:
    0 18px 36px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.button-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
}

.hero-section {
  position: relative;
  padding: 72px 0 44px;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 6% auto auto 50%;
  width: min(72vw, 920px);
  height: min(72vw, 920px);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 58%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-grid,
.join-panel {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
}

.hero-copy,
.hero-media,
.join-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--silver);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.hero-bio {
  margin-bottom: 16px;
  color: #e7ebf3;
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.hero-pill,
.contract-strip {
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0.08) 75%, rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 30px rgba(0, 0, 0, 0.35);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #eef2f9;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-description,
.section-heading p,
.feature-card p,
.step-card p,
.join-lead,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-description {
  max-width: 64ch;
}

.hero-actions {
  margin: 28px 0 30px;
  flex-wrap: wrap;
}

.token-stats,
.card-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

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

.stat-card,
.feature-card,
.step-card,
.join-panel,
.chart-shell {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 32%, rgba(255, 255, 255, 0.06) 68%, rgba(255, 255, 255, 0.015)),
    var(--panel);
  box-shadow: var(--shadow);
}

.stat-card,
.feature-card,
.step-card {
  border-radius: var(--radius-md);
  padding: 22px;
}

.stat-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.stat-card strong {
  font-size: 1.02rem;
  line-height: 1.4;
}

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

.logo-frame {
  position: relative;
  width: min(100%, 520px);
  padding: 18px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0.08)),
    rgba(8, 8, 8, 0.94);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.logo-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.logo-frame img {
  border-radius: 24px;
  object-fit: cover;
}

.content-section {
  padding: 58px 0;
}

.alt-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.04));
}

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

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

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), #ffffff, rgba(255, 255, 255, 0.1));
}

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

.step-card {
  position: relative;
  overflow: hidden;
}

.step-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--silver);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
}

.chart-shell {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(28, 30, 34, 0.98), rgba(5, 5, 5, 0.98)),
    var(--panel-strong);
}

#dexscreener-embed {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
  background: transparent;
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  background:
    linear-gradient(180deg, rgba(28, 30, 34, 0.76), rgba(5, 5, 5, 0.92)),
    var(--panel-strong);
}

.chart-placeholder-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 420px;
}

.chart-placeholder p {
  margin: 0;
}

.chart-placeholder a {
  min-width: 180px;
}

.join-section {
  padding-bottom: 84px;
}

.join-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.banner-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.join-lead {
  margin-bottom: 26px;
  font-size: 1.03rem;
}

.contract-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 12px 16px;
  border-radius: 16px;
}

.contract-strip span {
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contract-strip code {
  overflow: auto;
  color: var(--silver-bright);
  font-family: inherit;
  font-size: 0.93rem;
  scrollbar-width: none;
}

.contract-strip code::-webkit-scrollbar {
  display: none;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.24);
}

.footer-row {
  min-height: 82px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .join-panel,
  .card-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }

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

  .hero-media {
    order: -1;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .nav-row,
  .footer-row {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .nav-links,
  .nav-actions,
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-section {
    padding-top: 42px;
  }

  .content-section {
    padding: 44px 0;
  }

  .chart-shell,
  #dexscreener-embed {
    min-height: 460px;
    height: 460px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .join-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .brand {
    text-align: center;
    flex-direction: column;
  }

  .logo-frame {
    padding: 12px;
    border-radius: 24px;
  }

  .logo-frame::before {
    inset: 6px;
    border-radius: 18px;
  }

  .stat-card,
  .feature-card,
  .step-card,
  .join-panel {
    padding: 18px;
  }

  .contract-strip {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-shell,
  #dexscreener-embed {
    min-height: 380px;
    height: 380px;
  }
}
