*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
 
:root {
  --lime: #b6ff00;
  --lime-dim: rgba(182,255,0,0.18);
  --lime-glow: rgba(182,255,0,0.32);
  --emerald: #27ff42;
  --bg-base: #060a08;
  --bg-card: rgba(11,18,14,0.92);
  --bg-panel: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --border-lime: rgba(182,255,0,0.2);
  --text: #f0f4f1;
  --text-muted: #8a9e92;
  --text-dim: #5a6e62;
  --radius: 20px;
  --radius-sm: 12px;
}
 
html { scroll-behavior: smooth; }
 
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-base);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
 
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 75% 5%, rgba(132,255,0,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 85%, rgba(0,255,100,0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
 
/* ── HEADER ── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: rgba(6,10,8,0.82);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
 
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--lime), var(--emerald));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 0.7rem;
  color: #071007;
  letter-spacing: 0.05em;
}
.brand h1 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.02em;
}
.brand p { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
 
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.15s ease;
}
.nav-links a:hover { background: var(--bg-panel); color: var(--text); }
 
.btn-connect {
  padding: 9px 20px;
  border: none; border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.82rem;
  background: linear-gradient(135deg, var(--lime), var(--emerald));
  color: #071007;
  cursor: pointer;
  transition: 0.18s ease;
  box-shadow: 0 0 20px var(--lime-glow);
}
.btn-connect:hover { transform: translateY(-1px); box-shadow: 0 0 32px rgba(182,255,0,0.5); }
 

.hero-wrap {
  position: relative; z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px 48px;
}
 
.hero-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
 
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(182,255,0,0.1);
  border: 1px solid var(--border-lime);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}
 
.hero-left h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-left h2 span { color: var(--lime); }
 
.hero-text {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}
 
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  padding: 12px 26px;
  border: none; border-radius: 12px;
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.9rem;
  background: linear-gradient(135deg, var(--lime), var(--emerald));
  color: #071007;
  cursor: pointer;
  transition: 0.18s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 28px var(--lime-glow); }
.btn-ghost {
  padding: 12px 26px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.15s ease;
  display: inline-flex; align-items: center;
}
.btn-ghost:hover { border-color: var(--border-lime); color: var(--text); }
 
.stats-row {
  display: flex; gap: 28px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--lime);
}
.stat span { font-size: 0.78rem; color: var(--text-muted); }
 

.payment-panel {
  background: rgba(13,20,16,0.9);
  border: 1px solid var(--border-lime);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(30px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(182,255,0,0.06);
}
 
.panel-header {
  padding: 20px 24px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.panel-dots { display: flex; gap: 6px; }
.panel-dots span { width: 10px; height: 10px; border-radius: 50%; }
.panel-dots span:nth-child(1) { background: #ff5f57; }
.panel-dots span:nth-child(2) { background: #febc2e; }
.panel-dots span:nth-child(3) { background: #28c840; }
.panel-title {
  font-size: 0.75rem; color: var(--text-dim);
  font-family: 'Syne', sans-serif; letter-spacing: 0.08em;
}
.panel-qr {
  font-size: 0.7rem; color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 6px; padding: 3px 8px;
  cursor: pointer;
}
 
.panel-body { padding: 20px 24px 24px; }
 
.panel-heading {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 18px;
}
 
.quick-vote {
  display: flex; gap: 8px; margin-bottom: 20px;
}
.qv-btn {
  flex: 1; padding: 9px 6px;
  border-radius: 10px; border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem; font-weight: 600;
  cursor: pointer; transition: 0.15s;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.qv-btn .qv-icon { font-size: 1rem; }
.qv-btn:hover { border-color: var(--border-lime); color: var(--text); }
.qv-btn.for    { border-color: rgba(39,255,66,0.3); color: var(--emerald); background: rgba(39,255,66,0.05); }
.qv-btn.against { border-color: rgba(255,80,80,0.3); color: #ff5050; background: rgba(255,80,80,0.05); }
.qv-btn.abstain { border-color: rgba(255,255,255,0.12); color: #94a3b8; }
 
.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0;
  font-size: 0.75rem; color: var(--text-dim);
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
 
.field { margin-bottom: 14px; }
.field label {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.required { color: var(--lime); }
 
.input-wrap { position: relative; }
.input-wrap input {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: 0.15s;
}
.input-wrap input:focus {
  border-color: var(--border-lime);
  background: rgba(182,255,0,0.04);
}
.input-wrap input::placeholder { color: var(--text-dim); }
.input-icon {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-dim); font-size: 0.8rem; cursor: pointer;
}
 
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
 
.votes-section { margin: 18px 0 14px; }
.votes-label {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: var(--text-muted);
  margin-bottom: 8px;
}
.votes-bar {
  height: 8px; border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  display: flex;
}
.vb-for     { background: var(--emerald); transition: width 0.6s ease; }
.vb-against { background: #ef4444;        transition: width 0.6s ease; }
.vb-abstain { background: #475569;        transition: width 0.6s ease; }
.votes-counts {
  display: flex; gap: 14px; margin-top: 10px;
  font-size: 0.72rem;
}
.vc { display: flex; align-items: center; gap: 5px; color: var(--text-muted); }
.vc-dot { width: 7px; height: 7px; border-radius: 50%; }
 
.total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-top: 1px solid var(--border);
  margin: 16px 0 14px;
}
.total-label { font-size: 0.82rem; color: var(--text-muted); }
.total-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--lime);
}
 
.btn-submit {
  width: 100%; padding: 14px;
  border: none; border-radius: 12px;
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  background: linear-gradient(135deg, var(--lime), var(--emerald));
  color: #071007;
  cursor: pointer;
  transition: 0.18s ease;
  letter-spacing: 0.02em;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 0 28px var(--lime-glow); }
 
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700;
  background: rgba(39,255,66,0.1);
  color: var(--emerald);
  border: 1px solid rgba(39,255,66,0.2);
}
.status-badge::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--emerald);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
 

.features-wrap {
  position: relative; z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 64px;
}
 
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
 
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: 0.2s ease;
}
.feature-card:hover { border-color: var(--border-lime); transform: translateY(-2px); }
 
.feat-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem; font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }
 
#app {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px 64px;
  display: flex; flex-direction: column; gap: 20px;
}
 
.app-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(18px);
}
 
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
 
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.info-label { font-size: 0.68rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.info-val   { font-size: 0.95rem; font-weight: 600; word-break: break-all; }
.mono { font-family: ui-monospace, monospace; font-size: 0.76rem; }
 
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row input {
  flex: 1; min-width: 200px; padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  outline: none; transition: 0.15s;
}
.form-row input:focus { border-color: var(--border-lime); }
.form-row input::placeholder { color: var(--text-dim); }
 
.btn-action {
  padding: 11px 20px;
  border: none; border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.82rem;
  background: linear-gradient(135deg, var(--lime), var(--emerald));
  color: #071007; cursor: pointer; transition: 0.18s ease;
}
.btn-action:hover { transform: translateY(-1px); }
.btn-action.secondary {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn-action.secondary:hover { border-color: var(--border-lime); color: var(--text); }
 
.status-msg     { margin-top: 10px; font-size: 0.82rem; color: var(--emerald); }
.status-msg.err { color: #ff5050; }
 

.proposal-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; margin-top: 14px;
}
.proposal-card h3 {
  font-size: 0.95rem; margin-bottom: 10px;
  font-family: 'Syne', sans-serif;
}
.proposal-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.proposal-meta span {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.72rem; color: var(--text-muted);
}
 
.state-badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  margin-left: 8px;
}
.state-0 { background: #1e293b; color: #94a3b8; }
.state-1 { background: #052e16; color: #86efac; }
.state-2 { background: #450a0a; color: #fca5a5; }
.state-3 { background: #450a0a; color: #fca5a5; }
.state-4 { background: #1a2e05; color: #bef264; }
.state-5 { background: #431407; color: #fed7aa; }
.state-6 { background: #022c22; color: #6ee7b7; }
.state-7 { background: #2e1065; color: #e9d5ff; }
 
.prop-votes-bar {
  height: 8px; border-radius: 999px;
  overflow: hidden; background: rgba(255,255,255,0.06);
  display: flex; margin: 12px 0;
}
.pv-for     { background: var(--emerald); }
.pv-against { background: #ef4444; }
.pv-abstain { background: #475569; }
 
.vote-btns { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.vote-for     { background: linear-gradient(135deg, var(--lime), #22c55e); color: #071007; }
.vote-against { background: linear-gradient(135deg, #ff6b6b, #dc2626); color: white; }
.vote-abstain { background: linear-gradient(135deg, #cbd5e1, #64748b); color: #020617; }
 

footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(4,7,5,0.8);
  backdrop-filter: blur(20px);
  padding: 28px 40px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
footer strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  display: block; margin-bottom: 4px;
}
footer p { font-size: 0.75rem; color: var(--text-muted); }
.footer-chain {
  font-size: 0.72rem; color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 12px;
  font-family: ui-monospace, monospace;
}
 

#overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; backdrop-filter: blur(6px);
}
#overlayMsg {
  background: rgba(13,20,16,0.96);
  border: 1px solid var(--border-lime);
  box-shadow: 0 0 60px rgba(182,255,0,0.2);
  padding: 32px 48px; border-radius: 20px;
  font-family: 'Syne', sans-serif; font-size: 1rem;
  color: var(--text);
}
 
@media (max-width: 900px) {
  .hero-split        { grid-template-columns: 1fr; }
  .features-grid     { grid-template-columns: 1fr; }
  .topbar            { padding: 12px 20px; }
  .nav-links         { display: none; }
}
 
