/* ==========================================================================
   Altın Haritası - Ultra-Premium Fintech & Canlı Borsa Tasarım Sistemi
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Renk Paleti - Kozmik Obsidyen & Saf Altın (Dark Default) */
  --color-bg: #07090e;
  --color-surface-1: #0e121b;
  --color-surface-2: #141a27;
  --color-surface-3: #0a0d14;
  --color-card-glass: rgba(14, 18, 27, 0.78);
  --color-card-glass-hover: rgba(20, 26, 39, 0.9);
  
  --color-line: rgba(255, 255, 255, 0.07);
  --color-line-soft: rgba(255, 255, 255, 0.04);
  --color-line-gold: rgba(245, 158, 11, 0.28);
  
  --color-gold-200: #fef08a;
  --color-gold-300: #fde047;
  --color-gold-400: #facc15;
  --color-gold-500: #f59e0b;
  --color-gold-600: #d97706;
  --color-gold-glow: rgba(245, 158, 11, 0.22);
  --color-gold-subtle: rgba(245, 158, 11, 0.1);
  
  --color-emerald: #10b981;
  --color-emerald-glow: rgba(16, 185, 129, 0.25);
  --color-emerald-bg: rgba(16, 185, 129, 0.12);
  
  --color-rose: #f43f5e;
  --color-rose-glow: rgba(244, 63, 94, 0.25);
  --color-rose-bg: rgba(244, 63, 94, 0.12);
  
  --color-indigo: #6366f1;
  --color-sky: #0ea5e9;

  --map-spread-1: #EFF3FF;
  --map-spread-2: #BDD7E7;
  --map-spread-3: #6BAED6;
  --map-spread-4: #3182BD;
  --map-spread-5: #08519C;
  --map-spread-empty: #1e293b;
  
  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  
  /* Tipografi */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  
  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 48px;
  
  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 24px rgba(245, 158, 11, 0.2);
  --shadow-gold-lg: 0 8px 36px rgba(245, 158, 11, 0.35);
  --shadow-glow-emerald: 0 0 20px rgba(16, 185, 129, 0.35);
}

[data-theme="light"] {
  --color-bg: #f8fafc;
  --color-surface-1: #ffffff;
  --color-surface-2: #f1f5f9;
  --color-surface-3: #e2e8f0;
  --color-card-glass: rgba(255, 255, 255, 0.9);
  --color-card-glass-hover: #ffffff;
  
  --color-line: #e2e8f0;
  --color-line-soft: #f1f5f9;
  --color-line-gold: rgba(217, 119, 6, 0.3);
  
  --color-gold-200: #854d0e;
  --color-gold-300: #a16207;
  --color-gold-400: #b45309;
  --color-gold-500: #d97706;
  --color-gold-600: #b45309;
  --color-gold-glow: rgba(217, 119, 6, 0.15);
  --color-gold-subtle: rgba(217, 119, 6, 0.08);
  
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-dim: #94a3b8;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 4px 20px rgba(217, 119, 6, 0.12);
}

/* ==========================================================================
   Temel Sıfırlamalar & Global Stiller
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 158, 11, 0.06), transparent 70%),
    radial-gradient(circle at 90% 20%, rgba(99, 102, 241, 0.03), transparent 40%);
  background-attachment: fixed;
}

a {
  color: var(--color-gold-400);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--color-gold-300);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.font-mono {
  font-family: var(--font-mono);
}

.shell {
  max-width: 1540px;
  margin: 0 auto;
  padding: var(--space-5);
}

@media (max-width: 768px) {
  .shell {
    padding: var(--space-3);
  }
}

/* ==========================================================================
   Header & Live Navigation Bar
   ========================================================================== */

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-card-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-line);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  max-width: 1540px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

/* Aydınlık Tema Logo Gösterimi */
html[data-theme="light"] .brand-logo-img.logo-light,
body[data-theme="light"] .brand-logo-img.logo-light {
  display: block !important;
}
html[data-theme="light"] .brand-logo-img.logo-dark,
body[data-theme="light"] .brand-logo-img.logo-dark {
  display: none !important;
}

/* Karanlık Tema Logo Gösterimi */
html[data-theme="dark"] .brand-logo-img.logo-dark,
body[data-theme="dark"] .brand-logo-img.logo-dark {
  display: block !important;
}
html[data-theme="dark"] .brand-logo-img.logo-light,
body[data-theme="dark"] .brand-logo-img.logo-light {
  display: none !important;
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 38px;
    max-width: 190px;
  }
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 50%, #b45309 100%);
  color: #0b0e14;
  font-weight: 800;
  font-size: 22px;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover .brand-mark {
  transform: scale(1.06) rotate(4deg);
}

.brand-title {
  display: block;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--color-text) 60%, var(--color-gold-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.brand-subtitle {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Canlı Piyasa Nabız Rozeti (Live Radar Indicator) */
.live-beacon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-emerald-bg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-emerald);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.beacon-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-emerald);
}

.beacon-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-emerald);
  opacity: 0.6;
  animation: livePulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   Canlı Ticker Bandı (Sonsuz Kayan Fiyat Bandı)
   ========================================================================== */

.ticker-bar {
  height: 42px;
  overflow: hidden;
  background: var(--color-surface-3);
  border-bottom: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 118px;
}

.ticker-live-beacon {
  position: absolute;
  inset: 0 auto 0 0;
  width: 108px;
  z-index: 4;
  justify-content: center;
  margin: 0;
  padding: 0 14px 0 16px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-left: 0;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: #d1fae5;
  box-shadow: 18px 0 22px var(--color-surface-3);
}

[data-theme="dark"] .ticker-live-beacon {
  background: #063c2b;
  border-color: rgba(16, 185, 129, 0.45);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  white-space: nowrap;
  animation: tickerSlide 170s linear infinite;
  will-change: transform;
  min-width: max-content;
  mask-image: linear-gradient(90deg, #000 0%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 97%, transparent);
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 560px) {
  .ticker-bar {
    padding-left: 96px;
  }

  .ticker-live-beacon {
    width: 88px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-1);
  border: 1px solid var(--color-line-soft);
  transition: all 0.2s;
  cursor: pointer;
}

.ticker-item:hover {
  border-color: var(--color-gold-500);
  background: var(--color-surface-2);
}

.ticker-city {
  font-weight: 700;
  color: var(--color-text);
  font-size: 12px;
}

.ticker-price {
  font-family: var(--font-mono);
  color: var(--color-gold-400);
  font-weight: 700;
}

.ticker-makas {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   Hero & Başlık Alanı
   ========================================================================== */

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin: var(--space-5) 0 var(--space-6) 0;
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(14, 18, 27, 0.8) 100%);
  border: 1px solid var(--color-line-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 6px 0;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-desc {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 14px;
  max-width: 680px;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   KPI Özet Kartları (Market Overview Strip)
   ========================================================================== */

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.kpi {
  background: var(--color-card-glass);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold-500), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.kpi:hover {
  transform: translateY(-2px);
  border-color: var(--color-line-gold);
  box-shadow: var(--shadow-md);
}

.kpi:hover::before {
  opacity: 1;
}

.kpi span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.kpi strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   81 İl Harita ve Şehir Paneli Grid
   ========================================================================== */

.bx3-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.map-panel, .city-panel {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1100px) {
  .bx3-grid {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: var(--color-card-glass);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s;
}

.panel:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-line-soft);
}

.panel-head h3 {
  margin: 0 0 4px 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.panel-head p {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Harita Taşıyıcı */
.map-canvas-wrap {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

#map svg {
  width: 100%;
  height: auto;
  max-height: 480px;
  display: block;
}

#map svg path {
  fill: #182030;
  stroke: #2a3449;
  stroke-width: 0.75;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

#map svg path:hover {
  stroke: var(--color-gold-400) !important;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4));
}

#map svg path.status-ok {
  fill: #1a4473;
  stroke: rgba(255, 255, 255, 0.48);
  stroke-width: 0.9;
}

#map svg path.status-ok:hover {
  stroke: var(--color-gold-400) !important;
  stroke-width: 2;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.45));
}

#map svg path.spread-very-low {
  fill: var(--map-spread-1);
  stroke: color-mix(in srgb, var(--map-spread-1) 72%, #0f172a);
}

#map svg path.spread-low {
  fill: var(--map-spread-2);
  stroke: color-mix(in srgb, var(--map-spread-2) 68%, #0f172a);
}

#map svg path.spread-medium {
  fill: var(--map-spread-3);
  stroke: color-mix(in srgb, var(--map-spread-3) 62%, #0f172a);
}

#map svg path.spread-high {
  fill: var(--map-spread-4);
  stroke: color-mix(in srgb, var(--map-spread-4) 58%, #0f172a);
}

#map svg path.spread-critical {
  fill: var(--map-spread-5);
  stroke: color-mix(in srgb, var(--map-spread-5) 50%, #ffffff);
}

#map svg path.status-empty {
  fill: #080b10;
  stroke: #141a24;
  stroke-width: 0.5;
  opacity: 0.35;
}

#map svg path.active {
  fill: var(--color-gold-500) !important;
  stroke: var(--color-gold-500) !important;
  stroke-width: 2;
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.65));
}

.map-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 11px;
  color: var(--color-text-muted);
}

.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.map-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.18);
}

.map-legend-dot.spread-very-low { background: var(--map-spread-1); }
.map-legend-dot.spread-low { background: var(--map-spread-2); }
.map-legend-dot.spread-medium { background: var(--map-spread-3); }
.map-legend-dot.spread-high { background: var(--map-spread-4); }
.map-legend-dot.spread-critical { background: var(--map-spread-5); }
.map-legend-dot.spread-empty {
  background: var(--map-spread-empty);
  border-color: #334155;
  opacity: 0.65;
}

.map-tooltip-spread {
  color: var(--color-gold-400);
}

.map-tooltip-spread.spread-very-low { color: var(--map-spread-1); }
.map-tooltip-spread.spread-low { color: var(--map-spread-2); }
.map-tooltip-spread.spread-medium { color: var(--map-spread-3); }
.map-tooltip-spread.spread-high { color: var(--map-spread-4); }
.map-tooltip-spread.spread-critical { color: var(--map-spread-5); }

/* Şehir Detay Kartı */
.city-panel {
  display: flex;
  flex-direction: column;
}

.city-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-line-soft);
}

.city-name-big {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: var(--color-text);
  letter-spacing: -0.03em;
}

.plate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-gold-400);
}

/* Kompakt Fiyat Tablosu */
.city-compact-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.compact-table-head, .compact-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.compact-table-head {
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compact-row {
  background: var(--color-surface-1);
  border: 1px solid var(--color-line-soft);
  transition: all 0.2s;
}

.compact-row:hover {
  background: var(--color-surface-2);
  border-color: var(--color-line);
  transform: translateX(2px);
}

.col-product {
  font-weight: 600;
  color: var(--color-text);
}

.col-num {
  text-align: right;
  font-family: var(--font-mono);
}

.makas-val {
  color: var(--color-gold-400);
  font-weight: 700;
}

/* ==========================================================================
   Grafikler Alanı (Dual Charts)
   ========================================================================== */

.history-charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

@media (max-width: 1024px) {
  .history-charts-grid {
    grid-template-columns: 1fr;
  }
}

.ranking-dual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-5);
}

@media (max-width: 980px) {
  .ranking-dual-grid {
    grid-template-columns: 1fr;
  }
}

.chart-header-split {
  flex-wrap: wrap;
}

.chart-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 4px 0 0 0;
}

.badge-change {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.badge-change-up {
  background: var(--color-emerald-bg);
  color: var(--color-emerald);
}

.badge-change-down {
  background: var(--color-rose-bg);
  color: var(--color-rose);
}

.chart-head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.range-pills {
  display: inline-flex;
  align-items: center;
  background: var(--color-surface-2);
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-line);
  gap: 2px;
}

.range-label {
  font-size: 11px;
  color: var(--color-text-dim);
  padding: 0 6px;
  font-weight: 600;
}

.range-pill {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.range-pill:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.range-pill.active {
  background: var(--color-gold-500);
  color: #0b0e14;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
}

.legend-line {
  width: 14px;
  height: 3px;
  border-radius: 2px;
}

.legend-alis {
  background: #2ecc71;
}

.legend-satis {
  background: #e74c3c;
}

.chart-container {
  width: 100%;
  height: 280px;
  position: relative;
}

/* ==========================================================================
   Modül Sekmeleri & Tab Alanları
   ========================================================================== */

.module-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 8px;
  background: var(--color-surface-3);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}

@media (max-width: 960px) {
  .module-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .module-tabs {
    grid-template-columns: 1fr;
  }
}

.module-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  border: 1px solid var(--color-line-soft);
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-sans);
  text-align: center;
}

.module-tab-btn:hover {
  color: var(--color-text);
  background: var(--color-surface-1);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.module-tab-btn.active {
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
  color: #0b0e14;
  font-weight: 800;
  border-color: var(--color-gold-400);
  box-shadow: var(--shadow-gold);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   81 İl Filtreleme & Tablolar
   ========================================================================== */

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.search-box {
  position: relative;
  min-width: 260px;
}

.search-box input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.search-box input:focus {
  border-color: var(--color-gold-500);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-dim);
  pointer-events: none;
}

.region-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip:hover {
  color: var(--color-text);
  border-color: var(--color-text-dim);
}

.filter-chip.active {
  background: var(--color-gold-subtle);
  border-color: var(--color-gold-500);
  color: var(--color-gold-400);
}

/* 2 Sütunlu Şehir Grid Yapısı */
.cities-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 960px) {
  .cities-dual-grid {
    grid-template-columns: 1fr;
  }
}

/* Master Tablolar */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

thead th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-line);
  white-space: nowrap;
}

tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--color-line-soft);
  color: var(--color-text);
  transition: background-color 0.8s ease;
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Canlı Fiyat Değişim Parlamaları (Flash Animation) */
.price-flash-up {
  animation: flashGreen 1.5s ease-out;
}

.price-flash-down {
  animation: flashRed 1.5s ease-out;
}

@keyframes flashGreen {
  0% { background-color: rgba(16, 185, 129, 0.4); }
  100% { background-color: transparent; }
}

@keyframes flashRed {
  0% { background-color: rgba(244, 63, 94, 0.4); }
  100% { background-color: transparent; }
}

/* Durum Rozetleri */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
}

.status-pill-ok {
  background: var(--color-emerald-bg);
  color: var(--color-emerald);
}

.status-pill-empty {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-dim);
}

/* ==========================================================================
   Form Elemanları & Butonlar
   ========================================================================== */

.form-select, .form-input {
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  color: var(--color-text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.form-select:focus, .form-input:focus {
  border-color: var(--color-gold-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-sans);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-400), var(--color-gold-600));
  color: #07090e;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold-lg);
}

.btn-secondary {
  background: var(--color-surface-2);
  color: var(--color-text);
  border-color: var(--color-line);
}

.btn-secondary:hover {
  background: var(--color-surface-1);
  border-color: var(--color-text-dim);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* Tooltip */
#tooltip {
  position: fixed;
  pointer-events: none;
  background: var(--color-surface-1);
  border: 1px solid var(--color-line);
  color: var(--color-text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  z-index: 99999;
  display: none;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

#tooltip.show {
  display: block;
}

.chart-interactive-tip {
  position: fixed;
  display: none;
  pointer-events: none;
  z-index: 99999;
  background: var(--color-surface-1);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--color-text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translate(0, 0);
  transition: opacity 0.15s ease;
}

.chart-interactive-tip.show {
  display: block;
}

.webmaster-page {
  padding: var(--space-5);
}

.webmaster-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-line-soft);
}

.webmaster-page-head > div {
  min-width: 0;
}

.webmaster-page-head .badge {
  flex: 0 0 auto;
  max-width: 180px;
  white-space: normal;
  text-align: center;
}

.webmaster-page-head p,
.webmaster-tool-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.webmaster-tool-grid {
  display: grid;
  gap: var(--space-5);
}

.webmaster-tool-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: var(--space-4);
  min-width: 0;
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-sm);
  background: var(--color-surface-1);
  padding: var(--space-4);
}

.webmaster-tool-copy {
  min-width: 0;
}

.webmaster-tool-card h2 {
  margin: 0 0 6px 0;
  color: var(--color-text);
  font-size: 18px;
}

.webmaster-code-input {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-3);
  color: var(--color-text);
  border: 1px solid var(--color-line);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  resize: vertical;
  cursor: copy;
}

.webmaster-code-input:focus {
  outline: 2px solid rgba(245, 158, 11, 0.35);
  border-color: var(--color-gold-500);
}

.webmaster-copy-hint {
  display: block;
  margin-top: 6px;
  color: var(--color-text-dim);
  font-size: 11px;
}

.webmaster-copy-hint.copied {
  color: var(--color-emerald);
  font-weight: 700;
}

.webmaster-control-label {
  display: block;
  margin: 12px 0 6px 0;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.webmaster-control {
  width: 100%;
  max-width: 320px;
}

.webmaster-swatches {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.webmaster-swatch {
  width: 28px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid var(--color-line);
}

.webmaster-preview {
  min-width: 0;
}

.webmaster-preview iframe {
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #fff;
}

.webmaster-preview-compact iframe {
  height: 96px;
}

/* Footer */
.app-footer {
  text-align: center;
  padding: 18px var(--space-5);
  margin-top: 20px;
  border-top: 1px solid var(--color-line-soft);
  color: var(--color-text-dim);
  font-size: 12px;
  width: 100%;
  clear: both;
}

.app-footer p {
  margin: 3px 0;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.footer-nav-btn {
  text-decoration: none;
  min-height: 32px;
  white-space: nowrap;
}

.footer-nav button.footer-nav-btn {
  appearance: none;
}

@media (max-width: 560px) {
  .footer-nav {
    justify-content: stretch;
  }

  .footer-nav-btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    min-width: 0;
  }

  .webmaster-page-head,
  .webmaster-tool-card {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .webmaster-page {
    padding: var(--space-4);
  }

  .webmaster-preview iframe {
    height: 360px;
  }

  .webmaster-preview-compact iframe {
    height: 96px;
  }
}

/* ==========================================================================
   Ultra-Premium Haberler Modülü (Fintech Newsfeed & Modal)
   ========================================================================== */

.news-panel {
  border: 1px solid var(--color-line);
  background: var(--color-surface-1);
  position: relative;
  overflow: hidden;
}

.news-head-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: 20px 24px 14px 24px;
  border-bottom: 1px solid var(--color-line-soft);
}

.news-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.03em;
}

.news-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.01);
}

.news-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-line);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-chip:hover {
  background: var(--color-surface-1);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.15);
}

.news-chip.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.1));
  color: var(--color-gold-300);
  border-color: var(--color-gold-500);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  padding: 24px;
}

.news-card {
  background: var(--color-surface-1);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold-500);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15);
  background: var(--color-surface-2);
}

.news-card-breaking {
  border-color: rgba(244, 63, 94, 0.4);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.04) 0%, var(--color-surface-1) 100%);
}

.news-card-breaking:hover {
  border-color: var(--color-rose);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(244, 63, 94, 0.2);
}

.news-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.news-badges {
  display: flex;
  gap: 6px;
  align-items: center;
}

.badge-breaking {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-rose-bg);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: var(--color-rose);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  animation: pulseBreaking 2s infinite;
}

@keyframes pulseBreaking {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.98); }
}

.news-time {
  font-size: 11px;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
}

.news-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-line-soft);
  margin: 0 0 12px 0;
  background: var(--color-surface-2);
}

.news-summary {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--color-line-soft);
  font-size: 12px;
}

.news-source {
  color: var(--color-text-muted);
  font-weight: 600;
}

.news-footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-read-time {
  color: var(--color-text-dim);
  font-size: 11px;
}

.news-read-btn {
  color: var(--color-gold-400);
  font-weight: 700;
  transition: transform 0.2s;
}

.news-card:hover .news-read-btn {
  transform: translateX(3px);
  color: var(--color-gold-300);
}

/* Okuma Modalı */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.news-modal-box {
  position: relative;
  z-index: 1;
  background: var(--color-surface-1);
  border: 1px solid var(--color-line-gold);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.2);
  animation: modalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.news-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  color: var(--color-text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.news-modal-close:hover {
  background: var(--color-rose);
  color: #fff;
  border-color: var(--color-rose);
}

.modal-news-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 16px;
}

.modal-news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.modal-news-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-text);
  margin: 0 0 12px 0;
}

.modal-news-lead {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-gold-300);
  background: rgba(245, 158, 11, 0.08);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-gold-500);
}

.modal-news-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line-soft);
  margin: 0 0 20px 0;
  background: var(--color-surface-2);
}

.modal-news-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 24px;
  text-align: justify;
}

.modal-news-body p {
  margin: 0 0 14px 0;
}

.modal-news-body h2,
.modal-news-body h3 {
  margin: 22px 0 10px 0;
  line-height: 1.35;
  text-align: left;
}

.modal-news-body h2 {
  font-size: 20px;
}

.modal-news-body h3 {
  font-size: 17px;
}

.modal-news-body ul,
.modal-news-body ol {
  margin: 0 0 16px 22px;
  padding: 0;
  text-align: left;
}

.modal-news-body li {
  margin-bottom: 8px;
}

.modal-news-body blockquote {
  margin: 18px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--color-gold-500);
  background: rgba(235, 184, 77, 0.08);
  text-align: left;
}

.modal-news-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 18px auto;
}

.modal-news-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 20px 0;
  display: block;
  overflow-x: auto;
  text-align: left;
}

.modal-news-body th,
.modal-news-body td {
  border: 1px solid var(--color-line-soft);
  padding: 10px 12px;
  min-width: 92px;
  vertical-align: top;
}

.modal-news-body th {
  font-weight: 800;
  background: var(--color-surface-2);
}

.modal-news-body th:last-child,
.modal-news-body td:last-child {
  text-align: right;
}

.modal-news-heading {
  margin: 20px 0 10px 0;
  text-align: left;
}

.modal-news-heading strong {
  font-weight: 800;
  color: var(--color-text);
}

.modal-news-bullet {
  margin: 0 0 8px 0;
  padding-left: 14px;
  text-align: left;
}

.modal-news-source-line {
  margin-top: 20px;
  color: var(--color-text-muted);
  text-align: left;
}

.modal-news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   3'lü Görsel Altın Kartları Grid Yapısı (Resim 1 İlhamlı Target Mockup)
   ========================================================================== */
.city-gold-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 1200px) {
  .city-gold-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .city-gold-cards-grid {
    grid-template-columns: 1fr;
  }
}

.city-gold-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.city-gold-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold-400);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);
}

.gold-card-img-wrap {
  height: 82px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative; /* Badge'in resim alanının içinde kalması için */
}

.gold-card-img-wrap img {
  max-height: 76px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(180, 83, 9, 0.22));
  transition: transform 0.2s ease;
}

.city-gold-card:hover .gold-card-img-wrap img {
  transform: scale(1.08);
}

.gold-card-makas-badge {
  position: absolute;
  top: -6px;
  right: -2px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fbbf24;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  letter-spacing: -0.2px;
  line-height: 1;
  z-index: 2;
  border: 1px solid rgba(251, 191, 36, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

[data-theme="dark"] .gold-card-makas-badge {
  background: rgba(0, 0, 0, 0.85);
  color: #fcd34d;
  border-color: rgba(252, 211, 77, 0.35);
}

.gold-card-icon-fallback {
  font-size: 32px;
  line-height: 1;
}

.gold-card-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 8px 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.gold-card-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.pill-solid-green {
  background: #059669;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 20px;
  font-family: var(--font-mono);
  text-align: center;
  letter-spacing: -0.2px;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
  white-space: nowrap;
}

.pill-solid-dark {
  background: #1e293b;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 20px;
  font-family: var(--font-mono);
  text-align: center;
  letter-spacing: -0.2px;
  box-shadow: 0 2px 4px rgba(30, 41, 59, 0.2);
  white-space: nowrap;
}

[data-theme="dark"] .pill-solid-dark {
  background: #334155;
}

/* ==========================================================================
   Dinamik Reklam Banner Alanı (1'li, 2'li veya 3'lü Yan Yana)
   ========================================================================== */
.city-ad-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.city-ad-grid {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.city-ad-grid.slots-1 {
  grid-template-columns: 1fr;
}

.city-ad-grid.slots-2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.city-ad-grid.slots-3 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

@media (max-width: 768px) {
  .city-ad-grid.slots-2,
  .city-ad-grid.slots-3 {
    grid-template-columns: 1fr;
  }
}

.ad-slot-box {
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  position: relative;
  text-align: center;
  transition: border-color 0.2s;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ad-slot-box:hover {
  border-color: var(--color-gold-400);
}

.ad-slot-box img {
  max-width: 100%;
  height: auto;
  max-height: 95px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.ad-slot-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
}
