/* ===== AI ToolBattle — Main Stylesheet ===== */
:root {
  --primary: #1a1a2e;
  --accent: #e94560;
  --accent2: #0f3460;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --muted: #64748b;
  --green: #10b981;
  --yellow: #f59e0b;
  --red: #ef4444;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

/* ===== HEADER ===== */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

.lang-switch { display: flex; gap: 8px; }
.lang-switch a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  transition: all 0.2s;
}
.lang-switch a.active,
.lang-switch a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent2) 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.hero h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 28px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

/* ===== ADS ===== */
.ad-unit {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 28px 0;
  overflow: hidden;
}
.ad-unit ins { width: 100%; }
.ad-leaderboard { min-height: 90px; }
.ad-rectangle { min-height: 250px; }
.ad-in-content { min-height: 280px; }

.sidebar-sticky { position: sticky; top: 80px; }

/* ===== ARTICLE ===== */
article { padding: 40px 0; }
article h2 { font-size: 1.6rem; font-weight: 700; margin: 36px 0 12px; color: var(--primary); }
article h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 10px; }
article p { margin-bottom: 16px; }
article ul, article ol { margin: 12px 0 20px 24px; }
article li { margin-bottom: 8px; }
article strong { color: var(--primary); }
article a { color: var(--accent2); }

/* ===== COMPARISON TABLE ===== */
.comparison-wrap { overflow-x: auto; margin: 24px 0; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comparison-table thead { background: var(--primary); color: #fff; }
.comparison-table th { padding: 14px 16px; text-align: left; font-size: 0.9rem; font-weight: 600; }
.comparison-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: #f1f5f9; }
.winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.score-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.score-fill {
  height: 8px;
  border-radius: 4px;
  background: var(--accent2);
}
.score-fill.green { background: var(--green); }
.score-fill.yellow { background: var(--yellow); }

/* ===== CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 32px 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.card-icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.9rem; }

/* ===== ROI CALCULATOR ===== */
.calculator {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin: 32px 0;
}
.calc-row { margin-bottom: 20px; }
.calc-row label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.calc-row input, .calc-row select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}
.calc-row input:focus, .calc-row select:focus { outline: none; border-color: var(--accent2); }
.calc-result {
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.calc-result h3 { margin-bottom: 16px; }
.result-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.result-row:last-child { border: none; }
.result-highlight { font-size: 1.4rem; font-weight: 800; color: #86efac; }
.btn-calc {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: background 0.2s;
}
.btn-calc:hover { background: #c0392b; }

/* ===== RATING STARS ===== */
.stars { color: #f59e0b; font-size: 1.1rem; }
.rating-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.rating-row:last-child { border: none; }
.rating-label { flex: 1; font-size: 0.9rem; }

/* ===== ALERT/DISCLOSURE BOX ===== */
.disclosure-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.9rem;
}
.info-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #3b82f6;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.9rem;
}

/* ===== ALERT BUTTON ===== */
.alert-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 2px solid var(--accent2);
  color: var(--accent2);
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin: 16px 0;
}
.alert-btn:hover { background: var(--accent2); color: #fff; }

/* ===== BREADCRUMB ===== */
.breadcrumb { font-size: 0.85rem; color: var(--muted); padding: 16px 0; }
.breadcrumb a { color: var(--accent2); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 48px 20px 24px;
  margin-top: 64px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; max-width: 1200px; margin: 0 auto 32px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { text-align: center; font-size: 0.8rem; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); max-width: 1200px; margin: 0 auto; }

/* ===== UPDATED BADGE ===== */
.updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #166534;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ===== MOBILE NAV ===== */
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--primary); padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 1.7rem; }
  .calculator { padding: 20px; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-muted { color: var(--muted); }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.highlight { background: linear-gradient(135deg, #fef3c7, #fde68a); padding: 2px 6px; border-radius: 4px; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-scale.visible { opacity: 1; transform: none; }

/* Stagger inside grids */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.07s; }
.stagger > *:nth-child(3) { transition-delay: 0.14s; }
.stagger > *:nth-child(4) { transition-delay: 0.21s; }
.stagger > *:nth-child(5) { transition-delay: 0.28s; }
.stagger > *:nth-child(6) { transition-delay: 0.35s; }
.stagger > *:nth-child(7) { transition-delay: 0.42s; }
.stagger > *:nth-child(8) { transition-delay: 0.49s; }
.stagger > *:nth-child(9) { transition-delay: 0.56s; }
.stagger > *:nth-child(10) { transition-delay: 0.28s; }
.stagger > *:nth-child(11) { transition-delay: 0.35s; }
.stagger > *:nth-child(12) { transition-delay: 0.42s; }

/* ===== HERO STATS ===== */
.hero-stats {
  display: flex; gap: 48px; justify-content: center;
  margin-top: 48px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  display: block; font-size: 3.2rem; font-weight: 800;
  color: #fff; line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block; font-size: 0.78rem; color: rgba(255,255,255,0.65);
  margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em;
}
.hero-ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px;
}
.btn-hero-primary {
  display: inline-block; background: #fff; color: var(--accent2);
  padding: 14px 32px; border-radius: 8px; font-weight: 700;
  text-decoration: none; font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-hero-secondary {
  display: inline-block; background: rgba(255,255,255,0.12); color: #fff;
  padding: 14px 32px; border-radius: 8px; font-weight: 600;
  text-decoration: none; font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.3); transition: background 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.22); }

/* ===== CATEGORY GRID ===== */
.category-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
  gap: 14px; margin: 24px 0;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 28px 12px 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; text-decoration: none; color: inherit;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  position: relative; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transition: transform 0.25s;
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); border-color: var(--accent2); }
.cat-icon { font-size: 2.6rem; margin-bottom: 10px; display: block; line-height: 1; }
.cat-card strong { font-size: 0.88rem; display: block; margin-bottom: 4px; }
.cat-card small { font-size: 0.72rem; color: var(--muted); }

/* ===== COMPARE CARD GRID ===== */
.compare-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr));
  gap: 14px; margin: 24px 0;
}
.compare-card {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; text-decoration: none; color: inherit;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.compare-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); border-color: var(--accent2); }
.compare-emoji { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.compare-info { flex: 1; min-width: 0; }
.compare-names { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; }
.compare-meta { font-size: 0.73rem; color: var(--muted); }
.compare-badge {
  font-size: 0.65rem; font-weight: 700; color: var(--accent2);
  background: rgba(15,52,96,0.08); padding: 2px 7px;
  border-radius: 99px; white-space: nowrap; flex-shrink: 0; margin-top: 2px;
}

/* ===== PRICE VISUAL TABLE ===== */
.price-bar-cell { display: flex; align-items: center; gap: 10px; }
.price-bar { height: 8px; border-radius: 4px; min-width: 4px; flex-shrink: 0; }

/* ===== TOOLS MINI GRID ===== */
.tools-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(185px,1fr));
  gap: 12px; margin: 24px 0;
}
.tool-mini {
  padding: 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; text-decoration: none; color: inherit;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: block;
}
.tool-mini:hover { transform: translateY(-3px); border-color: var(--accent2); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.tool-mini-icon { font-size: 1.5rem; margin-bottom: 8px; display: block; }
.tool-mini-name { font-weight: 700; font-size: 0.88rem; margin-bottom: 2px; }
.tool-mini-cat { font-size: 0.7rem; color: var(--muted); margin-bottom: 8px; display: block; }
.tool-mini-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.tool-mini-rating { font-size: 0.78rem; font-weight: 700; color: var(--accent2); }
.tool-mini-price { font-size: 0.7rem; color: var(--muted); }

/* ===== TRUST STRIP ===== */
.trust-strip {
  display: flex; gap: 0; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; margin: 48px 0;
}
.trust-item {
  flex: 1; min-width: 180px; padding: 28px 24px; text-align: center;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.trust-item strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.trust-item span { font-size: 0.75rem; color: var(--muted); }

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 8px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.section-header h2 { font-size: 1.7rem; margin: 0; }
.section-header a { font-size: 0.88rem; color: var(--accent2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.section-header a:hover { text-decoration: underline; }
.section-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }

/* ===== TRENDING BATTLES VOTING ===== */
.battles-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: 20px; padding: 40px; margin: 56px 0; color: #fff;
}
.battles-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.battles-header h2 { font-size: 1.5rem; color: #fff; margin: 0; }
.period-tabs { display: flex; gap: 4px; background: rgba(255,255,255,0.08); border-radius: 8px; padding: 4px; }
.period-tab {
  padding: 6px 16px; border: none; background: transparent; color: rgba(255,255,255,0.6);
  border-radius: 6px; cursor: pointer; font-size: 0.85rem; font-weight: 600; transition: all 0.2s;
}
.period-tab.active, .period-tab:hover { background: rgba(255,255,255,0.15); color: #fff; }
.period-tab.active { background: var(--accent2); color: #fff; }

.battle-row {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 20px; margin-bottom: 12px;
  animation: battleIn 0.4s ease forwards; opacity: 0;
  transition: border-color 0.2s;
}
.battle-row:hover { border-color: rgba(255,255,255,0.25); }
@keyframes battleIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.battle-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.battle-rank { font-size: 1.2rem; font-weight: 800; color: rgba(255,255,255,0.3); min-width: 28px; }
.battle-name { flex: 1; font-size: 0.95rem; color: #fff; }
.battle-name .vs { color: rgba(255,255,255,0.4); font-style: normal; margin: 0 4px; }
.battle-count { font-size: 0.75rem; color: rgba(255,255,255,0.5); white-space: nowrap; background: rgba(255,255,255,0.08); padding: 3px 10px; border-radius: 99px; }

.battle-bars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.bbar { display: flex; align-items: center; gap: 10px; }
.bbar-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); min-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbar-track { flex: 1; height: 10px; background: rgba(255,255,255,0.1); border-radius: 5px; overflow: hidden; }
.bbar-fill { height: 100%; border-radius: 5px; transition: width 0.8s cubic-bezier(.4,0,.2,1); }
.bbar-pct { font-size: 0.8rem; font-weight: 700; color: #fff; min-width: 36px; text-align: right; }
.bbar-winner .bbar-label { color: #fff; font-weight: 600; }
.bbar-winner .bbar-pct { color: #fde68a; }

.battle-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vote-btn {
  padding: 7px 14px; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08);
  color: #fff; border-radius: 7px; cursor: pointer; font-size: 0.8rem; font-weight: 600;
  transition: all 0.2s; white-space: nowrap;
}
.vote-btn:hover:not(:disabled) { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); transform: translateY(-1px); }
.vote-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.voted-tag { font-size: 0.8rem; color: #86efac; font-weight: 600; }
.battle-share {
  padding: 7px 12px; border: 1px solid rgba(255,255,255,0.15); background: transparent;
  color: rgba(255,255,255,0.6); border-radius: 7px; cursor: pointer; font-size: 0.78rem;
  transition: all 0.2s; margin-left: auto;
}
.battle-share:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.battle-link { font-size: 0.78rem; color: #818cf8; text-decoration: none; padding: 7px 8px; white-space: nowrap; }
.battle-link:hover { color: #a5b4fc; }

#battles-loader { text-align: center; color: rgba(255,255,255,0.5); padding: 20px; font-size: 0.9rem; display: none; }

/* Share overlay */
.atb-share-panel {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.atb-share-box {
  background: #fff; border-radius: 16px; padding: 32px; max-width: 460px; width: 100%;
  position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.atb-share-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  font-size: 1.2rem; cursor: pointer; color: var(--muted); line-height: 1;
}
.atb-share-close:hover { color: var(--text); }
.atb-share-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.atb-share-preview { font-size: 0.85rem; color: var(--muted); background: var(--bg); padding: 10px 14px; border-radius: 8px; margin-bottom: 20px; }
.atb-share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.atb-sb {
  flex: 1; min-width: 100px; padding: 10px 12px; border-radius: 8px; font-size: 0.82rem;
  font-weight: 700; text-decoration: none; text-align: center; cursor: pointer;
  border: none; transition: transform 0.15s, opacity 0.15s; display: block;
}
.atb-sb:hover { transform: translateY(-2px); opacity: 0.9; }
.atb-sb-x  { background: #000; color: #fff; }
.atb-sb-wa { background: #25D366; color: #fff; }
.atb-sb-li { background: #0077b5; color: #fff; }
.atb-sb-cp { background: var(--bg); color: var(--text); border: 1px solid var(--border); }

@media (max-width: 640px) {
  .battles-section { padding: 24px 16px; }
  .bbar-label { min-width: 100px; font-size: 0.72rem; }
  .battle-head { gap: 8px; }
}

/* ══════════════════════════════════════ */

@media (max-width: 640px) {
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 2.4rem; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
}
