/* ═══════════════════════════════════════════════════
   ads.css — Data Repair Pro Ad Styles
   Cross-promotion ads for datarepair.pro
═══════════════════════════════════════════════════ */

/* ─── Shared Ad Wrapper ─── */
.ad-section {
  padding: 0 0 56px;
}
.ad-label {
  text-align: center;
  font-size: 0.68rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 10px; font-weight: 600;
}

/* ══════════════════════════════════════════════════
   1. LEADERBOARD BANNER AD (full-width horizontal)
══════════════════════════════════════════════════ */
.ad-leaderboard {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.ad-leaderboard-card {
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(135deg, #0a1628 0%, #0f2044 50%, #0a1628 100%);
  border: 1px solid rgba(37,99,235,0.5);
  border-radius: 20px; padding: 24px 32px;
  position: relative; overflow: hidden;
  cursor: pointer; transition: all 0.3s ease;
  text-decoration: none; color: inherit;
  box-shadow: 0 0 60px rgba(37,99,235,0.15), 0 8px 32px rgba(0,0,0,0.4);
}
.ad-leaderboard-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37,99,235,0.8);
  box-shadow: 0 0 80px rgba(37,99,235,0.3), 0 16px 48px rgba(0,0,0,0.5);
}
.ad-leaderboard-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.8), rgba(239,68,68,0.6), transparent);
}
.ad-lb-badge {
  position: absolute; top: 12px; right: 16px;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444; font-size: 0.65rem; font-weight: 800;
  padding: 2px 8px; border-radius: 99px;
  text-transform: uppercase; letter-spacing: 1px;
}
.ad-lb-icon {
  font-size: 3rem; flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(37,99,235,0.6));
}
.ad-lb-content { flex: 1; min-width: 0; }
.ad-lb-brand {
  font-size: 0.7rem; font-weight: 800; color: #60a5fa;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 4px;
}
.ad-lb-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem; font-weight: 800; color: #f1f5f9;
  margin-bottom: 6px; line-height: 1.2;
}
.ad-lb-title span { color: #ef4444; }
.ad-lb-features {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px;
}
.ad-lb-pill {
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  color: #93c5fd; font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 99px;
}
.ad-lb-rating {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: #94a3b8;
}
.ad-lb-stars { color: #f59e0b; font-size: 0.85rem; }
.ad-lb-cta {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ad-lb-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white; border: none; border-radius: 10px;
  padding: 12px 24px; font-size: 0.9rem; font-weight: 800;
  cursor: pointer; transition: all 0.3s ease; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.ad-lb-btn:hover { background: linear-gradient(135deg, #1d4ed8, #1e40af); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(37,99,235,0.6); }
.ad-lb-free { font-size: 0.7rem; color: #10b981; font-weight: 700; }
.ad-lb-img {
  width: 180px; flex-shrink: 0;
  border-radius: 10px; border: 1px solid rgba(37,99,235,0.3);
  object-fit: cover;
}

/* ══════════════════════════════════════════════════
   2. SIDEBAR / INLINE SQUARE AD CARD
══════════════════════════════════════════════════ */
.ad-card-inline {
  background: linear-gradient(145deg, #0a1628, #0f2044);
  border: 1px solid rgba(37,99,235,0.4);
  border-radius: 16px; padding: 24px;
  position: relative; overflow: hidden;
  cursor: pointer; transition: all 0.3s ease;
  text-decoration: none; color: inherit;
  box-shadow: 0 0 40px rgba(37,99,235,0.1);
}
.ad-card-inline:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,0.7);
  box-shadow: 0 0 60px rgba(37,99,235,0.25);
}
.ad-card-inline::after {
  content: 'AD'; position: absolute; top: 8px; right: 8px;
  font-size: 0.6rem; color: rgba(148,163,184,0.5); font-weight: 700;
  letter-spacing: 1px;
}
.aci-icon { font-size: 2.2rem; margin-bottom: 12px; }
.aci-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 800; margin-bottom: 6px; color: #f1f5f9;
}
.aci-sub { font-size: 0.8rem; color: #94a3b8; margin-bottom: 14px; line-height: 1.5; }
.aci-features { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.aci-feature { font-size: 0.78rem; color: #93c5fd; display: flex; align-items: center; gap: 6px; }
.aci-feature::before { content: '✓'; color: #10b981; font-weight: 700; flex-shrink: 0; }
.aci-btn {
  display: block; width: 100%; text-align: center;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white; border-radius: 8px; padding: 10px;
  font-size: 0.82rem; font-weight: 800;
  transition: all 0.3s; box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.aci-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.aci-free { text-align: center; font-size: 0.68rem; color: #10b981; font-weight: 700; margin-top: 8px; }

/* ══════════════════════════════════════════════════
   3. STICKY BOTTOM AD STRIP
══════════════════════════════════════════════════ */
.ad-sticky-bottom {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: linear-gradient(135deg, #0a1628 0%, #0f1f3d 100%);
  border-top: 1px solid rgba(37,99,235,0.4);
  padding: 10px 24px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap;
  transform: translateY(0);
  transition: transform 0.4s ease;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}
.ad-sticky-bottom.hidden { transform: translateY(100%); }
.asb-icon { font-size: 1.4rem; flex-shrink: 0; }
.asb-text { flex: 1; min-width: 200px; }
.asb-title { font-size: 0.875rem; font-weight: 800; color: #f1f5f9; margin-bottom: 2px; }
.asb-sub { font-size: 0.72rem; color: #94a3b8; }
.asb-sub span { color: #10b981; font-weight: 700; }
.asb-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white; border-radius: 8px; padding: 8px 20px;
  font-size: 0.82rem; font-weight: 800; white-space: nowrap;
  text-decoration: none; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4); flex-shrink: 0;
}
.asb-btn:hover { background: linear-gradient(135deg, #1d4ed8, #1e40af); }
.asb-close {
  background: none; border: none; color: #64748b;
  font-size: 1rem; cursor: pointer; padding: 4px; flex-shrink: 0;
  transition: color 0.2s;
}
.asb-close:hover { color: #94a3b8; }
.asb-badge {
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3);
  color: #10b981; font-size: 0.65rem; font-weight: 800;
  padding: 2px 8px; border-radius: 99px; text-transform: uppercase;
  letter-spacing: 0.5px; flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   4. IN-CONTENT POPUP AD (between sections)
══════════════════════════════════════════════════ */
.ad-between-section {
  padding: 40px 0; background: rgba(37,99,235,0.03);
  border-top: 1px solid rgba(37,99,235,0.08);
  border-bottom: 1px solid rgba(37,99,235,0.08);
}
.ad-between-inner {
  max-width: 860px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.abi-left { flex: 1; min-width: 260px; }
.abi-tag {
  display: inline-block; background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3); color: #ef4444;
  font-size: 0.65rem; font-weight: 800; padding: 3px 10px;
  border-radius: 99px; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 10px;
}
.abi-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem; font-weight: 800; color: #f1f5f9;
  margin-bottom: 8px; line-height: 1.3;
}
.abi-title span { color: #60a5fa; }
.abi-desc { font-size: 0.875rem; color: #94a3b8; line-height: 1.6; margin-bottom: 14px; }
.abi-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.abi-tool {
  background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.25);
  color: #93c5fd; font-size: 0.7rem; font-weight: 600;
  padding: 3px 9px; border-radius: 6px;
}
.abi-right { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; }
.abi-rating-box {
  background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px; padding: 10px 16px; text-align: center;
}
.abi-stars { color: #f59e0b; font-size: 1rem; }
.abi-score { font-size: 1.5rem; font-weight: 900; color: #f1f5f9; line-height: 1; }
.abi-reviews { font-size: 0.68rem; color: #94a3b8; }
.abi-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white; border-radius: 10px; padding: 12px 28px;
  font-size: 0.9rem; font-weight: 800;
  text-decoration: none; transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4); white-space: nowrap;
}
.abi-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,0.6); }
.abi-free-note { font-size: 0.68rem; color: #10b981; font-weight: 700; }

/* Responsive */
@media (max-width: 700px) {
  .ad-leaderboard-card { flex-direction: column; text-align: center; }
  .ad-lb-img { display: none; }
  .ad-lb-features { justify-content: center; }
  .ad-lb-cta { width: 100%; }
  .ad-lb-btn { width: 100%; }
  .ad-between-inner { flex-direction: column; text-align: center; }
  .abi-tools { justify-content: center; }
  .abi-right { width: 100%; flex-direction: row; justify-content: center; }
}
