/* ============================================================
   RushPoints — OpenSea Design System
   Dark trading-terminal aesthetic with Ice Signal accent
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- Design Tokens ---- */
:root {
  /* Colors */
  --color-ice-signal: #83c3ff;
  --color-paper-white: #ffffff;
  --color-fog: #acadae;
  --color-iron: #34353c;
  --color-slate: #3c3d40;
  --color-graphite: #26272d;
  --color-charcoal: #1b1d1f;
  --color-obsidian: #141415;
  --color-void: #080809;

  /* Semantic */
  --color-positive: #4ade80;
  --color-negative: #e24756;
  --color-warning: #f59e0b;

  /* Typography */
  --font-primary: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Type Scale */
  --text-caption: 12px;
  --text-body: 14px;
  --text-base: 16px;
  --text-heading-sm: 20px;
  --text-heading-lg: 32px;

  /* Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi: 600;

  /* Spacing */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-48: 48px;

  /* Layout */
  --page-max: 1440px;
  --content-max: 1100px;
  --section-gap: 48px;
  --card-pad: 12px;
  --el-gap: 8px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;

  /* Shadows — inset rings only */
  --ring: rgba(255, 255, 255, 0.08) 0px 0px 0px 1px inset;
  --ring-hover: rgba(255, 255, 255, 0.14) 0px 0px 0px 1px inset;

  /* Surfaces */
  --s0: #080809;
  --s1: #141415;
  --s2: #1b1d1f;
  --s3: #26272d;
  --s4: #3c3d40;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--color-paper-white);
  background: var(--s0);
  min-height: 100vh;
}

a {
  color: var(--color-ice-signal);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--color-paper-white); }

img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---- Utility ---- */
.mono { font-family: var(--font-mono); }
.fog { color: var(--color-fog); }
.ice { color: var(--color-ice-signal); }
.positive { color: var(--color-positive); }
.negative { color: var(--color-negative); }
.caption { font-size: var(--text-caption); }
.medium { font-weight: var(--fw-medium); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Layout Shell ---- */
.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrap {
  display: flex;
  flex: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  width: 100%;
}

.main-content {
  flex: 1;
  padding: var(--sp-24) var(--sp-32);
  min-width: 0;
}

.sidebar {
  width: 320px;
  flex-shrink: 0;
  border-left: 1px solid var(--color-iron);
  padding: var(--sp-24) var(--sp-16);
  background: var(--s2);
  overflow-y: auto;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
}

/* ---- Top Navigation ---- */
.topbar {
  height: 56px;
  background: var(--s1);
  border-bottom: 1px solid var(--color-iron);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-24);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  color: var(--color-paper-white);
  font-size: var(--text-base);
  font-weight: var(--fw-semi);
  text-decoration: none;
  margin-right: var(--sp-32);
}

.topbar-brand svg {
  width: 20px;
  height: 20px;
  fill: var(--color-ice-signal);
}

.topbar-brand .accent {
  color: var(--color-ice-signal);
}

.topbar-nav {
  display: flex;
  gap: var(--sp-4);
  flex: 1;
}

.topbar-nav a {
  color: var(--color-fog);
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  padding: var(--sp-8) var(--sp-12);
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
}

.topbar-nav a:hover,
.topbar-nav a.active {
  color: var(--color-paper-white);
  background: var(--s4);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  margin-left: auto;
}

.topbar-pill {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-4) var(--sp-12);
  background: var(--s2);
  border: 1px solid var(--color-iron);
  border-radius: var(--r-sm);
  color: var(--color-paper-white);
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  font-weight: var(--fw-medium);
}

.topbar-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-positive);
}

/* ---- Section Headers ---- */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-24);
}

.section-header h2 {
  font-size: var(--text-heading-lg);
  font-weight: var(--fw-medium);
  line-height: 1.25;
  color: var(--color-paper-white);
}

.section-header .see-all {
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  color: var(--color-ice-signal);
}

.section-header .see-all:hover {
  color: var(--color-paper-white);
}

/* ---- Cards ---- */
.card {
  background: var(--s2);
  border-radius: var(--r-md);
  padding: var(--card-pad);
  box-shadow: var(--ring);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--ring-hover);
}

/* ---- Offer Grid ---- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-12);
}

.offer-card {
  background: var(--s2);
  border-radius: var(--r-md);
  box-shadow: var(--ring);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.offer-card:hover {
  box-shadow: var(--ring-hover);
  transform: translateY(-2px);
  color: inherit;
}

.offer-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--s3);
}

.offer-card-body {
  padding: var(--card-pad);
}

.offer-card-title {
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  color: var(--color-paper-white);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.offer-card-title .verified {
  width: 14px;
  height: 14px;
  fill: var(--color-ice-signal);
  flex-shrink: 0;
}

.offer-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--sp-8);
}

.offer-payout {
  font-family: var(--font-mono);
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  color: var(--color-paper-white);
}

.offer-payout .currency {
  color: var(--color-fog);
  font-weight: var(--fw-regular);
}

.offer-tag {
  font-size: var(--text-caption);
  padding: 2px var(--sp-8);
  border-radius: var(--r-sm);
  background: var(--s3);
  color: var(--color-fog);
  font-weight: var(--fw-medium);
}

.offer-tag.hot {
  background: rgba(226, 71, 86, 0.15);
  color: var(--color-negative);
}

.offer-tag.popular {
  background: rgba(131, 195, 255, 0.12);
  color: var(--color-ice-signal);
}

.offer-tag.easy {
  background: rgba(74, 222, 128, 0.12);
  color: var(--color-positive);
}

.offer-desc {
  font-size: var(--text-caption);
  color: var(--color-fog);
  line-height: 1.5;
  margin-top: var(--sp-4);
}

/* ---- Filter Pills ---- */
.pill-bar {
  display: flex;
  gap: var(--sp-8);
  margin-bottom: var(--sp-24);
  flex-wrap: wrap;
}

.pill {
  height: 28px;
  padding: 0 var(--sp-12);
  border: 1px solid var(--color-iron);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--color-paper-white);
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}

.pill:hover {
  background: var(--s4);
}

.pill.active {
  border-color: var(--color-ice-signal);
  color: var(--color-ice-signal);
}

/* ---- Hero / Featured Banner ---- */
.hero-banner {
  background: var(--s2);
  border-radius: var(--r-md);
  box-shadow: var(--ring);
  padding: var(--sp-32);
  margin-bottom: var(--section-gap);
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(131,195,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-12);
  background: rgba(131,195,255,0.1);
  border: 1px solid rgba(131,195,255,0.2);
  border-radius: var(--r-sm);
  font-size: var(--text-caption);
  font-weight: var(--fw-medium);
  color: var(--color-ice-signal);
  margin-bottom: var(--sp-16);
}

.hero-title {
  font-size: var(--text-heading-lg);
  font-weight: var(--fw-medium);
  line-height: 1.25;
  color: var(--color-paper-white);
  margin-bottom: var(--sp-12);
  max-width: 600px;
}

.hero-sub {
  font-size: var(--text-body);
  color: var(--color-fog);
  max-width: 500px;
  margin-bottom: var(--sp-24);
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: var(--sp-24);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-mono);
  font-size: var(--text-heading-sm);
  font-weight: var(--fw-medium);
  color: var(--color-paper-white);
}

.hero-stat-label {
  font-size: var(--text-caption);
  color: var(--color-fog);
  margin-top: 2px;
}

/* ---- Outlined Action Button ---- */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding: 10px var(--sp-16);
  border: 1px solid var(--color-ice-signal);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--color-paper-white);
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.btn-outline:hover {
  border-color: var(--color-paper-white);
  background: rgba(255,255,255,0.04);
  color: var(--color-paper-white);
}

.btn-outline svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---- Sidebar Components ---- */
.sidebar-section {
  margin-bottom: var(--sp-32);
}

.sidebar-title {
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  color: var(--color-paper-white);
  margin-bottom: var(--sp-16);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--color-iron);
}

.sidebar-row {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-8) var(--sp-4);
  border-radius: var(--r-sm);
  transition: background 0.15s;
  cursor: default;
}

.sidebar-row:hover {
  background: var(--s4);
}

.sidebar-row-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  background: var(--s3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-row-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--color-fog);
}

.sidebar-row-info {
  flex: 1;
  min-width: 0;
}

.sidebar-row-name {
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  color: var(--color-paper-white);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.sidebar-row-name .v-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-ice-signal);
  flex-shrink: 0;
}

.sidebar-row-sub {
  font-size: var(--text-caption);
  color: var(--color-fog);
}

.sidebar-row-value {
  text-align: right;
  flex-shrink: 0;
}

.sidebar-row-value .amount {
  font-family: var(--font-mono);
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  color: var(--color-paper-white);
}

.sidebar-row-value .delta {
  font-size: 10px;
  font-family: var(--font-mono);
}

/* ---- How It Works ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-12);
}

.step-card {
  background: var(--s2);
  border-radius: var(--r-md);
  box-shadow: var(--ring);
  padding: var(--sp-16);
  text-align: center;
}

.step-num {
  font-family: var(--font-mono);
  font-size: var(--text-heading-sm);
  font-weight: var(--fw-medium);
  color: var(--color-ice-signal);
  margin-bottom: var(--sp-8);
}

.step-label {
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  color: var(--color-paper-white);
  margin-bottom: var(--sp-4);
}

.step-desc {
  font-size: var(--text-caption);
  color: var(--color-fog);
  line-height: 1.5;
}

/* ---- Payout Methods ---- */
.payout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-12);
}

.payout-card {
  background: var(--s2);
  border-radius: var(--r-md);
  box-shadow: var(--ring);
  padding: var(--sp-16);
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}

.payout-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--s3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payout-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-fog);
}

.payout-name {
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  color: var(--color-paper-white);
}

.payout-min {
  font-size: var(--text-caption);
  color: var(--color-fog);
  font-family: var(--font-mono);
}

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.faq-item {
  background: var(--s2);
  border-radius: var(--r-md);
  box-shadow: var(--ring);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: var(--sp-16);
  background: none;
  border: none;
  color: var(--color-paper-white);
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s;
}

.faq-q:hover {
  background: var(--s3);
}

.faq-q svg {
  width: 16px;
  height: 16px;
  fill: var(--color-fog);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a-inner {
  padding: 0 var(--sp-16) var(--sp-16);
  font-size: var(--text-body);
  color: var(--color-fog);
  line-height: 1.6;
}

/* ---- Footer ---- */
.site-footer {
  height: 40px;
  background: var(--s1);
  border-top: 1px solid var(--color-iron);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-24);
  font-size: var(--text-caption);
  color: var(--color-fog);
}

.footer-links {
  display: flex;
  gap: var(--sp-16);
}

.footer-links a {
  color: var(--color-fog);
  font-size: var(--text-caption);
}

.footer-links a:hover {
  color: var(--color-paper-white);
}

/* ---- Redirect Page ---- */
.redirect-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  gap: var(--sp-16);
}

.redirect-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--color-iron);
  border-top-color: var(--color-ice-signal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---- Sections ---- */
.section {
  margin-bottom: var(--section-gap);
}

/* ---- Buttons & Direct Links Component Styling ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--color-ice-signal);
  color: var(--color-void);
  font-weight: var(--fw-semi);
}
.btn-primary:hover {
  background: #a3d4ff;
  color: var(--color-void);
}
.btn-cyan {
  background: #06b6d4;
  color: #080809;
  font-weight: var(--fw-semi);
  border-radius: var(--r-sm);
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
}
.btn-cyan:hover {
  background: #22d3ee;
}
.btn-outline {
  background: transparent;
  color: var(--color-paper-white);
  box-shadow: var(--ring);
}
.btn-outline:hover {
  box-shadow: var(--ring-hover);
  color: var(--color-ice-signal);
}
.btn-direct-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* Hidden In-Text Ad Links */
.hidden-ad-link {
  color: var(--color-ice-signal);
  text-decoration: underline;
  text-decoration-color: rgba(131, 195, 255, 0.4);
  text-underline-offset: 3px;
  font-weight: 500;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(131, 195, 255, 0.08);
  transition: all 0.2s ease;
}
.hidden-ad-link:hover {
  color: #fff;
  background: rgba(131, 195, 255, 0.2);
  text-decoration-color: var(--color-ice-signal);
}

/* Guide Navbars */
.navbar {
  height: 56px;
  background: var(--s1);
  border-bottom: 1px solid var(--color-iron);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-24);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--page-max);
  margin: 0 auto;
  width: 100%;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  color: var(--color-paper-white);
  font-size: var(--text-base);
  font-weight: var(--fw-semi);
  text-decoration: none;
}
.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  background: var(--s3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-iron);
}
.logo-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--color-ice-signal);
}
.gradient-accent {
  color: var(--color-ice-signal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-btn {
  padding: 6px 12px;
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .nav-btn {
    padding: 5px 8px;
    font-size: 11px;
  }
}

/* Mobile Sticky Direct Ad Bar */
.mobile-sticky-ad-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 20, 30, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(131, 195, 255, 0.3);
  padding: 10px 16px;
  z-index: 9999;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}
.mobile-ad-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #f8fafc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-ad-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  flex-shrink: 0;
}
.btn-mobile-direct {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

/* Premium Article & Guide Desktop Layout */
.blog-article,
.article-container {
  max-width: 960px;
  width: 100%;
  margin: 0;
  padding: 16px 0 60px;
}
.article-header {
  margin-bottom: var(--sp-32);
}
.article-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  color: var(--color-fog);
  font-size: 0.85rem;
  margin-top: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-iron);
  flex-wrap: wrap;
}
.blog-body,
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-fog);
}
.blog-body p,
.article-body p {
  margin-bottom: 20px;
  color: #cbd5e1;
}
.blog-body h2,
.article-body h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  color: var(--color-ice-signal);
}
.blog-body h3,
.article-body h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: #c4b5fd;
}
.blog-body ul, .blog-body ol,
.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
  color: #cbd5e1;
}
.blog-body li,
.article-body li {
  margin-bottom: 8px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .sidebar { display: none; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px; /* Space for floating mobile bar */
  }
  .mobile-sticky-ad-bar {
    display: flex;
  }
  .topbar {
    height: auto;
    min-height: 56px;
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .topbar-brand {
    margin-right: auto;
  }
  .topbar-nav {
    display: flex;
    overflow-x: auto;
    width: 100%;
    order: 3;
    padding: 6px 0 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-top: 1px solid var(--color-iron);
    gap: 6px;
  }
  .topbar-nav::-webkit-scrollbar { display: none; }
  .topbar-nav a {
    padding: 4px 10px;
    font-size: 12px;
    white-space: nowrap;
    background: var(--s2);
    border: 1px solid var(--color-iron);
    border-radius: var(--r-sm);
  }
  .topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .topbar-pill {
    display: none; /* Prevent button collisions */
  }
  .topbar-actions .btn-outline {
    padding: 5px 10px;
    font-size: 11px;
    white-space: nowrap;
  }
  
  /* Guide Navbars on Mobile */
  .navbar {
    padding: 10px 16px;
    height: auto;
  }
  .nav-container {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .brand-logo span {
    font-size: 14px;
  }
  .nav-container > div {
    display: flex;
    gap: 6px !important;
  }
  .nav-container .btn {
    padding: 6px 10px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }

  /* Main layout */
  .main-content { padding: 16px 12px; }
  .content-wrap { flex-direction: column; }
  .offer-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .payout-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 12px; }
  .hero-stat { min-width: 130px; }
  .hero-title { font-size: 22px; line-height: 1.3; }
  .hero-banner { padding: 18px 16px; }
  .section-header h2 { font-size: 20px; }
  .pill-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }

  /* Live Surveys Widget on Mobile */
  .live-surveys-widget {
    padding: 16px 12px !important;
    margin: 24px 0 !important;
  }
  .live-surveys-widget h3 {
    font-size: 1rem !important;
  }
  .live-survey-row {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 14px 12px !important;
    gap: 12px !important;
  }
  .live-survey-row-right {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .live-survey-row-right a.btn-direct-offer {
    padding: 10px 18px !important;
    font-size: 13px !important;
    text-align: center !important;
  }
  
  /* Backlink Network on Mobile */
  .backlink-network {
    padding: 16px 12px !important;
  }
  .backlink-network > div {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Articles on Mobile */
  .blog-article, .article-container {
    padding: 24px 14px 60px !important;
  }
  .article-title, .hero-title {
    font-size: 22px !important;
  }
  .callout-box {
    padding: 16px 12px !important;
  }
}

@media (max-width: 480px) {
  .topbar-brand span {
    font-size: 14px;
  }
  .brand-logo .logo-icon {
    width: 24px;
    height: 24px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-stat {
    min-width: unset;
  }
  .hero-stat-value {
    font-size: 18px !important;
  }
}
