/* VoltMiner website — dark theme, electric-volt accent. */
:root {
  --bg:        #0d0e12;
  --bg-2:      #15161d;
  --bg-3:      #1d1f29;
  --border:    #2a2d3a;
  --text:      #e7e9ee;
  --muted:     #9aa0ad;
  --volt:      #ffd21e;   /* electric yellow */
  --volt-dim:  #b89200;
  --green:     #34d27b;
  --red:       #ff5a5a;
  --radius:    14px;
  --maxw:      1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--volt); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ── Nav ───────────────────────────────────────────── */
header.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13,14,18,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.brand .bolt { color: var(--volt); font-size: 1.4rem; }
.nav nav { display: flex; gap: 22px; align-items: center; }
.nav nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-block; background: var(--volt); color: #1a1500;
  padding: 10px 18px; border-radius: 999px; font-weight: 700;
  border: none; cursor: pointer; transition: transform .08s ease, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 6px 24px rgba(255,210,30,0.25); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }

/* ── Hero ──────────────────────────────────────────── */
.hero { padding: 90px 0 70px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% 0 auto 0; height: 480px;
  background: radial-gradient(closest-side, rgba(255,210,30,0.12), transparent);
  pointer-events: none;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 850; letter-spacing: -1px; }
.hero h1 .volt { color: var(--volt); }
.hero p.sub { color: var(--muted); font-size: 1.2rem; max-width: 640px; margin: 18px auto 28px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pill { display:inline-block; padding:6px 14px; border:1px solid var(--border); border-radius:999px; color:var(--muted); font-size:.85rem; margin-bottom:22px; }

/* ── Sections ──────────────────────────────────────── */
section { padding: 64px 0; border-top: 1px solid var(--border); }
section h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 8px; }
section .lead { color: var(--muted); margin-bottom: 34px; max-width: 640px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card .ic { font-size: 1.6rem; margin-bottom: 10px; }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.96rem; }

.fee {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; gap: 26px; flex-wrap: wrap; align-items: center;
}
.fee .big { font-size: 3rem; font-weight: 850; color: var(--volt); line-height: 1; }
.fee .big small { font-size: 1rem; color: var(--muted); display:block; font-weight:600; }
.fee ul { color: var(--muted); margin-left: 18px; }

/* ── Leaderboard ───────────────────────────────────── */
.tabs { display: flex; gap: 8px; margin: 0 0 18px; }
.tab {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--muted); cursor: pointer; font-weight: 600;
}
.tab.active { background: var(--volt); color: #1a1500; border-color: var(--volt); }

.lb-meta { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:14px; color:var(--muted); font-size:.92rem; }
.countdown { color: var(--volt); font-weight: 700; }

table.lb { width: 100%; border-collapse: collapse; background: var(--bg-2); border-radius: var(--radius); overflow: hidden; }
table.lb th, table.lb td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.lb th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
table.lb tr:last-child td { border-bottom: none; }
table.lb td.rank { font-weight: 800; width: 56px; }
table.lb tr.top5 td.rank { color: var(--volt); }
table.lb td.num { text-align: right; font-variant-numeric: tabular-nums; }
.flag { margin-right: 8px; }
.badge { background: rgba(52,210,123,0.15); color: var(--green); padding: 3px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.note { color: var(--muted); font-size: .85rem; margin-top: 14px; }

/* ── Footer ────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav nav a:not(.btn) { display: none; }
  .hero { padding: 60px 0 44px; }
}
