:root {
  --yellow: #ffd52a;
  --yellow-2: #ffb000;
  --cream: #fff2a8;
  --brown: #3d2200;
  --brown-2: #6a3b00;
  --ink: #201400;
  --white: #fffdf3;
  --glass: rgba(255, 255, 255, .62);
  --shadow: 0 24px 80px rgba(79, 45, 0, .22);
  --radius: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 6%, rgba(255,255,255,.95), transparent 24rem),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.65), transparent 22rem),
    linear-gradient(180deg, #ffe97a 0%, #ffd02d 42%, #ffb629 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    radial-gradient(#7a4700 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 45%, rgba(255,255,255,.28) 45% 46%, transparent 46% 100%);
  background-size: 22px 22px, 160px 160px;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  gap: 28px;
  align-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 30%, #fff6b4 0, #ffd62b 32%, #ffa900 100%);
  transition: opacity .55s ease, visibility .55s ease;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader-orbit { position: relative; width: 180px; height: 180px; display: grid; place-items: center; }
.loader-logo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  box-shadow: 0 22px 45px rgba(65,36,0,.25);
  animation: popFloat 1.4s ease-in-out infinite alternate;
}
.orbit-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--brown);
  border: 4px solid #ffef83;
  border-radius: 50%;
  animation: orbit 2.4s linear infinite;
}
.dot-a { transform-origin: 90px 90px; }
.dot-b { animation-delay: -.8s; transform-origin: 90px 90px; }
.dot-c { animation-delay: -1.6s; transform-origin: 90px 90px; }
.loader-copy { text-align: center; max-width: 720px; }
.loader-copy h1 { font-size: clamp(28px, 5vw, 64px); margin: 8px 0 16px; color: var(--brown); text-shadow: 0 5px 0 rgba(255,255,255,.45); }
.loader-copy small { color: rgba(61,34,0,.76); font-weight: 700; }
.kicker, .eyebrow { margin: 0; color: var(--brown-2); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.loader-bar { width: min(540px, 86vw); height: 16px; border-radius: 99px; background: rgba(255,255,255,.52); margin: 20px auto; overflow: hidden; border: 3px solid rgba(61,34,0,.35); }
.loader-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brown), #fff04f); animation: load 2.8s ease forwards; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 64px);
  margin: 0 auto;
  backdrop-filter: blur(18px);
  background: rgba(255, 215, 50, .62);
  border-bottom: 2px solid rgba(89, 53, 0, .12);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 1000; letter-spacing: .06em; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 8px 20px rgba(64,38,0,.18); }
.nav { display: flex; align-items: center; gap: 8px; font-weight: 900; }
.nav a, .mobile-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
}
.nav a:hover, .mobile-nav a:hover { transform: translateY(-2px); background: rgba(255,255,255,.42); }
.nav-x { background: var(--brown); color: var(--yellow); box-shadow: 0 10px 24px rgba(63,37,0,.22); }
.menu-button { display: none; border: 0; border-radius: 999px; padding: 11px 16px; font-weight: 1000; color: var(--yellow); background: var(--brown); }
.mobile-nav { display: none; }

.hero {
  min-height: calc(100vh - 74px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr);
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 6vw, 86px) clamp(18px, 5vw, 80px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.9), transparent 20rem),
    radial-gradient(circle at 84% 20%, rgba(255,255,255,.65), transparent 22rem);
}
.hero-card {
  background: linear-gradient(145deg, rgba(255,255,255,.68), rgba(255,231,104,.54));
  border: 3px solid rgba(96, 57, 0, .16);
  border-radius: clamp(28px, 5vw, 56px);
  padding: clamp(24px, 5vw, 58px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::after {
  content: "BULLISH";
  position: absolute;
  right: -20px;
  bottom: -22px;
  font-weight: 1000;
  font-size: clamp(64px, 11vw, 160px);
  color: rgba(92, 52, 0, .055);
  transform: rotate(-6deg);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.eyebrow img { width: 26px; height: 26px; }
.hero h1, .section h2, .final-cta h2 {
  margin: 10px 0 16px;
  color: var(--brown);
  line-height: .94;
  font-weight: 1000;
  letter-spacing: -.06em;
}
.hero h1 { font-size: clamp(50px, 8vw, 118px); text-shadow: 0 7px 0 rgba(255,255,255,.55); }
.hero h1 span { color: #fff36b; -webkit-text-stroke: 2px var(--brown); text-shadow: 0 8px 0 var(--brown-2), 0 24px 44px rgba(93,48,0,.28); }
.hero-text { max-width: 720px; font-size: clamp(17px, 2vw, 22px); line-height: 1.7; font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 1000;
  border: 3px solid var(--brown);
  box-shadow: 0 10px 0 rgba(61,34,0,.18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 13px 0 rgba(61,34,0,.18); }
.btn.primary { background: var(--brown); color: var(--yellow); }
.btn.secondary { background: var(--cream); color: var(--brown); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.hero-stats div { background: rgba(255,255,255,.52); border: 2px solid rgba(61,34,0,.12); padding: 16px; border-radius: 22px; }
.hero-stats b { display: block; font-size: 30px; color: var(--brown); }
.hero-stats span { font-size: 13px; font-weight: 900; color: rgba(61,34,0,.72); }
.hero-mascot { position: relative; }
.hero-mascot img { width: min(560px, 88vw); margin: 0 auto; filter: drop-shadow(0 28px 50px rgba(68,40,0,.24)); animation: mascotFloat 3s ease-in-out infinite alternate; }
.hero-mascot::before {
  content: "";
  position: absolute;
  inset: 15% 5%;
  background: radial-gradient(circle, rgba(255,255,255,.7), transparent 64%);
  z-index: -1;
}

.ticker { border-block: 3px solid rgba(67,40,0,.18); background: var(--brown); color: var(--yellow); overflow: hidden; font-weight: 1000; }
.ticker-track { display: flex; gap: 34px; width: max-content; padding: 13px 0; animation: ticker 22s linear infinite; }
.ticker span::before { content: "✦"; margin-right: 34px; color: #fff; }

.banner-strip { width: min(1500px, calc(100% - 36px)); margin: 54px auto 0; border: 6px solid rgba(61,34,0,.22); border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); background: rgba(255,255,255,.5); }
.banner-strip img { width: 100%; }

.section { padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 80px); }
.section-head { max-width: 900px; margin: 0 auto 38px; text-align: center; }
.section h2 { font-size: clamp(38px, 6vw, 78px); }
.section-head p:not(.eyebrow) { font-size: 18px; line-height: 1.8; font-weight: 700; color: rgba(39,24,0,.75); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: min(1240px, 100%); margin: 0 auto; }
.story-card, .token-card, .lock-card, .pve-card, .road-step, .comic-copy, .comic-panel {
  background: rgba(255,255,255,.58);
  border: 3px solid rgba(61,34,0,.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(75,43,0,.13);
}
.story-card { padding: 28px; }
.chapter { display: inline-flex; background: var(--brown); color: var(--yellow); padding: 8px 14px; border-radius: 999px; font-weight: 1000; }
.story-card h3, .pve-card h3, .road-step h3, .lock-card h3 { margin: 18px 0 10px; color: var(--brown); font-size: 26px; }
.story-card p, .pve-card p, .road-step p, .lock-card p, .comic-copy p, .token-card p { line-height: 1.8; font-weight: 650; color: rgba(39,24,0,.75); }

.comic-road { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 28px; width: min(1160px, 100%); margin: 0 auto; }
.comic-panel { position: relative; padding: 26px; overflow: hidden; background: #ffe767; }
.comic-panel img { border-radius: 26px; }
.bubble { position: absolute; top: 24px; left: 24px; right: 24px; z-index: 2; background: var(--white); border: 4px solid var(--brown); border-radius: 28px; padding: 15px 20px; font-size: 28px; font-weight: 1000; color: var(--brown); box-shadow: 0 8px 0 rgba(61,34,0,.16); }
.comic-copy { padding: clamp(26px, 5vw, 54px); }
.mini-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.mini-list span { background: var(--brown); color: var(--yellow); padding: 12px 16px; border-radius: 999px; font-weight: 1000; }

.meme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: min(960px, 100%); margin: 0 auto; }
.meme-card { margin: 0; background: rgba(255,255,255,.62); padding: 12px; border-radius: 30px; border: 3px solid rgba(61,34,0,.14); box-shadow: 0 18px 44px rgba(75,43,0,.13); transition: transform .2s ease; }
.meme-card:hover { transform: rotate(-1deg) translateY(-5px); }
.meme-card:nth-child(even):hover { transform: rotate(1deg) translateY(-5px); }
.meme-card img { border-radius: 22px; width: 100%; }
.meme-card figcaption { font-weight: 1000; padding: 14px 8px 6px; color: var(--brown); }

.token-section { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: stretch; width: min(1200px, 100%); margin: 0 auto; }
.token-card { padding: clamp(28px, 5vw, 54px); }
.supply-bars { display: grid; gap: 26px; margin-top: 30px; }
.supply-info { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 10px; }
.supply-info strong { font-size: 54px; color: var(--brown); line-height: .9; }
.supply-info span { font-weight: 1000; color: var(--brown); }
.bar { height: 24px; border: 3px solid var(--brown); border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.75); box-shadow: inset 0 3px 0 rgba(0,0,0,.08); }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffb000, #fff36b); border-right: 3px solid var(--brown); border-radius: inherit; animation: barPulse 2s ease-in-out infinite alternate; }
.supply-row p { margin: 10px 0 0; }
.lock-card { display: grid; align-content: center; justify-items: center; text-align: center; padding: 30px; background: linear-gradient(180deg, rgba(61,34,0,.94), rgba(98,57,0,.9)); color: var(--yellow); }
.lock-card img { width: 108px; margin-bottom: 16px; filter: drop-shadow(0 12px 22px rgba(0,0,0,.25)); }
.lock-card h3 { color: var(--yellow); font-size: 34px; }
.lock-card p { color: rgba(255,243,166,.9); }
.lock-card a { margin-top: 16px; display: inline-flex; background: var(--yellow); color: var(--brown); padding: 12px 18px; border-radius: 999px; font-weight: 1000; }

.pve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: min(1120px, 100%); margin: 0 auto; }
.pve-card { padding: 28px; min-height: 230px; position: relative; overflow: hidden; }
.pve-card::after { content: "PVE"; position: absolute; right: -10px; bottom: -20px; font-size: 96px; font-weight: 1000; color: rgba(61,34,0,.06); }

.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: min(1260px, 100%); margin: 0 auto; }
.road-step { padding: 24px; position: relative; }
.road-step b { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brown); color: var(--yellow); font-size: 20px; }

.final-cta { width: min(1000px, calc(100% - 36px)); margin: 50px auto 92px; text-align: center; padding: clamp(36px, 7vw, 72px); border-radius: 46px; background: linear-gradient(140deg, rgba(255,255,255,.72), rgba(255,215,42,.62)); border: 4px solid rgba(61,34,0,.16); box-shadow: var(--shadow); }
.final-cta h2 { font-size: clamp(38px, 7vw, 86px); }
.final-cta p { font-size: 20px; font-weight: 800; color: rgba(61,34,0,.78); }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 28px clamp(18px, 5vw, 80px); background: var(--brown); color: var(--cream); }
.site-footer div { display: flex; align-items: center; gap: 12px; font-weight: 1000; }
.site-footer img { width: 48px; height: 48px; border-radius: 50%; }
.site-footer a { color: var(--yellow); font-weight: 1000; }
.site-footer small { width: 100%; color: rgba(255,242,168,.72); }

.reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@keyframes popFloat { from { transform: translateY(0) scale(1); } to { transform: translateY(-10px) scale(1.04); } }
@keyframes orbit { from { transform: rotate(0deg) translateX(88px) rotate(0deg); } to { transform: rotate(360deg) translateX(88px) rotate(-360deg); } }
@keyframes load { to { width: 100%; } }
@keyframes mascotFloat { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-18px) rotate(2deg); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes barPulse { from { filter: brightness(1); } to { filter: brightness(1.08); } }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-button { display: inline-flex; }
  .mobile-nav {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    z-index: 49;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255, 244, 161, .94);
    border: 3px solid rgba(61,34,0,.14);
    box-shadow: var(--shadow);
  }
  .mobile-nav.open { display: grid; gap: 4px; }
  .hero, .comic-road, .token-section { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-mascot { order: -1; }
  .hero-mascot img { width: min(390px, 86vw); }
  .story-grid, .meme-grid, .pve-grid, .roadmap { grid-template-columns: 1fr 1fr; }
  .lock-card { min-height: 300px; }
}

@media (max-width: 640px) {
  .site-header { padding: 12px 14px; }
  .brand span { font-size: 14px; }
  .hero { padding-top: 28px; }
  .hero h1 span { -webkit-text-stroke: 1px var(--brown); text-shadow: 0 5px 0 var(--brown-2), 0 16px 30px rgba(93,48,0,.28); }
  .story-grid, .meme-grid, .pve-grid, .roadmap { grid-template-columns: 1fr; }
  .section { padding-inline: 14px; }
  .bubble { font-size: 20px; }
  .token-section { padding-inline: 14px; }
  .supply-info strong { font-size: 42px; }
  .site-footer { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .loader { display: none; }
  .reveal { opacity: 1; transform: none; }
}
