:root {
  --bg: #000000;
  --bg-card: #121212;
  --bg-elevated: #1a1a1a;
  --border: #2a2a2a;
  --text: #fafafa;
  --muted: #909090;
  --lime: #bcff2f;
  --lime-dim: #9ed926;
  --yes: #bcff2f;
  --no: #ff4d4f;
  --radius: 12px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}
body {
  background:
    linear-gradient(180deg, rgba(188,255,47,.04) 0%, transparent 28%),
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(188,255,47,.08), transparent),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px),
    var(--bg);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px, 100% 100%;
  background-attachment: fixed;
}
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.94);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  color: var(--text);
  text-decoration: none;
}
.logo-wrap:hover { text-decoration: none; }
.logo-wrap .logo-label { color: var(--muted); font-weight: 500; }
.okx-logo-img { display: block; width: 82px; height: 36px; flex-shrink: 0; object-fit: contain; }
.nav-links { display: flex; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a { color: inherit; text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.is-active { color: var(--lime); }
.header-cta {
  background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: 14px; cursor: pointer;
  transition: border-color .15s, background .15s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.header-cta:hover { border-color: rgba(188,255,47,.4); background: rgba(188,255,47,.06); }

.ticker-bar {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: rgba(18,18,18,.85);
  padding: 10px 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 40s linear infinite;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 8px; }
.ticker-track .up { color: var(--lime); }
.ticker-track .sep { color: var(--border); }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.page { max-width: 1100px; margin: 0 auto; padding: 32px 20px 64px; }
.page-wide { max-width: 1200px; }

.hero-card {
  background: linear-gradient(145deg, #161616 0%, #0d0d0d 55%, #111 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute; inset: -40% auto auto -20%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(188,255,47,.12), transparent 70%);
  pointer-events: none;
}
.hero-top { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; position: relative; }
.token-avatar {
  width: 88px; height: 88px; border-radius: 16px;
  border: 2px solid var(--border); object-fit: cover; background: #222;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(188,255,47,.12); color: var(--lime);
  border: 1px solid rgba(188,255,47,.25);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600;
  margin-bottom: 12px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.hero-title { font-size: clamp(24px, 4vw, 36px); font-weight: 700; line-height: 1.15; margin-bottom: 8px; }
.hero-title .sym { color: var(--lime); }
.hero-sub { color: var(--muted); font-size: 15px; max-width: 620px; line-height: 1.5; }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 24px 0;
}
.stat-box {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
}
.stat-box span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.stat-box strong { font-size: 22px; font-weight: 700; }

.vote-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}
.vote-main { min-width: 0; }

.token-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  position: sticky;
  top: 88px;
}
.token-sidebar h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.detail-row:last-child { border-bottom: 0; }
.detail-row span { color: var(--muted); }
.detail-row strong { font-weight: 600; }
.detail-row a { color: var(--lime); text-decoration: none; }
.detail-row a:hover { text-decoration: underline; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(188,255,47,.12);
  color: var(--lime);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
}
.status-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 1.2s infinite;
}

.vote-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px;
}
.vote-btn {
  border: 0; border-radius: var(--radius); padding: 18px 20px;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .15s, opacity .15s;
}
.vote-btn:hover { transform: translateY(-1px); }
.vote-btn:active { transform: translateY(0); }
.vote-btn-yes { background: var(--lime); color: #000; }
.vote-panel .interact-button {
  border: 0; border-radius: var(--radius); padding: 18px 20px;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .15s, opacity .15s;
  background: var(--lime); color: #000;
}
.vote-panel .interact-button:hover { transform: translateY(-1px); }
.vote-panel .interact-button:active { transform: translateY(0); }
.vote-btn-no { background: #2a1214; color: #ff8a8c; border: 1px solid #4a2024; }

.progress-block { margin-top: 20px; }
.progress-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.progress-bar {
  height: 10px; border-radius: 999px; background: #2a2a2a; overflow: hidden;
  display: flex;
}
.progress-yes { background: linear-gradient(90deg, var(--lime-dim), var(--lime)); transition: width .6s ease; }
.progress-no { background: #ff4d4f; transition: width .6s ease; }

.live-section { margin-top: 36px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { font-size: 20px; font-weight: 700; }
.section-desc { color: var(--muted); font-size: 14px; margin-top: 4px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--lime); font-weight: 600;
}
.live-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  animation: pulse 1.2s infinite;
}

.live-table-wrap {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: var(--bg-card);
}
.live-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.live-table thead { background: #181818; color: var(--muted); text-align: left; }
.live-table th, .live-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
.live-table tbody tr { animation: rowIn .35s ease; }
.live-table tbody tr:hover { background: rgba(255,255,255,.02); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.addr { font-family: "Space Mono", monospace; color: #d6d6d6; }
.vote-tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 11px;
}
.vote-tag.yes { background: rgba(188,255,47,.15); color: var(--lime); }
.vote-tag.no { background: rgba(255,77,79,.15); color: #ff8a8c; }
.time-col { color: var(--muted); white-space: nowrap; }

.listing-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.list-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px; display: flex; gap: 14px; align-items: center; transition: border-color .2s, transform .15s;
  color: inherit; text-decoration: none;
}
.list-card:hover { border-color: rgba(188,255,47,.35); text-decoration: none; transform: translateY(-2px); }
.list-card img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.list-card h3 { font-size: 16px; margin-bottom: 4px; }
.list-card p { color: var(--muted); font-size: 13px; }

.steps-section { margin: 48px 0; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(188,255,47,.15);
  color: var(--lime);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 13px; line-height: 1.55; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 48px;
}
.info-card {
  background: linear-gradient(160deg, var(--bg-card) 0%, #0e0e0e 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.info-card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(188,255,47,.1);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.info-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.info-card ul {
  list-style: none;
  margin-top: 10px;
}
.info-card li {
  color: var(--muted);
  font-size: 13px;
  padding: 5px 0;
  padding-left: 14px;
  position: relative;
}
.info-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 40px 24px 28px;
  background: rgba(8,8,8,.6);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 12px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--text);
  font-size: 13px;
  padding: 5px 0;
  text-decoration: none;
  opacity: .75;
  transition: opacity .15s, color .15s;
}
.footer-col a:hover { opacity: 1; color: var(--lime); text-decoration: none; }
.footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .vote-layout { grid-template-columns: 1fr; }
  .token-sidebar { position: static; }
  .steps-grid, .info-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .vote-panel { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
