x/* BestCoinRates.com — Global Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Mono:wght@300;400;500&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg:        #07090f;
  --bg2:       #0d1120;
  --bg3:       #131827;
  --border:    rgba(255,255,255,0.07);
  --accent:    #00d4aa;
  --accent2:   #0099ff;
  --accent3:   #f7b731;
  --red:       #ff4757;
  --text:      #e8eaf0;
  --muted:     #6b7280;
  --radius:    10px;
  --font-head: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --font-body: 'DM Sans', sans-serif;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --glow:      0 0 20px rgba(0,212,170,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ─── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 3px; }

/* ─── HEADER ────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,9,15,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; gap: 32px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800; font-size: 18px; color: var(--text);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.logo-icon { font-size: 20px; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
  color: var(--muted); font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: var(--bg3); opacity: 1;
}
.header-stats { display: flex; gap: 20px; margin-left: auto; }
.hstat { font-family: var(--font-mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.hstat b { color: var(--accent); }
.demo-badge {
  background: rgba(247,183,49,0.15); border: 1px solid rgba(247,183,49,0.3);
  color: var(--accent3); font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 4px;
  font-family: var(--font-mono);
}

/* ─── TICKER ─────────────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  overflow: hidden; height: 32px; position: relative;
}
.ticker-inner {
  display: flex; align-items: center; gap: 40px;
  height: 100%; white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
}
.ticker-item { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.ticker-item b { color: var(--text); }
.ticker-item.up b { color: var(--accent); }
.ticker-item.down b { color: var(--red); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── LAYOUT ─────────────────────────────────────────────────────── */
.page-wrap { max-width: 1400px; margin: 0 auto; padding: 24px 24px; }
.two-col { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: start; }
.full-col { max-width: 1000px; margin: 0 auto; }

/* ─── CARD ───────────────────────────────────────────────────────── */
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.card-head {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.card-head h3 { font-family: var(--font-head); font-size: 14px; font-weight: 700; }
.card-body { padding: 16px 18px; }

/* ─── SELECT PANEL ───────────────────────────────────────────────── */
.select-panel { position: sticky; top: 80px; }
.select-row { margin-bottom: 12px; }
.select-row label { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; font-weight: 600; }
.bcr-select, .bcr-input {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-family: var(--font-body);
  font-size: 13px; padding: 9px 12px; cursor: pointer;
  appearance: none; outline: none;
  transition: border-color .2s;
}
.bcr-select:focus, .bcr-input:focus { border-color: var(--accent); }
.swap-btn {
  width: 100%; padding: 8px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; color: var(--accent); cursor: pointer; font-size: 18px;
  transition: all .2s; margin: 4px 0;
}
.swap-btn:hover { background: rgba(0,212,170,0.1); border-color: var(--accent); }
.search-btn {
  width: 100%; padding: 11px; background: var(--accent); border: none;
  border-radius: 8px; color: #000; font-weight: 700; font-size: 14px;
  cursor: pointer; font-family: var(--font-head); transition: opacity .2s;
  margin-top: 4px;
}
.search-btn:hover { opacity: .85; }
.city-section { margin-top: 4px; }
.city-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; font-weight: 600; display: block; }

/* ─── POPULAR PAIRS ──────────────────────────────────────────────── */
.popular-pairs { display: flex; flex-direction: column; }
.pair-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: transparent; border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer; color: var(--text); width: 100%;
  transition: all .15s; text-align: left;
}
.pair-btn:last-child { border-bottom: none; }
.pair-btn:hover { background: rgba(0,212,170,0.08); color: var(--accent); padding-left: 20px; }
.pair-label { font-weight: 600; font-size: 13px; }
.pair-change { font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.pair-change.up   { color: var(--accent); }
.pair-change.down { color: var(--red); }

/* ─── AFFILIATE BUTTONS ──────────────────────────────────────────── */
.aff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aff-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 10px; border-radius: 8px; font-size: 12px; font-weight: 600;
  border: none; cursor: pointer; transition: opacity .2s; font-family: var(--font-head);
}
.aff-btn:hover { opacity: .85; }
.aff-binance { background: #F0B90B; color: #000; grid-column: 1/-1; }
.aff-bybit { background: #F7A600; color: #000; }
.aff-okx { background: #121214; border: 1px solid #333; color: #fff; }

/* ─── TABS ───────────────────────────────────────────────────────── */
.tab-nav { display: flex; gap: 4px; padding: 12px 16px 0; overflow-x: auto; }
.tab-btn {
  padding: 7px 14px; border: none; background: transparent;
  color: var(--muted); font-family: var(--font-body); font-size: 13px; font-weight: 500;
  cursor: pointer; border-radius: 6px 6px 0 0; white-space: nowrap;
  border-bottom: 2px solid transparent; transition: all .2s;
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); background: rgba(0,212,170,0.05); }
.tab-btn:hover:not(.active) { color: var(--text); }
.tab-content { display: none; padding: 0; }
.tab-content.active { display: block; }

/* ─── RATES TABLE ────────────────────────────────────────────────── */
.rates-toolbar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.pair-display {
  font-family: var(--font-head); font-weight: 700; font-size: 16px; flex: 1;
}
.pair-display span { color: var(--muted); font-weight: 400; font-size: 13px; }
.rates-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.sort-select { background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; color: var(--text); padding: 5px 10px; font-size: 12px; cursor: pointer; }
.refresh-btn { background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; color: var(--accent); padding: 5px 10px; cursor: pointer; font-size: 13px; transition: all .2s; }
.refresh-btn:hover { background: rgba(0,212,170,0.1); }

.rates-table { width: 100%; border-collapse: collapse; }
.rates-table th {
  padding: 10px 16px; text-align: left; font-size: 11px; font-weight: 600;
  color: var(--muted); text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 1px solid var(--border); background: var(--bg2);
  cursor: pointer; user-select: none; white-space: nowrap;
}
.rates-table th:hover { color: var(--text); }
.rates-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.rates-table tr:last-child td { border-bottom: none; }
.rates-table tr:hover td { background: rgba(255,255,255,0.02); }
.rates-table tr.highlight td { background: rgba(0,212,170,0.05); }

.ex-name { display: flex; align-items: center; gap: 8px; }
.ex-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, var(--bg3), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #000; flex-shrink: 0;
}
.ex-link { font-weight: 600; font-size: 13px; }
.reviews-good { color: var(--accent); font-size: 12px; }
.reviews-bad { color: var(--red); font-size: 12px; }

.rate-val { font-family: var(--font-mono); font-size: 14px; font-weight: 500; }
.rate-best { color: var(--accent); }
.rate-from { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.limits { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.reserve { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

.go-btn {
  background: var(--accent); color: #000; border: none; border-radius: 6px;
  padding: 7px 14px; font-weight: 700; font-size: 12px; cursor: pointer;
  font-family: var(--font-head); transition: opacity .2s; white-space: nowrap;
}
.go-btn:hover { opacity: .8; }
.go-btn.cash { background: var(--accent3); }

/* ─── CALCULATOR ─────────────────────────────────────────────────── */
.calc-wrap { padding: 20px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.calc-field label { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; font-weight: 600; }
.calc-input { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: var(--font-mono); font-size: 18px; font-weight: 500; padding: 12px 14px; outline: none; transition: border-color .2s; }
.calc-input:focus { border-color: var(--accent); }
.calc-result { background: var(--bg3); border-radius: 10px; padding: 16px; }
.calc-result-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.calc-result-row:last-child { border: none; }
.calc-result-row .label { font-size: 12px; color: var(--muted); }
.calc-result-row .value { font-family: var(--font-mono); font-size: 14px; font-weight: 500; }

/* ─── DOUBLE EXCHANGE ────────────────────────────────────────────── */
.double-wrap { padding: 20px; }
.double-step { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #000; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.double-arrow { text-align: center; color: var(--muted); font-size: 20px; margin: 4px 0; }
.double-result { margin-top: 16px; background: var(--bg3); border-radius: 10px; padding: 16px; }

/* ─── ALERT ──────────────────────────────────────────────────────── */
.alert-wrap { padding: 20px; }
.alert-row { margin-bottom: 14px; }
.alert-row label { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; font-weight: 600; }
.alert-btn { background: var(--accent2); color: #fff; border: none; border-radius: 8px; padding: 10px 20px; font-weight: 700; cursor: pointer; font-family: var(--font-head); font-size: 13px; }

/* ─── STATS ──────────────────────────────────────────────────────── */
.stats-wrap { padding: 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.stat-box { background: var(--bg3); border-radius: 8px; padding: 16px; text-align: center; }
.stat-box .num { font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: var(--accent); display: block; }
.stat-box .lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.stat-chart { margin-top: 16px; height: 80px; background: var(--bg3); border-radius: 8px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 8px; gap: 3px; }
.chart-bar { flex: 1; background: rgba(0,212,170,0.3); border-radius: 2px 2px 0 0; transition: background .2s; }
.chart-bar:hover { background: var(--accent); }

/* ─── INFO PANEL ─────────────────────────────────────────────────── */
.info-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 24px; }
.info-box { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.info-box .icon { font-size: 28px; margin-bottom: 10px; }
.info-box h4 { font-family: var(--font-head); font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.info-box p { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ─── EXCHANGER PAGE ─────────────────────────────────────────────── */
.changer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.changer-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; transition: border-color .2s;
}
.changer-card:hover { border-color: rgba(0,212,170,0.3); }
.changer-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.changer-logo { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, var(--bg3), var(--accent)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #000; flex-shrink: 0; }
.changer-name { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.changer-url { font-size: 11px; color: var(--muted); }
.changer-stats { display: flex; gap: 12px; }
.stat-pill { display: flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 12px; padding: 3px 8px; border-radius: 20px; }
.stat-pill.pos { background: rgba(0,212,170,0.1); color: var(--accent); }
.stat-pill.neg { background: rgba(255,71,87,0.1); color: var(--red); }
.changer-visit { display: block; margin-top: 12px; text-align: center; background: var(--accent); color: #000; border-radius: 6px; padding: 7px; font-weight: 700; font-size: 12px; font-family: var(--font-head); }

/* ─── AML PAGE ───────────────────────────────────────────────────── */
.aml-hero { text-align: center; padding: 40px 20px; }
.aml-hero h1 { font-family: var(--font-head); font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.aml-hero p { color: var(--muted); max-width: 500px; margin: 0 auto 28px; }
.coin-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.coin-tab { padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg3); color: var(--muted); cursor: pointer; font-size: 13px; transition: all .2s; }
.coin-tab.active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 600; }
.aml-input-wrap { display: flex; gap: 10px; max-width: 600px; margin: 0 auto; }
.aml-input { flex: 1; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-family: var(--font-mono); font-size: 13px; padding: 12px 16px; outline: none; }
.aml-input:focus { border-color: var(--accent); }
.aml-check-btn { background: var(--accent); color: #000; border: none; border-radius: 10px; padding: 12px 24px; font-weight: 700; cursor: pointer; font-family: var(--font-head); white-space: nowrap; }
.risk-meter { max-width: 400px; margin: 30px auto 0; }
.risk-bar { height: 12px; background: var(--bg3); border-radius: 6px; overflow: hidden; margin: 10px 0; }
.risk-fill { height: 100%; border-radius: 6px; transition: width 1s ease; }
.risk-low { background: var(--accent); }
.risk-med { background: var(--accent3); }
.risk-high { background: var(--red); }

/* ─── BLOG PAGE ──────────────────────────────────────────────────── */
.blog-hero { padding: 40px 0 24px; }
.blog-hero h1 { font-family: var(--font-head); font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn { padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg3); color: var(--muted); cursor: pointer; font-size: 12px; transition: all .2s; }
.filter-btn.active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 600; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-featured { grid-column: 1/-1; }
.blog-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.blog-card:hover { border-color: rgba(0,212,170,0.3); }
.blog-thumb { height: 160px; background: linear-gradient(135deg, var(--bg3), rgba(0,212,170,0.2)); position: relative; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.blog-featured .blog-thumb { height: 240px; }
.blog-cat { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #000; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; font-family: var(--font-head); text-transform: uppercase; }
.blog-body { padding: 16px; }
.blog-title { font-family: var(--font-head); font-weight: 700; font-size: 14px; margin-bottom: 8px; line-height: 1.4; }
.blog-featured .blog-title { font-size: 20px; }
.blog-meta { font-size: 11px; color: var(--muted); display: flex; gap: 12px; }
.blog-excerpt { font-size: 12px; color: var(--muted); margin: 8px 0; line-height: 1.6; }

/* ─── PARTNER PAGE ───────────────────────────────────────────────── */
.partner-hero { text-align: center; padding: 48px 20px; }
.partner-hero h1 { font-family: var(--font-head); font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.partner-hero p { color: var(--muted); max-width: 550px; margin: 0 auto; }
.partner-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.partner-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; }
.partner-card .icon { font-size: 36px; margin-bottom: 14px; }
.partner-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.partner-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.partner-btn { display: inline-block; padding: 10px 24px; background: var(--accent); color: #000; border-radius: 8px; font-weight: 700; font-size: 13px; font-family: var(--font-head); transition: opacity .2s; }
.partner-btn:hover { opacity: .85; }

/* ─── CONVERTER PAGE ─────────────────────────────────────────────── */
.converter-wrap { max-width: 600px; margin: 0 auto; }
.conv-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.conv-row { display: flex; gap: 12px; margin-bottom: 12px; }
.conv-input { flex: 1; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: var(--font-mono); font-size: 20px; font-weight: 500; padding: 14px 16px; outline: none; transition: border-color .2s; }
.conv-input:focus { border-color: var(--accent); }
.conv-select-wrap { display: flex; flex-direction: column; justify-content: center; }
.conv-select { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: var(--font-body); font-size: 13px; font-weight: 600; padding: 14px 12px; cursor: pointer; min-width: 120px; outline: none; }
.conv-swap { display: flex; align-items: center; justify-content: center; padding: 10px 0; }
.conv-swap-btn { background: var(--bg3); border: 1px solid var(--border); border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 16px; color: var(--accent); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.conv-swap-btn:hover { background: rgba(0,212,170,0.1); border-color: var(--accent); }
.conv-result { background: var(--bg3); border-radius: 10px; padding: 16px; text-align: center; }
.conv-amount { font-family: var(--font-mono); font-size: 28px; font-weight: 500; color: var(--accent); }
.conv-note { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ─── CONTACT / LEGAL PAGES ──────────────────────────────────────── */
.legal-wrap { max-width: 800px; margin: 0 auto; padding: 40px 0; }
.legal-wrap h1 { font-family: var(--font-head); font-size: 32px; font-weight: 800; margin-bottom: 24px; }
.legal-wrap h2 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.legal-wrap p { color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.legal-wrap ul { color: var(--muted); padding-left: 20px; margin-bottom: 12px; line-height: 2; }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  margin-top: 60px; padding: 48px 24px 24px;
}
.footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { font-size: 20px; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-family: var(--font-head); font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--muted); font-size: 13px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom { max-width: 1400px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ─── LOADING / STATES ───────────────────────────────────────────── */
.loading { text-align: center; padding: 40px; color: var(--muted); font-size: 13px; }
.loading::after { content: ''; display: inline-block; width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; margin-left: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 40px; color: var(--muted); font-size: 13px; }
.error-msg { background: rgba(255,71,87,0.1); border: 1px solid rgba(255,71,87,0.3); color: var(--red); border-radius: 8px; padding: 12px 16px; font-size: 13px; margin: 12px 16px; }

/* ─── BREADCRUMB ─────────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding: 16px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text); }

/* ─── BADGE / PILL ───────────────────────────────────────────────── */
.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; font-family: var(--font-mono); }
.badge-green { background: rgba(0,212,170,0.15); color: var(--accent); }
.badge-yellow { background: rgba(247,183,49,0.15); color: var(--accent3); }
.badge-red { background: rgba(255,71,87,0.15); color: var(--red); }
.badge-blue { background: rgba(0,153,255,0.15); color: var(--accent2); }

/* ─── PAGE TITLE ─────────────────────────────────────────────────── */
.page-title { padding: 24px 0 20px; }
.page-title h1 { font-family: var(--font-head); font-size: 26px; font-weight: 800; }
.page-title p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ─── SEARCH / FILTER BAR ────────────────────────────────────────── */
.filter-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.filter-input { background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); padding: 9px 14px; font-family: var(--font-body); font-size: 13px; outline: none; flex: 1; min-width: 200px; }
.filter-input:focus { border-color: var(--accent); }
.filter-select { background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); padding: 9px 12px; font-family: var(--font-body); font-size: 13px; cursor: pointer; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .info-row { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .select-panel { position: static; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .page-wrap { padding: 16px; }
  .site-header { padding: 0 16px; gap: 16px; }
  .nav-links { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-stats { display: none; }
  .aml-input-wrap { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; }
}
