/* ═══════════════════════════════════════════════════════════════
   Agentes.ia — Dark Magazine Theme v2
   Inspired by awesomeagents.ai
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

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

:root {
  /* Base */
  --bg:          #08080f;
  --bg-2:        #0f0f1a;
  --bg-3:        #161625;
  --surface:     #1a1a2e;
  --surface-2:   #22223b;
  --border:      rgba(255,255,255,.08);
  --border-2:    rgba(255,255,255,.14);

  /* Text */
  --text:        #f0f0ff;
  --text-2:      rgba(240,240,255,.7);
  --text-3:      rgba(240,240,255,.45);

  /* Section gradients */
  --news-a:      #2563eb;  --news-b:    #7c3aed;
  --reviews-a:   #7c3aed;  --reviews-b: #ec4899;
  --models-a:    #f59e0b;  --models-b:  #ef4444;
  --guides-a:    #10b981;  --guides-b:  #06b6d4;
  --tools-a:     #ef4444;  --tools-b:   #f97316;
  --lb-a:        #eab308;  --lb-b:      #10b981;

  /* Accents */
  --accent:      #6366f1;
  --accent-2:    #818cf8;

  /* Sizes */
  --radius:      12px;
  --radius-sm:   8px;
  --nav-h:       64px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Layout ────────────────────────────────────────────────── */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(8,8,15,.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 12px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 22px;
  background: linear-gradient(135deg, #818cf8, #ec4899);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap; letter-spacing: -0.5px;
}
.nav-links {
  display: flex; gap: 2px; flex: 1; justify-content: center; flex-wrap: wrap;
}
.nav-links a {
  font-size: 13px; font-weight: 500;
  color: var(--text-2); padding: 6px 12px;
  border-radius: 6px; transition: all .2s;
  letter-spacing: .01em;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ec4899);
}
.nav-cta {
  font-size: 12px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #ec4899);
  color: #fff !important; padding: 8px 18px;
  border-radius: 20px; white-space: nowrap;
  transition: opacity .2s; letter-spacing: .02em;
}
.nav-cta:hover { opacity: .85; }
@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ── Section gradient helper ───────────────────────────────── */
.grad-news        { background: linear-gradient(135deg, var(--news-a), var(--news-b)); }
.grad-reviews     { background: linear-gradient(135deg, var(--reviews-a), var(--reviews-b)); }
.grad-models      { background: linear-gradient(135deg, var(--models-a), var(--models-b)); }
.grad-guides      { background: linear-gradient(135deg, var(--guides-a), var(--guides-b)); }
.grad-tools       { background: linear-gradient(135deg, var(--tools-a), var(--tools-b)); }
.grad-leaderboards{ background: linear-gradient(135deg, var(--lb-a), var(--lb-b)); }

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-block; font-size: 10px; font-weight: 800;
  padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .07em;
  color: #fff;
}
.badge-news         { background: linear-gradient(135deg, var(--news-a), var(--news-b)); }
.badge-reviews      { background: linear-gradient(135deg, var(--reviews-a), var(--reviews-b)); }
.badge-models       { background: linear-gradient(135deg, var(--models-a), var(--models-b)); }
.badge-guides       { background: linear-gradient(135deg, var(--guides-a), var(--guides-b)); }
.badge-tools        { background: linear-gradient(135deg, var(--tools-a), var(--tools-b)); }
.badge-leaderboards { background: linear-gradient(135deg, var(--lb-a), var(--lb-b)); }
.badge-breaking     { background: #ef4444; animation: pulse 2s infinite; }
.badge-featured     { background: linear-gradient(135deg, #f59e0b, #ef4444); }
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: .6; }
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
}
/* Featured (large) card */
.hero-featured {
  grid-row: span 2;
  position: relative;
  min-height: 480px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  cursor: pointer;
  transition: opacity .2s;
}
.hero-featured:hover { opacity: .92; }
.hero-featured .card-thumb {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-featured .card-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.4) 50%, transparent 100%);
}
.hero-featured .card-body {
  position: relative; z-index: 2;
  padding: 32px;
}
.hero-featured h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800; line-height: 1.2;
  margin: 10px 0 12px;
  color: #fff;
}
.hero-featured .meta {
  font-size: 12px; color: rgba(255,255,255,.55);
  display: flex; gap: 10px; flex-wrap: wrap;
}
/* Secondary hero cards */
.hero-secondary {
  background: var(--bg-2);
  display: flex; align-items: flex-end;
  min-height: 235px;
  position: relative; overflow: hidden;
  cursor: pointer; transition: background .2s;
}
.hero-secondary:hover { background: var(--bg-3); }
.hero-secondary .card-thumb {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .35;
}
.hero-secondary .card-body {
  position: relative; z-index: 2;
  padding: 20px 24px;
}
.hero-secondary h3 {
  font-size: 15px; font-weight: 700; line-height: 1.35;
  margin: 8px 0 6px; color: var(--text);
}
.hero-secondary .meta { font-size: 11px; color: var(--text-3); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-featured { min-height: 300px; grid-row: span 1; }
  .hero-secondary { min-height: 140px; }
}

/* ══════════════════════════════════════════════════════════════
   CARD THUMBNAILS (CSS gradient art — no image files needed)
   ══════════════════════════════════════════════════════════════ */
.thumb-news-0   { background: linear-gradient(135deg,#1e3a8a 0%,#7c3aed 60%,#0f172a 100%); }
.thumb-news-1   { background: linear-gradient(135deg,#0e4429 0%,#2563eb 60%,#1e3a8a 100%); }
.thumb-news-2   { background: linear-gradient(135deg,#4c1d95 0%,#2563eb 50%,#0c4a6e 100%); }
.thumb-reviews-0{ background: linear-gradient(135deg,#581c87 0%,#ec4899 60%,#9f1239 100%); }
.thumb-reviews-1{ background: linear-gradient(135deg,#3b0764 0%,#7c3aed 50%,#ec4899 100%); }
.thumb-reviews-2{ background: linear-gradient(135deg,#831843 0%,#9333ea 50%,#1e3a8a 100%); }
.thumb-models-0 { background: linear-gradient(135deg,#78350f 0%,#f59e0b 50%,#dc2626 100%); }
.thumb-models-1 { background: linear-gradient(135deg,#7c2d12 0%,#ea580c 50%,#b45309 100%); }
.thumb-models-2 { background: linear-gradient(135deg,#451a03 0%,#f97316 50%,#d97706 100%); }
.thumb-guides-0 { background: linear-gradient(135deg,#064e3b 0%,#0891b2 50%,#1e3a8a 100%); }
.thumb-guides-1 { background: linear-gradient(135deg,#134e4a 0%,#10b981 50%,#0e7490 100%); }
.thumb-guides-2 { background: linear-gradient(135deg,#022c22 0%,#059669 50%,#155e75 100%); }
.thumb-tools-0  { background: linear-gradient(135deg,#7f1d1d 0%,#ef4444 50%,#c2410c 100%); }
.thumb-tools-1  { background: linear-gradient(135deg,#450a0a 0%,#f97316 50%,#b91c1c 100%); }
.thumb-tools-2  { background: linear-gradient(135deg,#431407 0%,#dc2626 50%,#ea580c 100%); }
.thumb-leaderboards-0{background:linear-gradient(135deg,#713f12 0%,#eab308 50%,#166534 100%);}
.thumb-leaderboards-1{background:linear-gradient(135deg,#365314 0%,#84cc16 50%,#ca8a04 100%);}
.thumb-leaderboards-2{background:linear-gradient(135deg,#14532d 0%,#16a34a 50%,#a16207 100%);}

/* Decorative shapes inside thumbnails */
.thumb-shape {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}
.thumb-shape::before, .thumb-shape::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: .25;
}
.thumb-shape::before {
  width: 200%; height: 200%;
  top: -80%; right: -60%;
  background: rgba(255,255,255,.15);
}
.thumb-shape::after {
  width: 100%; height: 100%;
  bottom: -40%; left: -30%;
  background: rgba(0,0,0,.3);
}

/* ══════════════════════════════════════════════════════════════
   ARTICLE CARDS (grid)
   ══════════════════════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .cards-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards-grid, .cards-grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, border-color .22s, box-shadow .22s;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.card-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.card-thumb-wrap .thumb-shape { position: absolute; inset: 0; }
.card-thumb-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; opacity: .35;
}
.card-content { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card h3 {
  font-size: 15px; font-weight: 700; line-height: 1.4;
  color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .card-summary {
  font-size: 13px; color: var(--text-2); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.card .card-meta {
  font-size: 11px; color: var(--text-3);
  display: flex; gap: 10px; align-items: center; margin-top: 4px;
}
.card .score-pill {
  font-size: 11px; font-weight: 800;
  background: linear-gradient(135deg, var(--reviews-a), var(--reviews-b));
  color: #fff; padding: 2px 9px; border-radius: 20px;
  margin-left: auto;
}

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS
   ══════════════════════════════════════════════════════════════ */
.home-section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.home-section:last-child { border-bottom: none; }

.section-heading {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px;
}
.section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 800;
  color: var(--text);
}
.section-heading .section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-3);
}
.section-heading .see-all {
  margin-left: auto; font-size: 12px; font-weight: 600;
  color: var(--accent-2); transition: color .2s;
}
.section-heading .see-all:hover { color: #fff; }

/* ── Homepage 2-col layout ─────────────────────────────────── */
.home-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
@media (max-width: 1024px) { .home-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.widget {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.widget-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-3);
  display: flex; align-items: center; gap: 8px;
}
.widget-header .dot {
  width: 6px; height: 6px; border-radius: 50%;
  display: inline-block;
}
.widget-body { padding: 6px 0; }

/* Leaderboard widget */
.lb-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  transition: background .15s; cursor: pointer;
}
.lb-item:hover { background: var(--surface); }
.lb-rank {
  font-size: 13px; font-weight: 800;
  width: 22px; text-align: center; color: var(--text-3);
}
.lb-rank.gold   { color: #eab308; }
.lb-rank.silver { color: #94a3b8; }
.lb-rank.bronze { color: #b45309; }
.lb-info { flex: 1; }
.lb-model-name { font-size: 13px; font-weight: 600; color: var(--text); }
.lb-model-provider { font-size: 11px; color: var(--text-3); }
.lb-score {
  font-size: 14px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #ec4899);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section nav widget */
.section-nav-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
}
.section-nav-item {
  padding: 14px 16px;
  background: var(--bg-2);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  transition: background .15s; cursor: pointer;
}
.section-nav-item:hover { background: var(--surface); }
.section-nav-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

/* Recent reviews widget */
.review-mini {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .15s; cursor: pointer;
}
.review-mini:last-child { border-bottom: none; }
.review-mini:hover { background: var(--surface); }
.review-mini-score {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff; flex-shrink: 0;
  background: linear-gradient(135deg, var(--reviews-a), var(--reviews-b));
}
.review-mini-title {
  font-size: 12px; font-weight: 600; color: var(--text);
  line-height: 1.35;
}

/* ══════════════════════════════════════════════════════════════
   SECTION LIST PAGES
   ══════════════════════════════════════════════════════════════ */
.section-banner {
  padding: 48px 0;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.section-banner::before {
  content: '';
  position: absolute; inset: 0;
  opacity: .15;
  background-size: cover;
}
.section-banner-content { position: relative; z-index: 1; }
.section-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900; line-height: 1.1;
  margin: 12px 0 10px;
}
.section-banner p { font-size: 15px; color: var(--text-2); max-width: 560px; }
.section-banner .stat-row {
  display: flex; gap: 28px; margin-top: 20px; flex-wrap: wrap;
}
.stat { }
.stat-num { font-size: 24px; font-weight: 800; color: var(--text); line-height: 1; }
.stat-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; }

.section-content { padding: 40px 0; }

/* ══════════════════════════════════════════════════════════════
   SINGLE ARTICLE PAGE
   ══════════════════════════════════════════════════════════════ */
.single-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px;
  padding: 40px 0;
}
@media (max-width: 900px) { .single-layout { grid-template-columns: 1fr; } }

.single-article { max-width: 760px; }
.single-cover {
  aspect-ratio: 16/9; border-radius: var(--radius);
  overflow: hidden; margin-bottom: 32px;
}
.single-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.single-thumb {
  aspect-ratio: 16/9; border-radius: var(--radius);
  overflow: hidden; position: relative; margin-bottom: 32px;
}
.single-thumb .thumb-shape { position: absolute; inset: 0; }
.single-thumb-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; opacity: .2;
}
.single-header { margin-bottom: 28px; }
.single-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900; line-height: 1.2;
  margin: 12px 0 16px;
}
.single-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-3);
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.single-content { line-height: 1.85; color: var(--text-2); }
.single-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 800;
  margin: 36px 0 14px; color: var(--text);
}
.single-content h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; color: var(--text); }
.single-content p { margin-bottom: 18px; }
.single-content ul, .single-content ol { margin: 0 0 18px 24px; }
.single-content li { margin-bottom: 7px; }
.single-content a { color: var(--accent-2); border-bottom: 1px solid rgba(129,140,248,.3); }
.single-content a:hover { border-color: var(--accent-2); }
.single-content strong { color: var(--text); font-weight: 700; }
.single-content code {
  background: var(--surface-2); color: #c4b5fd;
  padding: 2px 7px; border-radius: 5px; font-size: 13px;
  font-family: 'Fira Code', 'Cascadia Code', monospace;
}
.single-content pre {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); padding: 22px 24px;
  overflow-x: auto; margin: 20px 0 24px;
}
.single-content pre code { background: none; padding: 0; color: #e2e8f0; }
.single-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 20px; color: var(--text-2);
  font-style: italic; margin: 24px 0;
  background: var(--surface); border-radius: 0 8px 8px 0;
}
.single-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.single-content th {
  background: var(--surface-2); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 10px 14px; border: 1px solid var(--border-2);
  text-align: left; color: var(--text-3);
}
.single-content td { padding: 10px 14px; border: 1px solid var(--border); font-size: 13px; }
.single-content tr:hover td { background: var(--surface); }

/* Review score box */
.score-box {
  display: flex; align-items: center; gap: 20px;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 24px 28px; margin: 28px 0;
}
.score-num {
  font-family: 'Playfair Display', serif;
  font-size: 56px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--reviews-a), var(--reviews-b));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.score-info { flex: 1; }
.score-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.score-verdict { font-size: 18px; font-weight: 700; margin-top: 4px; }
.pros-cons {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 20px 0;
}
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros, .cons {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px;
}
.pros { border-top: 3px solid #10b981; }
.cons { border-top: 3px solid #ef4444; }
.pros h4 { color: #10b981; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.cons h4 { color: #ef4444; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.pros ul, .cons ul { list-style: none; padding: 0; }
.pros li, .cons li { font-size: 13px; margin-bottom: 6px; padding-left: 16px; position: relative; color: var(--text-2); }
.pros li::before { content: '+'; position: absolute; left: 0; color: #10b981; font-weight: 800; }
.cons li::before { content: '−'; position: absolute; left: 0; color: #ef4444; font-weight: 800; }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.spec-table th {
  background: var(--surface-2); font-weight: 600;
  padding: 11px 16px; border: 1px solid var(--border-2);
  text-align: left; width: 40%; font-size: 13px; color: var(--text-3);
}
.spec-table td { padding: 11px 16px; border: 1px solid var(--border); font-size: 13px; background: var(--surface); }

/* Leaderboard table */
.lb-table-full { width: 100%; border-collapse: collapse; }
.lb-table-full th {
  background: var(--surface-2); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-3); padding: 12px 16px;
  border-bottom: 1px solid var(--border-2); text-align: left;
}
.lb-table-full td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.lb-table-full tr:hover td { background: var(--surface); }
.lb-rank-cell { font-weight: 800; color: var(--text-3); }
.lb-rank-cell.r1 { color: #eab308; font-size: 16px; }
.lb-rank-cell.r2 { color: #94a3b8; }
.lb-rank-cell.r3 { color: #b45309; }
.lb-score-cell  { font-weight: 800; font-size: 15px;
  background: linear-gradient(135deg, var(--lb-a), var(--lb-b));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 900;
  background: linear-gradient(135deg, #818cf8, #ec4899);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 10px;
}
.footer-brand p { font-size: 13px; color: var(--text-3); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-3);
}

/* ── Pagination ────────────────────────────────────────────── */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 48px 0 0; }
.pagination a, .pagination span {
  padding: 8px 16px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 13px; font-weight: 600;
  background: var(--bg-2); color: var(--text-2);
  transition: all .15s;
}
.pagination a:hover { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.pagination .current {
  background: linear-gradient(135deg, var(--accent), #ec4899);
  color: #fff; border-color: transparent;
}

/* ── Utility ───────────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #818cf8, #ec4899);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.divider { height: 1px; background: var(--border); margin: 0; }
