/* ==========================================================================
   BeerMoneyHub — Clean Light Theme & Precision Alignment System
   ========================================================================== */

:root {
  /* Light Theme Palette (Default) */
  --bg: #f8fafc;
  --bg-subtle: #f1f5f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  
  --fg: #0f172a;
  --fg-soft: #334155;
  --muted: #64748b;
  
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #059669;
  
  --emerald: #059669;
  --emerald-dark: #047857;
  --emerald-subtle: #ecfdf5;
  --emerald-border: #a7f3d0;
  
  --cyan: #0284c7;
  --cyan-subtle: #f0f9ff;
  --cyan-border: #bae6fd;
  
  --amber: #d97706;
  --amber-subtle: #fffbeb;
  --amber-border: #fde68a;
  
  --purple: #7c3aed;
  --purple-subtle: #f5f3ff;
  --purple-border: #ddd6fe;
  
  --danger: #dc2626;
  --danger-subtle: #fef2f2;
  --danger-border: #fecaca;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Fira Code", Menlo, Monaco, Consolas, monospace;
  
  --maxw: 1220px;
  --radius: 8px;
  --radius-lg: 14px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: #0369a1;
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-brand-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-nav-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
}
.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}
.brand-text {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
}
.hub-tag {
  margin-left: 0.4rem;
  background: #0f172a;
  color: #34d399;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.3;
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: inline-block;
}
.header-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-dark);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
@media (max-width: 720px) {
  .header-live-badge { display: none; }
}
.live-dot-pulse {
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}
.live-dot-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--emerald);
  opacity: 0.5;
  animation: livePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes livePing {
  0% { transform: scale(0.8); opacity: 0.8; }
  70%, 100% { transform: scale(2.2); opacity: 0; }
}
.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}
.site-nav a {
  color: var(--fg-soft);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--fg);
  background: var(--bg-subtle);
  text-decoration: none;
}
.badge-nav {
  background: var(--cyan-subtle) !important;
  color: var(--cyan) !important;
  border: 1px solid var(--cyan-border) !important;
  font-weight: 700 !important;
}
.badge-nav:hover {
  background: #e0f2fe !important;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-btn {
  background: none;
  border: none;
  color: var(--fg-soft);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  transition: all 0.15s ease;
}
.nav-dropdown-btn:hover,
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown.active .nav-dropdown-btn {
  color: var(--fg);
  background: var(--bg-subtle);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  margin-top: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  backdrop-filter: blur(12px);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem !important;
  border-radius: 6px;
  color: var(--fg) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-decoration: none;
  transition: background 0.15s ease;
}
.nav-dropdown-item:hover {
  background: var(--bg-subtle) !important;
  color: var(--emerald) !important;
}
.nav-dropdown-item .item-title {
  display: block;
  line-height: 1.25;
}
.nav-dropdown-item .item-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.15rem;
  line-height: 1.2;
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.35rem 0.25rem;
}

/* ==========================================================================
   Asymmetric Fintech Hero & Live Terminal Spotlight
   ========================================================================== */
.hero-fintech {
  padding: 3.25rem 0 2rem;
}
.hero-fintech-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-fintech-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.hero-radar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-dark);
  padding: 0.32rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-fintech-title {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin: 1rem 0 1rem;
}
.highlight-fintech {
  background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .highlight-fintech {
  background: linear-gradient(135deg, #34d399 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-fintech-desc {
  font-size: 1.05rem;
  color: var(--fg-soft);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 0 1.75rem;
}
.hero-actions-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-btn-main {
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-btn-sub {
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.badge-mini-hot {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.hero-trust-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) {
  .hero-trust-matrix {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}
.trust-matrix-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.trust-matrix-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--fg);
}
.trust-matrix-item span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 0.15rem;
}
.trust-icon {
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Right Column: Terminal Spotlight Widget */
.terminal-widget-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(16, 185, 129, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.terminal-widget-card:hover {
  box-shadow: var(--shadow-lg), 0 0 24px rgba(16, 185, 129, 0.12);
}
.terminal-header {
  background: var(--surface-2);
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.terminal-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.terminal-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--emerald-dark);
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}
.status-live-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  display: inline-block;
}
.terminal-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.terminal-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  text-decoration: none !important;
  transition: all 0.18s ease;
}
.terminal-item:hover {
  border-color: var(--emerald);
  transform: translateX(3px);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.terminal-item-icon {
  font-size: 1.45rem;
  flex-shrink: 0;
  line-height: 1;
}
.terminal-item-info {
  flex: 1;
  min-width: 0;
}
.terminal-item-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}
.terminal-cat-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.terminal-badge-risk {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--emerald-dark);
  background: var(--emerald-subtle);
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
}
.terminal-item-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.terminal-item-meta {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.25;
}
.terminal-item-stat {
  text-align: right;
  flex-shrink: 0;
}
.terminal-yield-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--emerald-dark);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.terminal-yield-label {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}
.terminal-footer {
  background: var(--surface-2);
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}
.stat-caption {
  color: var(--muted);
  font-size: 0.75rem;
}
.stat-highlight {
  font-weight: 900;
  color: var(--emerald-dark);
  margin-left: 0.35rem;
}
.terminal-footer-link {
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.8rem;
}
.terminal-footer-link:hover {
  text-decoration: underline;
  color: var(--emerald-dark);
}

/* Page Header fallback for sub-pages */
.hero-page-header {
  padding: 2.5rem 0 1.5rem;
}

/* ==========================================================================
   Interactive Filter & Search Controls (Precision Aligned)
   ========================================================================== */
.filter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0 1.5rem;
  box-shadow: var(--shadow);
}
.filter-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 0.85rem;
  align-items: end; /* Perfect bottom alignment for all inputs */
}
@media (max-width: 1024px) {
  .filter-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .filter-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .filter-grid { grid-template-columns: 1fr; }
}
.filter-control {
  display: flex;
  flex-direction: column;
}
.filter-control label {
  height: 18px;
  line-height: 18px;
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.input-search, .select-filter {
  height: 42px;
  line-height: 42px;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  padding: 0 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input-search::placeholder {
  color: var(--muted);
}
.input-search:focus, .select-filter:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* Category Quick-Select Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.cat-pill {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--fg-soft);
  padding: 0.42rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
  user-select: none;
}
.cat-pill:hover {
  background: var(--border);
  color: var(--fg);
  border-color: var(--border-strong);
}
.cat-pill.active {
  background: var(--emerald-subtle);
  border-color: var(--emerald);
  color: var(--emerald-dark);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--emerald);
}

/* ==========================================================================
   Platform Directory Table (Precision Aligned)
   ========================================================================== */
.directory-container {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}
.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.table-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
table.platform-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
table.platform-table th {
  background: var(--bg-subtle);
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}
table.platform-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  overflow: hidden;
}
table.platform-table tr:last-child td {
  border-bottom: none;
}
table.platform-table tbody tr:hover td {
  background: rgba(241, 245, 249, 0.7);
}

.platform-cell-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.platform-title-link {
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg) !important;
  line-height: 1.3;
}
.platform-title-link:hover {
  color: var(--emerald-dark) !important;
}
.rating-badge {
  color: #b45309;
  background: var(--amber-subtle);
  border: 1px solid var(--amber-border);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.platform-cell-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.platform-cell-tags {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.rate-primary {
  font-weight: 800;
  color: var(--emerald-dark);
  font-size: 1.05rem;
  line-height: 1.25;
}
.rate-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
  line-height: 1.3;
}

.min-primary {
  font-weight: 700;
  color: var(--fg);
  font-size: 0.95rem;
  line-height: 1.25;
}
.min-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
  line-height: 1.3;
}

.payout-pill-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.risk-dot {
  font-size: 0.7rem;
}
.risk-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.action-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.btn-link-review {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  text-decoration: underline;
  padding: 0.15rem 0.3rem;
}
.btn-link-review:hover {
  color: var(--emerald-dark);
}

/* Badges */
.badge-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--fg-soft);
  border: 1px solid var(--border);
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
}
.badge-tag.verified {
  background: var(--emerald-subtle);
  color: var(--emerald-dark);
  border: 1px solid var(--emerald-border);
}
.badge-risk {
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.risk-low { color: var(--emerald-dark); }
.risk-med { color: var(--amber); }
.risk-high { color: var(--danger); font-weight: 800; }
.country-tag {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

/* Action Buttons */
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 34px;
  padding: 0 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--emerald);
  color: #ffffff !important;
  border: 1px solid var(--emerald-dark);
}
.btn-primary:hover {
  background: var(--emerald-dark);
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}
.btn-outline {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--fg-soft);
}
.btn-outline:hover {
  background: var(--bg-subtle);
  color: var(--fg);
  border-color: var(--muted);
}

/* ==========================================================================
   Calculator Section
   ========================================================================== */
.calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-md);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: stretch;
}
@media (max-width: 860px) {
  .calc-grid { grid-template-columns: 1fr; }
}
.slider-group {
  margin: 1.25rem 0;
}
.slider-val-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.calc-slider {
  width: 100%;
  height: 6px;
  accent-color: var(--emerald);
  cursor: pointer;
}
.calc-result-box {
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result-number {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--emerald-dark);
  line-height: 1;
  margin: 0.6rem 0;
}

/* ==========================================================================
   Review Page Specifications & Proof
   ========================================================================== */
.review-header {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.spec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.spec-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fg);
  margin-top: 0.4rem;
}
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
@media (max-width: 700px) {
  .pros-cons-grid { grid-template-columns: 1fr; }
}
.pro-card {
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.con-card {
  background: var(--danger-subtle);
  border: 1px solid var(--danger-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.proof-box {
  margin: 2rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.proof-img {
  max-width: 580px;
  width: 100%;
  border-radius: 12px;
  margin-top: 1rem;
}

/* FAQ Item */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 0.85rem;
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-a {
  color: var(--fg-soft);
  margin-top: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 5rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  color: var(--fg);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 0.6rem;
}
.footer-col a {
  color: var(--muted);
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--emerald-dark);
}

/* ==========================================================================
   Featured Cards Deck
   ========================================================================== */
.featured-deck {
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.featured-heading {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--fg);
  margin: 0.35rem 0 0.25rem;
  letter-spacing: -0.02em;
}
.featured-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}
.featured-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 950px) {
  .featured-cards-grid { grid-template-columns: 1fr; }
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
  overflow: hidden;
}
.feat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.feat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.feat-emerald::before { background: var(--emerald); }
.feat-cyan::before { background: var(--cyan); }
.feat-purple::before { background: var(--purple); }

.feat-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.feat-icon-box {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feat-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  display: block;
}
.feat-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fg);
  margin: 0.1rem 0 0;
  line-height: 1.3;
}
.feat-payout-box {
  margin: 0.75rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.feat-payout-num {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--emerald-dark);
}
.feat-payout-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.feat-desc {
  font-size: 0.88rem;
  color: var(--fg-soft);
  line-height: 1.5;
  margin: 0 0 1rem;
  flex-grow: 1;
}
.feat-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}
.feat-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--fg-soft);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.feat-card-action {
  margin-top: auto;
}

/* ==========================================================================
   Dark Theme Overrides ([data-theme="dark"])
   ========================================================================== */
[data-theme="dark"] {
  --bg: #090d16;
  --bg-subtle: #0f172a;
  --surface: #111827;
  --surface-2: #192237;
  --surface-3: #222f4c;

  --fg: #f8fafc;
  --fg-soft: #cbd5e1;
  --muted: #94a3b8;

  --border: #1e293b;
  --border-strong: #334155;

  --emerald: #10b981;
  --emerald-dark: #34d399;
  --emerald-subtle: rgba(16, 185, 129, 0.12);
  --emerald-border: rgba(16, 185, 129, 0.25);

  --cyan: #38bdf8;
  --cyan-subtle: rgba(56, 189, 248, 0.12);
  --cyan-border: rgba(56, 189, 248, 0.25);

  --amber: #f59e0b;
  --amber-subtle: rgba(245, 158, 11, 0.12);
  --amber-border: rgba(245, 158, 11, 0.25);

  --purple: #a855f7;
  --purple-subtle: rgba(168, 85, 247, 0.12);
  --purple-border: rgba(168, 85, 247, 0.25);

  --danger: #ef4444;
  --danger-subtle: rgba(239, 68, 68, 0.12);
  --danger-border: rgba(239, 68, 68, 0.25);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .site-header {
  background: rgba(11, 15, 25, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .input-search,
[data-theme="dark"] .select-filter {
  background: #0d131f;
  color: #ffffff;
  border-color: #27354f;
}

[data-theme="dark"] .hub-tag {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #04100c;
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

[data-theme="dark"] .terminal-widget-card {
  background: #111827;
  border-color: #1e293b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.12);
}

[data-theme="dark"] .terminal-item {
  background: #0d131f;
  border-color: #1e293b;
}

[data-theme="dark"] .terminal-item:hover {
  background: #162033;
  border-color: #10b981;
}

[data-theme="dark"] .cat-pill {
  background: #131c2e;
  border-color: #1e293b;
  color: #cbd5e1;
}

[data-theme="dark"] .cat-pill:hover {
  background: #1e293b;
  color: #ffffff;
  border-color: #334155;
}

[data-theme="dark"] .cat-pill.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #34d399;
  box-shadow: 0 0 0 1px #10b981;
}

[data-theme="dark"] table.platform-table tbody tr:hover td {
  background: rgba(30, 41, 59, 0.55);
}

[data-theme="dark"] .btn-outline {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

[data-theme="dark"] .btn-outline:hover {
  background: #334155;
  color: #ffffff;
}

/* ==========================================================================
   Header Action Buttons (Theme Toggle & Sign In)
   ========================================================================== */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--fg);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}
.btn-icon:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.btn-signin {
  height: 36px;
  padding: 0 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 8px;
}

.user-avatar {
  font-size: 0.95rem;
}
.user-name {
  font-weight: 700;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Financial Intelligence Ticker Bar & Stats Bar
   ========================================================================== */
.intelligence-ticker-section {
  margin: 1.5rem auto 2.5rem;
}
.intelligence-ticker-bar, .stats-counter-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
  .intelligence-ticker-bar, .stats-counter-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }
}
.ticker-col, .stat-counter-item {
  text-align: center;
  flex: 1;
}
.ticker-val, .stat-number {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--fg);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.ticker-lbl, .stat-label {
  font-size: 0.78rem;
  color: var(--fg-soft);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
}
.ticker-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.ticker-divider, .stat-counter-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}
@media (max-width: 768px) {
  .ticker-divider, .stat-counter-divider { display: none; }
}

/* ==========================================================================
   Offer Tracking & Hiding (Card & Row Components)
   ========================================================================== */
.feat-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  margin-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

.btn-card-track, .btn-row-track {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--fg-soft);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}
.btn-card-track:hover, .btn-row-track:hover {
  background: #e2e8f0;
  color: var(--fg);
}
[data-theme="dark"] .btn-card-track:hover,
[data-theme="dark"] .btn-row-track:hover {
  background: #334155;
}

.btn-card-track.is-tracking, .btn-row-track.is-tracking {
  background: var(--emerald-subtle) !important;
  border-color: var(--emerald-border) !important;
  color: var(--emerald-dark) !important;
}

.btn-card-hide, .btn-row-hide {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  transition: color 0.15s ease;
}
.btn-card-hide:hover, .btn-row-hide:hover {
  color: var(--danger);
  text-decoration: underline;
}

.pill-tracked-highlight {
  background: var(--emerald-subtle) !important;
  border-color: var(--emerald-border) !important;
  color: var(--emerald-dark) !important;
  font-weight: 800 !important;
}

.hidden-banner {
  background: var(--bg-subtle);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}
.btn-link-action {
  background: none;
  border: none;
  color: var(--cyan);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* ==========================================================================
   Toast Notification & Sign In Modal
   ========================================================================== */
.bmh-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  display: flex;
  align-items: center;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.bmh-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal-backdrop.open {
  display: flex;
}
.modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  animation: modalScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}
.btn-modal-close:hover {
  color: var(--fg);
}
.modal-body {
  padding: 1.5rem;
}

/* ==========================================================================
   Offers Grid & Cards
   ========================================================================== */
.offers-grid, .offers-megalist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.25rem;
}
.offer-card-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
}
.offer-card-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.offer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.offer-brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.25;
  margin: 0;
}
.offer-section-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
  display: block;
}
.offer-timing-tag {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--fg-soft);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}
.offer-reward-box {
  margin: 0.6rem 0 0.75rem;
}
.offer-reward-val {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--emerald-dark);
  line-height: 1.1;
}
.offer-req {
  font-size: 0.84rem;
  color: var(--fg);
  font-weight: 600;
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.offer-tip {
  font-size: 0.84rem;
  color: var(--fg-soft);
  line-height: 1.45;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}
.offer-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

/* ==========================================================================
   Segmented Mode Switcher (Unified Directory)
   ========================================================================== */
.segmented-control-container {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 1.25rem;
}
.mode-segmented-bar {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.35rem;
  box-shadow: var(--shadow-sm);
  gap: 0.35rem;
  max-width: 100%;
  overflow-x: auto;
}
.seg-btn {
  background: none;
  border: none;
  padding: 0.6rem 1.15rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
  white-space: nowrap;
  user-select: none;
}
.seg-btn:hover {
  color: var(--fg);
  background: var(--bg-subtle);
}
.seg-btn.active {
  background: var(--emerald-subtle);
  color: var(--emerald-dark);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
[data-theme="dark"] .seg-btn.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
}
.seg-count {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--fg-soft);
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  font-weight: 800;
}
.seg-btn.active .seg-count {
  background: var(--emerald);
  color: #ffffff;
  border-color: var(--emerald-dark);
}

.badge-type-bonus {
  background: var(--emerald-subtle) !important;
  color: var(--emerald-dark) !important;
  border: 1px solid var(--emerald-border) !important;
}
.badge-type-work {
  background: var(--cyan-subtle) !important;
  color: var(--cyan) !important;
  border: 1px solid var(--cyan-border) !important;
}
.badge-type-passive {
  background: var(--purple-subtle) !important;
  color: var(--purple) !important;
  border: 1px solid var(--purple-border) !important;
}
[data-theme="dark"] .badge-type-bonus {
  background: rgba(16, 185, 129, 0.15) !important;
  color: var(--emerald) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}
[data-theme="dark"] .badge-type-work {
  background: rgba(6, 182, 212, 0.15) !important;
  color: var(--cyan) !important;
  border-color: rgba(6, 182, 212, 0.3) !important;
}
[data-theme="dark"] .badge-type-passive {
  background: rgba(168, 85, 247, 0.15) !important;
  color: var(--purple) !important;
  border-color: rgba(168, 85, 247, 0.3) !important;
}

/* ==========================================================================
   Newsletter Section & Alerts
   ========================================================================== */
.newsletter-section {
  padding: 3rem 0;
  margin: 2rem 0;
}
.newsletter-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-subtle) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
}
.newsletter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--emerald-subtle);
  color: var(--emerald-dark);
  border: 1px solid var(--emerald-border);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}
.pulse-dot {
  font-size: 0.75rem;
  color: var(--emerald);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}
.newsletter-heading {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 0.65rem;
  color: var(--fg);
}
.newsletter-desc {
  font-size: 0.95rem;
  color: var(--fg-soft);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.newsletter-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-dark);
}
[data-theme="dark"] .newsletter-perks {
  color: var(--emerald);
}
.newsletter-form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.newsletter-input-group {
  display: flex;
  gap: 0.5rem;
}
@media (max-width: 600px) {
  .newsletter-input-group {
    flex-direction: column;
  }
}
.newsletter-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--fg);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.15s ease;
}
.newsletter-input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
.newsletter-btn {
  height: auto;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  border-radius: 8px;
  white-space: nowrap;
}
.newsletter-disclaimer {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.65rem;
  text-align: center;
}
.newsletter-message {
  margin-top: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 600;
}
.newsletter-message.msg-success {
  background: var(--emerald-subtle);
  color: var(--emerald-dark);
  border: 1px solid var(--emerald-border);
}
.newsletter-message.msg-error {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}

@media (max-width: 900px) {
  .newsletter-card {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 1.75rem;
  }
}

/* ==========================================================================
   Dedicated Offer Detail Pages & Sticky Share Sidebar
   ========================================================================== */
.offer-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2.25rem;
  align-items: start;
  margin-top: 1.25rem;
  margin-bottom: 4rem;
}

@media (max-width: 960px) {
  .offer-page-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.offer-main-content {
  min-width: 0;
}

.offer-sticky-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-reward-box {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.sidebar-reward-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.sidebar-reward-val {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--emerald);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.sidebar-specs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

/* Trustpilot Official Badge */
.sidebar-trustpilot-card {
  background: rgba(0, 182, 122, 0.06);
  border: 1px solid rgba(0, 182, 122, 0.25);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.tp-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #00b67a !important;
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.tp-view-link:hover {
  background: rgba(0, 182, 122, 0.12);
  text-decoration: underline;
}

.sidebar-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-spec-label {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-spec-val {
  font-weight: 700;
  color: var(--fg);
}

.sidebar-risk-notice {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius);
  padding: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--fg-soft);
  margin-bottom: 1.25rem;
}

.sidebar-risk-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  color: #d97706;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.btn-sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius);
  background: var(--emerald);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-sidebar-cta:hover {
  background: var(--emerald-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  text-decoration: none;
}

/* Share Buttons */
.share-section-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.share-btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--fg) !important;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.btn-share:hover {
  background: var(--border);
  color: var(--fg) !important;
  text-decoration: none;
}

.btn-share-copy {
  grid-column: span 2;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
}

.btn-share-copy.copied {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald);
  color: var(--emerald) !important;
}

/* Offer Content Sections */
.offer-section-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.claim-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.claim-step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--emerald-subtle);
  color: var(--emerald-dark);
  border: 1px solid var(--emerald-border);
  font-weight: 900;
  font-size: 0.95rem;
}

.step-content-box h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--fg);
}

.step-content-box p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--fg-soft);
}
