:root {
  --bg: #07070f;
  --panel: #0f1020;
  --panel-2: #16172a;
  --white: #f5f5ff;
  --muted: #aeb0c9;
  --red: #ff3131;
  --blue: #3866ff;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 10%, rgba(56, 102, 255, 0.22), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(255, 49, 49, 0.18), transparent 26%),
    var(--bg);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  z-index: -1;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(7, 7, 15, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-link,
.buy-button,
.primary-cta,
.secondary-cta,
.dex-link,
.join-actions a,
#copyCaButton {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.icon-link:hover,
.buy-button:hover,
.primary-cta:hover,
.secondary-cta:hover,
.dex-link:hover,
.join-actions a:hover,
#copyCaButton:hover {
  transform: translateY(-2px);
}

.icon-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.icon-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.buy-button {
  padding: 13px 18px;
  border-radius: 13px;
  background: var(--red);
  color: white;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 28px rgba(255, 49, 49, 0.18);
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 42px;
  padding-top: 70px;
  padding-bottom: 74px;
}

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

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c9cadc;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.17em;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: var(--red);
}

.hero h1,
.about h2,
.chart-heading h2,
.join h2 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.045em;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(70px, 9.5vw, 142px);
  line-height: 0.78;
}

.hero h1 span {
  color: var(--red);
  text-shadow: 4px 4px 0 #fff, 7px 7px 0 rgba(56, 102, 255, 0.55);
  -webkit-text-stroke: 1px #fff;
}

.hero-tagline {
  max-width: 620px;
  margin: 26px 0 0;
  color: #d6d7e5;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
  font-weight: 700;
}

.ca-card {
  display: flex;
  align-items: stretch;
  width: min(100%, 620px);
  margin-top: 30px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.ca-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 13px;
}

.ca-meta span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ca-meta strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

#copyCaButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 124px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

#copyCaButton svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 21px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
}

.primary-cta {
  background: var(--white);
  color: #080810;
}

.secondary-cta {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-art-wrap {
  position: relative;
  padding: 18px;
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(56, 102, 255, 0.2), rgba(255, 49, 49, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.43);
  transform: rotate(1.5deg);
}

.hero-art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
}

.stamp {
  position: absolute;
  right: -22px;
  bottom: 36px;
  z-index: 2;
  padding: 13px 17px;
  border: 4px solid var(--red);
  border-radius: 12px;
  color: var(--red);
  background: rgba(7, 7, 15, 0.88);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 17px;
  line-height: 0.95;
  text-align: center;
  transform: rotate(-9deg);
}

.ticker-strip {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--red);
  color: #fff;
  transform: rotate(-1deg) scale(1.02);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 30px;
  padding: 13px 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 16px;
  animation: crawl 20s linear infinite;
}

.ticker-track i {
  font-style: normal;
}

@keyframes crawl {
  to { transform: translateX(-50%); }
}

.about {
  padding-top: 125px;
  padding-bottom: 90px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 72px;
  align-items: end;
  margin-top: 24px;
}

.about h2 {
  font-size: clamp(46px, 6.6vw, 86px);
  line-height: 0.92;
}

.about h2 span {
  color: var(--red);
}

.about-copy {
  display: grid;
  gap: 18px;
  color: #d1d2e2;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 600;
}

.about-copy p {
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-bottom: 110px;
}

.stats article {
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.stats span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.stats strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(18px, 2vw, 26px);
}

.chart-section {
  padding-bottom: 110px;
}

.chart-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.chart-heading h2 {
  margin-top: 10px;
  font-size: clamp(48px, 6vw, 76px);
}

.dex-link {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 900;
}

.chart-frame-wrap {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0b0c13;
  box-shadow: var(--shadow);
}

#dexChart {
  width: 100%;
  min-height: 610px;
  border: 0;
  display: none;
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(56, 102, 255, 0.11), transparent 48%),
    linear-gradient(315deg, rgba(255, 49, 49, 0.08), transparent 50%);
}

.chart-placeholder strong {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 36px;
}

.chart-placeholder span {
  color: var(--muted);
}

.chart-placeholder code {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 7px;
  border-radius: 6px;
}

.join {
  padding-bottom: 92px;
}

.join-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 80% 25%, rgba(255, 49, 49, 0.22), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(56, 102, 255, 0.22), transparent 32%),
    var(--panel);
}

.join h2 {
  margin-top: 14px;
  font-size: clamp(48px, 7vw, 90px);
  line-height: 0.88;
}

.join p {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.join-actions {
  display: grid;
  gap: 10px;
  min-width: 210px;
}

.join-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 900;
}

.join-actions a:last-child {
  background: var(--red);
  border-color: var(--red);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
  color: #85869b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 52px;
  }

  .hero-art-wrap {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .join-card {
    grid-template-columns: 1fr;
  }

  .join-actions {
    grid-template-columns: repeat(3, 1fr);
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    padding-inline: 12px;
  }

  .brand span {
    display: none;
  }

  .icon-link {
    width: 38px;
    height: 38px;
  }

  .buy-button {
    padding-inline: 12px;
    font-size: 11px;
  }

  .hero {
    padding-top: 38px;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(66px, 23vw, 96px);
  }

  .hero h1 span {
    text-shadow: 2px 2px 0 #fff, 4px 4px 0 rgba(56, 102, 255, 0.55);
  }

  .ca-card {
    flex-direction: column;
  }

  #copyCaButton {
    min-height: 48px;
  }

  .hero-actions a {
    flex: 1 1 100%;
  }

  .stamp {
    right: 3px;
    bottom: 18px;
    font-size: 13px;
  }

  .about {
    padding-top: 92px;
    padding-bottom: 62px;
  }

  .about h2,
  .chart-heading h2,
  .join h2 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .stats {
    grid-template-columns: 1fr;
    padding-bottom: 80px;
  }

  .chart-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .dex-link {
    width: 100%;
    text-align: center;
  }

  .chart-frame-wrap,
  #dexChart {
    min-height: 520px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
