/* ═══════════════════════════════════════════════════════════════════════════
   YUŞENLER DÖVİZ — Kurumsal & Canlı Kur Ekranı Tasarımı
   Renk Paleti: Özkonak Navy (#0F1228 / #1A1F3D) & Gold (#FFD700 / #DAA520)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --navy-deep: #0b0e1e;
  --navy-primary: #141932;
  --navy-light: #1f2647;
  --gold-primary: #ffd700;
  --gold-light: #ffe44d;
  --gold-dark: #d4af37;
  --gold-muted: rgba(255, 215, 0, 0.14);

  --bg-page: #f3f5f9;
  --bg-card: #ffffff;
  --border-subtle: #e5e8f0;
  --border-gold: rgba(212, 175, 55, 0.35);

  --text-primary: #141932;
  --text-secondary: #646b86;
  --text-muted: #939ab2;

  --positive: #00b87c;
  --positive-bg: rgba(0, 184, 124, 0.11);
  --negative: #f03e52;
  --negative-bg: rgba(240, 62, 82, 0.11);
  --whatsapp: #25d366;

  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 8px 28px rgba(15, 18, 40, 0.06);
  --shadow-header: 0 6px 24px rgba(11, 14, 30, 0.28);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.45;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── NAVBAR ─────────────────────────────────────────────────────────────── */
.navbar {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-primary) 55%, var(--navy-light) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-header);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-gold);
}

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

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.yd-monogram {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe46b 0%, #d4af37 55%, #9f791c 100%);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

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

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #ffffff;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.76);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.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: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-phone {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border: 1px solid rgba(255, 215, 0, 0.35);
}

.btn-phone:hover {
  background: rgba(255, 215, 0, 0.16);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.btn-phone svg {
  color: var(--gold-primary);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.16);
  color: #ffffff;
  border: 1px solid rgba(37, 211, 102, 0.48);
}

.btn-whatsapp:hover {
  background: var(--whatsapp);
  color: #071e10;
  transform: translateY(-1px);
}

.btn-map-link {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-map-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ─── ÜST KONTROL VE DURUM ÇUBUĞU ────────────────────────────────────────── */
.market-toolbar {
  margin-top: 18px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--bg-card);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
}

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

.live-clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-primary);
  color: var(--gold-primary);
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.4px;
}

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

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
  min-width: 240px;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 280px;
}

.search-box svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: #f8f9fc;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.search-box input:focus {
  background: #ffffff;
  border-color: var(--navy-light);
}

.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: #f8f9fc;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.refresh-btn:hover {
  background: var(--navy-primary);
  color: #ffffff;
  border-color: var(--navy-primary);
}

.refresh-btn.is-spinning svg {
  animation: spinOnce 0.65s ease-in-out;
}

@keyframes spinOnce {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ─── ANA TABLO GRİDİ (SOL: DÖVİZLER | SAĞ: MADENLER) ───────────────────── */
.rates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.rate-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.rate-card-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-primary) 100%);
  color: #ffffff;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid var(--gold-dark);
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 215, 0, 0.14);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
}

.card-subtitle {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.68);
  display: block;
}

.card-status-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}

.source-badge.is-live {
  background: rgba(0, 196, 140, 0.18);
  color: #4df3c1;
  border: 1px solid rgba(0, 196, 140, 0.4);
}

.source-badge.is-cached {
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(255, 215, 0, 0.35);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: pulseDot 1.8s infinite;
}

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

.last-update-label {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.65);
  font-variant-numeric: tabular-nums;
}

/* ─── TABLO İÇERİĞİ ──────────────────────────────────────────────────────── */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 550px;
  scrollbar-width: thin;
  scrollbar-color: #c5cad8 #f8f9fc;
}

.table-responsive::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f8f9fc;
}

.table-responsive::-webkit-scrollbar-thumb {
  background-color: #c5cad8;
  border-radius: 999px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background-color: var(--navy-light);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.rates-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8f9fc;
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 0 var(--border-subtle);
}

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

.rates-table thead th.th-change {
  text-align: right;
  width: 100px;
}

.th-unit-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.th-update-time {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--navy-primary);
  background: rgba(20, 25, 50, 0.07);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

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

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

.rate-row:hover {
  background-color: #f6f8fd;
}

.rate-row.is-selected-row {
  background-color: rgba(212, 175, 55, 0.09);
}

.rate-row td {
  padding: 12px 16px;
  vertical-align: middle;
}

.unit-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
}

.unit-badge {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: -0.3px;
}

.badge-currency {
  background: rgba(20, 25, 50, 0.08);
  color: var(--navy-primary);
  border: 1px solid rgba(20, 25, 50, 0.12);
}

.badge-metal {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.24), rgba(212, 175, 55, 0.12));
  color: #8a690d;
  border: 1px solid rgba(212, 175, 55, 0.38);
}

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

.unit-top-line {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}

.unit-symbol {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.unit-metal-sub {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.unit-bottom-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-secondary);
}

.unit-desc {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.unit-time {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.col-price {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-value {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.price-buy {
  color: var(--text-primary);
}

.price-sell {
  color: var(--navy-deep);
  font-weight: 700;
}

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

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

.change-positive {
  background: var(--positive-bg);
  color: var(--positive);
}

.change-negative {
  background: var(--negative-bg);
  color: var(--negative);
}

.change-neutral {
  background: #f0f2f7;
  color: var(--text-secondary);
}

.empty-row {
  text-align: center;
  padding: 28px !important;
  color: var(--text-secondary);
  font-size: 13.5px;
}

/* Fiyat Değişim Flash Animasyonları */
@keyframes flashGreen {
  0% { background-color: rgba(0, 184, 124, 0.22); }
  100% { background-color: transparent; }
}

@keyframes flashRed {
  0% { background-color: rgba(240, 62, 82, 0.22); }
  100% { background-color: transparent; }
}

.row-flash-up {
  animation: flashGreen 1.1s ease-out;
}

.row-flash-down {
  animation: flashRed 1.1s ease-out;
}

/* ─── HIZLI KUR HESAPLAMA ARACI ─────────────────────────────────────────── */
.converter-section {
  margin-top: 22px;
}

.converter-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  padding: 18px 22px;
}

.converter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.converter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-primary);
}

.converter-title svg {
  color: var(--gold-dark);
}

.converter-unit-info {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  background: #f5f7fb;
  padding: 4px 10px;
  border-radius: 6px;
}

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

.conv-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.conv-field label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.conv-field input,
.conv-field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: #f9fafd;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
}

.conv-field input:focus,
.conv-field select:focus {
  border-color: var(--navy-primary);
  background: #ffffff;
}

.conv-result-box {
  background: #f8f9fc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.conv-result-box.highlight-sell {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-primary));
  color: #ffffff;
  border-color: var(--gold-dark);
}

.conv-result-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.conv-result-box.highlight-sell .conv-result-label {
  color: rgba(255, 255, 255, 0.72);
}

.conv-result-value {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-primary);
  font-variant-numeric: tabular-nums;
}

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

/* ─── İLETİŞİM & GOOGLE HARİTA BÖLÜMÜ ───────────────────────────────────── */
.contact-section {
  margin-top: 26px;
  margin-bottom: 32px;
}

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

.contact-info-card,
.contact-map-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.contact-info-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.contact-card-head {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.contact-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #967212;
  background: rgba(255, 215, 0, 0.18);
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 6px;
}

.contact-company-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1.35;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f4f6fb;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
}

.contact-item-value {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  word-break: break-word;
}

a.contact-item-value:hover {
  color: #967212;
}

.contact-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 6px;
}

.cta-box-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.cta-box-btn:hover {
  opacity: 0.93;
  transform: translateY(-1px);
}

.cta-call {
  background: var(--navy-primary);
  color: var(--gold-primary);
}

.cta-wa {
  background: var(--whatsapp);
  color: #062110;
}

.contact-map-card {
  min-height: 360px;
  display: flex;
}

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

/* ─── FOOTER & DESIGN BY ÖZKONAK ────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-primary) 100%);
  color: rgba(255, 255, 255, 0.78);
  border-top: 2px solid var(--gold-dark);
  padding: 24px 0;
}

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

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

.footer-company {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.footer-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.56);
}

.design-by-ozkonak {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 9px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.design-by-ozkonak:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold-primary);
}

.design-by-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.ozkonak-footer-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ─── MOBİL VE TABLET UYUMLULUK (YATAY KAYDIRMASIZ TAM SIĞDIRMA) ────────── */
@media (max-width: 1080px) {
  .rates-grid {
    grid-template-columns: 1fr;
  }

  .converter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 10px;
  }

  /* Navbar Mobil Kompakt Görünüm */
  .navbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-wrap {
    gap: 10px;
  }

  .yd-monogram {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-radius: 9px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-subtitle {
    font-size: 11px;
    white-space: normal;
    line-height: 1.25;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 6px;
    width: 100%;
  }

  .nav-contact-btn {
    justify-content: center;
    padding: 7px 8px;
    font-size: 11.5px;
    gap: 5px;
    min-width: 0;
  }

  .nav-contact-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  /* Üst Araç Çubuğu Mobil */
  .market-toolbar {
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 10px 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .toolbar-left {
    gap: 8px;
  }

  .live-clock-pill {
    padding: 5px 10px;
    font-size: 12px;
  }

  .toolbar-info-text {
    font-size: 11.5px;
    line-height: 1.35;
  }

  .toolbar-right {
    justify-content: stretch;
    min-width: 0;
    width: 100%;
    gap: 8px;
  }

  .search-box {
    max-width: none;
    flex: 1;
    min-width: 0;
  }

  .refresh-btn {
    padding: 8px 10px;
    font-size: 12px;
    flex-shrink: 0;
  }

  /* Kart Başlıkları Mobil */
  .rate-card-header {
    padding: 11px 12px;
    gap: 8px;
  }

  .card-title-group {
    gap: 8px;
    min-width: 0;
    flex: 1;
  }

  .card-header-icon {
    width: 30px;
    height: 30px;
  }

  .card-title {
    font-size: 14px;
  }

  .card-subtitle {
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-status-group {
    flex-shrink: 0;
  }

  .source-badge {
    padding: 3px 8px;
    font-size: 10.5px;
    gap: 5px;
  }

  .last-update-label {
    font-size: 9.5px;
  }

  /* Tablolar: Yatay Kaydırmasız Sabit Oranlı Yerleşim */
  .table-responsive {
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox scrollbar gizle */
    -ms-overflow-style: none; /* IE/Edge scrollbar gizle */
  }

  .table-responsive::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Webkit scrollbar gizle */
    width: 0;
    height: 0;
  }

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

  .rates-table thead th {
    padding: 8px 6px;
    font-size: 10.5px;
    letter-spacing: 0.3px;
  }

  .rates-table thead th:nth-child(1) {
    width: 39%;
    padding-left: 10px;
  }

  .rates-table thead th:nth-child(2) {
    width: 21.5%;
  }

  .rates-table thead th:nth-child(3) {
    width: 21.5%;
  }

  .rates-table thead th.th-change {
    width: 18%;
    padding-right: 10px;
  }

  .rate-row td {
    padding: 9px 6px;
  }

  .rate-row td:first-child {
    padding-left: 10px;
  }

  .rate-row td:last-child {
    padding-right: 10px;
  }

  .unit-wrap {
    gap: 7px;
    min-width: 0;
  }

  .unit-badge {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 10px;
  }

  .unit-top-line {
    gap: 4px;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .unit-symbol,
  .unit-metal-sub {
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .unit-bottom-line {
    gap: 5px;
    font-size: 10px;
  }

  .unit-desc {
    max-width: 100%;
  }

  .unit-time {
    font-size: 9.5px;
    flex-shrink: 0;
  }

  .price-value {
    font-size: 13px;
    letter-spacing: -0.3px;
  }

  .change-pill {
    padding: 3px 5px;
    font-size: 10px;
    gap: 2px;
  }

  /* Hesaplama Aracı & İletişim Mobil */
  .converter-card {
    padding: 14px 12px;
  }

  .converter-unit-info {
    font-size: 11px;
    width: 100%;
  }

  .converter-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-info-card {
    padding: 16px 14px;
  }

  .contact-company-title {
    font-size: 15px;
  }

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

  .cta-box-btn {
    padding: 10px 10px;
    font-size: 12.5px;
  }

  .contact-map-card,
  .contact-map-card iframe {
    min-height: 280px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Küçük Ekranlı Telefonlar (320px - 380px arası) */
@media (max-width: 380px) {
  .nav-actions {
    grid-template-columns: 1fr 1fr;
  }

  .btn-map-link {
    grid-column: span 2;
  }

  .unit-badge {
    display: none;
  }

  .price-value {
    font-size: 12px;
  }

  .change-pill {
    padding: 2px 4px;
    font-size: 9.5px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GENEL SAYFA VE MENÜ STİLLERİ (Bilgilendirme & Yasal Uyarı)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Header Nav Menüsü */
.site-nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-menu-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu-link.active {
  color: var(--navy-deep);
  background: linear-gradient(135deg, #ffe46b 0%, #d4af37 100%);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Footer Linkleri */
.footer-links-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.footer-links-row a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links-row a:hover,
.footer-links-row a.active {
  color: var(--gold-light);
  text-decoration: underline;
}

.footer-dot {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
}

/* Sayfa Üst Başlık (Hero) Alanı */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-primary) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-top: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.page-breadcrumbs a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-breadcrumbs a:hover {
  text-decoration: underline;
}

.page-hero-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.page-hero-subtitle {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 850px;
  line-height: 1.6;
}

/* İçerik Kartı */
.page-content-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  margin-bottom: 24px;
}

.section-head-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(20, 25, 50, 0.06);
}

.section-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-primary);
  margin: 0;
  line-height: 1.3;
}

.section-lead {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Güvenlik Kuralları Listesi (Gişe Rehberi) */
.security-guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.security-guideline-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  transition: all 0.2s ease;
}

.security-guideline-card:hover {
  background: #ffffff;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 12px rgba(11, 19, 41, 0.06);
  transform: translateY(-2px);
}

.guideline-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-primary);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.guideline-body {
  min-width: 0;
}

.guideline-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-primary);
  margin: 0 0 6px 0;
}

.guideline-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* Sahte Para Güvenlik Unsurları Kartları */
.security-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.security-feature-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--gold-primary);
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.security-feature-item:hover {
  border-left-color: var(--navy-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.feature-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-primary);
}

.feature-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.15);
  color: #856404;
}

.feature-tag.tag-touch {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

.feature-tag.tag-light {
  background: rgba(234, 179, 8, 0.15);
  color: #a16207;
}

.feature-tag.tag-tilt {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.feature-tag.tag-uv {
  background: rgba(168, 85, 247, 0.12);
  color: #7e22ce;
}

.feature-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Önemli Uyarı Kutusu */
.callout-box {
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  margin: 24px 0;
}

.callout-box-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.callout-box-info {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.callout-icon {
  flex-shrink: 0;
  padding-top: 2px;
}

.callout-content {
  font-size: 13.5px;
  line-height: 1.65;
}

.callout-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

/* Şirket Resmi Bilgileri Tablosu */
.official-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.official-info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
}

.official-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  margin-bottom: 4px;
}

.official-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1.4;
}

.official-val a {
  color: var(--navy-primary);
  text-decoration: none;
}

.official-val a:hover {
  text-decoration: underline;
  color: var(--gold-dark);
}

/* Hukuki Maddeler ve Paragraflar */
.legal-article {
  margin-bottom: 24px;
}

.legal-article:last-child {
  margin-bottom: 0;
}

.legal-article-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-primary);
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-article-text {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.7;
  margin: 0 0 10px 0;
}

/* Responsive Düzenlemeler */
@media (max-width: 1080px) {
  .site-nav-menu {
    width: 100%;
    justify-content: center;
    gap: 6px;
    padding-bottom: 4px;
  }
  .nav-menu-link {
    font-size: 12px;
    padding: 6px 10px;
    flex: 1;
    text-align: center;
  }
  .page-hero {
    padding: 24px 20px;
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .page-hero-title {
    font-size: 22px;
  }
  .page-hero-subtitle {
    font-size: 13.5px;
  }
  .page-content-card {
    padding: 20px 16px;
  }
  .security-guidelines-grid,
  .security-features-grid {
    grid-template-columns: 1fr;
  }
}

