:root {
  --gold: #F3BA2F;
  --gold-bright: #F8CB4A;
  --gold-dark: #C8880A;
  --red: #E5484D;
  --bg: #070707;
  --bg-card: #111111;
  --bg-elevated: #181818;
  --border: #262626;
  --text: #F2F2F2;
  --text-dim: #9A9A9A;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans SC", "Chakra Petch", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

em { font-style: normal; color: var(--gold); }

a { color: var(--gold); text-decoration: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,7,7,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1080px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand-logo { width: 34px; height: 34px; border-radius: 8px; }
.brand-name { font-family: "Chakra Petch", sans-serif; font-weight: 700; letter-spacing: 1px; }
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a { color: var(--text-dim); font-size: 14px; transition: color .15s; white-space: nowrap; }
.nav a:hover { color: var(--gold); }
.header-actions { display: flex; gap: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700;
  padding: 10px 18px; border-radius: 10px;
  transition: transform .1s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dark));
  color: #100B00;
  box-shadow: 0 0 18px rgba(243,186,47,.25);
}
.btn-gold:hover { box-shadow: 0 0 26px rgba(243,186,47,.45); }
.btn-gold:disabled { filter: grayscale(.8); opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline:hover { background: rgba(243,186,47,.1); }
.btn-ghost { background: var(--bg-elevated); color: var(--text-dim); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--gold); border-color: var(--gold-dark); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 72px 20px 56px; }
.hero-logo {
  width: 340px; height: 340px; max-width: 82vw; max-height: 82vw;
  border-radius: 24px;
  filter: drop-shadow(0 0 42px rgba(243,186,47,.35));
  animation: float 5s ease-in-out infinite;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-title {
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 700; letter-spacing: 4px; margin-top: 12px;
}
.hero-sub { color: var(--text-dim); font-size: clamp(15px, 2.4vw, 18px); margin-top: 10px; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  margin: 48px auto 0; max-width: 760px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.stat {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 10px;
}
.stat-num {
  display: block; font-family: "Chakra Petch", sans-serif;
  font-size: clamp(22px, 4vw, 32px); font-weight: 700; color: var(--gold);
}
.stat-label { font-size: 13px; color: var(--text-dim); }

/* ---------- sections ---------- */
.section { max-width: 1080px; margin: 0 auto; padding: 56px 20px; }
.section-title {
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(26px, 4.6vw, 36px); text-align: center;
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 3px;
  background: var(--gold); margin: 12px auto 0; border-radius: 2px;
}
.section-sub { text-align: center; color: var(--text-dim); margin-top: 12px; font-size: 14px; }

/* ---------- pools ---------- */
.pools-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; margin-top: 34px;
}
.pool-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
}
.pool-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.pool-badge {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--gold); background: rgba(243,186,47,.12);
  border: 1px solid rgba(243,186,47,.35);
  padding: 4px 12px; border-radius: 999px;
}
.badge-red { color: #FF8589; background: rgba(229,72,77,.12); border-color: rgba(229,72,77,.4); }
.pool-req { margin: 16px 0 6px; font-size: 20px; }
.pool-meta { list-style: none; margin: 14px 0 18px; }
.pool-meta li {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px dashed var(--border);
  font-size: 14px; color: var(--text-dim);
}
.pool-meta strong { color: var(--text); font-family: "Chakra Petch", sans-serif; }
.progress {
  height: 10px; background: var(--bg-elevated); border-radius: 999px; overflow: hidden;
  border: 1px solid var(--border);
}
.progress-bar {
  height: 100%; border-radius: 999px; width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright));
  transition: width .6s ease;
}
.bar-red { background: linear-gradient(90deg, #A63235, var(--red)); }
.progress-label { margin-top: 8px; font-size: 13px; color: var(--text-dim); text-align: right; }
.progress-label span:first-child { color: var(--gold); font-weight: 700; }
.pool-note {
  margin-top: 22px; text-align: center; font-size: 13px; color: var(--text-dim);
  background: var(--bg-card); border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 12px 18px;
}

/* ---------- checker ---------- */
.checker { max-width: 680px; margin: 30px auto 0; }
.checker-row { display: flex; gap: 10px; }
.addr-input {
  flex: 1; min-width: 0;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: "Chakra Petch", monospace; font-size: 14px;
  padding: 12px 14px; outline: none; transition: border-color .15s;
}
.addr-input:focus { border-color: var(--gold); }
.check-result {
  margin-top: 18px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-card);
  padding: 22px;
}
.check-result.hidden { display: none; }
.result-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.result-addr { font-family: "Chakra Petch", monospace; font-size: 13px; color: var(--text-dim); word-break: break-all; }
.result-title { font-size: 20px; font-weight: 700; margin-top: 6px; }
.result-title.ok { color: var(--gold); }
.result-title.no { color: var(--text-dim); }
.result-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.result-stat {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; font-size: 13px; color: var(--text-dim);
}
.result-stat b { display: block; font-size: 18px; color: var(--text); font-family: "Chakra Petch", sans-serif; }
.claim-rows { margin-top: 16px; display: grid; gap: 10px; }
.claim-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; flex-wrap: wrap;
}
.claim-row .claim-info { font-size: 14px; }
.claim-row .claim-info small { display: block; color: var(--text-dim); }
.claim-hint { margin-top: 14px; font-size: 13px; color: var(--text-dim); }

/* ---------- rules ---------- */
.rules-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; margin-top: 32px;
}
.rule-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.rule-card h4 { color: var(--gold); margin-bottom: 8px; font-size: 16px; }
.rule-card p { font-size: 14px; color: var(--text-dim); }

/* ---------- tokenomics ---------- */
.tok-bar {
  display: flex; height: 46px; border-radius: 12px; overflow: hidden;
  margin-top: 32px; border: 1px solid var(--border);
}
.tok-seg {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  color: #100B00; font-weight: 700; font-family: "Chakra Petch", sans-serif;
}
.seg-red { background: linear-gradient(180deg, #E5484D, #A63235); color: #fff; }
.seg-dark { background: var(--bg-elevated); color: var(--text-dim); }
.tok-legend {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  margin-top: 16px; font-size: 13px; color: var(--text-dim);
}
.tok-legend > span { display: flex; align-items: center; gap: 7px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-gold { background: var(--gold); }
.dot-red { background: var(--red); }
.dot-dark { background: var(--bg-elevated); border: 1px solid var(--border); }

/* ---------- faq ---------- */
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  margin-top: 12px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 20px; font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 16px; color: var(--text-dim); font-size: 14px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border); margin-top: 40px;
  padding: 40px 20px 48px; text-align: center;
}
.footer-logo { width: 54px; height: 54px; opacity: .9; border-radius: 10px; }
.footer-links { margin-top: 14px; font-size: 14px; }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--gold); }
.footer-disclaimer { margin: 16px auto 0; max-width: 640px; font-size: 12px; color: #6a6a6a; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  background: var(--bg-elevated); border: 1px solid var(--gold-dark);
  color: var(--text); font-size: 14px;
  padding: 12px 20px; border-radius: 10px; z-index: 100;
  box-shadow: 0 6px 30px rgba(0,0,0,.6);
  max-width: 90vw;
}
.toast.hidden { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; row-gap: 8px; padding: 10px 14px; }
  .nav { order: 3; width: 100%; margin-left: 0; justify-content: center; gap: 16px; }
  .nav a { font-size: 13px; }
  .header-actions { margin-left: auto; }
  .hero { padding-top: 48px; }
  .hero-logo { width: 160px; height: 160px; }
  .hero-stats { grid-template-columns: 1fr; }
  .checker-row { flex-direction: column; }
  .result-stats { grid-template-columns: 1fr; }
  .tok-seg span { font-size: 12px; }
}
