:root {
  --bg: #090b11;
  --bg-soft: #121826;
  --bg-alt: #0c1119;
  --cream: #fff5e9;
  --cream-soft: rgba(255, 245, 233, 0.78);
  --cream-faint: rgba(255, 245, 233, 0.58);
  --ember: #ff6528;
  --ember-deep: #bf1f0f;
  --gold: #ffbf68;
  --gold-soft: #ffe2aa;
  --ice: #80d5ff;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --panel: rgba(14, 18, 28, 0.58);
  --panel-strong: rgba(10, 13, 20, 0.8);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  --max-width: 1220px;
  --topbar-height: 98px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: "Space Grotesk", sans-serif;
  color: var(--cream);
  background:
    radial-gradient(circle at top left, rgba(255, 101, 40, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 191, 104, 0.1), transparent 24%),
    linear-gradient(180deg, #11141d 0%, #090b11 38%, #05070b 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.025), transparent 34%),
    repeating-linear-gradient(
      120deg,
      transparent 0 92px,
      rgba(255, 255, 255, 0.02) 92px 96px
    );
  opacity: 0.36;
}

body::after {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 101, 40, 0.14), transparent 12%),
    radial-gradient(circle at 82% 9%, rgba(255, 191, 104, 0.08), transparent 10%),
    radial-gradient(circle at 88% 72%, rgba(128, 213, 255, 0.06), transparent 12%);
  filter: blur(14px);
}

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

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

button,
input,
textarea {
  font: inherit;
}

main {
  overflow-x: clip;
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(18, 23, 34, 0.9), rgba(10, 13, 20, 0.7)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 60%);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.topbar-shell,
.section-shell,
.hero-grid {
  width: min(var(--max-width), calc(100vw - 48px));
  margin: 0 auto;
}

.topbar-shell {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 12px 0;
  position: relative;
  isolation: isolate;
}

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

.brand-mark,
.eyebrow,
.hero-kicker,
h1,
h2,
h3,
.address-chip,
.button,
.topnav a,
.overlay-title,
.manifesto-index,
.hud-pill span,
.marquee-track span {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.06em;
}

.brand-mark {
  color: var(--ember);
  font-size: 2rem;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
  color: var(--cream);
}

.brand-copy small {
  font-size: 0.82rem;
  color: rgba(255, 245, 233, 0.64);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  min-width: 0;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 2px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  color: rgba(255, 245, 233, 0.8);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-chart-link,
.chart-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.header-chart-link {
  padding: 0 12px 0 10px;
  color: rgba(255, 245, 233, 0.9);
  font-size: 0.92rem;
  font-weight: 700;
}

.header-chart-link:hover,
.header-chart-link:focus-visible,
.chart-link:hover,
.chart-link:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.header-chart-link:hover,
.header-chart-link:focus-visible,
.chart-link:hover,
.chart-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.header-chart-logo,
.chart-link-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.header-chart-logo {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.chart-link-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.header-chart-logo img,
.chart-link-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--ember), var(--ember-deep));
  color: #fff7ef;
  box-shadow: 0 16px 34px rgba(255, 101, 40, 0.24);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
}

.icon-button svg,
.icon-button img {
  width: 20px;
  height: 20px;
  flex: none;
}

.icon-button svg {
  fill: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--topbar-height) + clamp(18px, 4vw, 44px)) 0 44px;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 70px auto auto -10%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 101, 40, 0.18), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
}

.hero-monitor-shell {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.burn-live-panel {
  position: relative;
  overflow: hidden;
  padding: 24px 26px 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(12, 16, 24, 0.76);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.burn-live-panel::before,
.burn-live-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.burn-live-panel::before {
  inset: -24% auto auto -10%;
  width: 34vw;
  height: 26vw;
  min-width: 260px;
  min-height: 220px;
  background: radial-gradient(circle, rgba(255, 101, 40, 0.22), transparent 68%);
  filter: blur(10px);
}

.burn-live-panel::after {
  inset: auto -6% -38% auto;
  width: 30vw;
  height: 24vw;
  min-width: 220px;
  min-height: 180px;
  background: radial-gradient(circle, rgba(255, 191, 104, 0.16), transparent 72%);
  filter: blur(12px);
}

.burn-live-head,
.burn-live-meter-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.burn-live-head {
  position: relative;
  z-index: 1;
  align-items: flex-start;
  justify-content: flex-start;
}

.burn-live-head-copy {
  display: grid;
  gap: 8px;
}

.burn-live-title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.92;
}

.burn-live-status {
  display: none;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 245, 233, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
}

.burn-live-panel[data-state="live"] .burn-live-status {
  border-color: rgba(255, 191, 104, 0.24);
  background: rgba(255, 101, 40, 0.12);
  color: #ffe3bf;
}

.burn-live-panel[data-state="error"] .burn-live-status {
  border-color: rgba(255, 108, 90, 0.24);
  background: rgba(255, 108, 90, 0.12);
  color: #ffd4cb;
}

.burn-live-meter {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding: 16px 16px 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(10, 13, 20, 0.72);
}

.burn-live-percent {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.burn-live-progress-text {
  color: rgba(255, 245, 233, 0.72);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: right;
}

.burn-live-track {
  position: relative;
  overflow: hidden;
  height: 18px;
  margin-top: 14px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -10px 18px rgba(0, 0, 0, 0.18);
}

.burn-live-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 101, 40, 0.94), rgba(255, 191, 104, 1) 55%, rgba(255, 101, 40, 0.94));
  box-shadow:
    0 0 24px rgba(255, 101, 40, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: width 400ms ease;
}

.burn-live-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.38) 48%, transparent 58%),
    radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.26), transparent 18%);
  mix-blend-mode: screen;
}

.burn-live-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) repeat(2, minmax(0, 0.88fr));
  gap: 10px;
  margin-top: 12px;
}

.burn-live-stat,
.burn-live-copy-button {
  min-width: 0;
  min-height: 88px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.burn-live-copy-button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  color: var(--cream);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.burn-live-copy-button:hover,
.burn-live-copy-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 191, 104, 0.18);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

.burn-live-copy-button:disabled {
  cursor: default;
  transform: none;
  box-shadow: none;
  opacity: 0.82;
}

.burn-live-stat span,
.burn-live-copy-button span {
  display: block;
  color: rgba(255, 245, 233, 0.7);
  font-size: 0.84rem;
  font-weight: 700;
}

.burn-live-stat strong,
.burn-live-copy-button strong {
  display: block;
  margin-top: 4px;
  color: var(--cream);
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  line-height: 1.24;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(350px, 1.06fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
  padding-top: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--gold);
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 1.28rem;
  color: rgba(255, 226, 170, 0.9);
}

h1 {
  margin: 0;
  font-size: clamp(5.4rem, 19vw, 11rem);
  line-height: 0.84;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
}

.hero-subtitle,
.section-copy p,
.chart-copy p,
.game-header p,
.join-grid p,
.footer p,
.manifesto-line p,
.overlay-copy {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.72;
}

.hero-subtitle {
  max-width: min(34rem, 100%);
  margin: 16px 0 0;
  color: var(--cream-soft);
}

.address-panel {
  margin-top: 28px;
  max-width: 100%;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(12, 16, 24, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.address-heading,
.address-actions,
.hero-actions,
.game-hud,
.join-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.address-heading {
  justify-content: space-between;
  row-gap: 8px;
}

.address-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 245, 233, 0.72);
}

.address-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 101, 40, 0.14);
  color: #ffd8bf;
  font-size: 0.92rem;
}

.address-chip-link {
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.address-chip-link:hover,
.address-chip-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 101, 40, 0.22);
  color: #fff4eb;
}

.contract-address {
  display: block;
  margin: 14px 0 16px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.copy-status {
  min-height: 1.2em;
  font-size: 0.94rem;
  color: #ffd39a;
}

.hero-actions {
  margin-top: 24px;
  width: 100%;
}

.hero-actions-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
}

.chart-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  overflow: clip;
  min-height: 680px;
  border: 0;
  box-shadow: none;
  background: none;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 2% -14% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 101, 40, 0.24), transparent 72%);
  filter: blur(18px);
}

.hero-character {
  position: absolute;
  right: -18%;
  bottom: -10%;
  width: min(980px, 154%);
  max-width: none;
  filter: drop-shadow(0 36px 58px rgba(0, 0, 0, 0.4));
  animation: drift 7s ease-in-out infinite;
}

.marquee {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 18px 0;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-size: 1.45rem;
  color: rgba(255, 245, 233, 0.86);
}

.marquee-track span::after {
  content: "•";
  margin-left: 28px;
  color: rgba(255, 101, 40, 0.84);
}

section {
  position: relative;
  padding: clamp(84px, 10vw, 118px) 0;
}

.join-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.section-copy h2,
.chart-copy h2,
.game-header h2,
.join-grid h2 {
  margin: 0 0 14px;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.9;
}

.section-copy p,
.chart-copy p,
.game-header p,
.join-grid p {
  margin: 0;
  color: var(--cream-soft);
}

.manifesto {
  display: grid;
  gap: 16px;
}

.manifesto-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(11, 15, 24, 0.62);
  backdrop-filter: blur(18px);
}

.manifesto-index {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 101, 40, 0.12);
  color: #ffd9bf;
  font-size: 1.4rem;
}

.manifesto-line h3 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.manifesto-line p {
  margin: 0;
  color: rgba(255, 245, 233, 0.72);
}

.scarcity-section {
  padding: clamp(56px, 7vw, 84px) 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 191, 104, 0.08), transparent 16%),
    linear-gradient(180deg, #0b111a 0%, #06090f 100%);
}

.narrative-shell {
  display: flex;
  justify-content: center;
}

.narrative-card {
  width: min(100%, 920px);
  padding: 24px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(10, 14, 22, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
}

.narrative-card .eyebrow {
  margin-bottom: 12px;
}

.narrative-copy {
  margin: 0;
  max-width: 72ch;
  color: rgba(255, 245, 233, 0.78);
  font-size: clamp(0.94rem, 1.15vw, 1rem);
  line-height: 1.58;
}

.chart-section {
  background:
    radial-gradient(circle at center top, rgba(255, 101, 40, 0.12), transparent 26%),
    linear-gradient(180deg, #0b0e14 0%, #06080d 100%);
}

.chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(380px, 1.16fr);
  gap: 32px;
  align-items: start;
}

.chart-copy {
  max-width: 44rem;
}

.chart-copy p {
  color: rgba(255, 245, 233, 0.78);
}

.chart-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.chart-link {
  min-height: 58px;
  padding: 10px 18px 10px 10px;
  color: rgba(255, 245, 233, 0.92);
}

.chart-link-featured {
  background: rgba(255, 255, 255, 0.05);
}

#chart-live {
  scroll-margin-top: 150px;
}

#chart-live:target {
  border-color: rgba(255, 101, 40, 0.34);
  box-shadow:
    0 0 0 1px rgba(255, 101, 40, 0.18),
    var(--shadow);
}

.chart-panel {
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(9, 13, 20, 0.84);
  backdrop-filter: blur(18px);
}

.chart-embed {
  position: relative;
  width: 100%;
  height: 430px;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}

.chart-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.game-section {
  background:
    radial-gradient(circle at center top, rgba(255, 101, 40, 0.14), transparent 28%),
    linear-gradient(180deg, #11161e 0%, #070a10 100%);
}

.game-header {
  max-width: 42rem;
  margin-bottom: 28px;
}

.game-header p {
  color: rgba(255, 245, 233, 0.76);
}

.game-shell {
  padding: 24px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(9, 13, 20, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.game-hud {
  justify-content: space-between;
  margin-bottom: 18px;
}

.hud-pill {
  flex: 0 0 auto;
  min-width: 102px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.hud-pill span {
  display: block;
  color: rgba(255, 245, 233, 0.62);
  font-size: 0.96rem;
}

.hud-pill strong {
  display: block;
  margin-top: 4px;
  font-size: 1.62rem;
}

.hud-pill-progress {
  min-width: 220px;
}

.burn-progress-track {
  margin-top: 10px;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.burn-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6528, #ffbf68);
  box-shadow: 0 0 24px rgba(255, 101, 40, 0.35);
  transition: width 180ms ease;
}

.restart-button {
  margin-left: auto;
}

.game-area {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #080b10;
}

#dashRunCanvas {
  display: block;
  width: 100%;
  height: auto;
}

.game-corner-ui {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.game-corner-ui > * {
  pointer-events: auto;
}

.extra-life-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.86), rgba(12, 16, 24, 0.68));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.extra-life-indicator img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.extra-life-indicator span {
  color: rgba(255, 245, 233, 0.9);
  font-size: 0.94rem;
  font-weight: 700;
}

.boost-button {
  min-height: 48px;
  padding: 0 18px;
  box-shadow: 0 18px 34px rgba(255, 101, 40, 0.28);
}

.is-hidden {
  display: none !important;
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(8, 11, 17, 0.24), rgba(8, 11, 17, 0.84));
  transition: opacity 180ms ease;
}

.game-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.overlay-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.overlay-copy {
  max-width: 34rem;
  margin: 0 auto;
  color: rgba(255, 245, 233, 0.82);
}

.overlay-actions {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.join-section {
  padding-top: clamp(70px, 8vw, 104px);
}

.join-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding-bottom: 12px;
}

.join-grid p {
  margin: 0 0 10px;
  color: rgba(255, 245, 233, 0.72);
}

.footer {
  padding: 0 24px 38px;
}

.footer p {
  width: min(var(--max-width), calc(100vw - 48px));
  margin: 0 auto;
  color: rgba(255, 245, 233, 0.48);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 1100px) {
  .burn-live-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-character {
    width: min(900px, 164%);
    right: -24%;
    bottom: -14%;
  }
}

@media (max-width: 760px) {
  .topbar {
    inset: 0 0 auto;
    padding: 0 12px;
  }

  .topbar-shell,
  .section-shell,
  .hero-grid {
    width: min(var(--max-width), calc(100vw - 24px));
  }

  .topbar-shell {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 12px 0 14px;
  }

  .brand {
    width: 100%;
    gap: 12px;
  }

  .brand-mark {
    font-size: 1.8rem;
  }

  .brand-copy strong {
    font-size: 0.94rem;
  }

  .brand-copy small {
    font-size: 0.76rem;
  }

  .topnav {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -18px 30px rgba(6, 8, 14, 0.18);
  }

  .topnav a {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 92px;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 16px;
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(14, 18, 28, 0.32), rgba(14, 18, 28, 0.58));
    color: rgba(255, 245, 233, 0.92);
    font-size: 0.96rem;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .topnav a:hover,
  .topnav a:focus-visible {
    border-color: rgba(255, 191, 104, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 101, 40, 0.1));
    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }

  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .header-chart-link {
    min-height: 46px;
    padding: 0 12px;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .address-heading {
    align-items: flex-start;
  }

  .address-chip {
    margin-left: auto;
  }

  h1 {
    font-size: clamp(4.8rem, 28vw, 7rem);
  }

  .hero-subtitle,
  .section-copy p,
  .manifesto-line p,
  .chart-copy p,
  .game-header p,
  .join-grid p,
  .overlay-copy {
    font-size: 1rem;
  }

  .hero-actions-right {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .hero-monitor-shell {
    margin-bottom: 20px;
  }

  .burn-live-panel {
    padding: 18px;
    border-radius: 28px;
  }

  .burn-live-head,
  .burn-live-meter-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .burn-live-status {
    min-height: 38px;
    font-size: 0.88rem;
  }

  .burn-live-title {
    max-width: 100%;
    font-size: clamp(1.72rem, 9vw, 2.5rem);
  }

  .burn-live-meter {
    margin-top: 18px;
    padding: 16px;
    border-radius: 24px;
  }

  .burn-live-percent {
    font-size: clamp(2.1rem, 15vw, 3.4rem);
  }

  .burn-live-progress-text {
    text-align: left;
    font-size: 0.92rem;
  }

  .burn-live-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .burn-live-stat,
  .burn-live-copy-button {
    padding: 14px 16px;
    border-radius: 20px;
  }

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

  .hero-character {
    width: 176%;
    right: -30%;
    bottom: -10%;
  }

  .manifesto-line {
    grid-template-columns: 1fr;
  }

  .manifesto-index {
    width: 48px;
    height: 48px;
  }

  .narrative-card {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .narrative-copy {
    font-size: 0.92rem;
    line-height: 1.52;
  }

  .chart-panel,
  .chart-embed {
    border-radius: 28px;
  }

  .chart-embed {
    height: 320px;
  }

  .game-shell {
    padding: 16px;
  }

  .game-hud {
    gap: 10px;
  }

  .hud-pill {
    min-width: calc(50% - 5px);
  }

  .hud-pill-progress {
    min-width: 100%;
  }

  .restart-button {
    margin-left: 0;
    width: 100%;
  }

  .game-corner-ui {
    top: 12px;
    right: 12px;
    left: 12px;
    justify-items: stretch;
  }

  .extra-life-indicator {
    justify-self: end;
    max-width: min(100%, 220px);
  }

  .boost-button {
    width: 100%;
  }

  .game-overlay {
    padding: 16px;
  }

  .overlay-title {
    font-size: 1.8rem;
  }

  .overlay-copy {
    max-width: 17rem;
    font-size: 0.92rem;
  }

  .join-actions {
    width: 100%;
  }

  .join-actions .button {
    flex: 1 1 210px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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