/* ============================================
   S256 Explorer "Digital Platinum" theme, 2026
   Loaded last on every page (after styles.css and each page's own
   <style>): redefines the colour tokens and restyles the shared parts.
   Same palette and type as sha256coin.eu, with a HUD treatment for data:
   blueprint grid, corner-bracket panels, monospace amber readouts.
   Remove the <link> to go back to the old look.
   ============================================ */

:root {
  /* light theme */
  --bg-main: #eef0f3;
  --bg-card: #ffffff;
  --surface-2: #e4e7ec;
  --line: rgba(20, 24, 31, 0.1);
  --line-strong: rgba(20, 24, 31, 0.18);
  --text: #14181f;
  --text-light: #586170;
  --primary: #a85f00;
  --primary-dark: #8a4e00;
  --amber: #f5a524;
  --on-amber: #1a1206;
  --secondary: #a85f00;
  --accent: #a85f00;
  --white: #ffffff;
  --dark: #0c0e11;
  --light: #e4e7ec;
  --nav-bg: rgba(238, 240, 243, 0.86);
  --platinum: linear-gradient(100deg, #3a414c 0%, #6b7482 38%, #2a3038 62%, #59616e 100%);
  --gradient: linear-gradient(135deg, #f7b53b 0%, #e58b0f 100%);
  --glow: rgba(245, 165, 36, 0.16);
  --grid-line: rgba(20, 24, 31, 0.05);
  --shadow: none;
  --shadow-lg: 0 12px 32px rgba(20, 24, 31, 0.1);
  --radius: 12px;
  --radius-sm: 8px;

  --font-display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

[data-theme="dark"] {
  --bg-main: #0a0c0f;
  --bg-card: #12151a;
  --surface-2: #181c23;
  --line: rgba(214, 222, 235, 0.08);
  --line-strong: rgba(214, 222, 235, 0.16);
  --text: #e7ebf1;
  --text-light: #98a1b0;
  --primary: #f5a524;
  --primary-dark: #d98c12;
  --secondary: #f5a524;
  --accent: #ffbf55;
  --white: #0a0c0f;
  --dark: #eef0f3;
  --light: #181c23;
  --nav-bg: rgba(10, 12, 15, 0.8);
  --platinum: linear-gradient(100deg, #f5f7fa 0%, #b8c0cb 34%, #f0f3f7 56%, #8f99a7 100%);
  --glow: rgba(245, 165, 36, 0.12);
  --grid-line: rgba(214, 222, 235, 0.035);
  --shadow: none;
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

/* ---------- base ---------- */

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg-main);
  background-image:
    radial-gradient(60% 40% at 50% 0%, var(--glow), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  background-attachment: fixed;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--amber); color: var(--on-amber); }

.container { max-width: 1320px; padding: 0 clamp(16px, 3vw, 32px); }

/* monospace readouts for anything that is data */
.hash,
td,
.detail-value,
.tx-io-address,
.tx-io-amount,
.address-hash,
.page-info,
.stat-value,
.tx-hash-col,
.amount-col {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

a { color: var(--primary); }

/* ---------- navigation ---------- */

.navbar {
  background: var(--nav-bg);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: none;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
}

.navbar::after {
  /* thin amber trace under the bar */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 165, 36, 0.55), transparent);
}

.nav-brand { align-items: center; gap: 0.75rem; }

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 10px rgba(245, 165, 36, 0.35));
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  background: var(--platinum);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-light);
}

.nav-link,
.dropdown-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.dropdown-item:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-link.active,
.nav-link.active:hover,
.dropdown-item.active {
  background: transparent;
  color: var(--text);
  opacity: 1;
  box-shadow: inset 0 -2px 0 var(--amber);
  border-radius: 0;
}

.dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.btn-back {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
}

.btn-back:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--amber);
  color: var(--text);
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--line-strong);
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
}

.theme-toggle:hover,
.theme-toggle:active {
  transform: none;
  box-shadow: none;
  border-color: var(--amber);
}

.hamburger span { background: var(--text); }

.pi-symbol { color: var(--primary); }

/* ---------- hero + search ---------- */

.hero-mini {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.hero-mini::after {
  /* one slow scan line sweeping down the hero */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(245, 165, 36, 0.06), transparent);
  animation: hud-scan 7s linear infinite;
  pointer-events: none;
}

@keyframes hud-scan {
  from { transform: translateY(-120px); }
  to { transform: translateY(420px); }
}

.hero-mini h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--platinum);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.search-bar { position: relative; }

.search-bar input {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg-card);
  caret-color: var(--amber);
  padding-left: 2.6rem;
  background-image: linear-gradient(var(--amber), var(--amber));
  background-size: 2px 40%;
  background-position: 1.3rem center;
  background-repeat: no-repeat;
}

.search-bar input::placeholder { color: var(--text-light); opacity: 0.8; }

.search-bar input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px var(--glow), 0 0 24px rgba(245, 165, 36, 0.15);
}

.btn-search,
.btn-action,
.export-btn,
.btn-qr-action {
  background: var(--amber);
  color: var(--on-amber);
  border: 0;
  border-radius: 10px;
  font-weight: 600;
}

.btn-search:hover,
.btn-action:hover,
.export-btn:hover,
.btn-qr-action:hover {
  transform: none;
  filter: brightness(1.07);
  box-shadow: 0 0 0 4px var(--glow);
}

/* ---------- HUD stat panels ---------- */

.stats-grid { gap: 1rem; }

.stats-grid .stat-card,
.stat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: none;
  transition: border-color 0.25s ease;
}

/* corner brackets */
.stats-grid .stat-card::before,
.stats-grid .stat-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--amber);
  border-style: solid;
  opacity: 0.7;
  pointer-events: none;
}

.stats-grid .stat-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.stats-grid .stat-card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.stats-grid .stat-card:hover,
[data-theme="dark"] .stats-grid .stat-card:hover,
.stat-card:hover {
  transform: none;
  box-shadow: none;
  background: var(--bg-card);
  border-color: rgba(245, 165, 36, 0.4);
}

.stats-grid .stat-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
  color: var(--primary);
  border: 1px solid rgba(245, 165, 36, 0.35);
  border-radius: 8px;
  background: var(--glow);
  filter: none;
  animation: none;
}

.stats-grid .stat-card:hover .stat-icon {
  animation: none;
  transform: none;
  filter: none;
  box-shadow: 0 0 18px rgba(245, 165, 36, 0.3);
}

.stats-grid .stat-label,
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-light);
}

.stats-grid .stat-value,
.stat-value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
  text-shadow: 0 0 18px rgba(245, 165, 36, 0.18);
}

/* ---------- section headings ---------- */

.main-content h2,
.search-results h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.main-content h2 i,
h2 > i,
h1 > i { color: var(--primary); font-size: 0.85em; }

/* ---------- tables ---------- */

.table-container,
.tx-table-container {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  overflow-x: auto;
}

thead,
.tx-table thead {
  background: transparent;
  color: var(--text-light);
}

th,
.tx-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  background: transparent;
  border-bottom: 1px solid var(--line-strong);
}

td,
.tx-table td {
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
}

tbody tr,
.tx-table tbody tr { transition: background-color 0.15s ease; }

tbody tr:hover,
.tx-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(245, 165, 36, 0.09), transparent 60%);
  transform: none;
  box-shadow: inset 2px 0 0 var(--amber);
}

tbody tr:active { transform: none; }

.hash,
.tx-hash-col,
.detail-value.clickable { color: var(--primary); }

/* ---------- detail panels, tx boxes, address cards ---------- */

.details-section,
.search-results,
.address-info-card,
.tx-history-section,
.tx-item,
.tx-io-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.tx-item:hover,
.tx-io-box:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(245, 165, 36, 0.35);
}

.details-header,
.tx-modal-header,
.qr-modal-header {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.details-header h2,
.tx-modal-header h3,
.qr-modal-header h3,
.address-info-header h3,
.tx-history-header h3 {
  color: var(--text);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.detail-row { border-bottom: 1px solid var(--line); }

.detail-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

.amount-highlight,
.amount-positive { color: #3fb27f; }
.amount-negative { color: #e5604d; }

.tx-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  border-radius: 4px;
}

.btn-close,
.qr-modal-close,
.tx-modal-close {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--line-strong);
}

.btn-close:hover,
.qr-modal-close:hover,
.tx-modal-close:hover {
  color: var(--text);
  border-color: var(--amber);
  transform: none;
}

.tx-modal-content,
.qr-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}

/* ---------- pagination and filters ---------- */

.btn-page,
.btn-page-num,
.page-btn,
.filter-btn {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--font-mono);
  box-shadow: none;
}

.btn-page:hover,
.btn-page-num:hover,
.page-btn:hover,
.filter-btn:hover {
  color: var(--text);
  border-color: var(--amber);
  background: transparent;
  transform: none;
}

.btn-page-num.active,
.page-btn.active,
.filter-btn.active {
  background: var(--amber);
  color: var(--on-amber);
  border-color: var(--amber);
}

.page-jump input {
  font-family: var(--font-mono);
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

/* ---------- messages ---------- */

.error-message {
  background: rgba(229, 96, 77, 0.1);
  border: 1px solid rgba(229, 96, 77, 0.35);
  color: var(--text);
}

.info-message,
.notification {
  background: var(--bg-card);
  border: 1px solid rgba(245, 165, 36, 0.4);
  color: var(--text);
}

/* ---------- footer ---------- */

.footer {
  background: #07080a;
  color: #c9d0da;
  border-top: 1px solid rgba(245, 165, 36, 0.22);
}

.footer a { color: #c9d0da; }
.footer a:hover { color: #ffbf55; }

/* ---------- 404 ---------- */

.not-found-code {
  font-family: var(--font-display);
  background: var(--platinum);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.not-found-button {
  background: var(--amber);
  color: var(--on-amber);
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-weight: 600;
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero-mini::after { animation: none; display: none; }
}

/* ---------- page banners: quiet panels instead of solid amber ---------- */

.intro-section,
.map-top-bar,
.popup-header {
  background: var(--bg-card) !important;
  color: var(--text) !important;
  border: 1px solid rgba(245, 165, 36, 0.35);
  box-shadow: none !important;
}

.map-top-bar,
.popup-header { border-width: 0 0 1px 0; }

.intro-section h1,
.intro-section h2,
.intro-section p,
.intro-section strong,
.map-top-bar h2,
.map-top-bar h3,
.map-top-bar span,
.popup-header * { color: var(--text) !important; }

.intro-section code {
  font-family: var(--font-mono);
  background: var(--surface-2) !important;
  color: var(--primary) !important;
  border: 1px solid var(--line);
}

.map-top-bar i,
.intro-section i { color: var(--primary) !important; }

/* ---------- phone ---------- */

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  .stats-grid .stat-card {
    padding: 1rem 0.75rem;
    gap: 0.5rem;
  }
  .stats-grid .stat-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .stats-grid .stat-label { font-size: 0.62rem; letter-spacing: 0.1em; }
  .stats-grid .stat-value { font-size: 1.1rem; }
}

/* ---------- page stat boxes (network, node map, holders, mempool):
   same HUD panels as the home page ---------- */

.stat-box,
.mempool-stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.5rem 1rem;
  box-shadow: none;
  transition: border-color 0.25s ease;
}

.stat-box:hover,
.mempool-stat-card:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(245, 165, 36, 0.4);
}

.stat-box::before,
.stat-box::after,
.mempool-stat-card::before,
.mempool-stat-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--amber);
  border-style: solid;
  opacity: 0.7;
  pointer-events: none;
}

.stat-box::before,
.mempool-stat-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }

.stat-box::after,
.mempool-stat-card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.stat-box .stat-icon,
.mempool-stat-card .stat-icon {
  order: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
  color: var(--primary);
  border: 1px solid rgba(245, 165, 36, 0.35);
  border-radius: 8px;
  background: var(--glow);
}

.stat-box-label,
.mempool-stat-label {
  order: 1;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
}

.stat-box-value,
.mempool-stat-value {
  order: 2;
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: var(--text);
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 0 18px rgba(245, 165, 36, 0.18);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .peers-stats,
  .map-stats,
  .holders-stats,
  .mempool-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.6rem !important;
  }
  .stat-box,
  .mempool-stat-card { padding: 1rem 0.75rem; }
  .stat-box .stat-icon,
  .mempool-stat-card .stat-icon { width: 36px; height: 36px; font-size: 1rem; margin-bottom: 0.4rem; }
  .stat-box-label,
  .mempool-stat-label { font-size: 0.62rem; letter-spacing: 0.1em; }
  .stat-box-value,
  .mempool-stat-value { font-size: 1.05rem; }
}


/* ============================================
   Footer: same as sha256coin.eu (ported from its styles.css + theme.css)
   ============================================ */

/* ─────────────────────────────────────────────────────────────
   Footer  —  sha256coin.eu
   ───────────────────────────────────────────────────────────── */

.site-footer {
  background: rgba(5, 5, 15, 0.97);
  border-top: 3px solid;
  border-image: linear-gradient(
      90deg,
      #002b7f 33.33%,
      #fcd116 33.33% 66.66%,
      #ce1126 66.66%
    )
    1;
  padding: 3rem 0 0;
}

/* ── 4-column grid ── */
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Brand column ── */
.site-footer .footer-brand {
  display: flex;
  flex-direction: column;
}

.site-footer .footer-brand .nav-brand-link {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
}

.site-footer .footer-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.65);
  margin: 0.35rem 0 1.3rem;
  font-weight: 600;
}

.site-footer .footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  width: fit-content;
  transition: color 0.2s ease;
}
.site-footer .footer-email:hover {
  color: rgba(119, 92, 216, 0.95);
}

/* ── Link columns ── */
.site-footer .footer-col-title {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 0.9rem;
  font-weight: 600;
}

.site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer .footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease;
}
.site-footer .footer-col ul a:hover {
  color: rgba(39, 43, 236, 0.95);
}

.site-footer .social-icon {
  font-size: 0.9rem;
  opacity: 0.8;
  min-width: unset;
}

/* ── Network specs ── */
.site-footer .network-specs {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
}

.site-footer .network-specs > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.site-footer .network-specs dt {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

.site-footer .network-specs dd {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Courier New", Courier, monospace;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Footer bottom bar ── */
.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0 1.4rem;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-top: none;
}

.site-footer .footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.site-footer .footer-origin {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

.site-footer .footer-bottom-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.site-footer .footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer .footer-bottom-links a:hover {
  color: rgba(39, 43, 236, 0.95);
}

.site-footer .footer-bottom {
  padding: 0.8rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.52);
}

.site-footer .footer-bottom strong {
  color: rgba(255, 255, 255, 0.72);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem 2rem;
  }
  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}


/* ---------- footer ---------- */

.site-footer {
  background: #08090b;
  color: #c9d0da;
}

.site-footer .gradient-text {
  background: linear-gradient(100deg, #f5f7fa 0%, #b8c0cb 34%, #f0f3f7 56%, #8f99a7 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.site-footer .footer-tagline,
.site-footer .footer-col-title,
.site-footer .network-specs dt {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: #8d96a4;
}

.site-footer .footer-col ul a,
.site-footer .footer-email,
.site-footer .footer-bottom-links a { color: #c9d0da; }

.site-footer .footer-col ul a:hover,
.site-footer .footer-email:hover,
.site-footer .footer-bottom-links a:hover { color: #ffbf55; }

.site-footer .network-specs dd { font-family: var(--font-mono); color: #ffbf55; }

.site-footer .footer-bottom { border-top: 1px solid rgba(214, 222, 235, 0.08); color: #8d96a4; }
.site-footer .footer-bottom strong { color: #c9d0da; }


.site-footer .footer-origin-link { color: #ffbf55; font-weight: 500; text-decoration: none; }
.site-footer .footer-origin-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-footer { margin-top: 60px; font-family: var(--font-body); }
.site-footer .container { max-width: 1320px; }
.site-footer ul { list-style: none; }
.site-footer a { text-decoration: none; }
.site-footer .gradient-text {
  background: linear-gradient(100deg, #f5f7fa 0%, #b8c0cb 34%, #f0f3f7 56%, #8f99a7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-display);
}
