/* ════════════════════════════════════════════════════════
   CryptoDropBR — Design System v3
   Colors: hero-bg.jpeg (dark + lime #b6f000) + logo.jpg (blue)
   ════════════════════════════════════════════════════════ */

:root {
  --bg:        #09090e;
  --bg2:       #0d0e14;
  --card:      #0f1118;
  --card-h:    #131622;
  --nav-bg:    rgba(9,9,14,.92);
  --lime:      #b6f000;
  --lime-dim:  rgba(182,240,0,.10);
  --lime-glow: rgba(182,240,0,.22);
  --blue:      #3b82f6;
  --blue-dim:  rgba(59,130,246,.12);
  --green:     #22c55e;
  --green-dim: rgba(34,197,94,.12);
  --yellow:    #f59e0b;
  --yellow-dim:rgba(245,158,11,.12);
  --border:    #1a1d28;
  --border2:   #22263a;
  --text:      #e2e4ec;
  --muted:     #6b7280;
  --muted2:    #374151;
  --radius:    14px;
  --radius-sm: 8px;
}

body[data-theme='light'] {
  --bg: #f3f6fb;
  --bg2: #ffffff;
  --card: #ffffff;
  --card-h: #f4f8ff;
  --nav-bg: rgba(255,255,255,.92);
  --lime: #3a6b00;
  --lime-dim: #eaf5c8;
  --lime-glow: #6a9c00;
  --blue: #2356d8;
  --blue-dim: rgba(35,86,216,.1);
  --green: #1d9a4d;
  --green-dim: rgba(29,154,77,.1);
  --yellow: #c38300;
  --yellow-dim: rgba(195,131,0,.1);
  --border: #d8deea;
  --border2: #c3cfdf;
  --text: #121826;
  --muted: #5b6478;
  --muted2: #8c97ad;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.c-accent { color: var(--lime); }
.hidden   { display: none !important; }
.desktop-only { display: flex; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  height: 60px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo  { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lime-glow); }
.nav-name  { font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
body[data-theme='light'] .nav-name { color: #1b2233; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nbtn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: var(--radius-sm);
  font-size: .74rem; font-weight: 600; border: 1px solid transparent;
  transition: background .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.nbtn:hover { transform: translateY(-1px); }
.nbtn:active { transform: none; }
.nbtn-ghost { background: var(--bg2); border-color: var(--border2); color: var(--text); }
.nbtn-ghost:hover { background: var(--card-h); border-color: var(--muted2); }
.nbtn-icon { padding: 6px 8px; border-radius: 50%; gap: 0; }
.nbtn-x { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: var(--text); }
.nbtn-x:hover { background: rgba(255,255,255,.13); }
body[data-theme='light'] .nbtn-x { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.12); color: var(--text); }
body[data-theme='light'] .nbtn-x:hover { background: rgba(0,0,0,.11); }
.nbtn-tg { background: rgba(42,171,238,.1); border-color: rgba(42,171,238,.25); color: #2aabee; }
.nbtn-tg:hover { background: rgba(42,171,238,.18); }
.nbtn-cta {
  background: var(--lime); border-color: var(--lime); color: #09090e;
  flex-direction: column; align-items: flex-start; gap: 0; padding: 5px 11px; line-height: 1.2;
}
.nbtn-cta:hover { background: #ccff1a; border-color: #ccff1a; }
body[data-theme='light'] .nbtn-cta { background: #3a6b00; border-color: #3a6b00; color: #fff; }
body[data-theme='light'] .nbtn-cta:hover { background: #2d5200; border-color: #2d5200; }
.nbtn-cta-main { font-size: .76rem; font-weight: 700; }
.nbtn-cta-sub  { font-size: .62rem; font-weight: 500; opacity: .72; letter-spacing: .01em; }

/* ── HERO ── */
.hero {
  position: relative; width: 100%; background: #06070b;
  max-height: 280px; overflow: hidden;
}
body[data-theme='light'] .hero { background: #e8edf5; }
.hero-img {
  width: 100%; max-height: 280px; height: auto; display: block;
  object-fit: contain;
}
.hero-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 0%, transparent 50%,
    rgba(9,9,14,.4) 75%, var(--bg) 100%);
}
body[data-theme='light'] .hero-fade {
  background: linear-gradient(to bottom,
    rgba(255,255,255,0) 0%, rgba(255,255,255,.05) 52%,
    rgba(243,246,251,.72) 78%, var(--bg) 100%);
}

/* ── STATS BAR ── */
.stats-bar { background: var(--bg2); border-bottom: 1px solid var(--border); }
.stats-row {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  height: 52px; display: flex; align-items: center; justify-content: flex-start;
  overflow-x: auto; scrollbar-width: none;
}
.stats-row::-webkit-scrollbar { display: none; }
.stat-item { display: flex; align-items: center; gap: 6px; padding: 0 20px; white-space: nowrap; flex-shrink: 0; }
.si-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.si-dot.green  { background: var(--green);  box-shadow: 0 0 6px var(--green); animation: blink 2s infinite; }
.si-dot.yellow { background: var(--yellow); }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.4} }
.si-label { color: var(--muted); font-size: .82rem; }
.si-val   { font-size: .88rem; font-weight: 700; color: var(--text); }
.si-accent  { color: var(--lime); }
.si-muted   { color: var(--muted); font-weight: 400; }
.si-sep     { width: 1px; height: 24px; background: var(--border2); flex-shrink: 0; }
.si-updated { margin-left: auto; }
@media (max-width: 640px) { .si-updated { display: none; } }

/* ── PAGE WRAP + FILTERS ── */
  .page-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 20px 80px; }

  /* ── TABS ── */
  .tabs-nav { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--border2); }
  .tab-btn {
    padding: 12px 16px; font-size: .85rem; font-weight: 600;
    background: none; border: none; color: var(--muted);
    cursor: pointer; border-bottom: 2px solid transparent;
    transition: all .2s;
  }
  .tab-btn:hover { color: var(--text); }
  .tab-btn.active { color: var(--lime); border-bottom-color: var(--lime); }
  .tab-content { display: none; }
  .tab-content.active { display: block; animation: fadeIn .2s; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .history-intro { color: var(--muted); margin-bottom: 20px; font-size: .88rem; }

  .intel-title { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
  .timeline-wrap { margin-top: 6px; }

  .timeline-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
  .tfl-group { display: flex; align-items: center; gap: 6px; }
  .tfl-label { font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
  .tfl-select {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: .8rem;
    padding: 5px 10px;
    cursor: pointer;
    outline: none;
    transition: border-color .15s;
  }
  .tfl-select:focus { border-color: var(--lime-glow); }
  .tfl-clear {
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    font-size: .78rem;
    padding: 5px 12px;
    cursor: pointer;
    transition: border-color .15s, color .15s;
  }
  .tfl-clear:hover { border-color: var(--lime-glow); color: var(--text); }

  /* ── FILTERS ROW ── */
  .filters-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.flt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 999px;
  font-size: .83rem; font-weight: 600;
  border: 1px solid var(--border2); background: var(--bg2); color: var(--muted);
  transition: all .15s;
}
.flt:hover { border-color: var(--muted2); color: var(--text); }
.flt.active { background: var(--lime-dim); border-color: var(--lime-glow); color: var(--lime); }
.fdot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.fdot.green  { background: var(--green); }
.fdot.blue   { background: var(--blue); }
.fdot.yellow { background: var(--yellow); }
.fdot.gray   { background: var(--muted2); }

/* ── CARDS GRID ── */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .cards-grid { grid-template-columns: 1fr; } }

/* ── CAMPAIGN CARD ── */
.ccard {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ccard:hover { border-color: var(--border2); box-shadow: 0 8px 40px rgba(0,0,0,.45); transform: translateY(-2px); }
.ccard::before { content:''; display:block; height:3px; background: var(--stripe-color, var(--border)); flex-shrink:0; }
.ccard.s-claiming { --stripe-color: var(--lime); }
.ccard.s-active   { --stripe-color: var(--blue); }
.ccard.s-upcoming { --stripe-color: var(--yellow); }
.ccard.s-ended    { --stripe-color: var(--muted2); }

/* card head */
.ccard-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 18px 18px 12px;
}
.ccard-project { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ccard-logo {
  width: 54px; height: 54px; border-radius: 50%; object-fit: cover;
  background: var(--bg2); flex-shrink: 0; border: 2px solid var(--border2);
}
.ccard-logo-fb {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--bg2); border: 2px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: .92rem; font-weight: 800; color: var(--muted);
  flex-shrink: 0; letter-spacing: -.02em;
}
.ccard-titles { min-width: 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ccard-name { font-size: 1rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ccard-token { display: inline-flex; align-items: center; gap: 6px; }
.tok-sym {
  font-size: .78rem; font-weight: 700; color: var(--lime);
  background: var(--lime-dim); border: 1px solid var(--lime-glow);
  padding: 2px 8px; border-radius: 4px;
}
.tok-chain {
  font-size: .75rem; color: var(--muted);
  background: var(--bg2); border: 1px solid var(--border2);
  padding: 2px 8px; border-radius: 4px;
}
.st-badge {
  font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 6px;
  white-space: nowrap; flex-shrink: 0; border: 1px solid transparent;
  letter-spacing: .03em; text-transform: uppercase;
}
.st-claiming { background: var(--lime-dim); border-color: var(--lime-glow); color: var(--lime); }
.st-active   { background: var(--blue-dim); border-color: rgba(59,130,246,.3); color: var(--blue); }
.st-upcoming { background: var(--yellow-dim); border-color: rgba(245,158,11,.3); color: var(--yellow); }
.st-ended    { background: rgba(255,255,255,.04); border-color: var(--border2); color: var(--muted); }
.st-new      { background: var(--green-dim); border-color: rgba(34,197,94,.3); color: var(--green); }
.st-pending  { background: var(--yellow-dim); border-color: rgba(245,158,11,.3); color: var(--yellow); }

/* distributor radar card extras */
.ccard.s-new     { --stripe-color: var(--green); }
.ccard.s-pending { --stripe-color: var(--yellow); }
.ccard.s-closed  { --stripe-color: var(--muted2); }
.cd-action-contract { background: var(--blue-dim); border-color: rgba(59,130,246,.3); color: var(--blue); }
.cd-action-contract:hover { background: rgba(59,130,246,.2); }
.radar-contract-link { color: var(--blue); font-size: .85rem; }

/* description + project links */
.ccard-desc {
  padding: 12px 18px 14px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.ccard-desc-text {
  font-size: .79rem; color: var(--muted); line-height: 1.5;
  text-align: center; font-style: italic; margin: 0;
  min-height: calc(1.5em * 3);
}
.ccard-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.ccard-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 600;
  padding: 3px 9px; border-radius: 20px;
  border: 1px solid transparent; text-decoration: none;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.ccard-link:hover { transform: translateY(-1px); }
.ccard-link-x   { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); color: var(--text); }
.ccard-link-x:hover { background: rgba(255,255,255,.13); }
.ccard-link-web { background: var(--lime-dim); border-color: var(--lime-glow); color: var(--lime); }
.ccard-link-web:hover { background: rgba(182,240,0,.18); }
body[data-theme='light'] .ccard-link-web:hover { background: #d4ecaa; }
body[data-theme='light'] .ccard-link-x { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.13); color: var(--text); }
body[data-theme='light'] .ccard-link-x:hover { background: rgba(0,0,0,.11); }

/* contract link badge (inline next to chain) */
.ccard-contract-link {
  display: inline-flex; align-items: center;
  font-size: .68rem; font-weight: 600;
  padding: 2px 7px; border-radius: 5px;
  background: var(--blue-dim); border: 1px solid rgba(59,130,246,.25); color: var(--blue);
  transition: background .15s; text-decoration: none; white-space: nowrap;
}
.ccard-contract-link:hover { background: rgba(59,130,246,.2); }

/* dates */
.ccard-dates { padding: 0 18px 14px; display: flex; flex-direction: column; gap: 5px; }
.date-row    { display: flex; align-items: center; gap: 8px; font-size: .8rem; }
.di   { font-size: .9rem; flex-shrink: 0; width: 18px; text-align: center; }
.dlbl { color: var(--muted); flex: 1; }
.dval { font-weight: 500; color: var(--text); }
.dval.hi-g { color: var(--green);  font-weight: 600; }
.dval.hi-y { color: var(--yellow); font-weight: 600; }

/* stats grid */
.ccard-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
}
.cs {
  padding: 13px 16px; border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 3px;
}
.cs:nth-child(2n)         { border-right: none; }
.cs:nth-last-child(-n+2)  { border-bottom: none; }
.cs-lbl { font-size: .73rem; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.cs-val { font-size: .97rem; font-weight: 700; color: var(--text); }
.cs-val.hi { color: var(--lime); }
.cs-sub { font-size: .73rem; color: var(--muted); }

/* countdown row */
.ccard-cd {
  padding: 11px 18px; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
body[data-theme='light'] .ccard-cd { background: rgba(0,0,0,.03); }
.cd-lbl   { font-size: .75rem; color: var(--muted); margin-bottom: 2px; }
.cd-timer { font-size: .85rem; font-weight: 700; color: var(--lime); font-variant-numeric: tabular-nums; }
.cd-timer.cd-y { color: var(--yellow); }
.cd-timer.cd-e { color: var(--muted); }
.cd-action {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .78rem; font-weight: 700; padding: 6px 14px;
  border-radius: 7px; background: var(--lime-dim);
  border: 1px solid var(--lime-glow); color: var(--lime);
  transition: background .15s, border-color .15s; white-space: nowrap;
}
.cd-action:hover { background: rgba(182,240,0,.2); }
.cd-action.no-link { background: var(--bg2); border-color: var(--border2); color: var(--muted); cursor: default; }
body[data-theme='light'] .cd-action:not(.no-link):not(.cd-action-secondary):not(.cd-action-contract) {
  background: var(--lime); border-color: var(--lime); color: #fff;
}
body[data-theme='light'] .cd-action:not(.no-link):not(.cd-action-secondary):not(.cd-action-contract):hover {
  background: #2d5200; border-color: #2d5200;
}
.cd-action-stack {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 6px; flex-shrink: 0;
}
.cd-action-ref {
  background: var(--lime-dim);
  border-color: var(--lime-glow);
  color: var(--lime);
}
body[data-theme='light'] .cd-action-ref {
  background: var(--lime); border-color: var(--lime); color: #fff;
}
body[data-theme='light'] .cd-action-ref:hover {
  background: #2d5200; border-color: #2d5200;
}
.cd-action-secondary {
  background: transparent;
  border-color: rgba(182,240,0,.28);
  color: rgba(182,240,0,.62);
  padding: 5px 12px;
  font-size: .72rem;
}
.cd-action-secondary:hover {
  background: rgba(182,240,0,.07);
  border-color: rgba(182,240,0,.48);
  color: rgba(182,240,0,.92);
}
body[data-theme='light'] .cd-action-secondary {
  background: #eaf5c8; border-color: #6a9c00; color: #3a6b00;
}
body[data-theme='light'] .cd-action-secondary:hover {
  background: #d4ecaa; border-color: #4d8000; color: #2d5200;
}

/* loading / empty */
.loading-state, .empty-state {
  grid-column: 1/-1; display: flex; flex-direction: column;
  align-items: center; gap: 16px; padding: 80px 20px;
  color: var(--muted); text-align: center;
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border2); border-top-color: var(--lime);
  border-radius: 50%; animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── DISTRIBUTOR MONITOR ── */
.dist-section {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 0 0 48px;
}
.dist-section .page-wrap { padding-bottom: 0; }
.dist-header { margin-bottom: 20px; padding-top: 32px; }
.dist-title-row { display: flex; flex-direction: column; gap: 4px; }
.dist-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 700; color: var(--text);
}
.dist-icon { font-size: 1.15rem; }
.dist-count {
  font-size: .75rem; font-weight: 700; padding: 2px 9px;
  border-radius: 99px; background: var(--lime-dim); border: 1px solid var(--lime-glow);
  color: var(--lime);
}
.dist-sub { font-size: .8rem; color: var(--muted); }

.dist-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.dist-table {
  width: 100%; border-collapse: collapse;
  font-size: .82rem;
}
.dist-table thead tr { background: var(--card); border-bottom: 1px solid var(--border2); }
.dist-table th {
  padding: 10px 14px; text-align: left;
  font-size: .72rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap;
}
.dist-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.dist-table tr:last-child td { border-bottom: none; }
.dist-table tbody tr { background: var(--card); transition: background .15s; }
.dist-table tbody tr:hover { background: var(--card-h); }
.dist-loading { text-align: center; color: var(--muted); padding: 32px; }

.chain-badge {
  display: inline-block; padding: 3px 9px; border-radius: 5px;
  font-size: .72rem; font-weight: 700;
  background: color-mix(in srgb, var(--chain-c) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--chain-c) 35%, transparent);
  color: var(--chain-c);
}
.td-token { display: flex; flex-direction: column; gap: 2px; min-width: 120px; }
.tok-name { font-weight: 700; color: var(--text); }
.tok-proj { font-size: .73rem; color: var(--muted); }
.td-num { font-weight: 600; color: var(--text); white-space: nowrap; }
.td-dt { color: var(--muted); font-size: .79rem; white-space: nowrap; }
.dt-pending { color: var(--muted2); }

.dist-status {
  display: inline-block; padding: 3px 9px; border-radius: 5px;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  border: 1px solid transparent; white-space: nowrap;
}
  .status-new      { background: rgba(34,197,94,.15); border-color: rgba(34,197,94,.3); color: var(--green); }
  .status-claiming { background: rgba(182,240,0,.15); border-color: rgba(182,240,0,.3); color: var(--lime); }
  .status-pending  { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.25); color: var(--yellow); }
  .status-closed   { background: rgba(107,114,128,.1); border-color: rgba(107,114,128,.2); color: var(--muted2); }

  /* ── CONTRACT LINK ── */
  .td-contract { text-align: center; min-width: 50px; }
  .contract-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 5px;
    background: rgba(182,240,0,.08); color: var(--lime);
    font-size: 13px; text-decoration: none;
    transition: all .2s;
    cursor: pointer;
    border: 1px solid rgba(182,240,0,.15);
  }
  .contract-link:hover { background: rgba(182,240,0,.15); transform: scale(1.08); border-color: rgba(182,240,0,.3); }
  /* ── DISTRIBUTOR FILTERS ── */
  .dist-filters { display: flex; gap: 8px; flex-wrap: wrap; }
  .dflt {
    padding: 6px 12px; font-size: .80rem; font-weight: 600;
    background: rgba(182,240,0,.05); border: 1px solid var(--border2);
    color: var(--muted); border-radius: 6px; cursor: pointer;
    transition: all .2s;
  }
  .dflt:hover { border-color: var(--lime); color: var(--text); }
  .dflt.active { background: var(--lime-dim); border-color: var(--lime); color: var(--lime); }

/* footer */
.footer { border-top: 1px solid var(--border); background: var(--bg2); padding: 40px 20px 32px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo  { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.footer-name  { font-size: .95rem; font-weight: 700; color: var(--text); }
.footer-tagline { font-size: .82rem; color: var(--muted); max-width: 400px; line-height: 1.5; }
.footer-socials { display: flex; gap: 8px; align-items: center; }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px;
}
.footer-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .77rem; font-weight: 600; padding: 6px 14px;
  border-radius: 8px; border: 1px solid var(--border2);
  color: var(--muted); background: var(--card);
  text-decoration: none; transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap;
}
.footer-link:hover { border-color: var(--muted2); color: var(--text); }
.footer-link-cta {
  background: var(--lime-dim); border-color: var(--lime-glow); color: var(--lime);
}
.footer-link-cta:hover { background: rgba(182,240,0,.18); color: var(--lime); }
.footer-disclaimer {
  font-size: .73rem; color: var(--muted2); max-width: 540px; line-height: 1.6;
  padding: 12px 16px; border-radius: 8px;
  background: rgba(245,158,11,.05); border: 1px solid rgba(245,158,11,.12);
}
.footer-copy  { font-size: .70rem; color: var(--muted2); }
/* nav clock */
.nav-clock {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 0; padding: 5px 10px; border-radius: var(--radius-sm);
  background: var(--bg2); border: 1px solid var(--border2);
  line-height: 1.2;
}
.nc-primary { display: flex; align-items: center; gap: 5px; }
.nc-time { font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums;
  letter-spacing: .04em; color: var(--text); }
.nc-tz { font-size: .62rem; font-weight: 700; color: var(--lime); letter-spacing: .07em; }


/* responsive */
@media (max-width: 640px) {
  .desktop-only { display: none !important; }
  .hero, .hero-img { max-height: 160px; }

  .page-wrap { padding: 16px 12px 60px; }
  .nbtn-ghost .nbtn-text { display: none; }
  .nbtn-cta-sub { display: none; }
  .quick-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccard-cd { flex-direction: column; align-items: stretch; }
  .cd-action-stack { width: 100%; align-items: stretch; }
  .cd-action-stack .cd-action { justify-content: center; }
  .filters-row { gap: 6px; margin-bottom: 20px; }
  .flt { padding: 7px 14px; font-size: .8rem; }
  .dist-header { padding-top: 24px; }
  .dist-filters { padding-bottom: 4px; }
}
@media (max-width: 400px) {
  .nav-actions { gap: 4px; }
  .nav-name { display: none; }
  .nbtn { padding: 7px 9px; font-size: .75rem; }
  .nbtn-icon { padding: 6px 7px; }
  .nbtn-cta { padding: 6px 9px; }
  .quick-links-grid { grid-template-columns: 1fr; }
}
