:root {
  --cream: #fff7df;
  --paper: #fff0c2;
  --paper-deep: #ffe08f;
  --ink: #31180d;
  --ink-soft: rgba(49, 24, 13, 0.78);
  --yellow: #f7d558;
  --yellow-deep: #f0b937;
  --mint: #8be082;
  --mint-deep: #3aa75b;
  --orange: #ff9b48;
  --orange-deep: #de6b1c;
  --rose: #ff8473;
  --cocoa: #7b4320;
  --cocoa-deep: #54280f;
  --cabinet: #274f41;
  --cabinet-deep: #163329;
  --stage: #fff3cc;
  --line: rgba(49, 24, 13, 0.14);
  --shadow-lg: 0 18px 40px rgba(91, 44, 18, 0.14);
  --shadow-card: 0 10px 0 rgba(84, 40, 15, 0.95);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1220px;
  --font-head: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-display: "Trebuchet MS", "Arial Black", "Avenir Next Condensed", sans-serif;
  --font-body: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.72), transparent 0 17%),
    radial-gradient(circle at 82% 16%, rgba(111, 76, 36, 0.16), transparent 0 20%),
    radial-gradient(circle at 65% 48%, rgba(255, 255, 255, 0.18), transparent 0 24%),
    linear-gradient(180deg, #fffaf0 0%, #ffe8a3 34%, #f3c85f 74%, #dda840 100%);
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

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

.site-shell {
  position: relative;
  padding-bottom: 60px;
  overflow: hidden;
}

.page-glow,
.page-spark {
  position: absolute;
  pointer-events: none;
}

.page-glow {
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.5;
}

.glow-a {
  top: 90px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: rgba(255, 166, 66, 0.22);
}

.glow-b {
  top: 320px;
  right: -110px;
  width: 340px;
  height: 340px;
  background: rgba(139, 224, 130, 0.2);
}

.page-spark {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 3px solid rgba(49, 24, 13, 0.2);
  transform: rotate(45deg);
}

.spark-a {
  top: 160px;
  right: 12%;
  background: rgba(255, 255, 255, 0.45);
}

.spark-b {
  top: 540px;
  left: 8%;
  background: rgba(255, 255, 255, 0.4);
}

.masthead,
.hero,
.section,
.footer {
  width: min(var(--max-width), calc(100vw - 28px));
  margin: 0 auto;
}

.masthead {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(49, 24, 13, 0.09);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 251, 242, 0.92), rgba(255, 244, 214, 0.86));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.brand-row,
.nav-row,
.launch-banner,
.hero-actions,
.story-ribbon,
.masthead-note,
.footer-links,
.game-actions,
.split-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-row,
.nav-row {
  align-items: center;
  justify-content: space-between;
}

.nav-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(49, 24, 13, 0.18);
}

.launch-banner {
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(49, 24, 13, 0.18);
}

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

.brand-avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  border: 3px solid var(--ink);
  box-shadow: 0 8px 0 rgba(84, 40, 15, 0.88);
  background: #ffeaa2;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-wordmark {
  height: 40px;
}

.brand-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a {
  position: relative;
  font-weight: 800;
  color: rgba(49, 24, 13, 0.85);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--yellow-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.masthead-note {
  gap: 8px;
}

.masthead-note span {
  padding: 8px 12px;
  border: 2px solid rgba(49, 24, 13, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
  font-weight: 800;
}

.masthead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.head-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(49, 24, 13, 0.12);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  font-weight: 900;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1fb35d;
  box-shadow: 0 0 0 5px rgba(31, 179, 93, 0.16);
  animation: livePulse 1.8s ease infinite;
}

.wallet-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(64, 31, 12, 0.98), rgba(38, 18, 8, 0.98));
  color: #fff6df;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 30px rgba(64, 31, 12, 0.18);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  border: 1px solid rgba(49, 24, 13, 0.12);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 12px 30px rgba(91, 44, 18, 0.08);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 34px rgba(91, 44, 18, 0.12);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--ink);
}

.wallet-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 34px rgba(64, 31, 12, 0.22);
}

.wallet-btn.connected {
  background:
    linear-gradient(180deg, rgba(34, 78, 47, 0.98), rgba(19, 51, 28, 0.98));
}

.wallet-btn-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 244, 222, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wallet-btn strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

.banner-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(84, 40, 15, 0.92);
  color: #fff6dc;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.banner-track {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 10px;
}

.banner-track span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 2px solid rgba(49, 24, 13, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 239, 194, 0.94));
  font-weight: 800;
}

.btn,
.copy-contract,
.tier-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 3px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  transition: transform 150ms ease, filter 150ms ease;
}

.btn:hover,
.copy-contract:hover,
.tier-btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, #fff58e 0%, #ffc94d 100%);
  box-shadow: 0 7px 0 rgba(222, 107, 28, 0.8);
}

.btn-secondary,
.copy-contract,
.tier-btn {
  background: linear-gradient(180deg, #ffffff 0%, #ffe8a1 100%);
  box-shadow: 0 7px 0 rgba(157, 100, 25, 0.75);
}

.btn-dark {
  background: linear-gradient(180deg, #7d431e 0%, #55270f 100%);
  color: #fff8ea;
  box-shadow: 0 7px 0 rgba(41, 17, 7, 0.9);
}

.btn:disabled,
.tier-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(440px, 1.04fr);
  gap: 26px;
  padding-top: 34px;
}

.hero-copy,
.hero-stage,
.feature-card,
.arcade-shell,
.info-card,
.auction-card,
.launch-card,
.launch-links {
  border: 1px solid rgba(49, 24, 13, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 251, 240, 0.94);
  box-shadow: var(--shadow-lg);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(255, 239, 190, 0.96));
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -28px;
  width: 180px;
  height: 180px;
  border-radius: 34px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 20%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.7;
}

.eyebrow,
.meta-label,
.feature-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 2px solid rgba(49, 24, 13, 0.16);
  background: rgba(255, 255, 255, 0.7);
  color: var(--orange-deep);
  font-size: 0.78rem;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.stat-value,
.hud-value,
.status-value,
#highest-bid,
#highest-bidder,
#auction-timer {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  margin-top: 18px;
  max-width: 11ch;
  font-size: clamp(2.9rem, 5.6vw, 5rem);
  line-height: 1.03;
}

.hero-lead,
.section-head p,
.story-pill span,
.contract-note,
.stat-note,
.feature-card p,
.game-tip,
.outcome-item p,
.event-list li,
.tier-box p,
.auction-log,
.launch-card p,
.launch-links p,
.speech-card p,
.footer p {
  color: var(--ink-soft);
  line-height: 1.68;
}

.hero-lead {
  margin: 18px 0 0;
  font-size: 1.04rem;
}

.hero-terminal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.terminal-chip {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(49, 24, 13, 0.1);
  background:
    linear-gradient(180deg, rgba(64, 31, 12, 0.95), rgba(45, 22, 10, 0.92));
  color: #fff2d5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.terminal-chip span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 235, 199, 0.64);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.terminal-chip strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.terminal-chip-wide strong {
  font-size: 0.94rem;
}

.hero-actions {
  margin: 24px 0 20px;
}

.story-ribbon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.story-pill {
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 239, 194, 0.86));
  border: 1px solid rgba(49, 24, 13, 0.08);
}

.story-pill strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
}

.contract-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 238, 177, 0.78), rgba(255, 249, 228, 0.96));
  border: 1px dashed rgba(49, 24, 13, 0.2);
}

.contract-value {
  display: block;
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.contract-note {
  margin: 10px 0 0;
  font-size: 0.95rem;
}

.hero-stats,
.feature-grid,
.auction-grid,
.launch-grid,
.status-grid {
  display: grid;
  gap: 14px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.stat-sticker {
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 234, 181, 0.96));
  border: 1px solid rgba(49, 24, 13, 0.12);
}

.stat-label,
.hud-label {
  margin: 0 0 8px;
  color: rgba(49, 24, 13, 0.58);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat-value,
.hud-value,
.status-value {
  font-size: clamp(1.5rem, 2vw, 2.18rem);
}

.hero-stage {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 249, 233, 0.96), rgba(255, 227, 158, 0.95));
}

.stage-marquee {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.marquee-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid rgba(49, 24, 13, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: var(--orange-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-marquee h2 {
  margin-top: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.7rem);
  line-height: 1.02;
}

.stage-core {
  position: relative;
  min-height: 420px;
  margin-top: 18px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.74) 0 16%, rgba(255, 255, 255, 0) 16% 100%),
    linear-gradient(180deg, #fff7db 0%, #ffdc6f 70%, #c79a43 100%);
}

.stage-core::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.42) 0 3%, transparent 3% 100%),
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.3) 0 2%, transparent 2% 100%),
    radial-gradient(circle at 84% 74%, rgba(255, 255, 255, 0.24) 0 2%, transparent 2% 100%);
  opacity: 0.8;
}

.stage-core::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 48%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(94, 58, 18, 0.18));
}

.stage-ring {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(420px, 85%);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.66) 0 32%, rgba(255, 255, 255, 0) 32% 100%);
  box-shadow:
    0 0 0 18px rgba(255, 255, 255, 0.28),
    0 0 0 42px rgba(255, 194, 58, 0.18);
  animation: ringPulse 5s ease-in-out infinite;
}

.hero-mascot {
  position: absolute;
  left: 50%;
  top: 55%;
  z-index: 2;
  width: min(86%, 390px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 14px 28px rgba(84, 40, 15, 0.16));
  animation: boothFloat 5.2s ease-in-out infinite;
}

.stage-stickers {
  position: absolute;
  inset: 0;
}

.booth-drops {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.booth-drop {
  position: absolute;
  display: block;
  width: 30px;
  height: 40px;
  border-radius: 50% 50% 44% 44%;
  opacity: 0.8;
  filter: drop-shadow(0 8px 12px rgba(84, 40, 15, 0.18));
  animation: boothDrop 7.2s linear infinite;
}

.booth-drop::before,
.booth-drop::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

.booth-drop::before {
  top: -12px;
  width: 22px;
  height: 18px;
}

.booth-drop::after {
  top: -22px;
  width: 10px;
  height: 10px;
}

.drop-black {
  background: #6d4c34;
}

.drop-black::before,
.drop-black::after {
  background: #6d4c34;
}

.drop-fresh {
  background: #88d86d;
}

.drop-fresh::before,
.drop-fresh::after {
  background: #88d86d;
}

.drop-gold {
  background: #ffca3b;
}

.drop-gold::before,
.drop-gold::after {
  background: #ffca3b;
}

.drop-a {
  left: 10%;
  top: -8%;
  animation-delay: -0.4s;
}

.drop-b {
  left: 78%;
  top: -10%;
  animation-delay: -2.2s;
}

.drop-c {
  left: 58%;
  top: -14%;
  animation-delay: -4.4s;
}

.drop-d {
  left: 24%;
  top: -12%;
  animation-delay: -5.8s;
}

.stage-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 18px;
  border: 3px solid var(--ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
  box-shadow: 0 8px 0 rgba(84, 40, 15, 0.84);
}

.tag-a {
  left: 8%;
  top: 18%;
  background: #fff8e6;
  transform: rotate(-8deg);
  animation: stickerBob 3.8s ease-in-out infinite;
}

.tag-b {
  right: 8%;
  top: 16%;
  background: #e6ffd9;
  transform: rotate(7deg);
  animation: stickerBob 4.4s ease-in-out infinite;
}

.tag-c {
  left: 50%;
  bottom: 12%;
  background: #ffe7ba;
  transform: translateX(-50%) rotate(-2deg);
  animation: stickerBob 4s ease-in-out infinite;
}

.showcase-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.booth-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.ledger-item {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(49, 24, 13, 0.1);
}

.ledger-item span {
  display: block;
  margin-bottom: 8px;
  color: rgba(49, 24, 13, 0.58);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ledger-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.34rem;
  letter-spacing: -0.02em;
}

.ledger-item p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.showcase-chip {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(49, 24, 13, 0.1);
  text-align: center;
}

.showcase-chip span {
  display: block;
  margin-bottom: 8px;
  color: rgba(49, 24, 13, 0.58);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.showcase-chip strong {
  font-family: var(--font-head);
  font-size: 1.42rem;
}

.speech-card,
.broadcast-bar {
  margin-top: 16px;
  border-radius: 22px;
  border: 1px solid rgba(49, 24, 13, 0.12);
  background: rgba(255, 255, 255, 0.84);
}

.speech-card {
  padding: 18px;
}

.speech-tag {
  margin: 0 0 6px;
  color: var(--orange-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.speech-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.broadcast-bar {
  overflow: hidden;
  position: relative;
}

.broadcast-bar span {
  display: inline-block;
  padding: 14px 18px;
  white-space: nowrap;
  font-weight: 900;
  color: var(--cocoa);
  animation: news-ticker 14s linear infinite;
}

.broadcast-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -20%;
  width: 18%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  animation: sheenSweep 5.8s ease-in-out infinite;
  pointer-events: none;
}

.section {
  padding-top: 74px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 4vw, 3.85rem);
  line-height: 1.05;
}

.feature-grid,
.launch-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.launch-card {
  padding: 22px;
}

.feature-card,
.info-card,
.auction-card,
.launch-card,
.showcase-chip,
.ledger-item,
.stat-sticker {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.info-card:hover,
.auction-card:hover,
.launch-card:hover,
.showcase-chip:hover,
.ledger-item:hover,
.stat-sticker:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(91, 44, 18, 0.16);
  border-color: rgba(49, 24, 13, 0.18);
}

.feature-no {
  background: rgba(255, 214, 88, 0.5);
}

.feature-card h3,
.info-card h3,
.auction-card h3,
.launch-card h3 {
  margin: 14px 0 10px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.play-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) 340px;
  gap: 22px;
  align-items: start;
}

.arcade-shell {
  position: relative;
  align-self: start;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(39, 79, 65, 0.98), rgba(22, 51, 41, 0.98));
  color: #effbf2;
}

.arcade-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 88, 0.18), transparent 0 34%);
  pointer-events: none;
}

.arcade-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.arcade-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f7ffcf;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arcade-title {
  margin: 0;
  color: #f7ffcf;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

.arcade-lights {
  display: flex;
  gap: 8px;
}

.arcade-lights span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffd86b;
  box-shadow: 0 0 10px rgba(255, 216, 107, 0.9);
}

.arcade-lights span:nth-child(2) {
  background: #ff8d76;
  box-shadow: 0 0 10px rgba(255, 141, 118, 0.9);
}

.arcade-lights span:nth-child(3) {
  background: #9bf08a;
  box-shadow: 0 0 10px rgba(155, 240, 138, 0.9);
}

.arcade-lights span:nth-child(4) {
  background: #fff8ce;
  box-shadow: 0 0 10px rgba(255, 248, 206, 0.92);
}

.game-hud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hud-chip,
.auction-chip,
.status-box {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.arcade-shell .hud-label,
.arcade-shell .hud-value {
  color: #effbf2;
}

.canvas-wrap {
  margin-top: 16px;
  max-width: 448px;
  padding: 14px;
  margin-inline: auto;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

#game-canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 4px solid rgba(255, 255, 255, 0.16);
}

.game-actions {
  margin-top: 16px;
  justify-content: center;
}

.arcade-shell .game-tip {
  margin: 16px 0 0;
  color: rgba(239, 251, 242, 0.78);
}

.side-stack {
  display: grid;
  gap: 18px;
}

.info-card,
.auction-card {
  padding: 20px;
}

.outcome-list,
.event-list {
  display: grid;
  gap: 10px;
}

.outcome-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(49, 24, 13, 0.1);
}

.outcome-item strong {
  display: block;
  margin-bottom: 4px;
}

.outcome-item.dark strong {
  color: var(--cocoa);
}

.outcome-item.green strong {
  color: var(--mint-deep);
}

.outcome-item.gold strong {
  color: #a86b00;
}

.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(49, 24, 13, 0.08);
}

.card-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 238, 179, 0.86);
  border: 2px solid rgba(49, 24, 13, 0.16);
  font-weight: 900;
}

.mini-badge.active {
  background: rgba(139, 224, 130, 0.3);
  color: #1c7a3b;
}

.tier-box {
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(49, 24, 13, 0.08);
}

.tier-name {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 1.06rem;
}

.tier-btn {
  width: 100%;
  margin-top: 12px;
}

.tier-stats {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  font-weight: 800;
}

.auction-grid {
  grid-template-columns: 1.02fr 0.98fr;
}

.auction-card {
  background: linear-gradient(180deg, rgba(255, 246, 222, 0.96), rgba(255, 228, 162, 0.96));
}

.auction-card-light {
  background: linear-gradient(180deg, rgba(255, 251, 240, 0.96), rgba(255, 239, 205, 0.96));
}

.auction-header {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.auction-chip {
  background: rgba(255, 255, 255, 0.78);
}

.bid-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(49, 24, 13, 0.68);
  font-weight: 800;
}

.bid-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 2px solid rgba(49, 24, 13, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.split-ribbon {
  justify-content: space-between;
  margin-top: 18px;
  color: var(--cocoa);
  font-weight: 900;
}

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

.status-box {
  background: rgba(255, 255, 255, 0.74);
}

.auction-log {
  min-height: 156px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px dashed rgba(49, 24, 13, 0.2);
  white-space: pre-line;
}

.launch-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.launch-links {
  margin-top: 18px;
  padding: 18px 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 250, 237, 0.96), rgba(255, 235, 187, 0.92));
}

.launch-links a {
  color: var(--orange-deep);
  font-weight: 900;
}

.launch-links a:hover {
  text-decoration: underline;
}

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 70px;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(49, 24, 13, 0.12);
  font-weight: 800;
}

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

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

@keyframes news-ticker {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes boothFloat {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, calc(-50% - 10px));
  }
}

@keyframes ringPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 18px rgba(255, 255, 255, 0.28),
      0 0 0 42px rgba(255, 194, 58, 0.18);
  }
  50% {
    box-shadow:
      0 0 0 24px rgba(255, 255, 255, 0.22),
      0 0 0 54px rgba(255, 194, 58, 0.12);
  }
}

@keyframes stickerBob {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -6px;
  }
}

@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(31, 179, 93, 0.16);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(31, 179, 93, 0.06);
  }
}

@keyframes boothDrop {
  0% {
    transform: translate3d(0, -12px, 0) rotate(0deg) scale(0.9);
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  60% {
    transform: translate3d(12px, 230px, 0) rotate(120deg) scale(1);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(-8px, 360px, 0) rotate(220deg) scale(0.92);
    opacity: 0;
  }
}

@keyframes sheenSweep {
  0%,
  100% {
    transform: translateX(-120%) skewX(-18deg);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  40% {
    transform: translateX(720%) skewX(-18deg);
    opacity: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

@media (max-width: 1100px) {
  .hero,
  .play-grid,
  .auction-grid,
  .feature-grid,
  .launch-grid {
    grid-template-columns: 1fr;
  }

  .story-ribbon,
  .hero-terminal,
  .hero-stats,
  .showcase-strip,
  .booth-ledger,
  .game-hud,
  .auction-header,
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-marquee {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .masthead {
    position: static;
    padding: 16px;
  }

  .brand-row,
  .nav-row,
  .launch-banner,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .masthead-actions,
  .nav-links,
  .masthead-note,
  .hero-actions,
  .game-actions,
  .footer-links {
    width: 100%;
  }

  .hero,
  .section,
  .footer {
    width: min(var(--max-width), calc(100vw - 20px));
  }

  .hero,
  .section {
    padding-top: 26px;
  }

  .hero-copy,
  .hero-stage,
  .feature-card,
  .arcade-shell,
  .info-card,
  .auction-card,
  .launch-card,
  .launch-links {
    border-radius: 26px;
  }

  .story-ribbon,
  .hero-terminal,
  .hero-stats,
  .showcase-strip,
  .booth-ledger,
  .game-hud,
  .auction-header,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .banner-track {
    width: 100%;
  }

  .wallet-btn,
  .head-status {
    width: 100%;
    justify-content: center;
  }

  .stage-core {
    min-height: 350px;
  }

  .stage-tag {
    min-height: 40px;
    font-size: 0.84rem;
  }

  .hero-mascot {
    width: min(92%, 300px);
  }

  .tag-a {
    left: 4%;
  }

  .tag-b {
    right: 4%;
  }

  .tag-c {
    bottom: 10%;
  }

  .split-ribbon {
    justify-content: flex-start;
  }
}
