/* ===== CSS RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #a855f7;
  --primary-light: #c084fc;
  --primary-dark: #7e22ce;
  --accent: #ec4899;
  --accent-light: #f472b6;
  --accent-dark: #be185d;
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a25;
  --bg-card-hover: #222233;
  --text: #f1f1f4;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --border: #2a2a3a;
  --border-light: #333345;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient-hero: linear-gradient(135deg, #1a0a2e 0%, #0a0a1a 50%, #1a0a1e 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(168,85,247,0.15);
  --shadow-pink: 0 0 30px rgba(236,72,153,0.2);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1280px;
  --header-height: 64px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; }

/* ===== UTILITY CLASSES ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }
.hidden { display: none; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* ===== TOP CTA BANNER ===== */
.top-cta-banner {
  background: var(--gradient-primary);
  padding: 0.6rem 0;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  z-index: 101;
}
.top-cta-banner a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.top-cta-banner a:hover { opacity: 0.9; }
.top-cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; }
.hero-orb-2 { width: 300px; height: 300px; background: var(--accent); bottom: -80px; left: -80px; animation-delay: -4s; }
.hero-orb-3 { width: 200px; height: 200px; background: var(--info); top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: 0.15; animation-delay: -2s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-30px) scale(1.05); }
  66% { transform: translate(-15px,20px) scale(0.95); }
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.3);
  color: var(--primary-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== HERO CTA BOX ===== */
.hero-cta-box {
  background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(236,72,153,0.1));
  border: 2px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 1.5rem auto 0;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-cta-box img {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  padding: 4px;
}
.hero-cta-box .cta-text { text-align: left; }
.hero-cta-box .cta-text strong { color: var(--text); font-size: 1rem; }
.hero-cta-box .cta-text span { color: var(--text-muted); font-size: 0.85rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(168,85,247,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(168,85,247,0.4); color: white; }
.btn-accent {
  background: linear-gradient(135deg, #be185d, #ec4899);
  color: white;
  box-shadow: 0 4px 15px rgba(236,72,153,0.3);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(236,72,153,0.4); color: white; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(168,85,247,0.08); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 0.5rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===== RANKING SECTION WITH SIDEBARS ===== */
.ranking-section {
  display: grid;
  grid-template-columns: 210px 1fr 210px;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 1100px) {
  .ranking-section { grid-template-columns: 1fr; }
  .sidebar-banner { display: none; }
}

/* ===== SIDEBAR BANNERS ===== */
.sidebar-banner {
  position: sticky;
  top: 80px;
  background: var(--bg-card);
  border: 2px solid rgba(168,85,247,0.35);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.3s;
}
.sidebar-banner:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.sidebar-banner .sponsored-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.sidebar-banner .editor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}
.sidebar-banner .banner-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--bg-elevated);
  padding: 6px;
  margin: 0 auto 0.75rem;
  border: 1px solid var(--border);
}
.sidebar-banner h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.2rem; }
.sidebar-banner .banner-subtitle { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 0.6rem; }
.sidebar-banner .banner-score {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.sidebar-banner .banner-stars { color: var(--warning); font-size: 0.85rem; margin-bottom: 0.75rem; }
.sidebar-banner .banner-features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}
.sidebar-banner .banner-features li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
}
.sidebar-banner .banner-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 0.7rem;
}
.sidebar-banner .btn { width: 100%; margin-bottom: 0.4rem; font-size: 0.8rem; padding: 0.5rem; }
.sidebar-banner .banner-footer {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ===== SPECIAL #1 RANKING CARD ===== */
.rank-card-special {
  background: var(--bg-card);
  border: 2px solid rgba(168,85,247,0.45);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
}
.rank-card-special::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
}
.rank-card-special:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  transform: translateY(-2px);
}
.rank-card-special .editor-badge-full {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #7e22ce, #a855f7);
  color: white;
  padding: 0.35rem 0.9rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 1.25rem;
}
.rank-card-special .special-body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  padding: 1rem 1.25rem 0.75rem;
  align-items: start;
}
@media (max-width: 768px) {
  .rank-card-special .special-body { grid-template-columns: 1fr; }
}
.rank-card-special .rank-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  opacity: 0.5;
  min-width: 55px;
}
.rank-card-special .special-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.rank-card-special .best-badge {
  display: inline-flex;
  background: rgba(236,72,153,0.15);
  color: var(--accent-light);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}
.rank-card-special .special-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--bg-elevated);
  padding: 4px;
  border: 1px solid var(--border);
  vertical-align: middle;
  margin-right: 0.2rem;
}
.rank-card-special .special-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.5rem 0;
  line-height: 1.5;
}
.rank-card-special .special-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.rank-card-special .special-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--success);
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.12);
}
.rank-card-special .special-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.rank-card-special .special-meta strong { color: var(--text); }
.rank-card-special .special-score-col {
  text-align: center;
  min-width: 110px;
}
.rank-card-special .special-score-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}
.rank-card-special .special-score-value {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.rank-card-special .special-score-stars {
  color: var(--warning);
  font-size: 0.85rem;
  margin: 0.2rem 0 0.5rem;
}

/* ===== STANDARD RANK CARD ===== */
.rank-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  transition: all 0.3s;
  margin-bottom: 0.85rem;
}
.rank-card:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.rank-card-body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: start;
}
@media (max-width: 640px) { .rank-card-body { grid-template-columns: 1fr; } }
.rank-card .rank-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-light);
  opacity: 0.35;
  line-height: 1;
  min-width: 45px;
}
.rank-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.rank-card .rank-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--bg-elevated);
  padding: 3px;
  border: 1px solid var(--border);
  vertical-align: middle;
  margin-right: 0.2rem;
}
.rank-card .rank-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.3rem 0;
  line-height: 1.5;
}
.rank-card .rank-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.rank-card .rank-highlights span {
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--success);
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.1);
}
.rank-card .rank-score-col { text-align: center; min-width: 90px; }
.rank-card .rank-score-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}
.rank-card .rank-score-stars { color: var(--warning); font-size: 0.78rem; margin: 0.15rem 0 0.4rem; }

/* ===== WINNERS BY CATEGORY ===== */
.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.winner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all 0.3s;
}
.winner-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.winner-card .winner-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}
.winner-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.winner-card .winner-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--bg-elevated);
  padding: 3px;
  border: 1px solid var(--border);
}
.winner-card .winner-score {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ===== INLINE CTA BANNER ===== */
.inline-cta {
  background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(236,72,153,0.08));
  border: 2px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.inline-cta .cta-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.inline-cta img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  padding: 5px;
}
.inline-cta .cta-text strong { font-size: 1.15rem; color: var(--text); }
.inline-cta .cta-text p { color: var(--text-muted); font-size: 0.9rem; margin: 0.2rem 0 0; }

/* ===== BOTTOM CTA SECTION ===== */
.bottom-cta {
  background: linear-gradient(135deg, rgba(168,85,247,0.1), rgba(236,72,153,0.08));
  border: 2px solid rgba(168,85,247,0.25);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}
.bottom-cta h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.bottom-cta p { color: var(--text-muted); margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.bottom-cta .btn-lg { font-size: 1.1rem; padding: 1rem 2.5rem; }

/* ===== FLOATING CTA (right side) ===== */
.floating-cta {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  background: var(--bg-card);
  border: 2px solid rgba(168,85,247,0.4);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  text-align: center;
  width: 70px;
  display: none;
}
@media (min-width: 1400px) { .floating-cta { display: block; } }
.floating-cta img { width: 40px; height: 40px; border-radius: var(--radius-sm); margin-bottom: 0.4rem; }
.floating-cta span { font-size: 0.6rem; font-weight: 700; display: block; margin-bottom: 0.3rem; }
.floating-cta .btn { padding: 0.3rem; font-size: 0.6rem; width: 100%; }

/* ===== MODAL / POPUP ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--bg-card);
  border: 2px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-xl);
  padding: 2rem 2rem 1.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.modal-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-light);
  margin-bottom: 1rem;
}
.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--bg-elevated);
  padding: 8px;
  border: 1px solid var(--border);
  margin: 0 auto 1rem;
}
.modal-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.modal-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.modal-rating .stars { color: var(--warning); }
.modal-rating .score { font-weight: 700; color: var(--text); }
.modal-box > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.modal-btn {
  background: linear-gradient(135deg, #be185d, #ec4899);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
  margin-bottom: 0.75rem;
}
.modal-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(236,72,153,0.4); }
.modal-dismiss {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.3rem;
}
.modal-dismiss:hover { color: var(--text-muted); text-decoration: underline; }

/* ===== CATEGORY PILLS ===== */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.category-pill {
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.category-pill:hover, .category-pill.active {
  border-color: var(--primary);
  background: rgba(168,85,247,0.1);
  color: var(--text);
}

/* ===== PLATFORM CARDS (directory) ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.platform-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}
.platform-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  object-fit: contain;
  flex-shrink: 0;
  background: var(--bg-elevated);
  padding: 4px;
}
.platform-card-title { flex: 1; min-width: 0; }
.platform-card-title h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.2rem; }
.platform-url { font-size: 0.8rem; color: var(--text-dim); }
.platform-rating { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.rating-stars { color: var(--warning); font-size: 0.85rem; }
.rating-number { font-weight: 700; font-size: 0.95rem; }
.platform-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.platform-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.tag { display: inline-flex; padding: 0.25rem 0.6rem; border-radius: 100px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; }
.tag-primary { background: rgba(168,85,247,0.15); color: var(--primary-light); }
.tag-accent { background: rgba(236,72,153,0.15); color: var(--accent-light); }
.tag-success { background: rgba(34,197,94,0.15); color: var(--success); }
.platform-card-actions { display: flex; gap: 0.5rem; }
.platform-card-actions .btn { flex: 1; }

/* ===== BADGE ===== */
.badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.6rem; border-radius: 100px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.badge-top { background: rgba(245,158,11,0.2); color: var(--warning); }
.badge-editor { background: rgba(168,85,247,0.2); color: var(--primary-light); }

/* ===== TABLE OF CONTENTS ===== */
.toc { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 2rem; }
.toc h3 { font-size: 1rem; margin-bottom: 1rem; }
.toc ul { list-style: none; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0; }
.toc a:hover { color: var(--primary-light); }

/* ===== CONTENT ARTICLE ===== */
.article h2 { font-size: 1.8rem; font-weight: 800; margin: 2.5rem 0 1rem; }
.article h3 { font-size: 1.3rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.article h4 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--primary-light); }
.article p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; font-size: 0.95rem; }
.article ul, .article ol { color: var(--text-muted); margin-bottom: 1rem; padding-left: 1.5rem; }
.article li { margin-bottom: 0.4rem; line-height: 1.7; }
.article strong { color: var(--text); }
.article a { color: var(--primary-light); text-decoration: underline; text-underline-offset: 2px; }
.article blockquote { border-left: 3px solid var(--primary); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--bg-elevated); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }

/* ===== RATING BREAKDOWN ===== */
.rating-breakdown { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.rating-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.rating-label { width: 110px; font-size: 0.85rem; color: var(--text-muted); }
.rating-bar { flex: 1; height: 8px; background: var(--bg-elevated); border-radius: 4px; overflow: hidden; }
.rating-bar-fill { height: 100%; border-radius: 4px; background: var(--gradient-primary); transition: width 0.6s ease; }
.rating-value { width: 36px; text-align: right; font-weight: 700; font-size: 0.9rem; }

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.comparison-table thead th { background: var(--bg-elevated); padding: 1rem; text-align: left; font-weight: 600; border-bottom: 1px solid var(--border); white-space: nowrap; }
.comparison-table tbody td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.comparison-table tbody tr:hover td { background: rgba(168,85,247,0.03); }
.comparison-table .platform-cell { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.comparison-table .platform-cell img { width: 28px; height: 28px; border-radius: var(--radius-sm); }

/* ===== PROS CONS ===== */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-box, .cons-box { padding: 1.25rem; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.pros-box { background: rgba(34,197,94,0.05); border-color: rgba(34,197,94,0.2); }
.cons-box { background: rgba(239,68,68,0.05); border-color: rgba(239,68,68,0.2); }
.pros-box h4 { color: var(--success); margin-bottom: 0.75rem; }
.cons-box h4 { color: var(--danger); margin-bottom: 0.75rem; }
.pros-box ul, .cons-box ul { list-style: none; padding: 0; }
.pros-box li, .cons-box li { padding: 0.35rem 0; padding-left: 1.3rem; position: relative; font-size: 0.9rem; color: var(--text-muted); }
.pros-box li::before { content: '\2713'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.cons-box li::before { content: '\2717'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

/* ===== INFO BOX ===== */
.info-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin: 1.5rem 0; }
.info-box-title { font-weight: 700; margin-bottom: 0.75rem; }

/* ===== FILTER BAR ===== */
.filter-bar { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; padding: 1rem; background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.filter-group { display: flex; align-items: center; gap: 0.5rem; }
.filter-group label { font-size: 0.85rem; color: var(--text-muted); }
.filter-group select { padding: 0.5rem 2rem 0.5rem 0.75rem; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 0.85rem; cursor: pointer; }

/* ===== ALTERNATIVES ===== */
.alt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.alt-card { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.2s; }
.alt-card:hover { border-color: var(--border-light); background: var(--bg-card-hover); }
.alt-card img { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: contain; background: var(--bg-elevated); padding: 3px; }
.alt-card-info .name { font-weight: 600; font-size: 0.9rem; }
.alt-card-info .rating { font-size: 0.8rem; color: var(--text-dim); }

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-elevated); padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); }
.footer-links h4 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: var(--text-dim); }

/* ===== SCROLL TO TOP ===== */
.scroll-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; background: var(--gradient-primary); border: none; border-radius: 50%; color: white; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 99; display: flex; align-items: center; justify-content: center; }
.scroll-top.visible { opacity: 1; visibility: visible; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: 1.05rem; gap: 1rem; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--primary-light); flex-shrink: 0; }
.faq-item.active .faq-question::after { content: '-'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-muted); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 500px; padding-top: 0.75rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb-sep { color: var(--text-dim); }

/* ===== REVIEW HEADER ===== */
.review-header { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.review-header-icon { width: 80px; height: 80px; border-radius: var(--radius-lg); object-fit: contain; background: var(--bg-card); padding: 8px; border: 1px solid var(--border); flex-shrink: 0; }
.review-header-info { flex: 1; min-width: 0; }
.review-header-info h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
.review-header-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.review-header-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.5rem; }
  .platforms-grid { grid-template-columns: 1fr; }
  .top-cta-banner { font-size: 0.75rem; }
  .floating-cta { display: none !important; }
  .inline-cta { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .platform-card-actions { flex-direction: column; }
  .bottom-cta { padding: 1.5rem; }
  .bottom-cta h2 { font-size: 1.3rem; }
  .modal-box { padding: 1.5rem 1.25rem; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }

/* ===== PRINT ===== */
@media print { .site-header, .site-footer, .scroll-top, .hero-orb, .floating-cta, .modal-overlay, .top-cta-banner { display: none; } }
