@font-face {
  font-family: Barlow;
  src: url("assets/fonts/barlow-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("assets/fonts/barlow-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-extrabold-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #060c16;
  --ice: #eef8ff;
  --muted: #b2c6d9;
  --blue: #92daff;
  --gold: #ffbc59;
  --line: #35516a;
  --gutter: clamp(1.25rem, 5.2vw, 5.5rem);
  --header-height: 4.625rem;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
  --gold-metal: linear-gradient(170deg, #fff1ba 0%, #ffce76 39%, #ffa737 88%, #f8c362 100%);
  --glass-metal: linear-gradient(180deg, #1b3650eb 0%, #0d2136ed 54%, #0a1525f2 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 0.5rem);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ice);
  font-family: Barlow, sans-serif;
  font-size: 1rem;
}

h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; }

:focus-visible {
  outline: 2px solid #a5e2ff;
  outline-offset: 4px;
}

.shell {
  width: min(100% - var(--gutter) * 2, 88rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
  padding: 0.75rem 1rem;
  transform: translateY(-200%);
  background: var(--night);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #070e19f5;
  border-bottom: 1px solid #28415c;
  box-shadow: 0 5px 22px #02070c45;
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: calc(var(--header-height) - 1px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #4a7190;
  border-radius: 11px;
  background: radial-gradient(ellipse at 72% 26%, #183d5e, #091726 76%);
  box-shadow: inset 0 1px #caf1ff25, 0 0 19px #3bb5ff22;
}

.brand-mark img { filter: drop-shadow(0 0 5px #51bbff81); }

.brand-type {
  padding-right: 0.08em;
  color: #ecf7ff;
  font: italic 800 1.83rem/0.9 var(--display);
  letter-spacing: 0.035em;
}

.main-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: clamp(1rem, 3.1vw, 3.4rem);
}

.main-nav a {
  position: relative;
  display: grid;
  min-height: 44px;
  place-items: center;
  padding-inline: 0.32rem;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover, .main-nav [aria-current] { color: var(--ice); }

.main-nav [aria-current]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 -1px 12px #ffb54e9c;
  content: "";
}

.action {
  position: relative;
  display: inline-flex;
  min-height: 3.125rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.action img { flex: none; object-fit: contain; }
.action:hover { transform: translateY(-3px); }
.action:active { transform: translateY(1px); }

.action-buy {
  border-color: #ffe2a1;
  background: var(--gold-metal);
  color: #241303;
  box-shadow: inset 0 1px 1px #fff9dc, inset 0 -2px #b35c20a3, 0 0 25px #ff942447;
  text-transform: uppercase;
}

.action-buy:hover {
  filter: brightness(1.1);
  box-shadow: inset 0 1px 1px #fff9dc, inset 0 -2px #b35c20a3, 0 0 33px #ff9b3995;
}

.header-buy {
  justify-self: end;
  min-height: 2.75rem;
  padding-inline: 0.66rem 0.85rem;
}

.buy-icon {
  display: grid;
  width: 25px;
  height: 25px;
  flex: none;
  place-items: center;
  border-radius: 5px;
  background: #261708;
  box-shadow: inset 0 1px 1px #160900d9, 0 1px #fff1aa9e;
}

.action-glass {
  border-color: #537690;
  background: var(--glass-metal);
  box-shadow: inset 0 1px #caebff32, inset 0 -2px #050c15b0, 0 5px 15px #0206095e;
  color: var(--ice);
}

.action-glass:hover {
  border-color: #93dcff;
  box-shadow: inset 0 1px #e3f7ff50, 0 0 20px #459ad953;
}

.action-arrow {
  margin-left: auto;
  color: var(--blue);
  font: 700 1.06rem/1 sans-serif;
}

.action-buy .action-arrow { color: #5e300b; }
.social-icon { margin-inline: 2px 3px; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(33rem, 40.8vw, 53rem);
  background: #07111e;
}

.hero-scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
}

.hero-scene picture {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: min(107.5%, 137rem);
  transform: translateX(-50%);
}

.hero-scene img { width: 100%; height: auto; }

.hero-scene picture::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #040d1d2b, transparent 67%),
    linear-gradient(0deg, #07111e, #07111e9c 12%, #07111e22 29%, transparent 52%, transparent 83%, #07111e35);
  content: "";
}

.hero-inner {
  width: min(100% - var(--gutter) * 2, 120rem);
  padding-top: clamp(2.1rem, 3.65vw, 4.75rem);
  padding-bottom: clamp(2.5rem, 4.25vw, 4.4rem);
}

.hero-copy { width: min(100%, 38rem); }

.hero-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.token-tag, .section-label, .phase-number, .pair-badge {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.token-tag {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.58rem;
  padding: 0.48rem 0.68rem;
  color: #d5edff;
  border: 1px solid #6c9abb9e;
  border-radius: 4px;
  background: #081829bd;
  box-shadow: inset 0 1px #d7f4ff20, 0 0 22px #2682c94c;
}

.token-tag span, .pair-badge span {
  width: 0.42rem;
  height: 0.42rem;
  flex: none;
  border-radius: 100%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.hero-line {
  margin-top: clamp(8.8rem, 14.8vw, 19.4rem);
  font: italic 800 clamp(2.3rem, 3.55vw, 4.05rem)/0.96 var(--display);
  letter-spacing: -0.008em;
  text-transform: uppercase;
  text-shadow: 0 3px 22px #020c1d, 0 1px 5px #02070d;
}

.hero-line em { color: #ffc26c; white-space: nowrap; }

.hero-description {
  margin-top: 0.85rem;
  color: #d3e1ed;
  font-size: clamp(1.02rem, 1.35vw, 1.24rem);
  line-height: 1.34;
  text-shadow: 0 1px 6px #02070d, 0 0 19px #02070d;
}

.hero-actions {
  display: grid;
  width: min(100%, 24.25rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.45rem;
}

.warning-strip {
  position: relative;
  display: grid;
  min-height: 3.55rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: clamp(0.65rem, 2.5vw, 2.4rem);
  border-block: 1px solid #ffe4a4;
  overflow: hidden;
  background: var(--gold-metal);
  color: #281704;
  box-shadow: 0 0 28px #f6a13451;
}

.warning-strip::before, .warning-strip::after {
  background: repeating-linear-gradient(-56deg, #21180e 0 13px, transparent 14px 30px);
  content: "";
}

.warning-strip::before { mask-image: linear-gradient(90deg, #000 70%, transparent); }
.warning-strip::after { mask-image: linear-gradient(270deg, #000 70%, transparent); }

.warning-strip p {
  align-self: center;
  padding: 0.12em 0.1em 0.15em;
  font: italic 800 clamp(1.45rem, 3vw, 2.6rem)/0.9 var(--display);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section { padding-block: clamp(4.1rem, 8vw, 7.5rem); }

.roadmap {
  background:
    radial-gradient(ellipse at 50% 0%, #143456 1%, transparent 66%),
    linear-gradient(155deg, #091726, var(--night) 72%);
}

.section-heading { text-align: center; }

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  margin-bottom: 0.55rem;
  color: var(--gold);
}

.section-label::before {
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  content: "";
}

.section-heading h2 {
  width: fit-content;
  margin-inline: auto;
  padding: 0 0.11em 0.12em;
  background: linear-gradient(#f9fdff 22%, #e0f6ff 47%, #87bcea 52%, #e1f7ff 80%);
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px #70baff38);
  font: italic 800 clamp(3.6rem, 8.2vw, 7.8rem)/0.88 var(--display);
  letter-spacing: -0.022em;
  text-transform: uppercase;
}

.section-heading > p:last-child {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.14rem);
  line-height: 1.45;
}

.phase-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.65vw, 1.5rem);
  margin-top: clamp(2.1rem, 4.3vw, 4rem);
  padding: 0;
  list-style: none;
}

.phase-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.15rem, 2.5vw, 2.4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-top-color: #6d9fbd;
  border-radius: 11px;
  background:
    radial-gradient(ellipse at 90% -10%, #36719954, transparent 57%),
    linear-gradient(152deg, #162e48, #0a1625 68%);
  box-shadow: inset 0 1px #d4f0ff2d, inset 0 -2px #030912, 0 14px 32px #0005;
}

.phase-card::after {
  position: absolute;
  top: 0;
  right: 5%;
  width: 65%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b0e4ff, transparent);
  box-shadow: 0 0 21px 2px #55baff36;
  content: "";
}

.phase-card:first-child {
  border-top-color: #f1a74e;
  background:
    radial-gradient(ellipse at 90% -10%, #b46c373a, transparent 61%),
    linear-gradient(152deg, #222c3b, #0a1625 70%);
}

.phase-card:first-child::after {
  background: linear-gradient(90deg, transparent, #ffdb97, transparent);
  box-shadow: 0 0 21px 2px #ffae5536;
}

.phase-top {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.phase-number { color: var(--blue); }
.phase-card:first-child .phase-number { color: var(--gold); }
.phase-top img { object-fit: contain; filter: drop-shadow(0 0 14px #50baff4d); }
.phase-card:first-child img { filter: drop-shadow(0 0 14px #f8a2415e); }

.phase-card h3, .chart-placeholder h3 {
  font: italic 800 clamp(1.9rem, 3.1vw, 3.25rem)/0.98 var(--display);
  text-transform: uppercase;
}

.phase-card p, .chart-placeholder p {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.5;
}

.market {
  border-top: 1px solid #1c344a;
  background:
    radial-gradient(ellipse at 12% 0%, #163654a1, transparent 52%),
    radial-gradient(ellipse at 98% 100%, #3b281e66, transparent 45%),
    #080f1b;
}

.market-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  text-align: left;
}

.market-heading .section-label { justify-content: start; }
.market-heading h2 { margin-left: -0.11em; }
.market-link { margin-bottom: 0.3rem; }

.market-panel {
  margin-top: 1.7rem;
  overflow: hidden;
  border: 1px solid #4f7392;
  border-radius: 12px;
  background: #0a1422;
  box-shadow: 0 0 35px #1d446053, 0 19px 45px #0006;
}

.panel-bar {
  display: flex;
  min-height: 3.85rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem clamp(0.75rem, 2vw, 1.4rem);
  border-bottom: 1px solid #38546f;
  background: linear-gradient(180deg, #1c354d, #101d2e);
  box-shadow: inset 0 1px #d0eefe3b;
}

.panel-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.93rem;
  font-weight: 700;
  white-space: nowrap;
}

.panel-divider, .panel-provider { color: var(--muted); }

.pair-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.4rem 0.48rem;
  border: 1px solid #c3935f66;
  border-radius: 4px;
  color: #ffd399;
  font-size: 0.62rem;
  white-space: nowrap;
}

.pair-badge.is-linked { color: #a8f7d1; border-color: #55bd8d81; }
.pair-badge.is-linked span { background: #6bf2ad; box-shadow: 0 0 10px #6bf2ad; }

.chart-area {
  height: clamp(24rem, 48vw, 38rem);
}

.chart-placeholder {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background:
    radial-gradient(ellipse at 50% 40%, #183f606f, transparent 63%),
    linear-gradient(90deg, #78a9cc0f 1px, transparent 1px) center / 44px 44px,
    linear-gradient(#78a9cc0f 1px, transparent 1px) center / 44px 44px,
    #090f1a;
  text-align: center;
}

.chart-placeholder img {
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 0 30px #28a4f693);
}

.chart-placeholder p { max-width: 25rem; }

.chart-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contract-address {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.contract-address code { font-family: var(--mono); overflow-wrap: anywhere; }

.site-footer { border-top: 1px solid #24394b; }

.footer-inner {
  display: flex;
  min-height: 6.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.footer-links .action { min-height: 2.75rem; }

@media (min-width: 2000px) {
  .hero-scene picture {
    mask-image: linear-gradient(90deg, transparent, #000 5% 95%, transparent);
  }
}

@media (max-width: 1050px) {
  .hero { min-height: 31.5rem; }
  .hero-inner { padding-bottom: 2.6rem; }
  .hero-line { margin-top: 14.8vw; }
}

@media (max-width: 760px) {
  :root { --header-height: 6.75rem; }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 3.85rem auto;
    gap: 0;
  }

  .main-nav {
    grid-area: 2 / 1 / 3 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    border-top: 1px solid #24394e;
  }

  .main-nav a { min-height: 2.85rem; }
  .header-buy { grid-area: 1 / 2; }

  .hero-scene picture {
    left: auto;
    right: 0;
    width: min(100%, 38rem);
    transform: none;
  }

  .hero-scene picture::after {
    background:
      linear-gradient(0deg, #07111e 1%, #07111ebd 23%, #07111e21 57%, transparent 75%),
      linear-gradient(90deg, #08132183, transparent 38%);
  }

  .hero-inner {
    padding-top: 1.45rem;
    padding-bottom: 2.2rem;
  }

  .hero-title {
    position: relative;
    width: fit-content;
    height: auto;
    margin-top: clamp(10rem, 48vw, 19.5rem);
    margin-left: -0.095em;
    padding: 0 0.12em 0.1em 0.08em;
    overflow: visible;
    clip-path: none;
    background: linear-gradient(#f3fbff 19%, #d3f3ff 50%, #90b6de 53%, #f7fbff 71%, #ffd195);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 8px #031323) drop-shadow(0 0 12px #1479c46c);
    font: italic 800 clamp(4.4rem, 16vw, 7.6rem)/0.86 var(--display);
    letter-spacing: -0.022em;
    text-transform: uppercase;
  }

  .hero-line {
    margin-top: 0.2rem;
    font-size: clamp(1.85rem, 6.6vw, 3.25rem);
  }

  .hero-description { margin-top: 0.65rem; }
  .hero-actions { margin-top: 1.2rem; }
  .phase-list { grid-template-columns: 1fr; }
  .phase-card { padding: 1.3rem; }
  .phase-top { margin-bottom: 0.25rem; }
  .phase-card h3 { font-size: 2.4rem; }
}

@media (max-width: 490px) {
  .market-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .market-link { margin-bottom: 0; }
  .panel-bar { gap: 0.4rem; }
  .panel-brand { gap: 0.35rem; font-size: 0.81rem; }
  .pair-badge { font-size: 0.58rem; letter-spacing: 0.08em; }
  .contract-address code { font-size: clamp(0.625rem, 3vw, 0.82rem); }
  .footer-inner { min-height: 5.2rem; padding-block: 1rem; }
  .footer-inner .brand-mark { display: none; }
}

@media (max-width: 365px) {
  .header-ticker { display: none; }
  .main-nav a { font-size: 0.74rem; }
  .hero-actions { gap: 0.45rem; }
  .hero-actions .action { gap: 0.42rem; padding-inline: 0.52rem; font-size: 0.84rem; }
  .hero-actions .action-arrow { display: none; }
  .panel-brand { gap: 0.35rem; font-size: 0.83rem; }
  .panel-brand img { width: 24px; height: 24px; }
  .panel-divider, .panel-provider { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .action { transition: none; }
  .action:hover, .action:active { transform: none; }
}

[hidden] { display: none !important; }
