:root {
  --black: #050504;
  --black-soft: #0b0906;
  --panel: rgba(12, 10, 7, 0.82);
  --panel-solid: #0d0b08;
  --gold: #e6ad2f;
  --gold-bright: #ffd96a;
  --gold-pale: #fff0b8;
  --gold-deep: #8d5a0a;
  --cream: #f7e6ba;
  --text: #f7f2e8;
  --muted: #aaa49a;
  --line: rgba(232, 175, 51, 0.32);
  --pointer-x: 0;
  --pointer-y: 0;
  --header-height: 88px;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --shadow-gold: 0 0 40px rgba(226, 166, 43, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
}

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

::selection {
  color: #0a0804;
  background: var(--gold-bright);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #070605;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #070605;
  border-radius: 999px;
  background: linear-gradient(var(--gold-bright), var(--gold-deep));
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #050403;
  pointer-events: none;
}

.bg-frame {
  position: absolute;
  inset: -4%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  will-change: opacity, transform;
  animation: background-cycle 27s linear infinite;
}

.bg-frame-1 {
  background-image: url("../images/bg-frame-1.webp");
  animation-delay: 0s;
}

.bg-frame-2 {
  background-image: url("../images/bg-frame-2.webp");
  animation-delay: -9s;
}

.bg-frame-3 {
  background-image: url("../images/bg-frame-3.webp");
  animation-delay: -18s;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(234, 178, 54, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 178, 54, 0.07) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
  transform: translate3d(calc(var(--pointer-x) * -6px), calc(var(--pointer-y) * -6px), 0);
  transition: transform 0.3s ease-out;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 16%, rgba(235, 171, 45, 0.13), transparent 30%),
    linear-gradient(to bottom, rgba(3, 3, 2, 0.16), rgba(3, 3, 2, 0.5) 65%, rgba(3, 3, 2, 0.92)),
    radial-gradient(ellipse at center, transparent 28%, rgba(0, 0, 0, 0.7) 100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 14px 24px;
  transition: padding 0.25s ease, background 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(5, 5, 4, 0.72);
  backdrop-filter: blur(18px) saturate(125%);
  border-bottom: 1px solid rgba(235, 177, 52, 0.12);
}

.header-inner {
  width: min(1450px, 100%);
  min-height: 66px;
  margin: 0 auto;
  padding: 8px 12px 8px 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(235, 180, 58, 0.3);
  border-radius: 23px;
  background: linear-gradient(180deg, rgba(13, 12, 9, 0.87), rgba(5, 5, 4, 0.76));
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 229, 143, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-icon {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(247, 199, 81, 0.54);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(232, 175, 52, 0.35), rgba(8, 7, 5, 0.96) 70%);
  box-shadow: 0 0 25px rgba(230, 171, 48, 0.18);
}

.brand-icon img {
  width: 62px;
  max-width: none;
  transform: translateY(4px);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 25px;
  letter-spacing: 1.5px;
  color: var(--gold-bright);
  text-shadow: 0 0 18px rgba(245, 194, 70, 0.25);
}

.brand-copy small {
  margin-top: 6px;
  color: var(--cream);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 3px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
  color: #d7d1c7;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transition: right 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold-pale);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
}

.nav-cta {
  justify-self: end;
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #f6ca5d;
  border-radius: 13px;
  color: #171006;
  background: linear-gradient(180deg, #ffd768, #d7971f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 26px rgba(214, 145, 27, 0.22);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-cta svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 34px rgba(224, 161, 37, 0.34);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 15, 10, 0.92);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  border-radius: 99px;
  background: var(--gold-bright);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.section-shell {
  position: relative;
  width: min(1420px, 100%);
  margin: 0 auto;
  padding-left: 34px;
  padding-right: 34px;
}

.hero {
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 92px);
  padding-bottom: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  align-items: center;
  gap: 34px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 785px;
}

.hero-kicker {
  margin: 0 0 18px 5px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 3.2px;
}

.hero-kicker span {
  width: 38px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--gold-bright));
  box-shadow: 0 0 16px var(--gold);
}

.hero-wordmark {
  width: min(100%, 770px);
  height: auto;
  margin-left: -9px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 28px rgba(221, 160, 34, 0.13));
}

.hero-lead {
  max-width: 660px;
  margin: 17px 0 25px 4px;
  color: #ddd6ca;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.62;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  max-width: 780px;
}

.asset-button {
  position: relative;
  display: block;
  border-radius: 16px;
  outline: none;
  transform: translateZ(0);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.asset-button::after {
  content: "";
  position: absolute;
  inset: 5% 4%;
  z-index: -1;
  border-radius: 18px;
  background: rgba(239, 181, 47, 0.22);
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.asset-button img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.asset-button:hover,
.asset-button:focus-visible {
  z-index: 2;
  transform: translateY(-5px) scale(1.035);
  filter: brightness(1.08) saturate(1.06);
}

.asset-button:hover::after,
.asset-button:focus-visible::after {
  opacity: 1;
}

.asset-button.is-placeholder,
.nav-cta.is-placeholder,
.footer-links a.is-placeholder,
.chart-open.is-placeholder {
  cursor: help;
}

.contract-row {
  max-width: 780px;
  margin-top: 18px;
  padding: 10px 10px 10px 15px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(229, 171, 47, 0.28);
  border-radius: 14px;
  background: rgba(6, 6, 5, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 230, 148, 0.04);
}

.contract-row.is-placeholder {
  opacity: 0.68;
}

.contract-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 2px;
}

.contract-row code {
  overflow: hidden;
  color: #c9c3b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-row button {
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(242, 190, 69, 0.42);
  border-radius: 9px;
  color: var(--gold-pale);
  background: rgba(225, 164, 38, 0.1);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contract-row button svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contract-row button:hover,
.contract-row button:focus-visible {
  transform: translateY(-1px);
  background: rgba(225, 164, 38, 0.2);
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 720px;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translate3d(calc(var(--pointer-x) * 5px), calc(var(--pointer-y) * 4px), 0);
  transition: transform 0.35s ease-out;
}

.hero-halo {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 620px;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    repeating-conic-gradient(from 2deg, rgba(255, 205, 83, 0.18) 0 1deg, transparent 1deg 8deg),
    radial-gradient(circle, rgba(255, 195, 57, 0.28), rgba(208, 131, 15, 0.06) 44%, transparent 70%);
  opacity: 0.8;
  filter: blur(0.2px);
  animation: halo-turn 38s linear infinite;
  mask-image: radial-gradient(circle, black 0 48%, transparent 73%);
}

.hero-character {
  position: relative;
  z-index: 3;
  width: min(100%, 690px);
  max-height: 790px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 36px 35px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 30px rgba(223, 157, 33, 0.16));
  animation: character-float 5.8s ease-in-out infinite;
}

.orbit {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 43%;
  border: 1px solid rgba(236, 181, 56, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 525px;
  aspect-ratio: 1;
  animation: orbit-turn 20s linear infinite;
}

.orbit-two {
  width: 655px;
  aspect-ratio: 1;
  border-color: rgba(236, 181, 56, 0.14);
  animation: orbit-turn 31s linear reverse infinite;
}

.orbit span {
  position: absolute;
  left: 50%;
  top: -6px;
  width: 12px;
  height: 12px;
  border: 2px solid #ffda72;
  border-radius: 50%;
  background: #8f5f13;
  box-shadow: 0 0 18px #ffcc52;
}

.hero-badge {
  position: absolute;
  z-index: 5;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(242, 189, 62, 0.4);
  border-radius: 13px;
  background: rgba(7, 7, 5, 0.75);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 225, 128, 0.07);
}

.hero-badge strong {
  color: var(--gold-bright);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 20px;
  letter-spacing: 1.5px;
  line-height: 1;
}

.hero-badge span {
  margin-top: 5px;
  color: #c8c1b5;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.7px;
}

.hero-badge-top {
  top: 17%;
  right: 0;
  animation: badge-drift 4s ease-in-out infinite;
}

.hero-badge-bottom {
  left: -1%;
  bottom: 16%;
  animation: badge-drift 4.8s ease-in-out -1.3s infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 25px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: rgba(244, 224, 175, 0.7);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2.5px;
}

.scroll-cue i {
  width: 1px;
  height: 31px;
  display: block;
  background: linear-gradient(var(--gold-bright), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

.hero,
.about,
.roadmap,
.chart-section {
  scroll-margin-top: 112px;
}

.about,
.roadmap,
.chart-section {
  padding-top: 130px;
  padding-bottom: 70px;
}

.section-heading {
  margin-bottom: 46px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.section-heading > div {
  min-width: 0;
}

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading.centered .section-number {
  position: absolute;
  left: 34px;
}

.section-number {
  color: transparent;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(56px, 6vw, 94px);
  line-height: 0.82;
  -webkit-text-stroke: 1px rgba(236, 180, 55, 0.38);
  opacity: 0.75;
}

.section-kicker {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 3px;
}

.section-heading h2 {
  margin: 0;
  color: #fff8e9;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(47px, 5.2vw, 80px);
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.55);
}

.section-heading h2 em {
  color: var(--gold-bright);
  font-style: normal;
  text-shadow: 0 0 35px rgba(239, 179, 46, 0.18);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: stretch;
}

.about-stage {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid rgba(230, 173, 46, 0.28);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 40%, rgba(232, 166, 38, 0.2), transparent 37%),
    linear-gradient(145deg, rgba(21, 16, 9, 0.86), rgba(5, 5, 4, 0.76));
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 232, 159, 0.06);
}

.about-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(239, 183, 53, 0.14);
  border-radius: 25px;
}

.about-stage::after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -18%;
  height: 44%;
  background: radial-gradient(ellipse, rgba(236, 175, 47, 0.27), transparent 68%);
  filter: blur(12px);
}

.about-glow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(transparent 0 8deg, rgba(246, 193, 63, 0.12) 8deg 9deg);
  mask-image: radial-gradient(circle, black 0 50%, transparent 74%);
  animation: halo-turn 42s linear reverse infinite;
}

.gold-ring {
  position: absolute;
  border: 1px solid rgba(242, 187, 59, 0.2);
  border-radius: 50%;
}

.ring-a {
  width: 460px;
  height: 460px;
  left: -180px;
  top: 140px;
}

.ring-b {
  width: 300px;
  height: 300px;
  right: -100px;
  top: 70px;
}

.about-main-character {
  position: absolute;
  z-index: 2;
  left: -2%;
  bottom: -3%;
  width: 79%;
  max-height: 101%;
  object-fit: contain;
  object-position: bottom left;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.66));
}

.about-party-character {
  position: absolute;
  z-index: 3;
  right: -8%;
  bottom: -6%;
  width: 47%;
  transform: rotate(3deg);
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.58));
}

.mini-quote {
  position: absolute;
  z-index: 4;
  top: 34px;
  right: 28px;
  max-width: 190px;
  padding: 12px 15px;
  border: 1px solid rgba(240, 186, 61, 0.36);
  border-radius: 13px 13px 2px 13px;
  color: var(--gold-pale);
  background: rgba(7, 6, 5, 0.78);
  backdrop-filter: blur(9px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.lore-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid rgba(230, 173, 46, 0.28);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(120deg, rgba(255, 210, 102, 0.035), transparent 42%),
    rgba(7, 7, 5, 0.82);
  backdrop-filter: blur(15px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 230, 150, 0.05);
}

.lore-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(230, 173, 46, 0.1);
  border-radius: 25px;
}

.panel-glint {
  position: absolute;
  top: -160px;
  left: -230px;
  width: 430px;
  height: 360px;
  transform: rotate(-35deg);
  background: linear-gradient(90deg, transparent, rgba(255, 225, 135, 0.11), transparent);
  filter: blur(15px);
  animation: panel-glint 9s ease-in-out infinite;
}

.lore-panel > p {
  position: relative;
  margin: 0 0 17px;
  color: #c7c0b5;
  font-size: clamp(15px, 1.22vw, 18px);
  line-height: 1.78;
}

.lore-panel .lore-intro {
  color: #fff5df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.15vw, 32px);
  line-height: 1.35;
}

.lore-panel strong {
  color: var(--gold-bright);
  letter-spacing: 1px;
}

.lore-pillars {
  position: relative;
  margin-top: 28px;
  display: grid;
  gap: 11px;
}

.lore-pillars article {
  padding: 14px 15px;
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 13px;
  align-items: start;
  border: 1px solid rgba(235, 177, 49, 0.17);
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(229, 166, 37, 0.08), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.lore-pillars article:hover {
  transform: translateX(4px);
  border-color: rgba(235, 177, 49, 0.4);
  background: linear-gradient(90deg, rgba(229, 166, 37, 0.13), rgba(255, 255, 255, 0.015));
}

.pillar-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 208, 92, 0.35);
  border-radius: 50%;
  color: var(--gold-bright);
  background: radial-gradient(circle, rgba(230, 169, 43, 0.2), rgba(9, 8, 6, 0.9));
  box-shadow: 0 0 18px rgba(230, 169, 43, 0.09);
  font-size: 20px;
  font-weight: 900;
}

.lore-pillars h3 {
  margin: 0 0 4px;
  color: #f8e7bc;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.lore-pillars p {
  margin: 0;
  color: #9e998f;
  font-size: 12px;
  line-height: 1.55;
}

.lore-note {
  position: relative;
  margin-top: 21px;
  padding: 14px 17px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(227, 164, 37, 0.07);
}

.lore-note span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 2.4px;
}

.lore-note p {
  margin: 5px 0 0;
  color: #c9c2b6;
  font-size: 12px;
}

.roadmap-art-wrap {
  position: relative;
  overflow: hidden;
  padding: 9px;
  border: 1px solid rgba(239, 181, 49, 0.32);
  border-radius: 30px;
  background: rgba(7, 6, 5, 0.72);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 65px rgba(226, 162, 32, 0.09);
}

.roadmap-art-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 231, 155, 0.05), inset 0 -40px 80px rgba(0, 0, 0, 0.3);
}

.roadmap-art-wrap img {
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.roadmap-shine {
  position: absolute;
  z-index: 3;
  top: -30%;
  left: -35%;
  width: 30%;
  height: 160%;
  pointer-events: none;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 235, 172, 0.12), transparent);
  filter: blur(5px);
  animation: roadmap-shine 9s ease-in-out infinite;
}

.roadmap-mobile {
  display: none;
}

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

.chart-shell {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(235, 178, 51, 0.32);
  border-radius: 30px;
  background: rgba(7, 7, 5, 0.83);
  box-shadow: 0 30px 95px rgba(0, 0, 0, 0.52), 0 0 62px rgba(231, 168, 38, 0.08);
}

.chart-toolbar {
  position: relative;
  z-index: 5;
  min-height: 72px;
  padding: 10px 12px 10px 15px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(230, 174, 48, 0.16);
}

.chart-token {
  display: flex;
  align-items: center;
  gap: 11px;
}

.chart-token img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(245, 194, 73, 0.45);
  border-radius: 50%;
  background: #0b0906;
}

.chart-token div {
  display: flex;
  flex-direction: column;
}

.chart-token strong {
  color: #fff1cd;
  font-size: 14px;
  letter-spacing: 0.8px;
}

.chart-token span {
  margin-top: 4px;
  color: #8e887e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.chart-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9d978d;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.chart-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #54d27a;
  box-shadow: 0 0 14px #54d27a;
  animation: live-pulse 1.8s ease-in-out infinite;
}

.chart-open {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240, 187, 62, 0.35);
  border-radius: 11px;
  color: var(--gold-pale);
  background: rgba(224, 163, 37, 0.08);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.7px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.chart-open:hover,
.chart-open:focus-visible {
  transform: translateY(-2px);
  background: rgba(224, 163, 37, 0.16);
}

.chart-viewport {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  background:
    linear-gradient(rgba(233, 177, 50, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 177, 50, 0.035) 1px, transparent 1px),
    #090806;
  background-size: 42px 42px;
}

#dexscreener-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  background: #080808;
  transition: opacity 0.4s ease;
}

#dexscreener-frame.is-active {
  opacity: 1;
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(225, 163, 39, 0.16), transparent 29%),
    linear-gradient(180deg, rgba(8, 7, 5, 0.2), rgba(6, 6, 5, 0.72));
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.chart-placeholder.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.placeholder-coin {
  width: 126px;
  height: 126px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: radial-gradient(circle, #3e290d, #080706 72%);
  box-shadow: 0 0 0 8px rgba(232, 172, 45, 0.07), 0 0 45px rgba(232, 172, 45, 0.22);
  animation: placeholder-float 4.8s ease-in-out infinite;
}

.placeholder-coin img {
  width: 142px;
  max-width: none;
  transform: translateY(11px);
}

.chart-placeholder > p {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 2.5px;
}

.chart-placeholder h3 {
  margin: 0;
  color: #fff2d4;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(37px, 4vw, 62px);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.chart-placeholder > span {
  max-width: 610px;
  margin-top: 15px;
  color: #9f998f;
  font-size: 13px;
  line-height: 1.7;
}

.chart-placeholder code {
  color: var(--gold-pale);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.chart-party {
  position: absolute;
  z-index: 4;
  right: -116px;
  bottom: -104px;
  width: 315px;
  pointer-events: none;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.65));
  transform: rotate(2deg);
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(232, 175, 52, 0.18);
  background: rgba(5, 5, 4, 0.83);
  backdrop-filter: blur(14px);
}

.footer-inner {
  width: min(1420px, 100%);
  min-height: 150px;
  margin: 0 auto;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  object-position: top;
  overflow: hidden;
  border: 1px solid rgba(242, 190, 68, 0.42);
  border-radius: 50%;
  background: #0b0906;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: var(--gold-bright);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 25px;
  letter-spacing: 1.5px;
}

.footer-brand span {
  margin-top: 4px;
  color: #918c83;
  font-size: 11px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-links a {
  color: #c4beb4;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-bright);
}

.footer-note {
  grid-column: 1 / -1;
  margin: -8px 0 0;
  color: #6f6b65;
  font-size: 10px;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  max-width: min(90vw, 520px);
  padding: 12px 17px;
  border: 1px solid rgba(242, 190, 66, 0.4);
  border-radius: 12px;
  color: var(--gold-pale);
  background: rgba(9, 8, 6, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 28px rgba(231, 169, 41, 0.11);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s cubic-bezier(0.2, 0.72, 0.2, 1), transform 0.72s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.reveal-delay-3 {
  transition-delay: 0.32s;
}

@keyframes background-cycle {
  0%, 29% {
    opacity: 1;
    transform: scale(1.08) translate3d(-0.5%, -0.5%, 0);
  }
  35%, 94% {
    opacity: 0;
    transform: scale(1.13) translate3d(1%, 0.8%, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1.08) translate3d(-0.5%, -0.5%, 0);
  }
}

@keyframes character-float {
  0%, 100% { transform: translateY(0) rotate(-0.35deg); }
  50% { transform: translateY(-11px) rotate(0.25deg); }
}

@keyframes halo-turn {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit-turn {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes badge-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.75); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@keyframes panel-glint {
  0%, 42% { transform: translateX(-30%) rotate(-35deg); opacity: 0; }
  55% { opacity: 1; }
  78%, 100% { transform: translateX(260%) rotate(-35deg); opacity: 0; }
}

@keyframes roadmap-shine {
  0%, 48% { left: -35%; opacity: 0; }
  58% { opacity: 1; }
  78%, 100% { left: 120%; opacity: 0; }
}

@keyframes live-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes placeholder-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 18px;
  }

  .hero-visual {
    min-height: 660px;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    max-width: 610px;
  }

  .hero-character {
    width: min(100%, 600px);
  }

  .hero-badge-top {
    right: -8px;
  }

  .about-grid {
    grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
  }

  .chart-party {
    right: -88px;
    width: 260px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .header-inner {
    min-height: 58px;
    grid-template-columns: auto 1fr auto;
  }

  .brand-icon {
    width: 46px;
    height: 46px;
  }

  .brand-icon img {
    width: 55px;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    width: 100vw;
    height: 100dvh;
    justify-self: auto;
    padding: 120px 30px 40px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 9px;
    background: rgba(5, 5, 4, 0.96);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    width: min(420px, 100%);
    padding: 18px;
    border: 1px solid rgba(232, 175, 52, 0.18);
    border-radius: 13px;
    background: rgba(231, 169, 40, 0.04);
    font-size: 16px;
    text-align: center;
  }

  .main-nav a::after {
    display: none;
  }

  .brand {
    position: relative;
    z-index: 3;
  }

  .menu-toggle {
    justify-self: end;
    display: block;
    z-index: 3;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 142px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    max-width: 820px;
    margin: 0 auto;
  }

  .hero-kicker {
    justify-content: center;
    margin-left: 0;
  }

  .hero-wordmark {
    margin-left: 0;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .contract-row {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    min-height: 610px;
    width: min(680px, 100%);
    margin: -22px auto 0;
  }

  .hero-character {
    max-height: 680px;
  }

  .hero-badge-top {
    right: 3%;
  }

  .hero-badge-bottom {
    left: 4%;
  }

  .scroll-cue {
    display: none;
  }

  .about,
  .roadmap,
  .chart-section {
    padding-top: 100px;
  }

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

  .about-stage {
    min-height: 650px;
    order: 2;
  }

  .lore-panel {
    order: 1;
  }

  .chart-party {
    display: none;
  }
}

@media (max-width: 720px) {
  .section-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-inner {
    border-radius: 18px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding-top: 128px;
    padding-bottom: 50px;
  }

  .hero-kicker {
    font-size: 8px;
    letter-spacing: 2px;
  }

  .hero-kicker span {
    width: 24px;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .asset-button {
    border-radius: 12px;
  }

  .contract-row {
    grid-template-columns: auto 1fr;
    gap: 8px 11px;
    text-align: left;
  }

  .contract-row button {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    min-height: 480px;
    margin-top: -10px;
  }

  .hero-halo {
    width: 430px;
  }

  .orbit-one {
    width: 370px;
  }

  .orbit-two {
    width: 455px;
  }

  .hero-character {
    width: min(100%, 520px);
    max-height: 550px;
  }

  .hero-badge {
    padding: 8px 10px;
  }

  .hero-badge strong {
    font-size: 15px;
  }

  .hero-badge span {
    font-size: 6px;
  }

  .section-heading,
  .section-heading.centered {
    position: relative;
    margin-bottom: 30px;
    display: block;
    text-align: left;
  }

  .section-heading .section-number,
  .section-heading.centered .section-number {
    position: absolute;
    left: auto;
    right: 0;
    top: -8px;
    z-index: 0;
    font-size: 58px;
    opacity: 0.42;
  }

  .section-heading > div {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .section-heading h2 {
    max-width: 100%;
    font-size: clamp(40px, 13vw, 60px);
  }

  .chart-section .section-heading h2 {
    font-size: clamp(36px, 11.5vw, 46px);
  }

  .section-kicker {
    letter-spacing: 2px;
  }

  .about-stage {
    min-height: 540px;
  }

  .about-main-character {
    left: -8%;
    width: 89%;
  }

  .about-party-character {
    right: -14%;
    width: 51%;
  }

  .mini-quote {
    top: 20px;
    right: 18px;
    max-width: 155px;
    font-size: 10px;
  }

  .lore-panel {
    padding: 29px 22px;
    border-radius: 24px;
  }

  .lore-panel::before {
    inset: 9px;
    border-radius: 18px;
  }

  .lore-panel > p {
    font-size: 14px;
  }

  .lore-panel .lore-intro {
    font-size: 22px;
  }

  .lore-pillars article {
    grid-template-columns: 38px 1fr;
    padding: 12px;
  }

  .pillar-icon {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .roadmap-art-wrap {
    display: none;
  }

  .roadmap-mobile {
    display: grid;
    gap: 13px;
  }

  .phase-card {
    position: relative;
    overflow: hidden;
    padding: 24px 21px 21px;
    border: 1px solid rgba(233, 177, 50, 0.27);
    border-radius: 20px;
    background:
      radial-gradient(circle at 100% 0, rgba(235, 177, 49, 0.13), transparent 37%),
      rgba(8, 7, 5, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 226, 142, 0.04);
  }

  .phase-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 130px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-bright));
  }

  .phase-no {
    position: absolute;
    right: 15px;
    top: 8px;
    color: transparent;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 58px;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(230, 172, 45, 0.22);
  }

  .phase-card > p {
    margin: 0 0 4px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 2px;
  }

  .phase-card h3 {
    position: relative;
    margin: 0;
    color: #fff0cb;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 31px;
    font-weight: 900;
    letter-spacing: 0.6px;
  }

  .phase-card ul {
    margin: 17px 0 0;
    padding: 0;
    list-style: none;
  }

  .phase-card li {
    position: relative;
    margin-top: 9px;
    padding-left: 17px;
    color: #aaa49a;
    font-size: 12px;
  }

  .phase-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 10px var(--gold);
  }

  .chart-shell {
    padding: 7px;
    border-radius: 22px;
  }

  .chart-toolbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: 68px;
    padding: 8px;
  }

  .chart-status {
    display: none;
  }

  .chart-open {
    padding: 0 10px;
    font-size: 8px;
  }

  .chart-token img {
    width: 43px;
    height: 43px;
  }

  .chart-token strong {
    font-size: 12px;
  }

  .chart-token span {
    font-size: 7px;
  }

  .chart-viewport {
    min-height: 515px;
    border-radius: 0 0 16px 16px;
  }

  .chart-placeholder {
    padding: 25px 18px;
  }

  .placeholder-coin {
    width: 100px;
    height: 100px;
  }

  .placeholder-coin img {
    width: 116px;
  }

  .chart-placeholder h3 {
    font-size: 39px;
  }

  .chart-placeholder > span {
    font-size: 11px;
  }

  .footer-inner {
    padding: 30px 18px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 19px;
  }

  .footer-note {
    margin-top: 2px;
  }
}

@media (max-width: 430px) {
  .brand-copy strong {
    font-size: 21px;
  }

  .hero-wordmark {
    width: 108%;
    max-width: none;
    margin-left: -4%;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-badge-top {
    top: 16%;
    right: -3%;
  }

  .hero-badge-bottom {
    left: -2%;
    bottom: 10%;
  }

  .about-stage {
    min-height: 480px;
  }

  .about-main-character {
    width: 96%;
  }

  .about-party-character {
    width: 53%;
  }

  .mini-quote {
    display: none;
  }

  .chart-toolbar {
    grid-template-columns: 1fr;
  }

  .chart-open {
    width: 100%;
  }

  .chart-viewport {
    min-height: 470px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .bg-frame-1 {
    opacity: 1;
  }

  .bg-frame-2,
  .bg-frame-3,
  #particles-canvas {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
