/*
Theme Name: FameSpec
Theme URI: https://famespec.com
Author: FameSpec Core
Description: High-performance celebrity specifications and comparative data engine.
Version: 5.3.0
*/

/* ========================================================
   1. GLOBAL RESETS & CSS VARIABLES
   ======================================================== */
:root {
  --bg-main: #0b0f19;
  --bg-card: #111827;
  --bg-card-sub: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --green: #4ade80;
  --pink: #ec4899;
  --red: #ef4444;
  --orange: #f59e0b;
  --border: #1e293b;
  --border-light: #334155;
  --radius: 12px;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================================
   2. HEADER & BRAND NAVIGATION
   ======================================================== */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.35rem;
  color: #fff;
  white-space: nowrap;
}

.brand-icon-wrap {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text .txt-fame { color: #ffffff; font-weight: 900; }
.brand-text .txt-spec {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.nav-search-box {
  flex: 1;
  max-width: 380px;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px !important;
  height: 16px !important;
  stroke: var(--text-muted);
  pointer-events: none;
}

.nav-search-box input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: #fff;
  padding: 8px 16px 8px 38px;
  border-radius: 20px;
  font-size: 0.85rem;
  outline: none;
}

.nav-search-box input:focus {
  border-color: var(--accent);
}

.header-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  z-index: 1001;
  display: none;
  overflow: hidden;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.header-nav a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s;
}

.header-nav a:hover { color: #fff; }

.header-compare-btn {
  background: var(--accent) !important;
  color: #0b0f19 !important;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* ========================================================
   3. HERO, SEARCH & FILTER TABS
   ======================================================== */
.hero-section {
  text-align: center;
  padding: 40px 20px 20px;
}

.hero-section h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
}

.hero-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 6px;
}

.search-box-wrap {
  position: relative;
  max-width: 540px;
  margin: 20px auto 0;
}

.search-input-main {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
  outline: none;
}

.search-input-main:focus {
  border-color: var(--accent);
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 100;
  display: none;
  overflow: hidden;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
  text-align: left;
}

.search-item:hover { background: var(--bg-card-sub); }
.search-item img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.s-name { font-weight: 800; color: #fff; font-size: 0.88rem; }
.s-sub { font-size: 0.75rem; color: var(--text-muted); }

.filter-bar {
  margin: 25px 0 35px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: #0b0f19;
  border-color: var(--accent);
}

/* ========================================================
   4. LEADERBOARDS (TOP WEALTH)
   ======================================================== */
.leaderboards-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

@media (max-width: 768px) {
  .leaderboards-wrapper { grid-template-columns: 1fr; }
}

.leaderboard-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.leaderboard-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.leaderboard-title span {
  font-size: 0.72rem;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.15);
  padding: 2px 8px;
  border-radius: 12px;
}

.leader-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leader-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-card-sub);
  border-radius: 10px;
  transition: transform 0.2s;
}

.leader-row:hover { transform: translateX(4px); }

.leader-info-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.leader-rank {
  font-weight: 900;
  color: var(--text-muted);
  font-size: 0.85rem;
  min-width: 24px;
}

.leader-avatar {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  border-radius: 50%;
  object-fit: cover;
}

.l-name { font-weight: 800; font-size: 0.88rem; color: #fff; }
.l-sub { font-size: 0.72rem; color: var(--text-muted); }
.leader-metric-badge .m-val { font-size: 0.85rem; font-weight: 800; color: var(--green); }
.leader-metric-badge .m-val.social { color: var(--red); }

/* ========================================================
   5. DATABASE GRID & CARD MEDIA LOCK
   ======================================================== */
.database-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
  margin-bottom: 45px;
}

.db-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}

.db-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent) !important;
}

.card-media {
  position: relative;
  width: 100% !important;
  height: 240px !important;
  background: var(--bg-card-sub);
  overflow: hidden !important;
}

.card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
}

.no-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.card-details {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
}

.card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.card-profession {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: auto;
}

.stat-item .label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.stat-item .val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--green);
}

/* ========================================================
   6. COMPARE & SCALE VISUALIZER (DEVO RESİMLERİ BİTİREN KISIM)
   ======================================================== */
.compare-container {
  max-width: 960px;
  margin: 30px auto;
}

.compare-selector-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 30px;
}

.compare-form-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.c-select-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.c-select-wrap label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
}

.c-select-wrap select {
  width: 100%;
  background: var(--bg-card-sub);
  border: 1px solid var(--border-light);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
}

.c-vs-badge {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 0.9rem;
  font-weight: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compare-grid-cards {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin-bottom: 30px !important;
}

@media (max-width: 650px) {
  .compare-grid-cards { grid-template-columns: 1fr !important; }
}

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}

/* Ekrandaki dev kafayı 100px'e kilitleyen mutlak kural */
.compare-avatar {
  width: 100px !important;
  height: 100px !important;
  min-width: 100px !important;
  min-height: 100px !important;
  max-width: 100px !important;
  max-height: 100px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: top center !important;
  border: 3px solid var(--accent) !important;
  margin: 0 auto 12px !important;
  display: block !important;
}

.compare-grid-cards .compare-card:nth-child(2) .compare-avatar {
  border-color: var(--pink) !important;
}

.c-job { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.c-worth-badge { font-size: 1.3rem; font-weight: 900; color: var(--green); }

.visualizer-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 25px;
  text-align: center;
}

.vis-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 20px; color: #fff; }

.height-stage {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  min-height: 260px !important;
  gap: 50px !important;
  padding: 30px 10px 0 !important;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.15) !important;
  margin-bottom: 18px !important;
}

.silhouette-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  height: 100% !important;
  position: relative !important;
}

.sil-head-avatar {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;
  border: 2px solid var(--accent) !important;
  overflow: hidden !important;
  margin-bottom: -4px !important;
  background: var(--bg-card) !important;
}

.sil-head-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.sil-figure {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  display: block !important;
  fill: var(--accent) !important;
  flex-shrink: 0 !important;
}

.sil-tag {
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  color: var(--accent) !important;
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  padding: 3px 8px !important;
  border-radius: 12px !important;
  margin-bottom: 8px !important;
  white-space: nowrap !important;
}

.silhouette-col:nth-child(2) .sil-head-avatar { border-color: var(--pink) !important; }
.silhouette-col:nth-child(2) .sil-tag { color: var(--pink) !important; border-color: rgba(236, 72, 153, 0.4) !important; }
.silhouette-col:nth-child(2) .sil-figure { fill: var(--pink) !important; }

/* Compare With Me Butonları & Formu */
.btn-add-myself {
  background: var(--bg-card-sub) !important;
  border: 1px solid var(--border-light) !important;
  color: var(--accent) !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.user-scale-form {
  display: inline-flex !important;
  gap: 8px !important;
  margin-top: 12px !important;
  background: var(--bg-card-sub) !important;
  padding: 8px 16px !important;
  border-radius: 24px !important;
  border: 1px solid var(--border-light) !important;
}

.user-scale-form input {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  color: #fff !important;
  padding: 6px 12px !important;
  border-radius: 12px !important;
  text-align: center !important;
}

.btn-apply-user {
  background: var(--accent) !important;
  color: #080d1a !important;
  border: none !important;
  padding: 6px 14px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.btn-cancel-user {
  background: transparent !important;
  border: 1px solid var(--border-light) !important;
  color: var(--text-muted) !important;
  padding: 6px 14px !important;
  border-radius: 12px !important;
  cursor: pointer !important;
}

.share-btn-group,
.compare-share-bar {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 25px 0 15px !important;
}

.btn-share,
.btn-share-download,
.btn-share-action {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  color: var(--text-muted) !important;
  padding: 9px 18px !important;
  border-radius: 12px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.btn-share:hover,
.btn-share-download:hover,
.btn-share-action:hover {
  border-color: var(--accent) !important;
  color: #fff !important;
}

/* ========================================================
   7. SINGLE PROFILE: SPECS, WEALTH, REVENUE & RIVALS
   ======================================================== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 35px;
}

.compare-table th { background: var(--bg-card-sub); padding: 14px 16px; font-size: 0.85rem; font-weight: 800; }
.compare-table td { padding: 14px 16px; border-top: 1px solid var(--border-light); font-size: 0.9rem; }
.compare-table .val-c1 { text-align: right; width: 38%; font-weight: 700; }
.compare-table .metric-name { text-align: center; width: 24%; font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); font-weight: 800; }
.compare-table .val-c2 { text-align: left; width: 38%; font-weight: 700; }

.wealth-perspective-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin: 30px 0;
}

.wp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.wp-title { font-size: 1.1rem; font-weight: 800; color: #fff; }
.wp-counter-banner { background: var(--bg-card-sub); border: 1px dashed var(--accent); border-radius: 12px; padding: 16px 20px; text-align: center; margin-bottom: 20px; }
.wp-counter-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
.wp-counter-val { font-size: 1.8rem; font-weight: 900; color: var(--green); font-family: monospace; margin-top: 4px; }
.wp-grid-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.wp-metric-card { background: var(--bg-card-sub); border: 1px solid var(--border-light); border-radius: 12px; padding: 14px 16px; }
.wp-card-title { font-size: 0.78rem; color: var(--text-muted); font-weight: 700; margin-bottom: 6px; }
.wp-card-desc { font-size: 0.95rem; color: #fff; }
.wp-card-desc b { color: var(--accent); }

/* Creator Revenue Estimator */
.revenue-card-box {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px;
  padding: 24px;
  margin: 30px 0;
}

.revenue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.revenue-header h3 { font-size: 1.1rem; font-weight: 800; color: #fff; }
.revenue-badge { background: rgba(56, 189, 248, 0.15); color: var(--accent); padding: 3px 10px; border-radius: 12px; font-size: 0.72rem; font-weight: 800; }
.rev-metric-row { display: flex; justify-content: space-between; padding: 10px 14px; background: var(--bg-card-sub); border-radius: 8px; margin-bottom: 8px; }
.rev-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 700; }
.rev-val { font-size: 1rem; color: var(--green); font-weight: 800; }

/* Rivals & Head-to-Head Matches */
.related-matches-section { margin: 40px 0 20px; }
.related-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid var(--border-light); padding-bottom: 12px; }
.related-header h3 { font-size: 1.2rem; font-weight: 800; color: #fff; }
.related-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; }
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 500px) { .related-grid { grid-template-columns: 1fr !important; } }

.related-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.related-avatar { width: 70px !important; height: 70px !important; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); margin-bottom: 10px; display: block; }
.related-name { font-size: 0.95rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.related-job { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 12px; }
.related-actions { display: flex; gap: 8px; width: 100%; margin-top: auto; }
.btn-rel-view, .btn-rel-vs { flex: 1; padding: 6px 0; border-radius: 8px; font-size: 0.75rem; font-weight: 700; text-align: center; }
.btn-rel-view { background: var(--bg-card-sub); color: var(--text-muted); border: 1px solid var(--border-light); }
.btn-rel-vs { background: rgba(56, 189, 248, 0.15); color: var(--accent); border: 1px solid rgba(56, 189, 248, 0.4); }
.btn-rel-vs:hover { background: var(--accent); color: #0b0f19; }

/* ========================================================
   8. PAGINATION & RICH FOOTER
   ======================================================== */
.pagination-wrap,
.pagination-wrapper {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}

.pagination-wrap a,
.pagination-wrap span,
.pagination-wrapper a,
.pagination-wrapper span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.pagination-wrap a:hover,
.pagination-wrapper a:hover { border-color: var(--accent); color: #fff; }
.pagination-wrap span.current,
.pagination-wrapper span.current { background: var(--accent); border-color: var(--accent); color: #0b0f19; font-weight: 800; }

.site-footer-rich {
  border-top: 1px solid var(--border);
  background: #080b12;
  padding: 50px 0 30px;
  margin-top: 60px;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 800; margin-bottom: 16px; }
.footer-col p { color: var(--text-muted); line-height: 1.6; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom-bar { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.78rem; }
/* ========================================================
   MOBILE HEADER OVERFLOW & RESPONSIVE NAV FIX
   ======================================================== */
@media (max-width: 900px) {
  .site-header {
    padding: 10px 0;
    overflow-x: hidden;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Marka ve Karşılaştırma butonunu üst satıra sabitle */
  .site-brand-link {
    font-size: 1.2rem;
  }

  /* Arama çubuğunu mobilde tam genişlik yap */
  .nav-search-box,
  .header-search-wrap {
    order: 3;
    max-width: 100% !important;
    width: 100% !important;
    margin: 4px 0 0 0 !important;
  }

  /* Sağa taşan menü linklerini temizle / yatay kaydırılabilir yap */
  .header-nav {
    order: 2;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .header-nav::-webkit-scrollbar {
    display: none; /* Kaydırma çubuğunu gizle */
  }

  /* Mobilde kategori linklerini gizleyip doğrudan Compare butonuna odaklan */
  .header-nav a:not(.header-compare-btn) {
    display: none;
  }

  .header-compare-btn {
    padding: 5px 12px !important;
    font-size: 0.8rem !important;
  }
}
/* ========================================================
   MATCHUP VERDICT BOX (WINNER BADGE)
   ======================================================== */
.matchup-verdict-box {
  background: #111827 !important;
  border: 1px solid #1e293b !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  margin: 25px auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4) !important;
  max-width: 960px !important;
}

.verdict-icon {
  font-size: 2.2rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.verdict-content {
  flex: 1 !important;
  text-align: left !important;
}

.verdict-tag {
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: #94a3b8 !important;
  font-weight: 800 !important;
  margin-bottom: 2px !important;
}

.verdict-title {
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin-bottom: 4px !important;
}

.verdict-metrics {
  font-size: 0.85rem !important;
  color: #cbd5e1 !important;
}

.verdict-metrics b {
  color: #4ade80 !important;
}
.btn-copy-match-text {
  background: var(--bg-card-sub, #1e293b);
  border: 1px solid var(--border, #334155);
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-copy-match-text:hover {
  background: #334155;
  border-color: var(--accent, #38bdf8);
}
.category-summit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 25px 0 35px;
}
.summit-card {
  background: var(--bg-card, #111827);
  border: 1px solid var(--border-light, #1e293b);
  border-radius: 14px;
  padding: 16px;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, border-color 0.2s;
}
.summit-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent, #38bdf8);
}
.summit-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 12px;
}
.summit-body {
  display: flex;
  align-items: center;
  gap: 14px;
}
.summit-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border, #334155);
}
.summit-name {
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}
.summit-val {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 2px;
}
/* ========================================================
   BORN TODAY HORIZONTAL SCROLL TICKER
   ======================================================== */
.born-today-bar {
  background: var(--bg-card, #111827);
  border: 1px solid var(--border-light, #1e293b);
  border-radius: 14px;
  padding: 12px 18px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.born-today-bar::-webkit-scrollbar {
  display: none;
}

.born-today-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  white-space: nowrap;
  border-right: 1px solid var(--border-light, #1e293b);
  padding-right: 16px;
  flex-shrink: 0;
}

.born-today-title span {
  color: var(--accent, #38bdf8);
}

.born-today-list {
  display: flex;
  gap: 10px;
  align-items: center;
}

.born-today-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--bg-card-sub, #1e293b);
  border: 1px solid var(--border-light, #334155);
  padding: 5px 12px 5px 6px;
  border-radius: 24px;
  white-space: nowrap;
  transition: border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.born-today-item:hover {
  border-color: var(--accent, #38bdf8);
  transform: translateY(-2px);
}

.born-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.born-thumb-fallback {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.born-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.born-prof {
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 6px;
}
/* ========================================================
   SINGLE PAGE: TRAITS / POLARITIES CARD FIX
   ======================================================== */
.traits-container-box {
  background: var(--bg-card, #111827);
  border: 1px solid var(--border, #1e293b);
  border-radius: 16px;
  padding: 24px;
  margin: 30px 0;
}

.traits-main-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light, #334155);
}

.traits-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .traits-split-grid {
    grid-template-columns: 1fr;
  }
}

.trait-card-col {
  background: var(--bg-card-sub, #1e293b);
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border-light, #334155);
}

.trait-card-col.col-superpowers {
  border-left: 4px solid var(--green, #4ade80);
}

.trait-card-col.col-kryptonite {
  border-left: 4px solid var(--red, #ef4444);
}

.trait-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.col-superpowers .trait-col-header {
  color: var(--green, #4ade80);
}

.col-kryptonite .trait-col-header {
  color: var(--red, #ef4444);
}

/* Çift noktayı kaldıran ve temizleyen liste kuralı */
.trait-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trait-list li {
  list-style-type: none !important;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
  position: relative;
  padding-left: 20px;
}

.col-superpowers .trait-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green, #4ade80);
  font-size: 0.85rem;
}

.col-kryptonite .trait-list li::before {
  content: "✖";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red, #ef4444);
  font-size: 0.8rem;
}
/* ========================================================
   COMPARE POLARITIES: 2-COLUMN GRID & BULLET FIX
   ======================================================== */
.compare-traits-section {
  background: var(--bg-card, #111827);
  border: 1px solid var(--border, #1e293b);
  border-radius: 16px;
  padding: 24px;
  margin: 35px 0;
}

.compare-traits-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light, #334155);
}

/* Yan yana iki kolon düzeni */
.compare-traits-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
}

@media (max-width: 768px) {
  .compare-traits-grid {
    grid-template-columns: 1fr !important;
  }
}

.compare-celeb-traits {
  background: var(--bg-card-sub, #1e293b);
  border: 1px solid var(--border-light, #334155);
  border-radius: 12px;
  padding: 18px 20px;
}

.compare-celeb-traits.col-c1 {
  border-left: 4px solid var(--accent, #38bdf8);
}

.compare-celeb-traits.col-c2 {
  border-left: 4px solid var(--pink, #ec4899);
}

.compare-celeb-traits-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-trait-group {
  margin-bottom: 16px;
}

.c-trait-header {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.c-trait-header.superpower {
  color: var(--green, #4ade80);
}

.c-trait-header.kryptonite {
  color: var(--red, #ef4444);
}

/* Tarayıcı noktalarını temizleyen esnek liste */
.c-trait-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-trait-list li {
  list-style-type: none !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.c-trait-list li .t-bullet {
  flex-shrink: 0;
  font-size: 0.85rem;
  line-height: 1.45;
}

.t-bullet.b-green {
  color: var(--green, #4ade80);
}

.t-bullet.b-red {
  color: var(--red, #ef4444);
}

.c-trait-list li.t-empty {
  color: var(--text-muted, #64748b);
  font-size: 0.8rem;
  font-style: italic;
}
/* İsimlerin sığması için fontu hafif ölçekleyip tek satırda tutmak veya minimum yükseklik vermek için */
.doppel-name {
    min-height: 42px; /* Tüm kartları en uzun başlığa göre eşitler */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ========================================================
   TRENDING VS PILLS (SEARCH BAR ALTI ETİKETLERİ)
   ======================================================== */
.trending-compare-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.trending-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pill-btn:hover {
  background: var(--bg-card-sub);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}