:root {
  --bg: #100e0a;
  --bg2: #16130d;
  --panel: #1b1712;
  --panel2: #211c14;
  --line: #2e2820;
  --line2: #3d3527;
  --text: #f2efe6;
  --muted: #a79d8a;
  --faint: #7d7462;
  --gold: #e8b34b;
  --gold2: #f2c94c;
  --gold-deep: #9a7420;
  --teal: #8ed0c5;
  --red: #e08a68;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1100px 520px at 50% -120px, rgba(232, 179, 75, 0.13), rgba(16, 14, 10, 0) 62%), var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--gold2); text-decoration: none; }
a:hover { text-decoration: underline; }
b, strong { color: var(--text); }
.muted { color: var(--muted); }
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16, 14, 10, 0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 920px; margin: 0 auto; padding: 10px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.top-brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.top-brand:hover { text-decoration: none; }
.top-brand img { width: 34px; height: 34px; }
.top-name { font-weight: 800; font-size: 20px; letter-spacing: 2px; }
.top-tag { color: var(--faint); font-size: 13px; }
.top-right { display: flex; align-items: center; gap: 10px; }
.contract-pill {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px;
  border: 1px solid var(--line2); border-radius: 999px; padding: 4px 10px; color: var(--muted);
}
.contract-pill b { color: var(--gold2); font-weight: 600; }
.lang-switch { display: flex; border: 1px solid var(--line2); border-radius: 8px; overflow: hidden; }
.lang-switch button {
  background: transparent; color: var(--muted); border: 0; padding: 5px 11px;
  font-size: 13px; cursor: pointer; font-family: inherit;
}
.lang-switch button.active { background: var(--gold); color: #171204; font-weight: 700; }
.column { max-width: 920px; margin: 0 auto; padding: 0 18px 30px; }
.hero { text-align: center; padding: 54px 10px 30px; }
.hero-egg { width: 132px; height: 158px; margin: 0 auto 8px; filter: drop-shadow(0 0 34px rgba(242, 201, 76, 0.35)); }
.eyebrow {
  color: var(--gold); font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; margin: 10px 0 6px;
}
.hero h1 { font-size: 46px; line-height: 1.16; margin: 8px 0 14px; font-weight: 800; letter-spacing: 0.2px; }
.hero-sub { color: var(--muted); max-width: 680px; margin: 0 auto 22px; font-size: 17px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.btn {
  display: inline-block; border-radius: 10px; padding: 11px 20px; font-size: 15px; font-weight: 700;
  cursor: pointer; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); font-family: inherit;
}
.btn:hover { text-decoration: none; border-color: var(--gold-deep); }
.btn-primary { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1c1403; border-color: var(--gold-deep); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; margin-top: 10px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.stat-chips { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.chip {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 20px; min-width: 168px; text-align: center;
}
.chip b { display: block; font-size: 23px; color: var(--gold2); font-weight: 800; }
.chip span { color: var(--muted); font-size: 13px; }
.hero-deadline { color: var(--faint); font-size: 13.5px; margin-top: 16px; }
.hero-deadline b { color: var(--muted); font-weight: 600; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line2);
  border-radius: 999px; padding: 5px 13px; font-size: 13px; color: var(--muted);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); display: inline-block; }
.pill[data-state="live"] i { background: var(--gold2); box-shadow: 0 0 8px var(--gold2); }
.pill[data-state="launched"] i { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.pill[data-state="ended"] i { background: var(--red); }
.section { padding: 34px 0 6px; }
.section-head h2 { font-size: 31px; margin: 0 0 8px; font-weight: 800; }
.section-head p { color: var(--muted); margin: 0 0 20px; max-width: 720px; }
.card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 19px; }
.card-note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.progress-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.progress-number { font-size: 34px; font-weight: 800; }
.progress-number em { font-style: normal; color: var(--faint); font-size: 19px; font-weight: 600; }
.progress-remain { color: var(--muted); font-size: 14px; margin-top: 2px; }
.countdown-chip { color: var(--muted); font-size: 14px; }
.countdown-chip b { color: var(--gold2); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.progress { background: #0c0a07; border: 1px solid var(--line); border-radius: 999px; height: 14px; margin: 14px 0 16px; overflow: hidden; }
.progress.slim { height: 8px; margin: 8px 0; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-deep), var(--gold2)); border-radius: 999px; transition: width 0.8s ease; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 16px; }
.facts div { background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; }
.facts span { display: block; color: var(--muted); font-size: 13px; }
.facts b { font-size: 16px; }
.field-label { display: block; color: var(--muted); font-size: 13.5px; margin: 14px 0 6px; font-weight: 600; }
.field-label .muted { font-weight: 400; }
input[type="text"], textarea {
  width: 100%; background: #0d0b08; border: 1px solid var(--line2); border-radius: 10px;
  color: var(--text); padding: 11px 13px; font-size: 15px; font-family: inherit;
}
textarea { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.55; resize: vertical; }
input[type="text"]:focus, textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(232, 179, 75, 0.15); }
.qty-row { display: flex; gap: 8px; align-items: stretch; }
.qty-row button {
  width: 46px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel2);
  color: var(--text); font-size: 20px; cursor: pointer;
}
.qty-row input { text-align: center; font-size: 17px; font-weight: 700; }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 4px; }
.summary div { border-top: 1px solid var(--line); padding-top: 9px; }
.summary dt { color: var(--muted); font-size: 13px; }
.summary dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; }
.summary { margin-left: 0; }
dl.summary { margin-top: 16px; }
.split-bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); margin: 12px 0 10px; }
.split-a { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.split-b { background: #4c4231; }
.split-legend { display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.split-legend b { color: var(--text); }
.check-row { display: flex; gap: 9px; }
.check-row input { flex: 1; }
.egg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 18px; }
.egg-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.egg-card-head { display: flex; justify-content: space-between; align-items: center; }
.egg-card-head b { font-size: 16.5px; }
.egg-badge { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; border: 1px solid var(--line2); color: var(--muted); }
.egg-badge.active { color: #1c1403; background: var(--gold2); border-color: var(--gold-deep); }
.egg-badge.expired { color: var(--faint); }
.egg-badge.done { color: var(--teal); border-color: var(--teal); }
.egg-meta { color: var(--muted); font-size: 13.5px; margin: 7px 0 0; }
.live-empty { padding: 8px 0 4px; }
.steps { margin: 0 0 6px; padding-left: 22px; color: var(--muted); }
.steps li { margin-bottom: 7px; }
.steps li::marker { color: var(--gold); font-weight: 700; }
table.tiers { width: 100%; border-collapse: collapse; margin-top: 8px; }
table.tiers th, table.tiers td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
table.tiers th { color: var(--muted); font-weight: 600; font-size: 13.5px; }
table.tiers td b { color: var(--gold2); }
.alloc-bar { display: flex; height: 20px; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); margin: 14px 0 10px; }
.alloc-sale { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.alloc-bounty { background: #6d5a2e; }
.chip-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 4px; }
.chip-row .chip { flex: 1; min-width: 150px; }
.chart-box {
  border: 1px dashed var(--line2); border-radius: var(--radius); padding: 34px 22px; text-align: center; color: var(--muted);
  background: rgba(0, 0, 0, 0.22);
}
.chart-box b { display: block; color: var(--text); font-size: 18px; margin-bottom: 6px; }
.contracts-list { display: flex; flex-direction: column; }
.contract-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.contract-row:last-child { border-bottom: 0; }
.contract-row .ct-name { width: 190px; color: var(--muted); font-size: 14.5px; flex-shrink: 0; }
.contract-row .ct-addr { flex: 1; min-width: 220px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; word-break: break-all; }
.contract-row .ct-addr a { color: var(--gold2); }
.addr-copy { padding: 6px 13px; font-size: 13px; }
.faq-list details { border: 1px solid var(--line); border-radius: 10px; padding: 13px 17px; margin-bottom: 10px; background: var(--panel); }
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 16px; }
.faq-list details p { color: var(--muted); margin: 9px 0 3px; }
.site-footer { border-top: 1px solid var(--line); margin-top: 44px; padding: 30px 18px 40px; text-align: center; }
.site-footer img { width: 46px; height: 55px; }
.footer-name { font-weight: 800; letter-spacing: 2px; margin: 8px 0 4px; }
.site-footer p { color: var(--muted); margin: 5px auto; max-width: 620px; font-size: 14.5px; }
@media (max-width: 640px) {
  .hero h1 { font-size: 33px; }
  .facts { grid-template-columns: 1fr; }
  .summary { grid-template-columns: 1fr; }
  .top-tag { display: none; }
  .contract-row .ct-name { width: 100%; }
  .chip { min-width: 140px; flex: 1; }
}
