:root {
  --cream: #f8f0da;
  --paper: #fff8e8;
  --ink: #17191f;
  --blue: #1453e5;
  --blue-dark: #0b2b72;
  --red: #ee3d32;
  --yellow: #ffce2f;
  --muted: #4f5050;
  --border: 3px solid var(--ink);
  --display: "Bangers", Impact, "Arial Narrow", sans-serif;
  --body: "DM Sans", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
}

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

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

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

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

::selection { color: var(--ink); background: var(--yellow); }

.container { width: min(100% - 2rem, 82rem); margin-inline: auto; }
.section-pad { padding-block: 5.5rem; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgb(248 240 218 / 96%);
  border-bottom: var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.75rem;
  min-height: 5.1rem;
  padding-block: 0.55rem;
}

.brand { display: inline-flex; align-items: center; width: fit-content; gap: 0.35rem; }
.brand img { width: 3.5rem; height: 3.5rem; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; font-family: var(--display); font-size: 1.38rem; line-height: 0.85; letter-spacing: 0.035em; white-space: nowrap; }
.brand-name span { color: var(--red); }

.main-nav {
  grid-row: 2;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgb(23 25 31 / 17%);
}
.main-nav a { padding: 0.3rem 0.15rem; font-size: 0.79rem; font-weight: 800; letter-spacing: 0.045em; transition: color 180ms ease; }
.main-nav a:hover { color: var(--red); }

.header-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.4rem 0.72rem;
  gap: 0.25rem;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 0.7rem;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.header-buy:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.header-buy img { width: 1.55rem; height: 1.55rem; object-fit: contain; }
.header-buy-arrow { font-size: 1rem; line-height: 1; }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--cream);
  background-image: radial-gradient(rgb(23 25 31 / 8%) 1px, transparent 1px);
  background-size: 1.35rem 1.35rem;
  scroll-margin-top: 8.5rem;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: auto -6rem -16rem auto;
  width: 40rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(255 206 47 / 37%);
  content: "";
}
.hero-sun {
  position: absolute;
  z-index: -1;
  top: -8rem;
  right: -11rem;
  width: min(72vw, 59rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fbe4ac;
}
.hero-inner { display: grid; align-items: center; gap: 3rem; padding-block: 4rem 5.5rem; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.3rem; font-size: 0.77rem; font-weight: 800; letter-spacing: 0.13em; }
.eyebrow-dot { width: 0.7rem; height: 0.7rem; flex: none; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0.27rem rgb(238 61 50 / 16%); }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(4.25rem, 15vw, 9.5rem); font-weight: 400; line-height: 0.78; letter-spacing: 0.015em; }
.hero h1 > span { display: block; white-space: nowrap; }
.title-second { position: relative; margin-top: 0.12em; color: var(--red); -webkit-text-stroke: 1px var(--ink); text-shadow: 5px 5px 0 var(--ink); }
.title-second strong { font-weight: 400; }
.title-second i { position: absolute; top: -0.18em; margin-left: 0.1em; color: var(--yellow); font-family: var(--body); font-size: 0.37em; font-style: normal; -webkit-text-stroke: 1px var(--ink); text-shadow: 2px 2px 0 var(--ink); transform: rotate(-18deg); }
.hero-lede { max-width: 36rem; margin: 1.8rem 0 1.2rem; color: #35383c; font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 500; line-height: 1.5; }
.token-tag { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.45rem; padding: 0.42rem 0.8rem; border: 2px solid var(--ink); border-radius: 100rem; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; }
.token-tag-spark { color: var(--red); font-size: 1rem; line-height: 1; }
.token-tag strong { color: var(--blue); font-size: 0.9rem; letter-spacing: 0; }

.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; max-width: 38rem; margin-top: 2rem; }
.action {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 4rem;
  gap: 0.48rem;
  padding: 0.65rem 0.7rem;
  border: var(--border);
  border-radius: 0.8rem;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: clamp(0.69rem, 2.5vw, 0.91rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.action:hover { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.action > img { width: 1.75rem; height: 1.75rem; flex: none; object-fit: contain; }
.action > span:nth-child(2) { min-width: 0; }
.action-arrow { margin-left: auto; font-size: 1.2rem; line-height: 1; }
.action-buy { background: var(--yellow); }
.action-x { color: white; background: var(--ink); }
.action-telegram { color: white; background: var(--blue); }
.action-x img, .action-telegram img { filter: invert(1); }
.action-dex { background: var(--paper); }
.hero-footnote { display: flex; align-items: center; gap: 0.4rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 0.83rem; font-weight: 700; }
.hero-footnote span { color: var(--red); font-size: 1.2rem; }

.hero-visual { position: relative; width: min(88%, 34rem); justify-self: center; margin: 0.6rem 0.5rem 1rem 0; }
.hero-art-back { position: absolute; inset: 0; border: var(--border); border-radius: 2rem; background: var(--blue); transform: rotate(-7deg) translate(-0.9rem, 0.45rem); box-shadow: -1rem 1rem 0 var(--red); }
.hero-art-frame { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border: 4px solid var(--ink); border-radius: 2rem; background: #e6dac3; box-shadow: 0.45rem 0.55rem 0 var(--ink); transform: rotate(2.3deg); }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-image-caption { position: absolute; right: 0; bottom: 0; left: 0; display: block; padding: 0.55rem 0.7rem; color: var(--ink); background: var(--yellow); border-top: 3px solid var(--ink); font-size: 0.7rem; font-weight: 800; text-align: center; letter-spacing: 0.11em; }
.hero-sticker { position: absolute; z-index: 3; top: -2.8rem; right: -1.3rem; display: grid; place-items: center; width: 7.7rem; height: 7.7rem; padding: 0.7rem; color: white; background: var(--red); border: 3px solid var(--ink); border-radius: 50%; box-shadow: 5px 6px 0 var(--ink); font-family: var(--display); font-size: 1.7rem; line-height: 0.8; text-align: center; letter-spacing: 0.02em; transform: rotate(13deg); }
.hero-sticker span { position: absolute; bottom: 0.7rem; font-family: var(--body); font-size: 1.1rem; }
.hero-message { position: absolute; z-index: 4; bottom: 1.5rem; left: -2rem; display: flex; align-items: center; gap: 0.65rem; width: max-content; max-width: 82%; padding: 0.65rem 0.7rem; border: 2px solid var(--ink); border-radius: 0.7rem; background: var(--paper); box-shadow: 5px 5px 0 var(--ink); transform: rotate(-5deg); }
.message-icon { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; flex: none; border-radius: 0.5rem; color: white; background: var(--blue); font-size: 1.1rem; }
.hero-message strong, .hero-message small { display: block; line-height: 1.2; }
.hero-message strong { font-size: 0.7rem; }
.hero-message small { margin-top: 0.25rem; color: var(--muted); font-size: 0.65rem; }
.message-bubble { display: grid; place-items: center; align-self: flex-start; width: 1.2rem; height: 1.2rem; margin-left: 0.3rem; border-radius: 50%; color: white; background: var(--red); font-size: 0.65rem; font-weight: 800; }

.ticker-strip { overflow: hidden; padding-block: 0.75rem; color: white; background: var(--red); border-block: var(--border); transform: rotate(-1.1deg) scale(1.02); transform-origin: center; }
.ticker-track { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.ticker-track > span { padding-right: 1.5rem; font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.065em; white-space: nowrap; }
.ticker-track i { padding-inline: 0.6rem; color: var(--yellow); font-family: var(--body); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.roadmap { position: relative; overflow: hidden; background: var(--paper); scroll-margin-top: 8.5rem; }
.roadmap::before { position: absolute; top: 6rem; right: -7rem; width: 22rem; aspect-ratio: 1; border: 2px dashed rgb(23 25 31 / 12%); border-radius: 50%; content: ""; }
.section-heading { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2.6rem; }
.section-kicker { margin: 0 0 0.6rem; color: var(--blue); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.13em; }
.section-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(3.7rem, 12vw, 7.5rem); font-weight: 400; line-height: 0.85; letter-spacing: 0.015em; }
.section-heading h2 span { color: var(--red); }
.section-heading > p { max-width: 28rem; margin: 0; color: #48494c; font-size: 1rem; font-weight: 600; }
.roadmap-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.phase-card { position: relative; display: flex; flex-direction: column; min-height: 20.5rem; padding: 1.25rem; overflow: hidden; border: var(--border); border-radius: 1.25rem; box-shadow: 6px 6px 0 var(--ink); transition: transform 200ms ease, box-shadow 200ms ease; }
.phase-card:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.phase-one { background: var(--yellow); }
.phase-two { color: white; background: var(--blue); }
.phase-three { background: #ffb8a9; }
.phase-four { background: #c9dfca; }
.phase-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; }
.phase-top > span:last-child { font-size: 1.7rem; font-weight: 400; line-height: 1; }
.phase-icon { display: grid; place-items: center; width: 3.7rem; height: 3.7rem; margin-block: 1.65rem 0.75rem; border: 2px solid currentColor; border-radius: 50%; font-size: 2rem; line-height: 1; transform: rotate(-12deg); }
.phase-card h3 { max-width: 15rem; margin: 0; font-family: var(--display); font-size: 2.6rem; font-weight: 400; line-height: 0.9; letter-spacing: 0.02em; }
.phase-card p { max-width: 17rem; margin: 0.8rem 0 1.5rem; font-size: 0.95rem; font-weight: 600; line-height: 1.45; }
.phase-bottom { margin-top: auto; padding-top: 0.7rem; border-top: 2px solid currentColor; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.09em; }
.roadmap-end { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-top: 2.6rem; font-size: 0.8rem; font-weight: 800; text-align: center; letter-spacing: 0.11em; }
.roadmap-end span { color: var(--red); font-size: 1.5rem; line-height: 1; }

.chart-section { position: relative; overflow: hidden; color: white; background: #101b39; scroll-margin-top: 8.5rem; }
.chart-section::before { position: absolute; inset: 0; opacity: 0.22; background-image: linear-gradient(rgb(255 255 255 / 12%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 12%) 1px, transparent 1px); background-size: 3rem 3rem; content: ""; mask-image: linear-gradient(to bottom, black, transparent 75%); }
.chart-spark { position: absolute; color: var(--yellow); font-size: 4rem; line-height: 1; }
.chart-spark-one { top: 5rem; right: 5%; transform: rotate(16deg); }
.chart-spark-two { bottom: 5rem; left: 2%; color: var(--red); font-size: 2.6rem; }
.chart-section .container { position: relative; z-index: 1; }
.chart-heading .section-kicker { color: var(--yellow); }
.chart-heading h2 span { color: var(--yellow); }
.chart-heading > p { color: #d9dded; }
.chart-window { overflow: hidden; border: 3px solid var(--ink); border-radius: 1.25rem; background: #111a2d; box-shadow: 0.7rem 0.7rem 0 var(--blue), 1rem 1rem 0 var(--yellow); }
.chart-window-top { display: flex; align-items: center; min-height: 3.5rem; gap: 0.7rem; padding: 0.6rem 0.8rem; color: var(--ink); background: var(--cream); border-bottom: var(--border); }
.window-dots { display: flex; align-items: center; gap: 0.25rem; }
.window-dots span { width: 0.65rem; height: 0.65rem; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--red); }
.window-dots span:nth-child(2) { background: var(--yellow); }
.window-dots span:nth-child(3) { background: #53c969; }
.chart-window-name { overflow: hidden; font-size: 0.7rem; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; letter-spacing: 0.03em; }
.chart-window-name span { padding-inline: 0.15rem; color: #777; }
.chart-status { margin-left: auto; padding: 0.25rem 0.48rem; border: 1.5px solid var(--ink); border-radius: 100rem; background: var(--yellow); font-size: 0.62rem; font-weight: 800; white-space: nowrap; letter-spacing: 0.05em; }
.chart-status.is-live { color: white; background: var(--blue); }
.chart-stage { position: relative; min-height: 28rem; background: #101727; }
.chart-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chart-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 28rem; padding: 2rem 1.2rem; background: radial-gradient(circle at 50% 45%, #254680 0, #172846 36%, #101727 70%); text-align: center; }
.chart-placeholder-orbit { display: grid; place-items: center; width: 8.5rem; height: 8.5rem; margin-bottom: 0.7rem; border: 2px dashed rgb(255 255 255 / 30%); border-radius: 50%; background: rgb(255 255 255 / 5%); }
.chart-placeholder-orbit img { width: 5.5rem; height: 5.5rem; object-fit: contain; }
.placeholder-kicker { color: var(--yellow); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.13em; }
.chart-placeholder h3 { margin: 0.6rem 0; font-family: var(--display); font-size: clamp(2.6rem, 7vw, 4.5rem); font-weight: 400; line-height: 1; letter-spacing: 0.02em; }
.chart-placeholder p { max-width: 24rem; margin: 0; color: #c7d1e9; font-size: 0.9rem; }
.chart-window-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8rem; min-height: 3.8rem; padding: 0.7rem 1rem; border-top: 2px solid #3d4d67; font-size: 0.69rem; font-weight: 800; letter-spacing: 0.06em; }
.chart-window-bottom > span { display: flex; align-items: center; gap: 0.5rem; color: #b5c2de; }
.live-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #5ad68d; box-shadow: 0 0 0 0.25rem rgb(90 214 141 / 13%); }
.chart-window-bottom a { color: var(--yellow); border-bottom: 1px solid var(--yellow); }
.chart-window-bottom a:hover { color: white; border-color: white; }

.site-footer { padding-block: 2rem; background: var(--cream); border-top: var(--border); }
.footer-inner { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: 0.35rem; }
.footer-brand img { width: 3rem; height: 3rem; object-fit: contain; }
.footer-brand > span { display: flex; flex-direction: column; font-family: var(--display); font-size: 1.45rem; line-height: 0.95; }
.footer-brand small { margin-top: 0.3rem; color: var(--red); font-family: var(--body); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.06em; }
.site-footer p, .site-footer a { margin: 0; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.07em; }
.site-footer a { width: fit-content; border-bottom: 2px solid currentColor; }

.toast { position: fixed; z-index: 50; right: 1rem; bottom: 1rem; max-width: min(22rem, calc(100vw - 2rem)); padding: 0.85rem 1rem; border: 2px solid var(--ink); border-radius: 0.7rem; background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); font-size: 0.85rem; font-weight: 800; opacity: 0; pointer-events: none; transform: translateY(0.7rem); transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 768px) {
  .container { width: min(100% - 3rem, 82rem); }
  .section-pad { padding-block: 7.5rem; }
  .header-inner { grid-template-columns: auto 1fr auto; min-height: 5.8rem; column-gap: 1.5rem; }
  .brand-name { font-size: 1.6rem; }
  .main-nav { grid-row: auto; grid-column: auto; justify-content: center; gap: 1.6rem; padding-top: 0; border-top: 0; }
  .main-nav a { font-size: 0.82rem; }
  .header-buy { min-height: 3.25rem; padding-inline: 0.85rem; gap: 0.4rem; font-size: 0.85rem; }
  .hero-inner { padding-block: 5rem 6rem; }
  .hero-visual { width: min(75%, 34rem); }
  .hero-message { bottom: 2rem; left: -2.5rem; }
  .section-heading { flex-direction: row; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3.2rem; }
  .section-heading > p { padding-bottom: 0.25rem; }
  .roadmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
  .phase-card { min-height: 22rem; padding: 1.55rem; }
  .chart-stage, .chart-placeholder { min-height: 33rem; }
  .chart-window-top { padding-inline: 1.2rem; }
  .chart-window-name { font-size: 0.85rem; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: 2.5rem; min-height: 44rem; padding-block: 5.8rem 7rem; }
  .hero h1 { font-size: clamp(5.8rem, 8.5vw, 9.5rem); }
  .hero-visual { width: min(94%, 35rem); margin: 0; justify-self: end; }
  .hero-lede { margin-top: 2.2rem; }
  .hero-actions { margin-top: 2.2rem; }
  .chart-stage, .chart-placeholder { min-height: 38rem; }
}

@media (min-width: 1280px) {
  .roadmap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .phase-card { min-height: 24rem; }
  .phase-card h3 { font-size: 2.45rem; }
}

@media (max-width: 400px) {
  .brand img { width: 3rem; height: 3rem; }
  .brand-name { font-size: 1.2rem; }
  .header-buy { padding-inline: 0.45rem; font-size: 0.7rem; }
  .header-buy img { width: 1.25rem; height: 1.25rem; }
  .hero h1 { font-size: clamp(3.8rem, 15vw, 4.4rem); }
  .action { min-height: 3.7rem; padding-inline: 0.45rem; gap: 0.3rem; font-size: 0.66rem; }
  .action > img { width: 1.4rem; height: 1.4rem; }
  .action-arrow { font-size: 0.95rem; }
  .hero-sticker { width: 6.2rem; height: 6.2rem; top: -2rem; right: -1rem; font-size: 1.4rem; }
  .hero-message { left: -1.1rem; }
}

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