:root {
  color-scheme: dark;
  --bg: oklch(10% 0.026 286);
  --bg-2: oklch(13% 0.032 270);
  --panel: oklch(16% 0.035 286 / 0.94);
  --panel-strong: oklch(20% 0.04 286 / 0.96);
  --panel-green: oklch(17% 0.045 153 / 0.72);
  --text: oklch(93% 0.015 138);
  --muted: oklch(73% 0.026 146);
  --soft: oklch(61% 0.036 286);
  --purple: oklch(64% 0.16 305);
  --purple-deep: oklch(38% 0.12 302);
  --green: oklch(80% 0.2 151);
  --green-deep: oklch(56% 0.16 153);
  --warning: oklch(78% 0.14 82);
  --line: oklch(36% 0.055 292 / 0.48);
  --line-green: oklch(60% 0.13 151 / 0.34);
  --shadow: oklch(5% 0.025 286 / 0.46);
  --claim-progress: 0%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 4%, oklch(58% 0.15 305 / 0.18), transparent 30rem),
    radial-gradient(circle at 88% 10%, oklch(74% 0.18 151 / 0.12), transparent 26rem),
    linear-gradient(145deg, var(--bg), var(--bg-2) 50%, oklch(8.5% 0.028 252));
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(oklch(100% 0 0 / 0.018) 1px, transparent 1px),
    linear-gradient(90deg, oklch(100% 0 0 / 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.site-glow {
  position: fixed;
  inset: auto -18rem -18rem auto;
  z-index: 0;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  background: radial-gradient(circle, oklch(72% 0.17 151 / 0.1), transparent 65%);
  filter: blur(10px);
}


.data-stream {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  contain: layout paint style;
  mix-blend-mode: screen;
  mask-image: linear-gradient(to bottom, transparent, black 3%, black 94%, transparent);
}

.particle-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 2;
}

button,
a { min-height: 44px; }

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 28px oklch(62% 0.15 151 / 0.12);
}

.brand strong,
.brand small { display: block; }

.brand strong { font-size: 0.98rem; letter-spacing: -0.02em; }
.brand small { color: var(--muted); font-size: 0.76rem; }

.nav-links {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(13% 0.035 286 / 0.82);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: oklch(25% 0.08 292 / 0.82);
  outline: none;
}

.wallet-button,
.primary-link,
.secondary-link,
.claim-button,
.text-button {
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
}

.wallet-button,
.primary-link,
.claim-button {
  color: oklch(10% 0.04 286);
  background: var(--green);
  box-shadow: 0 12px 30px oklch(70% 0.16 151 / 0.18);
}

.wallet-button { padding: 0 18px; }

.wallet-button:hover,
.primary-link:hover,
.claim-button:hover:not(:disabled) { transform: translateY(-1px); }

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 22px;
  align-items: stretch;
  padding: 54px 0 24px;
  overflow: clip;
}

.hero-copy-block,
.reward-card,
.metric-strip article,
.claim-main,
.eligibility-card,
.pool-grid article,
.round-table {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, oklch(16% 0.035 286 / 0.96), oklch(12.5% 0.032 268 / 0.94));
  box-shadow: 0 18px 56px var(--shadow);
}

.hero-copy-block {
  min-width: 0;
  min-height: 520px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 30px;
  overflow: hidden;
}

.hero-copy-block > *:not(.market-line) {
  position: relative;
  z-index: 1;
}

.hero-copy-block::before {
  position: absolute;
  top: -132px;
  left: -138px;
  z-index: 0;
  width: 390px;
  height: 260px;
  content: "";
  background:
    linear-gradient(134deg, transparent 0 42%, oklch(60% 0.25 292 / 0.8) 42% 46%, transparent 46% 51%, oklch(82% 0.21 151 / 0.9) 51% 57%, transparent 57%),
    linear-gradient(134deg, transparent 0 50%, oklch(100% 0 0 / 0.1) 50% 51%, transparent 51%);
  filter: drop-shadow(0 0 20px oklch(72% 0.2 151 / 0.22));
  opacity: 0.18;
  transform: rotate(-7deg);
  pointer-events: none;
}

.market-line {
  position: absolute;
  right: 4%;
  bottom: 7%;
  z-index: 0;
  display: flex;
  align-items: end;
  gap: 10px;
  width: min(34%, 270px);
  height: 150px;
  opacity: 0.16;
  pointer-events: none;
}

.market-line::before {
  position: absolute;
  inset: auto auto 42px -18px;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  content: "";
  background: oklch(72% 0.16 151 / 0.78);
  box-shadow: 0 0 18px oklch(78% 0.16 151 / 0.18);
  transform: rotate(-26deg);
  transform-origin: left center;
}

.market-line span {
  position: relative;
  width: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, oklch(76% 0.17 151), oklch(54% 0.13 151));
  box-shadow: 0 0 14px oklch(78% 0.16 151 / 0.16);
}

.market-line span::before,
.market-line span::after {
  position: absolute;
  left: 50%;
  width: 2px;
  content: "";
  background: var(--green);
  transform: translateX(-50%);
}

.market-line span::before { top: -24px; height: 24px; }
.market-line span::after { bottom: -22px; height: 22px; }
.market-line span:nth-child(1) { height: 40px; margin-bottom: 12px; }
.market-line span:nth-child(2) { height: 58px; margin-bottom: 30px; }
.market-line span:nth-child(3) { height: 48px; margin-bottom: 48px; }
.market-line span:nth-child(4) { height: 70px; margin-bottom: 67px; }
.market-line span:nth-child(5) { height: 92px; margin-bottom: 86px; }
.market-line span:nth-child(6) { height: 112px; margin-bottom: 106px; }

.hero-copy-block::after {
  position: absolute;
  right: -14%;
  bottom: -34%;
  z-index: 0;
  width: 36rem;
  height: 36rem;
  border: 1px solid oklch(78% 0.16 151 / 0.12);
  border-radius: 999px;
  content: "";
  background: radial-gradient(circle, oklch(72% 0.15 151 / 0.055), transparent 64%);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 22px;
  padding: 9px 12px;
  border: 1px solid oklch(72% 0.16 151 / 0.34);
  border-radius: 999px;
  color: var(--green);
  background: oklch(14% 0.04 151 / 0.58);
  font-size: 0.86rem;
  font-weight: 800;
}


.hero-copy-block .status-pill {
  margin-bottom: 26px;
  padding: 8px 13px;
  border-color: oklch(72% 0.16 151 / 0.28);
  background: oklch(10% 0.03 151 / 0.42);
  font-size: 0.82rem;
}

.status-pill.compact { margin-bottom: 14px; padding: 7px 10px; font-size: 0.78rem; }
.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px oklch(78% 0.16 151 / 0.45);
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  position: relative;
  z-index: 1;
  max-width: none;
  margin-bottom: 22px;
  font-size: clamp(4.15rem, 5.55vw, 5.65rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

h1::after {
  display: block;
  width: 86px;
  height: 2px;
  margin-top: 20px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--green), transparent);
}

.hero-copy,
.section-heading p,
.reward-facts dt,
.metric-strip p,
.eligibility-card p,
.pool-grid p,
.pool-grid a,
.round-table span {
  color: var(--muted);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-bottom: 40px;
  color: oklch(78% 0.025 146);
  font-size: clamp(1.08rem, 1.25vw, 1.22rem);
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: -0.018em;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  text-decoration: none;
}

.secondary-link {
  border: 1px solid var(--line);
  color: var(--text);
  background: oklch(14% 0.035 286 / 0.76);
  box-shadow: none;
}

.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-left: 12px;
  padding: 0 12px;
  border: 1px solid oklch(78% 0.16 151 / 0.24);
  color: var(--green);
  background: oklch(14% 0.035 151 / 0.62);
  font-size: 0.86rem;
}

.reward-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-color: var(--line-green);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, oklch(70% 0.17 151 / 0.13), transparent 38%),
    linear-gradient(145deg, oklch(15.5% 0.035 286 / 0.97), oklch(11.5% 0.038 151 / 0.94));
}

.reward-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.reward-card-top strong { color: var(--green); font-size: 1.2rem; }

.reward-orb {
  position: relative;
  display: grid;
  width: min(58vw, 276px);
  height: min(58vw, 276px);
  place-items: center;
  align-self: center;
  background: transparent;
  isolation: isolate;
  overflow: visible;
}

.reward-orb::after {
  position: absolute;
  right: 18%;
  bottom: 9%;
  left: 18%;
  z-index: -1;
  height: 13%;
  border-radius: 999px;
  content: "";
  background: radial-gradient(ellipse, oklch(2% 0.02 292 / 0.55), transparent 70%);
  filter: blur(10px);
}

.reward-coin {
  display: block;
  width: 104%;
  height: 104%;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px oklch(3% 0.02 292 / 0.48)) drop-shadow(0 0 16px oklch(78% 0.17 151 / 0.1));
  animation: coinFloat 4.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes coinFloat {
  0%,
  100% { transform: translate3d(0, -14px, 0); }
  50% { transform: translate3d(0, 18px, 0); }
}

.reward-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.reward-facts div,
.claim-amount-card,
.check-list li {
  border: 1px solid oklch(100% 0 0 / 0.065);
  border-radius: 20px;
  background: oklch(11.5% 0.03 286 / 0.72);
}

.reward-facts div { padding: 14px; }
.reward-facts dd { margin: 6px 0 0; font-weight: 900; }

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

.metric-strip article {
  min-height: 92px;
  padding: 15px 16px;
  border-radius: 20px;
}

.metric-strip span,
.pool-grid span,
.claim-amount-card span,
.round-head span {
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.metric-strip strong {
  display: block;
  margin: 7px 0 3px;
  font-size: clamp(0.94rem, 1.15vw, 1.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.metric-strip p {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.35;
}

.claim-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
  margin: 22px 0;
}

.claim-main,
.eligibility-card,
.rules-grid article,
.pool-section,
.rounds-section,
.notice-section { border-radius: 28px; }

.claim-main {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  padding: 28px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.052em;
}

.section-heading.narrow { max-width: 660px; margin-bottom: 20px; }

.claim-amount-card {
  padding: 28px;
  background:
    radial-gradient(circle at 92% 0%, oklch(80% 0.17 151 / 0.1), transparent 14rem),
    oklch(12.5% 0.032 286 / 0.78);
}

.claim-amount-card strong {
  display: block;
  margin: 24px 0 8px;
  color: var(--green);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  overflow-wrap: anywhere;
}

.claim-button {
  width: 100%;
  margin-top: 26px;
  padding: 0 22px;
  font-size: 1rem;
}

.claim-button:disabled,
.wallet-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.eligibility-card {
  padding: 26px;
  border: 1px solid var(--line-green);
  background: linear-gradient(145deg, oklch(14.5% 0.038 151 / 0.86), oklch(12.5% 0.032 286 / 0.92));
}

.eligibility-card h3 { margin-bottom: 18px; font-size: 1.35rem; }

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 13px;
  padding: 15px;
}

.check-list strong { display: block; margin-bottom: 5px; }
.check-list p { margin: 0; overflow-wrap: anywhere; }

.check-dot {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--warning);
  box-shadow: 0 0 18px oklch(80% 0.16 82 / 0.35);
}

.check-dot.ok { background: var(--green); box-shadow: 0 0 18px oklch(80% 0.2 151 / 0.45); }
.check-dot.pending { background: var(--soft); box-shadow: none; }

.pool-section,
.rounds-section,
.rules-section,
.faq-section,
.notice-section {
  margin: 22px 0;
  padding: 30px;
  border: 1px solid var(--line);
  background: oklch(12.5% 0.032 286 / 0.76);
}

.rules-section {
  background:
    radial-gradient(circle at 8% 0%, oklch(72% 0.16 151 / 0.065), transparent 18rem),
    oklch(12.5% 0.032 286 / 0.76);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.rules-grid article,
.faq-grid article {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, oklch(15% 0.034 286 / 0.94), oklch(11.5% 0.033 151 / 0.78));
  box-shadow: 0 14px 42px oklch(5% 0.025 286 / 0.3);
  overflow: hidden;
}

.rules-grid article { min-height: 210px; }
.faq-grid article { min-height: 150px; border-radius: 26px; }

.rule-number {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid oklch(72% 0.16 151 / 0.3);
  border-radius: 999px;
  color: var(--green);
  background: oklch(14% 0.035 151 / 0.62);
  font-weight: 900;
}

.rules-grid strong {
  display: block;
  margin: 32px 0 10px;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.faq-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.rules-grid p,
.faq-grid p,
.notice-section p {
  color: var(--muted);
  line-height: 1.72;
}

.pool-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 14px;
}

.pool-grid article {
  padding: 22px;
  border-radius: 26px;
}

.pool-grid strong {
  display: block;
  margin: 14px 0;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.pool-grid a {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  text-decoration-color: oklch(78% 0.16 151 / 0.36);
}

.round-table {
  overflow: hidden;
  border-radius: 26px;
}

.round-head,
.round-row {
  display: grid;
  grid-template-columns: 0.7fr 0.9fr 1.15fr 1fr 1.2fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
}

.round-head { background: oklch(18% 0.06 292 / 0.9); }
.round-row { min-height: 72px; }
.round-row span { color: var(--text); font-weight: 780; overflow-wrap: anywhere; }

.notice-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  border-color: var(--line-green);
  background:
    radial-gradient(circle at 95% 50%, oklch(72% 0.16 151 / 0.09), transparent 20rem),
    linear-gradient(145deg, oklch(14.5% 0.036 286 / 0.88), oklch(11.5% 0.034 151 / 0.74));
}

.notice-section h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.notice-section p:last-child {
  margin: 0;
  font-size: 1.04rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .topbar { position: static; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; }
  .hero-shell,
  .claim-layout,
  .claim-main,
  .rules-grid,
  .faq-grid,
  .notice-section,
  .pool-grid { grid-template-columns: 1fr; }
  .reward-card,
  .hero-copy-block { min-height: auto; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-strip article { min-height: 92px; }
  .metric-strip strong { font-size: clamp(1.05rem, 2vw, 1.24rem); }
  .metric-strip p { font-size: 0.76rem; }
}

@media (max-width: 620px) {
  .topbar,
  main,
  .footer { width: min(100% - 22px, 1180px); }
  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  .brand strong { font-size: 0.95rem; }
  .brand small { font-size: 0.72rem; }
  .wallet-button {
    min-height: 46px;
    padding: 0 14px;
  }
  .nav-links a { flex: 1; justify-content: center; }
  .hero-shell { padding-top: 24px; }
  .hero-copy-block { padding-right: 18px; }
  .market-line { right: -8%; width: 46%; opacity: 0.12; }
  h1 {
    max-width: none;
    font-size: clamp(2.85rem, 12vw, 3.45rem);
    line-height: 0.98;
    letter-spacing: -0.052em;
    white-space: normal;
    overflow-wrap: normal;
  }
  h1::after { width: 64px; margin-top: 16px; }
  .hero-copy { max-width: 280px; font-size: 1rem; line-height: 1.56; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions a { justify-content: center; }
  .reward-orb { width: min(58vw, 188px); height: min(58vw, 188px); }
  .hero-copy-block,
  .reward-card,
  .claim-main,
  .eligibility-card,
  .rules-section,
  .faq-section,
  .pool-section,
  .rounds-section,
  .notice-section { border-radius: 24px; padding: 20px; }
  .reward-facts { grid-template-columns: 1fr; }
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .metric-strip article {
    min-height: 104px;
    padding: 13px;
    border-radius: 20px;
  }
  .metric-strip strong {
    font-size: clamp(1.08rem, 5vw, 1.28rem);
  }
  .metric-strip p { font-size: 0.8rem; }
  .rules-grid article { min-height: auto; padding: 18px; }
  .faq-grid article { min-height: auto; padding: 18px; }
  .rules-grid strong { margin-top: 22px; }
  .round-head { display: none; }
  .round-row { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .data-stream { display: none; }
}
