/* Prime Market Trading — 2026 */
:root {
  --bg: #111827;
  --surface: #1f2937;
  --panel: #233043;
  --primary: #2d8cff;
  --primary-hover: #3b9cff;
  --text: #e6edf3;
  --text-muted: #9aa9bb;
  --border: #2b3a4a;
  --warm: #f7931a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-hover); }

img { max-width: 100%; height: auto; display: block; border-radius: 6px; }

/* NAV */
.site-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 1.2rem;
  position: sticky;
  top: 0;
  z-index: 90;
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  flex-wrap: wrap;
}
.nav-brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  white-space: nowrap;
}
.nav-brand span { color: var(--primary); }
.nav-links { display: flex; gap: .15rem; flex-wrap: wrap; }
.nav-links a {
  padding: .45rem .72rem;
  border-radius: 5px;
  font-size: .88rem;
  color: var(--text-muted);
  transition: background .15s, color .15s;
}
.nav-links a:hover,
.nav-links a.active { background: var(--panel); color: var(--text); }

/* HAMBURGER */
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; padding: .3rem; }

/* HERO URL BLOCK */
.url-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.6rem;
  margin: 2rem auto 0;
  max-width: 820px;
  text-align: center;
}
.url-block h2 { font-size: 1rem; color: var(--text-muted); margin-bottom: .85rem; font-weight: 500; }
.url-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  flex-wrap: wrap;
  margin-bottom: .6rem;
}
.url-row .url-link {
  font-size: 1.08rem;
  word-break: break-all;
  font-weight: 600;
  color: var(--primary);
}
.url-row .url-link.onion { color: var(--warm); }
.copy-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: .38rem .85rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: .82rem;
  transition: background .15s;
  white-space: nowrap;
}
.copy-btn:hover { background: var(--primary-hover); }

/* BLINK */
.live-dot {
  display: inline-block;
  width: 10px; height: 10px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: .45rem;
  vertical-align: middle;
  animation: blinker 1.4s ease-in-out infinite;
}
@keyframes blinker {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

/* MAIN WRAP */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.3rem 3rem;
}

/* BREADCRUMB */
.breadcrumb {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  padding: .5rem 0;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 .35rem; }

/* HEADINGS — intentionally uneven */
h1 { font-size: 2.1rem; font-weight: 800; line-height: 1.18; margin-bottom: 1rem; letter-spacing: -.02em; }
h2 { font-size: 1.45rem; font-weight: 700; margin: 2.2rem 0 .7rem; }
h3 { font-size: 1.12rem; font-weight: 600; margin: 1.6rem 0 .55rem; color: var(--text-muted); }

p { margin-bottom: 1rem; color: var(--text-muted); }
p strong { color: var(--text); }

/* CARDS / PANELS */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.3rem;
}
.card h3 { margin-top: 0; color: var(--text); }

/* GRID */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.3rem; }
.grid-asym { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.5rem; }

/* STATS ROW */
.stats-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}
.stat-card {
  flex: 1 1 140px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
  text-align: center;
}
.stat-card .num {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
  display: block;
}
.stat-card .label {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .25rem;
  display: block;
}
.stat-card.warm .num { color: var(--warm); }

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: .92rem;
}
th, td {
  text-align: left;
  padding: .65rem .8rem;
  border-bottom: 1px solid var(--border);
}
th { color: var(--text); font-weight: 600; background: var(--surface); }
td { color: var(--text-muted); }
tr:hover td { background: rgba(45,140,255,.04); }

/* BADGE */
.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 600;
}
.badge-btc { background: rgba(247,147,26,.15); color: var(--warm); }
.badge-xmr { background: rgba(45,140,255,.12); color: var(--primary); }
.badge-green { background: rgba(34,197,94,.12); color: #22c55e; }

/* FOOTER */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem 1.3rem;
  margin-top: 3rem;
  text-align: center;
  font-size: .84rem;
  color: var(--text-muted);
}
.site-footer a { color: var(--primary); }
.footer-links { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; margin-bottom: .8rem; }

/* PAGE-SPECIFIC: slightly off grids, odd margins */
.offset-left { margin-left: 1.8rem; }
.offset-top-sm { margin-top: .4rem; }
.narrow { max-width: 780px; }
.extra-pad { padding: 1.8rem 1.6rem; }

/* PGP BLOCK */
.pgp-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  font-family: 'Courier New', monospace;
  font-size: .82rem;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--text-muted);
  line-height: 1.5;
  max-height: 340px;
  overflow-y: auto;
}

/* REVIEW BARS */
.review-bar {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .5rem;
}
.review-bar .bar-label { width: 36px; font-size: .85rem; color: var(--text-muted); text-align: right; }
.review-bar .bar-track {
  flex: 1;
  height: 8px;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
}
.review-bar .bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
}
.review-bar .bar-pct { font-size: .8rem; color: var(--text-muted); width: 38px; }

/* FAQ ACCORDION (unique SEO feature) */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--primary); transition: transform .2s; }
.faq-q.open::after { content: '−'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.6;
}
.faq-a.open { max-height: 500px; padding-bottom: 1rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-asym { grid-template-columns: 1fr; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .url-block { padding: 1rem; }
  .wrap { padding: 1.4rem 1rem 2rem; }
  .offset-left { margin-left: 0; }
  .nav-links { display: none; flex-direction: column; width: 100%; padding: .5rem 0; }
  .nav-links.show { display: flex; }
  .nav-toggle { display: block; }
  .stats-row { gap: .7rem; }
  .stat-card { flex: 1 1 100px; padding: .8rem; }
  .stat-card .num { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .nav-inner { padding: .2rem 0; }
  h1 { font-size: 1.35rem; }
  .stat-card { flex: 1 1 80px; }
}
