/* ═══════════════════════════════════════════════════════════════════════════
   JINA GOLD — Lüks Altın & Döviz Canlı Kur Platformu Stil Dosyası
   ═══════════════════════════════════════════════════════════════════════════ */

:root,
[data-theme='light'] {
  --bg-page: #faf7f0;
  --bg-subtle: #f3ede0;
  --bg-card: #ffffff;
  --bg-card-header: linear-gradient(135deg, #fdfbf7 0%, #f6efe0 100%);
  --bg-row-hover: #fcf9f2;
  --bg-row-selected: #f9f1dc;
  --bg-input: #ffffff;
  --bg-badge-neutral: #f2ece0;

  --text-main: #181510;
  --text-secondary: #574f42;
  --text-muted: #877c6a;

  --gold-primary: #b8871b;
  --gold-bright: #d4af37;
  --gold-deep: #8f650d;
  --gold-soft: rgba(184, 135, 27, 0.12);
  --gold-border: rgba(184, 135, 27, 0.25);

  --border-light: #e8dfd0;
  --border-row: #f0e9dc;

  --up-color: #0b8750;
  --up-bg: rgba(11, 135, 80, 0.11);
  --down-color: #c92a2a;
  --down-bg: rgba(201, 42, 42, 0.11);

  --shadow-sm: 0 2px 8px rgba(24, 21, 16, 0.04);
  --shadow-card: 0 10px 30px rgba(36, 28, 12, 0.06);
  --shadow-gold: 0 6px 20px rgba(184, 135, 27, 0.18);
  --navbar-bg: rgba(251, 249, 244, 0.94);
}

[data-theme='dark'] {
  --bg-page: #0d0c0a;
  --bg-subtle: #14120f;
  --bg-card: #171511;
  --bg-card-header: linear-gradient(135deg, #1e1b15 0%, #161410 100%);
  --bg-row-hover: #211d17;
  --bg-row-selected: #2a2315;
  --bg-input: #12100d;
  --bg-badge-neutral: #221f19;

  --text-main: #f5f0e6;
  --text-secondary: #bfb5a2;
  --text-muted: #857b68;

  --gold-primary: #dfb646;
  --gold-bright: #f0ca61;
  --gold-deep: #b8871b;
  --gold-soft: rgba(223, 182, 70, 0.14);
  --gold-border: rgba(223, 182, 70, 0.28);

  --border-light: #2a251d;
  --border-row: #221e17;

  --up-color: #22c57b;
  --up-bg: rgba(34, 197, 123, 0.14);
  --down-color: #f85a5a;
  --down-bg: rgba(248, 90, 90, 0.14);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.48);
  --shadow-gold: 0 6px 22px rgba(223, 182, 70, 0.2);
  --navbar-bg: rgba(15, 14, 11, 0.93);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s ease, color 0.2s ease;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── NAVBAR ─────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navbar-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid var(--gold-border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  background: #f5efe2;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold-primary);
  line-height: 1.15;
}

.site-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 13px;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.nav-menu-link:hover,
.nav-menu-link.active {
  color: var(--gold-primary);
  background: var(--gold-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-phone {
  background: linear-gradient(135deg, #c89623 0%, #a27310 100%);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
}

.btn-phone:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn-map-link {
  background: var(--bg-badge-neutral);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-map-link:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* ─── ÜST KAYAN KUR BANDI (SINIRSIZ YATAY OTOMATİK SLIDER) ───────────────── */
.spotlight-section {
  margin-top: 16px;
}

.spotlight-grid {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 4px 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.spotlight-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: max-content;
  animation: spotlightMarquee 42s linear infinite;
  will-change: transform;
}

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

@keyframes spotlightMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-50% - 6px), 0, 0);
  }
}

.spotlight-card {
  appearance: none;
  text-align: left;
  font-family: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 13px;
  padding: 12px 15px;
  width: 235px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spotlight-card:hover,
.spotlight-card.is-selected {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.spotlight-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--gold-primary);
}

.spotlight-prices {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.spot-price-col {
  display: flex;
  flex-direction: column;
}

.spot-sell {
  text-align: right;
}

.spot-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.spot-val {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

/* ─── PİYASA ARAÇ ÇUBUĞU ─────────────────────────────────────────────────── */
.market-toolbar {
  margin-top: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar-info-text {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 9px;
  padding: 7px 12px;
  min-width: 260px;
  color: var(--text-muted);
  transition: border-color 0.18s ease;
}

.search-box:focus-within {
  border-color: var(--gold-primary);
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-main);
  font-size: 0.84rem;
  width: 100%;
  font-family: inherit;
}

.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 9px;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.refresh-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.refresh-btn.is-spinning svg {
  animation: spin 0.5s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ─── İKİ SÜTUNLU ANA KUR TABLOLARI (DİKEY SCROLL DESTEKLİ) ─────────────── */
.rates-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.rate-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.rate-card-gold {
  border-color: var(--gold-border);
}

.rate-card-header {
  background: var(--bg-card-header);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.card-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text-main);
}

.card-subtitle {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.source-badge.is-live {
  background: var(--up-bg);
  color: var(--up-color);
}

.source-badge.is-cached {
  background: var(--gold-soft);
  color: var(--gold-primary);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseDot 1.6s infinite ease-in-out;
}

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

/* Tablo Dikey Scroll Alanı (Ekranın aşırı uzamasını önler, yatay scroll çıkarmaz) */
.table-scroll-body {
  width: 100%;
  max-height: 455px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-border) transparent;
}

.table-scroll-body::-webkit-scrollbar {
  width: 6px;
}

.table-scroll-body::-webkit-scrollbar-track {
  background: transparent;
}

.table-scroll-body::-webkit-scrollbar-thumb {
  background-color: var(--gold-border);
  border-radius: 999px;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.rates-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.rates-table thead th.th-unit {
  width: 40%;
}

.rates-table thead th.th-price {
  width: 21%;
  text-align: right;
}

.rates-table thead th.th-change {
  width: 18%;
  text-align: right;
}

.rate-row {
  border-bottom: 1px solid var(--border-row);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.rate-row:last-child {
  border-bottom: none;
}

.rate-row:hover {
  background-color: var(--bg-row-hover);
}

.rate-row.row-selected {
  background-color: var(--bg-row-selected);
}

.rate-row td {
  padding: 10px 14px;
  vertical-align: middle;
}

.unit-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.unit-name {
  font-size: 0.89rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.unit-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.td-price {
  text-align: right;
  font-size: 0.94rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.td-buy {
  color: var(--text-secondary);
}

.td-sell {
  color: var(--text-main);
  font-weight: 800;
}

.td-change {
  text-align: right;
  white-space: nowrap;
}

.change-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 0.73rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.change-pill.is-up {
  background: var(--up-bg);
  color: var(--up-color);
}

.change-pill.is-down {
  background: var(--down-bg);
  color: var(--down-color);
}

.change-pill.is-flat {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.empty-row td {
  text-align: center;
  padding: 28px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Yalnızca Fiyatı Değişen Satır İçin Yumuşak Anlık Efekt */
@keyframes flashUpBg {
  0% {
    background-color: rgba(11, 135, 80, 0.24);
  }
  100% {
    background-color: transparent;
  }
}

@keyframes flashDownBg {
  0% {
    background-color: rgba(201, 42, 42, 0.24);
  }
  100% {
    background-color: transparent;
  }
}

.flash-up {
  animation: flashUpBg 0.65s ease-out;
}

.flash-down {
  animation: flashDownBg 0.65s ease-out;
}

/* ─── HIZLI ALTIN & DÖVİZ HESAPLAMA ARACI ────────────────────────────────── */
.converter-section {
  margin-top: 20px;
}

.converter-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}

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

.converter-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.converter-unit-info {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: 5px 12px;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
}

.converter-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.conv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.conv-field label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.conv-field input,
.conv-field select {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-input);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s ease;
}

.conv-field input:focus,
.conv-field select:focus {
  border-color: var(--gold-primary);
}

.preset-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.preset-chip {
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 0.73rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-chip:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.conv-result-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.conv-result-box.highlight-sell {
  background: var(--gold-soft);
  border-color: var(--gold-border);
}

.conv-result-label {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.conv-result-value {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

.conv-result-box.highlight-sell .conv-result-value {
  color: var(--gold-primary);
}

/* ─── KURUMSAL BİLGİLER, TELEFON & GOOGLE MAPS BÖLÜMÜ ───────────────────── */
.contact-section {
  margin-top: 24px;
  margin-bottom: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  align-items: stretch;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.contact-card-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-badge {
  align-self: flex-start;
  background: var(--gold-soft);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: 999px;
}

.contact-company-title {
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--gold-soft);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-item-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
}

a.contact-item-value:hover {
  color: var(--gold-primary);
}

.contact-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cta-box-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: all 0.2s ease;
  text-align: center;
}

.cta-call {
  background: linear-gradient(135deg, #c89623 0%, #9d6e0e 100%);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
}

.cta-call:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.cta-directions {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--gold-border);
}

.cta-directions:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.contact-map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 390px;
  display: flex;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
  display: block;
}

/* ─── ALT BİLGİ (FOOTER) ─────────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  background: var(--bg-card);
  border-top: 1px solid var(--gold-border);
  padding: 22px 0;
}

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

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-company {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
}

.footer-disclaimer {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-links-row a:hover,
.footer-links-row a.active {
  color: var(--gold-primary);
}

.footer-dot {
  color: var(--text-muted);
}

/* İçerik Sayfaları (Bilgilendirme & Yasal Uyarı) */
.legal-page-card {
  margin: 28px 0 40px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.legal-page-card h1 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 14px;
}

.legal-page-card h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 20px 0 8px;
}

.legal-page-card p,
.legal-page-card li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.65;
}

.legal-page-card ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

/* ─── DUYARLI (RESPONSIVE & MOBİL TAM SIĞMA) TASARIM ─────────────────────── */
@media (max-width: 1120px) {
  .rates-grid {
    grid-template-columns: 1fr;
  }
  .converter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-nav-menu {
    display: none;
  }
  .market-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .toolbar-right {
    width: 100%;
  }
  .search-box {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 10px;
  }
  .navbar-inner {
    min-height: 62px;
    gap: 8px;
  }
  .brand-logo-img {
    width: 42px;
    height: 42px;
  }
  .brand-name {
    font-size: 1.08rem;
  }
  .btn-map-link,
  .theme-btn-label {
    display: none;
  }
  .nav-contact-btn.btn-phone {
    padding: 8px 11px;
    font-size: 0.78rem;
  }
  .spotlight-card {
    width: 195px;
    padding: 10px 12px;
  }
  .spot-val {
    font-size: 0.92rem;
  }
  .rate-card-header {
    padding: 12px 12px;
  }
  .card-header-icon {
    width: 32px;
    height: 32px;
  }
  .card-title {
    font-size: 0.88rem;
  }
  .card-subtitle {
    font-size: 0.68rem;
  }
  .source-badge {
    padding: 4px 8px;
    font-size: 0.68rem;
  }
  .table-scroll-body {
    max-height: 390px;
    overflow-x: hidden;
  }
  /* Mobilde 4 sütunun tamamı yatay scroll çıkmadan ekrana tam sığar */
  .rates-table thead th {
    padding: 8px 6px;
    font-size: 0.64rem;
    letter-spacing: 0.02em;
  }
  .rates-table thead th.th-unit {
    width: 38%;
    padding-left: 10px;
  }
  .rates-table thead th.th-price {
    width: 22%;
  }
  .rates-table thead th.th-change {
    width: 18%;
    padding-right: 10px;
  }
  .rate-row td {
    padding: 8px 6px;
  }
  .rate-row td.td-unit {
    padding-left: 10px;
  }
  .rate-row td.td-change {
    padding-right: 10px;
  }
  .unit-name {
    font-size: 0.78rem;
  }
  .unit-sub {
    font-size: 0.64rem;
  }
  .td-price {
    font-size: 0.81rem;
  }
  .change-pill {
    padding: 2px 4px;
    font-size: 0.65rem;
    gap: 2px;
  }
  .change-pill svg {
    width: 9px;
    height: 9px;
  }
  .converter-card {
    padding: 15px 14px;
  }
  .converter-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card {
    padding: 18px 15px;
  }
  .contact-cta-row {
    grid-template-columns: 1fr;
  }
}
