/* ============================================================
   ApeDegen Sniper — Site styles
   Dark degen trading-floor theme. Lime + gold + magenta accents.
   ============================================================ */
:root {
  --bg:        #0A0D14;
  --surface:   #121722;
  --surface-2: #1A2130;
  --line:      #232B3A;
  --line-2:    #2E384A;
  --fg:        #F5F7FA;
  --fg-muted:  #8A95A5;
  --fg-dim:    #5B6676;
  --accent:    #B8FF2A;
  --accent-dim: #87BF1F;
  --gold:      #FFC600;
  --magenta:   #FF3EA5;
  --up:        #4ADE80;
  --down:      #F43F5E;
  --bsc:   #F3BA2F;
  --eth:   #8F8AFA;
  --sol:   #B983FF;
  --base:  #448AFF;
  --poly:  #A764FF;
  --arb:   #28A0F0;
  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --body:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(10,13,20,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1360px; margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  display: grid; place-items: center;
  color: #0A0D14; font-weight: 800; font-size: 24px;
}
.brand-name { font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }
.brand-name span { color: var(--accent); }
.brand-logo { height: 56px; width: auto; max-width: 220px; }

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-link {
  padding: 8px 12px; border-radius: 8px;
  color: var(--fg-muted); font-weight: 500; font-size: 13px;
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active { color: var(--fg); background: var(--surface); }

.nav-spacer { flex: 1; }

.nav-cta {
  padding: 10px 18px; border-radius: 10px;
  background: var(--accent); color: #0A0D14;
  font-weight: 700; font-size: 13px; border: 0;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); }

.nav-cta.secondary {
  background: transparent; color: var(--fg);
  border: 1px solid var(--line-2);
}
.nav-cta.secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ============ MOBILE NAV — menu always visible, scrolls horizontally ============ */
@media (max-width: 900px) {
  .nav-inner {
    gap: 10px;
    padding: 10px 14px;
    flex-wrap: wrap;
  }
  .nav-spacer { display: none; }
  .brand-logo { height: 44px; max-width: 180px; }
  .brand-mark { width: 40px; height: 40px; font-size: 22px; border-radius: 10px; }
  .brand-name { font-size: 17px; }
  .nav-cta {
    padding: 9px 14px; font-size: 12px;
    margin-left: auto;
    order: 2;
  }

  /* Hide header mini banners on mobile */
  .header-mini-banners { display: none !important; }

  /* Menu becomes a horizontal scroll strip BELOW the brand row */
  .nav-links {
    order: 3;
    width: 100%;
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    gap: 4px;
    padding: 6px 0 2px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
    -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links .nav-link {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 8px;
  }
  .nav-links .nav-link.active {
    background: var(--accent);
    color: #0A0D14;
  }
}

/* ============ PROMO STRIP ============ */
.promo-strip {
  background: linear-gradient(90deg, rgba(255,198,0,0.1), rgba(184,255,42,0.08), rgba(255,62,165,0.08));
  border-bottom: 1px solid var(--line);
}
.promo-inner {
  max-width: 1360px; margin: 0 auto;
  padding: 10px 20px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
}
.promo-pill {
  background: var(--gold); color: #0A0D14;
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.05em; padding: 3px 8px; border-radius: 4px;
}
.promo-text b { color: var(--accent); }

/* ============ BANNER SLOTS ============ */
.ad-banner {
  max-width: 1360px; margin: 20px auto 0;
  padding: 0 20px;
}
.ad-banner-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.ad-banner-inner img { width: 100%; height: auto; display: block; }
.ad-banner-inner .ad-tag {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.6); color: var(--fg-muted);
  font-size: 10px; padding: 3px 7px; border-radius: 4px;
  letter-spacing: 0.08em; font-weight: 700;
}
.ad-placeholder {
  background: repeating-linear-gradient(45deg, rgba(184,255,42,0.03) 0 10px, transparent 10px 20px),
              linear-gradient(135deg, rgba(184,255,42,0.08), rgba(255,198,0,0.05));
  border: 1px dashed var(--line-2);
  padding: 30px 20px;
  text-align: center;
  border-radius: 14px;
  color: var(--fg-muted);
}
.ad-placeholder .ad-title {
  color: var(--accent); font-family: var(--display); font-weight: 700;
  font-size: 18px; margin-bottom: 6px;
}
.ad-placeholder a { color: var(--gold); font-weight: 700; }

/* ============ PAGE WRAP ============ */
.page {
  max-width: 1360px; margin: 0 auto;
  padding: 24px 20px 60px;
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px;
}
.page-full { max-width: 1100px; margin: 0 auto; padding: 24px 20px 60px; }
@media (max-width: 1000px) {
  .page { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ HEADLINES ============ */
.headline {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.02em; margin: 0 0 6px;
  text-wrap: balance;
}
.headline .accent { color: var(--accent); }
.headline .gold { color: var(--gold); }
.headline .mag { color: var(--magenta); }
.sub { color: var(--fg-muted); font-size: 15px; margin: 0 0 24px; }
.sub .dot { color: var(--accent); margin: 0 6px; }

/* ============ TABS ============ */
.tabs {
  display: flex; gap: 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 10px 16px; color: var(--fg-muted);
  font-weight: 600; font-size: 13px;
  border: 0; background: transparent;
  position: relative; white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.tab:hover { color: var(--fg); }
.tab.active { color: var(--fg); }
.tab.active::after {
  content: ""; position: absolute;
  left: 10px; right: 10px; bottom: -1px; height: 2px;
  background: var(--accent); border-radius: 2px 2px 0 0;
}
.tab-count {
  font-size: 10px; background: var(--surface-2);
  padding: 2px 6px; border-radius: 10px;
  color: var(--fg-dim); font-variant-numeric: tabular-nums;
}
.tab.active .tab-count { color: var(--accent); background: rgba(184,255,42,0.08); }

/* ============ CHAIN CHIPS ============ */
.chains {
  display: flex; gap: 8px; margin-bottom: 20px;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
}
.chains::-webkit-scrollbar { display: none; }
.chip {
  padding: 7px 12px; border-radius: 999px;
  background: var(--surface); color: var(--fg-muted);
  font-size: 12px; font-weight: 600;
  border: 1px solid var(--line); white-space: nowrap;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.chip:hover { color: var(--fg); border-color: var(--line-2); }
.chip.active { background: var(--accent); color: #0A0D14; border-color: var(--accent); }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-dot.bsc { background: var(--bsc); }
.chip-dot.eth { background: var(--eth); }
.chip-dot.sol, .chip-dot.solana { background: var(--sol); }
.chip-dot.base { background: var(--base); }
.chip-dot.poly, .chip-dot.polygon { background: var(--poly); }
.chip-dot.arb, .chip-dot.arbitrum { background: var(--arb); }

/* ============ TABLE ============ */
.table-wrap {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.table-head {
  display: grid;
  grid-template-columns: 48px 1fr 90px 110px 110px 120px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--fg-dim); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--surface-2);
}
.row {
  display: grid;
  grid-template-columns: 48px 1fr 90px 110px 110px 120px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  align-items: center; transition: background .1s;
  text-decoration: none; color: inherit;
}
.row:last-child { border-bottom: 0; }
.row:hover { background: rgba(184,255,42,0.025); }
.row.featured {
  background: linear-gradient(90deg, rgba(255,198,0,0.08), transparent 60%);
  border-left: 3px solid var(--gold); padding-left: 15px;
}
.rank {
  font-family: var(--mono); color: var(--fg-dim);
  font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.rank.top-3 { color: var(--accent); }

.coin { display: flex; align-items: center; gap: 12px; min-width: 0; }
.coin-logo {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700;
  font-size: 14px; color: #0A0D14; flex-shrink: 0;
}
.coin-logo img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.coin-info { min-width: 0; }
.coin-name {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; color: var(--fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.coin-symbol { color: var(--fg-muted); font-size: 12px; font-family: var(--mono); font-weight: 500; }
.coin-badges { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.mini-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.05em;
  padding: 2px 6px; border-radius: 3px;
  background: var(--surface-2); color: var(--fg-muted);
}
.mini-badge.audit { background: rgba(74,222,128,0.14); color: var(--up); }
.mini-badge.kyc { background: rgba(72,138,255,0.14); color: var(--base); }
.mini-badge.promo { background: rgba(255,198,0,0.16); color: var(--gold); }
.mini-badge.live { background: rgba(184,255,42,0.14); color: var(--accent); }
.mini-badge.presale { background: rgba(185,131,255,0.14); color: var(--sol); }

.chain-cell {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--fg-muted);
  text-transform: uppercase; letter-spacing: 0.03em;
}
.launch-cell { font-size: 12px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.launch-cell .d { color: var(--fg); font-weight: 600; }
.launch-cell .ago { color: var(--up); font-weight: 600; font-size: 11px; }
.launch-cell .soon { color: var(--gold); font-weight: 600; font-size: 11px; }
.launch-cell .live { color: var(--accent); font-weight: 700; font-size: 11px; }

.votes-cell {
  font-family: var(--mono); font-size: 15px; font-weight: 700;
  color: var(--fg); font-variant-numeric: tabular-nums;
}
.votes-cell .trend { display: block; font-size: 10px; color: var(--up); font-weight: 600; margin-top: 2px; }

.vote-btn {
  width: 100%; padding: 9px 14px;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: 10px; color: var(--fg);
  font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all .15s;
}
.vote-btn:hover { background: var(--accent); color: #0A0D14; border-color: var(--accent); }
.vote-btn.voted { background: rgba(184,255,42,0.1); color: var(--accent); border-color: var(--accent); }
.vote-btn:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 760px) {
  .table-head { display: none; }
  .row {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 12px; column-gap: 12px; padding: 14px;
  }
  .row .rank { grid-column: 1; grid-row: 1; }
  .row .coin { grid-column: 2; grid-row: 1; }
  .row .chain-cell { grid-column: 3; grid-row: 1; justify-self: end; }
  .row .launch-cell { grid-column: 1 / 3; grid-row: 2; align-self: center; }
  .row .votes-cell { display: none; }
  .row .vote-btn { grid-column: 3; grid-row: 2; min-width: 100px; }
}

/* ============ SIDE RAIL ============ */
.rail { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px;
}
.card-title {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 16px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
}
.card-title .pill {
  background: var(--surface-2); color: var(--fg-muted);
  font-size: 10px; letter-spacing: 0.08em; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; text-transform: uppercase; font-family: var(--body);
}

.promo-card {
  background: linear-gradient(135deg, rgba(255,198,0,0.1), rgba(184,255,42,0.05));
  border-color: rgba(255,198,0,0.3); overflow: hidden; position: relative;
}
.promo-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255,198,0,0.2), transparent 60%);
  pointer-events: none;
}
.promo-featured {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px;
}
.promo-featured .coin-logo { width: 48px; height: 48px; font-size: 18px; border-radius: 12px; }
.promo-featured-name { font-family: var(--display); font-size: 18px; font-weight: 700; }
.promo-featured-sub { font-size: 12px; color: var(--fg-muted); display: flex; align-items: center; gap: 6px; margin-top: 2px; }

.promo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 16px; }
.promo-stat-label {
  font-size: 10px; color: var(--fg-dim); letter-spacing: 0.08em;
  font-weight: 700; text-transform: uppercase; margin-bottom: 3px;
}
.promo-stat-value {
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  color: var(--fg); font-variant-numeric: tabular-nums;
}
.promo-stat-value.accent { color: var(--accent); }
.promo-cta {
  display: block; padding: 10px; background: var(--accent);
  color: #0A0D14; text-align: center; border-radius: 10px;
  font-weight: 700; font-size: 13px;
}

.mini-list { display: flex; flex-direction: column; gap: 12px; }
.mini-row {
  display: grid; grid-template-columns: 24px 1fr auto;
  align-items: center; gap: 10px; padding: 2px 0;
  text-decoration: none; color: inherit;
}
.mini-rank { font-family: var(--mono); color: var(--fg-dim); font-size: 12px; font-weight: 600; }
.mini-coin { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mini-logo {
  width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 10px;
  color: #0A0D14; flex-shrink: 0;
}
.mini-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-sym { color: var(--fg-muted); font-family: var(--mono); font-size: 11px; font-weight: 500; }
.mini-change { font-family: var(--mono); font-size: 12px; font-weight: 700; }
.mini-change.up { color: var(--up); }
.mini-change.down { color: var(--down); }

.submit-card {
  background: linear-gradient(135deg, rgba(255,62,165,0.08), rgba(184,255,42,0.05));
  border: 1px dashed var(--magenta); border-radius: 14px;
  padding: 20px; text-align: center;
}
.submit-card h3 { font-family: var(--display); font-size: 17px; margin: 0 0 6px; }
.submit-card p { color: var(--fg-muted); font-size: 13px; margin: 0 0 14px; }
.submit-card .submit-btn {
  display: inline-block; padding: 10px 20px;
  background: var(--accent); color: #0A0D14;
  border-radius: 10px; font-weight: 700; font-size: 13px; border: 0;
  text-decoration: none;
}

/* ============ FORMS ============ */
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 12px; font-weight: 600; color: var(--fg-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px;
  background: var(--surface); color: var(--fg);
  border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--body); font-size: 14px;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--accent);
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-row .hint { font-size: 11px; color: var(--fg-dim); margin-top: 4px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.btn-primary {
  padding: 12px 24px; background: var(--accent);
  color: #0A0D14; border: 0; border-radius: 10px;
  font-weight: 700; font-size: 14px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-1px); }

.btn-secondary {
  padding: 12px 24px; background: transparent;
  color: var(--fg); border: 1px solid var(--line-2);
  border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ============ ALERTS ============ */
.alert {
  padding: 14px 16px; border-radius: 10px; margin-bottom: 20px;
  font-size: 13px; display: flex; align-items: start; gap: 10px;
}
.alert.success { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); color: var(--up); }
.alert.error { background: rgba(244,63,94,0.1); border: 1px solid rgba(244,63,94,0.3); color: var(--down); }
.alert.info { background: rgba(72,138,255,0.1); border: 1px solid rgba(72,138,255,0.3); color: var(--base); }

/* ============ TOKEN DETAIL PAGE ============ */
.token-hero {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px;
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 20px; align-items: center; margin-bottom: 24px;
}
.token-hero-logo { width: 100px; height: 100px; border-radius: 20px; }
.token-hero-logo.coin-logo { font-size: 36px; }
.token-hero-name {
  font-family: var(--display); font-weight: 700;
  font-size: 32px; letter-spacing: -0.01em; margin: 0 0 4px;
}
.token-hero-sub { color: var(--fg-muted); font-family: var(--mono); font-size: 15px; }
.token-hero-actions { display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 760px) {
  .token-hero { grid-template-columns: 1fr; text-align: center; }
  .token-hero-logo { margin: 0 auto; }
}

.info-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px;
}
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-tile {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px;
}
.info-tile .label {
  font-size: 10px; color: var(--fg-dim); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 700; margin-bottom: 6px;
}
.info-tile .value {
  font-family: var(--mono); font-size: 18px; font-weight: 700;
  color: var(--fg); font-variant-numeric: tabular-nums;
}
.info-tile .value.accent { color: var(--accent); }

.token-section {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px; margin-bottom: 20px;
}
.section-title {
  font-family: var(--display); font-size: 18px; font-weight: 700;
  margin: 0 0 14px; letter-spacing: -0.01em;
}
.contract-box {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; font-family: var(--mono); font-size: 13px;
  color: var(--accent); word-break: break-all;
}

.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.social-link {
  padding: 8px 14px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 12px; font-weight: 600; color: var(--fg-muted);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.social-link:hover { background: var(--accent); color: #0A0D14; border-color: var(--accent); }

/* ============ ADVERTISE PAGE ============ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px; position: relative;
}
.price-card.popular {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(184,255,42,0.07), transparent);
}
.price-card.popular::before {
  content: "MOST POPULAR"; position: absolute; top: -12px; left: 20px;
  background: var(--accent); color: #0A0D14;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 4px;
}
.price-title {
  font-family: var(--display); font-size: 20px; font-weight: 700;
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.price-size { color: var(--fg-muted); font-size: 13px; margin-bottom: 16px; }
.price-value {
  font-family: var(--display); font-size: 36px; font-weight: 700;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.price-value .per { font-size: 14px; color: var(--fg-muted); font-weight: 500; }
.price-features { list-style: none; padding: 0; margin: 18px 0; }
.price-features li {
  padding: 6px 0; font-size: 13px; color: var(--fg-muted);
  display: flex; align-items: start; gap: 8px;
}
.price-features li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ============ MINI BANNERS (header) ============ */
.header-mini-banners {
  display: flex; gap: 8px; align-items: center;
}
.mini-banner {
  position: relative;
  width: 160px; height: 44px;
  border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .15s;
  text-decoration: none;
}
.mini-banner img { width: 100%; height: 100%; object-fit: cover; }
.mini-banner:hover { border-color: var(--accent); }
.mini-banner.mini-empty {
  background: linear-gradient(135deg, rgba(184,255,42,0.06), rgba(255,198,0,0.03));
  border: 1px dashed var(--line-2);
  color: var(--fg-muted); font-size: 11px; font-weight: 600;
  text-align: center; padding: 6px;
}
.mini-banner.mini-empty:hover { color: var(--accent); border-color: var(--accent); }
.mini-ad-tag {
  position: absolute; top: 2px; right: 3px;
  background: rgba(0,0,0,0.65); color: var(--fg-muted);
  font-size: 8px; letter-spacing: 0.08em; font-weight: 700;
  padding: 1px 4px; border-radius: 3px;
}

/* Hide header mini banners on tablet and below (space tight) */
@media (max-width: 1100px) {
  .header-mini-banners { display: none; }
}

/* ============ MINI BANNERS (footer, bigger) ============ */
.footer-mini-banners-wrap {
  background: linear-gradient(to bottom, var(--bg), var(--surface));
  border-top: 1px solid var(--line);
}
.footer-mini-banners {
  max-width: 1360px; margin: 0 auto;
  padding: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 760px) {
  .footer-mini-banners { grid-template-columns: 1fr; }
}
.footer-mini-banner {
  position: relative;
  min-height: 90px; border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .15s, transform .15s;
  text-decoration: none;
  color: inherit;
}
.footer-mini-banner img { width: 100%; height: 100%; object-fit: cover; max-height: 120px; }
.footer-mini-banner:hover { border-color: var(--accent); transform: translateY(-1px); }
.footer-mini-banner.footer-mini-empty {
  background: linear-gradient(135deg, rgba(184,255,42,0.07), rgba(255,198,0,0.03));
  border: 1px dashed var(--line-2);
  flex-direction: column; gap: 4px; padding: 20px;
}
.footer-mini-title { color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 16px; }
.footer-mini-sub { color: var(--fg-muted); font-size: 12px; }

/* ============ TRENDING TICKER ============ */
.ticker-wrap {
  background: linear-gradient(90deg, rgba(255,198,0,0.08), rgba(184,255,42,0.05), rgba(255,62,165,0.05));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 44px;
  position: relative;
}
.ticker-label {
  background: var(--gold);
  color: #0A0D14;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  flex-shrink: 0;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 32px;
  padding: 0 20px;
  animation: ticker-scroll 60s linear infinite;
  white-space: nowrap;
  min-width: 100%;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-item strong { color: var(--fg); }
.ticker-item:hover { color: var(--fg); }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ GIVEAWAY SIDEBAR WIDGET ============ */
.giveaway-widget {
  display: block; text-decoration: none; color: inherit;
  background: linear-gradient(135deg, rgba(255,198,0,0.12), rgba(255,62,165,0.06), rgba(184,255,42,0.04));
  border: 1px solid rgba(255,198,0,0.4);
  position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.giveaway-widget::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255,198,0,0.2), transparent 60%);
  pointer-events: none;
}
.giveaway-widget:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,198,0,0.2); }

/* Flashing giveaway nav link */
.nav-link[style*="var(--gold)"] {
  animation: giveaway-pulse 2s ease-in-out infinite;
}
@keyframes giveaway-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ============ SIDEBAR WIDGETS ============ */
.widget-prices .mini-row {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.widget-prices .mini-row:last-child { border-bottom: 0; }

/* Fear & Greed gauge */
.widget-fng .fng-gauge { text-align: center; padding: 10px 0; }
.widget-fng .fng-value {
  font-family: var(--display); font-weight: 700;
  font-size: 56px; line-height: 1;
  color: var(--accent); margin-bottom: 4px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.widget-fng .fng-label {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted); margin-bottom: 18px;
}
.widget-fng .fng-bar {
  height: 10px; border-radius: 5px;
  background: linear-gradient(90deg, #F43F5E, #FB923C, #FFC600, #4ADE80, #B8FF2A);
  position: relative; margin-bottom: 8px;
  overflow: hidden;
}
.widget-fng .fng-bar-fill {
  position: absolute; top: 0; left: 0;
  height: 100%; width: 0%;
  border-right: 3px solid var(--fg);
  transition: width 1s ease;
}
.widget-fng .fng-scale {
  display: flex; justify-content: space-between;
  font-size: 9px; letter-spacing: 0.06em;
  color: var(--fg-dim); font-weight: 700;
  text-transform: uppercase;
}

/* Dexscreener iframe wrapper */
.widget-dex { border-radius: 14px; }
.widget-dex iframe { background: #0D1117; }

/* ============ HOMEPAGE — ADVERTISE CTA (middle section) ============ */
.home-cta-wrap {
  max-width: 1360px; margin: 20px auto 40px;
  padding: 0 20px;
}
.home-cta {
  background: linear-gradient(135deg, rgba(184,255,42,0.1), rgba(255,198,0,0.06), rgba(255,62,165,0.08));
  border: 1px solid rgba(184,255,42,0.3);
  border-radius: 20px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.home-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(184,255,42,0.15), transparent 50%),
              radial-gradient(circle at bottom left, rgba(255,198,0,0.1), transparent 60%);
  pointer-events: none;
}
.home-cta-content { position: relative; z-index: 1; text-align: center; }
.home-cta-pill {
  display: inline-block;
  background: var(--accent); color: #0A0D14;
  font-size: 11px; letter-spacing: 0.1em; font-weight: 800;
  padding: 6px 14px; border-radius: 6px; margin-bottom: 16px;
}
.home-cta-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 4.5vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.home-cta-title .accent { color: var(--accent); }
.home-cta-title .gold { color: var(--gold); }
.home-cta-sub {
  color: var(--fg-muted); font-size: 15px;
  max-width: 540px; margin: 0 auto 30px;
  line-height: 1.6;
}
.home-cta-stats {
  display: flex; justify-content: center; gap: 40px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.home-cta-stat { text-align: center; }
.home-cta-stat-num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
}
.home-cta-stat-num.accent { color: var(--accent); }
.home-cta-stat-num.gold { color: var(--gold); }
.home-cta-stat-label {
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--fg-dim); font-weight: 700;
  text-transform: uppercase; margin-top: 4px;
}
.home-cta-buttons {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .home-cta { padding: 28px 20px; border-radius: 16px; }
  .home-cta-stats { gap: 20px; }
  .home-cta-buttons .btn-primary,
  .home-cta-buttons .btn-secondary { width: 100%; justify-content: center; }
}

/* ============ HOMEPAGE — LATEST BLOG POSTS ============ */
.home-blog {
  max-width: 1360px; margin: 40px auto 60px;
  padding: 0 20px;
}
.home-blog-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.home-blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .home-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .home-blog-grid { grid-template-columns: 1fr; } }

.home-blog-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, border-color .15s;
}
.home-blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.home-blog-cover {
  width: 100%; height: 180px;
  object-fit: cover;
  display: block;
}
.home-blog-cover-fallback {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: grid; place-items: center;
  font-size: 54px;
}
.home-blog-card-body { padding: 20px; }
.home-blog-category {
  font-size: 10px; letter-spacing: 0.08em;
  color: var(--accent); font-weight: 700;
  margin-bottom: 8px;
}
.home-blog-title {
  font-family: var(--display); font-size: 17px;
  font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 10px; color: var(--fg);
  line-height: 1.35;
}
.home-blog-excerpt {
  color: var(--fg-muted); font-size: 13px;
  margin: 0 0 14px; line-height: 1.5;
}
.home-blog-meta {
  font-size: 11px; color: var(--fg-dim);
  display: flex; gap: 6px;
}

/* ============ MOBILE RESPONSIVE FIXES ============ */
@media (max-width: 760px) {
  body { font-size: 14px; }
  .page, .page-full {
    padding: 16px 14px 40px;
    gap: 16px;
  }
  .headline { font-size: clamp(22px, 6vw, 30px) !important; }
  .sub { font-size: 13px; margin-bottom: 16px; }

  /* Tables scroll horizontally on mobile */
  .admin-table, table {
    display: block; overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  /* Token hero stacks on mobile */
  .token-hero { padding: 20px; gap: 14px; }
  .token-hero-name { font-size: 24px; }
  .token-hero-logo { width: 72px; height: 72px; }
  .token-hero-logo.coin-logo { font-size: 24px; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .info-tile { padding: 12px; }
  .info-tile .value { font-size: 15px; }

  /* Smaller sections */
  .token-section { padding: 20px 16px; margin-bottom: 14px; }
  .section-title { font-size: 16px; margin-bottom: 10px; }

  /* Buttons full-width on mobile */
  .btn-primary, .btn-secondary { padding: 12px 18px; font-size: 13px; }

  /* Pricing cards stack */
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .price-card { padding: 22px; }
  .price-title { font-size: 18px; }
  .price-value { font-size: 30px; }

  /* Tabs scroll */
  .tabs { padding-bottom: 2px; }
  .tab { padding: 8px 12px; font-size: 12px; }

  /* Forms */
  .form-row input, .form-row textarea, .form-row select {
    padding: 11px 12px; font-size: 15px; /* 15px prevents iOS zoom on focus */
  }

  /* Promo card tighter */
  .promo-featured .coin-logo { width: 40px; height: 40px; font-size: 14px; }
  .promo-featured-name { font-size: 16px; }
  .promo-stats { grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .promo-stat-value { font-size: 13px; }

  /* Alerts */
  .alert { padding: 12px; font-size: 12px; }

  /* Ad banners */
  .ad-banner { padding: 0 14px; margin-top: 12px; }

  /* Ticker on mobile */
  .ticker-label { padding: 4px 10px; font-size: 10px; }
  .ticker-item { font-size: 12px; }
  .ticker-wrap { height: 38px; }

  /* Footer */
  .footer-inner { padding: 24px 16px; gap: 20px; }
  .footer h4 { font-size: 12px; margin-bottom: 8px; }
  .footer ul li a { font-size: 12px; }
  .footer-bottom { padding: 16px; font-size: 11px; }
}

/* Prevent horizontal overflow across the whole site */
html, body { overflow-x: hidden; max-width: 100vw; }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--line); margin-top: 60px;
  background: var(--surface);
}
.footer-inner {
  max-width: 1360px; margin: 0 auto;
  padding: 40px 20px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-family: var(--display); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg); margin: 0 0 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer ul li a { font-size: 13px; color: var(--fg-muted); }
.footer ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px; text-align: center;
  color: var(--fg-dim); font-size: 12px;
}