:root {
  --bg: #f8fafd;
  --card: #ffffff;
  --text: #1e293b;
  --text-light: #5f6c80;
  --border: #e4e9f0;
  --primary: #ffd21f;
  --primary-dark: #e6b800;
  --primary-light: #fff3cd;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --mbnav-h: 78px;
}

[data-theme="dark"] {
  --bg: #0f172a;
  --card: #1e293b;
  --text: #f1f5f9;
  --text-light: #94a3b8;
  --border: #334155;
  --primary: #ffd21f;
  --primary-dark: #e6b800;
  --primary-light: #3a2e0c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  transition: var(--transition);
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 0;
  font-size: 0.75rem;
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(var(--mbnav-h) + env(safe-area-inset-bottom));
  }
}

h1, h2, h3, h4, h5, h6 {
  font-size: 1.333rem;
  font-weight: 700;
}

main { animation: fadeIn 0.5s ease-out; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

/* ======================
   COOKIE ONAY BANNER (GÜZEL)
   ====================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 60px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 0.8rem 1.2rem;
  z-index: 1000;
  display: none;
  animation: slideUpFade 0.5s ease;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.cookie-text {
  flex: 1;
  min-width: 200px;
}
.cookie-text p {
  font-size: 0.8rem;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}
.cookie-text a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
}
.cookie-actions {
  flex-shrink: 0;
}
.btn-cookie {
  background: var(--primary);
  color: #1e293b;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(255,210,31,0.3);
}
.btn-cookie:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255,210,31,0.4);
}
@media (max-width: 640px) {
  .cookie-consent-banner {
    bottom: 10px;
    left: 10px;
    right: 10px;
    border-radius: 30px;
    padding: 1rem;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  .cookie-icon {
    margin-bottom: 0.5rem;
  }
  .cookie-actions {
    width: 100%;
  }
  .btn-cookie {
    width: 100%;
  }
}

/* ======================
   DÖVİZ BAR
   ====================== */
.currency-bar {
  background: var(--primary-dark);
  color: white;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  width: 100%;
  position: relative;
}
.currency-wrapper {
  display: flex;
  width: fit-content;
  animation: scrollCurrency 32s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.currency-items {
  display: flex;
  gap: 2rem;
  padding: 0 1rem;
  flex-shrink: 0;
}
.currency-item { white-space: nowrap; font-size: 0.8rem; }
.currency-item strong { font-weight: 600; margin-right: 0.2rem; }

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

/* ======================
   HEADER
   ====================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
[data-theme="dark"] .site-header { background: rgba(30,41,59,0.8); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  gap: 0.5rem;
  flex-wrap: nowrap;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand img {
  height: 50px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
  display: block;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links > a, .nav-links .dropdown {
  padding: 0.4rem 0.8rem;
  border-radius: 40px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links > a:hover, .dropdown:hover > .dropdown-toggle {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.dropdown { position: relative; display: inline-block; }
.dropdown-toggle {
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border-radius: 40px;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.dropdown-toggle::after {
  content: '▼';
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform 0.2s;
}
.dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: none;
  z-index: 300;
  flex-direction: column;
  gap: 0.25rem;
}
.dropdown:hover .dropdown-menu { display: flex; }
.dropdown-menu a {
  padding: 0.6rem 1rem;
  border-radius: 30px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}
.dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.nav-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
  max-width: 100%;
}

.icon-btn {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hamburger { display: flex; }
@media (min-width: 768px) {
  .hamburger { display: none; }
}

/* Mobil Drawer */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 250;
}
.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(86vw, 360px);
  background: var(--card);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateX(105%);
  transition: transform 0.3s ease;
  z-index: 300;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.mobile-drawer.show {
  transform: translateX(0);
  pointer-events: auto;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.drawer-title { font-weight: 700; font-size: 1rem; }

.drawer-body {
  padding: 0.6rem 0.9rem 1.2rem;
  overflow-y: auto;
}
.drawer-body a {
  display: block;
  padding: 0.75rem 0.85rem;
  margin: 0.25rem 0;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: var(--transition);
}
.drawer-body a:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.drawer-sep {
  height: 1px;
  background: var(--border);
  margin: 0.75rem 0;
}

.drawer-dd-toggle {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-dd-toggle .chev {
  font-size: 0.8rem;
  opacity: 0.75;
  transition: transform 0.2s;
}
.drawer-dd-toggle.open .chev { transform: rotate(180deg); }
.drawer-dd { display: none; margin-top: 0.4rem; }
.drawer-dd.show { display: block; }
.drawer-dd a { font-weight: 600; padding-left: 1.5rem; }

.drawer-social a {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-weight: 700;
}

html.no-scroll, body.no-scroll {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none !important;
}

/* ======================
   MAIN
   ====================== */
main {
  padding: 1rem 0 2rem;
  overflow-x: hidden;
}

.hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.hero h1 {
  font-size: 1.333rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.hero p { color: var(--text-light); font-size: 0.75rem; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Dashboard */
.dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1.2rem 0;
}
@media (min-width: 768px) {
  .dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
  }
}
.filters-panel { align-self: start; }
@media (min-width: 768px) {
  .filters-panel {
    position: sticky;
    top: 80px;
    height: fit-content;
    z-index: 10;
  }
}
@media (max-width: 767px) {
  .filters-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .filters-panel .type-grid,
  .filters-panel .grid-2,
  .filters-panel .actions {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ======================
   GRID-2
   ====================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.input, select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 40px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.75rem;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
}
.input:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 40px;
  font-weight: 700;
  border: none;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  gap: 0.4rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  min-height: 44px;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #1e293b;
  box-shadow: 0 4px 15px rgba(255,210,31,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 8px 25px rgba(255,210,31,0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn-small {
  padding: 0.3rem 0.7rem;
  font-size: 0.65rem;
  border-radius: 30px;
}

.actions {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
}
.actions .btn {
  flex: 1;
  min-width: 0;
}
#showBtn, #resetBtn {
  font-size: 0.7rem;
  padding: 0.62rem 0.85rem;
}

.type-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0.8rem 0;
}
@media (max-width: 767px) {
  .type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

.type-card {
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 40px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.type-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.type-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 2px var(--primary);
}

.type-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}
.type-name {
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.15;
}
.type-desc {
  font-size: 0.65rem;
  color: var(--text-light);
  line-height: 1.1;
}
.type-radio { display: none; }

/* ======================
   POPÜLER BANKALAR
   ====================== */
.bank-list { display: flex; flex-direction: column; gap: 1rem; }
.bank-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.bank-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.bank-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.bank-logo {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  object-fit: contain;
  background: white;
  padding: 8px;
  border: 1px solid #aaa;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  flex-shrink: 0;
  transition: var(--transition);
}
.bank-item:hover .bank-logo {
  transform: rotate(1deg) scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.bank-info {
  flex: 1;
  min-width: 200px;
}
.bank-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
  overflow-wrap: anywhere;
}
.bank-name:hover { color: var(--primary); }
.bank-desc {
  color: var(--text-light);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}
.bank-loan-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
@media (max-width: 767px) {
  .bank-loan-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}
.bank-loan-btn {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.45rem 0.8rem;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--primary-light);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 38px;
  white-space: normal;
  word-break: break-word;
  box-shadow: var(--shadow-sm);
}
.bank-loan-btn:hover {
  background: var(--primary);
  color: var(--text);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.bank-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: auto;
  align-items: center;
}
@media (max-width: 640px) {
  .bank-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.5rem;
  }
}

/* ======================
   OFFER KARTLARI
   ====================== */
.offers-grid { display: flex; flex-direction: column; gap: 0.8rem; }
.offer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.offer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
@media (min-width: 640px) {
  .offer-card { flex-direction: row; align-items: center; justify-content: space-between; }
}
.offer-left {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}
.offer-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-big {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: contain;
  background: white;
  padding: 8px;
  border: 1px solid #aaa;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
  transition: var(--transition);
}
.offer-card:hover .logo-big {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.offer-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.offer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.2rem;
}
.pill {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
}
.pill b { color: var(--text); font-weight: 800; }
.offer-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Sponsorlu Badge */
.sponsor-badge {
  display: inline-block;
  background-color: #ffd21f;
  color: #1e293b;
  font-size: 0.55rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 20px;
  text-transform: lowercase;
  letter-spacing: 0.3px;
  border: 1px solid rgba(0,0,0,0.1);
  line-height: 1;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.empty-state {
  background: var(--card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.75rem;
}

.loading-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.loading-overlay.show { display: flex; }
.loading-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  max-width: 280px;
  width: 80%;
}
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--primary-light);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ======================
   BLOG
   ====================== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: var(--bg);
  object-position: center;
  transition: var(--transition);
}
.blog-card:hover .blog-image { transform: scale(1.05); }
.blog-content { padding: 1.2rem; }
.blog-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
  overflow-wrap: anywhere;
}
.blog-excerpt {
  color: var(--text-light);
  font-size: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 0.7rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 40px;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}
.pagination a:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.pagination .active {
  background: var(--primary);
  color: var(--text);
  border-color: var(--primary);
}

/* Blog Detay */
.blog-detail {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}
.blog-detail h1 { font-size: 1.333rem; margin-bottom: 1rem; overflow-wrap: anywhere; }
.blog-detail .blog-meta {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.blog-detail-wrapper { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .blog-detail-wrapper { flex-direction: row; } }
.blog-main { flex: 1; min-width: 0; }
.blog-sidebar { flex: 0 0 300px; }

.blog-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}
@media (min-width: 768px) {
  .blog-content-wrapper { flex-direction: row; align-items: flex-start; gap: 1.5rem; }
}
.blog-image-wrapper { flex: 0 0 350px; max-width: 100%; }
.blog-detail-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  background-color: var(--bg);
  border-radius: var(--radius-sm);
  aspect-ratio: 16/9;
}
.blog-text-wrapper { flex: 1; min-width: 0; }
.blog-text-wrapper p { margin-bottom: 1rem; line-height: 1.8; }

@media (max-width: 767px) {
  .blog-content-wrapper { gap: 0.5rem; }
  .blog-image-wrapper { flex: 0 0 auto; margin-bottom: 0.5rem; }
  .blog-text-wrapper { padding: 0; }
}

.blog-keywords { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.blog-keywords h4 { font-size: 0.9rem; margin-bottom: 0.5rem; }
.keyword-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.keyword-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.35rem 0.8rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--primary-light);
  transition: var(--transition);
}
.keyword-tag:hover {
  background: var(--primary);
  color: var(--text);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.blog-share { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.blog-share h3 { margin-bottom: 1rem; font-size: 1rem; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }
@media (max-width: 600px) {
  .share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .share-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Banner düzeltmeleri */
.header-banner, .footer-banner, .bank-top-banner {
  padding: 1rem 0;
  margin: 0.8rem 0;
  text-align: center;
}
.header-banner img, .footer-banner img, .bank-top-banner img,
.header-banner iframe, .footer-banner iframe, .bank-top-banner iframe {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
.responsive-banner {
  max-width: 100%;
  height: auto;
}

/* SEO içerik */
.seo-content {
  margin-top: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.seo-content h2 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.seo-content p {
  margin-bottom: 0.8rem;
  color: var(--text-light);
  font-size: 0.7rem;
  line-height: 1.6;
}
.seo-content p:last-child { margin-bottom: 0; }
.seo-content h3 { margin: 1rem 0 0.5rem; }
.seo-content ul, .seo-content ol { margin: 0.6rem 0 1rem 1.2rem; padding: 0; }
.seo-content li { margin: 0.4rem 0; }

/* KVKK Form */
.kvkk-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 1rem 0;
}
.kvkk-form .form-group { margin-bottom: 1rem; }
.kvkk-form .checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.kvkk-form .checkbox-group input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.kvkk-form .checkbox-group label {
  font-size: 0.75rem;
  color: var(--text);
  line-height: 1.4;
}
.kvkk-form .info-hover { position: relative; cursor: help; }
.kvkk-form .info-hover:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 0.7rem;
  width: 250px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  white-space: normal;
  color: var(--text);
}
.kvkk-form .info-hover i { color: var(--primary); font-size: 0.8rem; }
.kvkk-form .aydinlatma-link {
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
.kvkk-form .aydinlatma-link:hover { text-decoration: underline; }

/* ======================
   FOOTER
   ====================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: 1.5rem;
  background: var(--card);
  color: var(--text-light);
  font-size: 0.75rem;
}
.footer-newsletter {
  margin-bottom: 2rem;
}
.footer-newsletter h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  text-align: center;
}
.footer-newsletter .newsletter-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}
.footer-col h4 {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-weight: 800;
}
.footer-col a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.3rem 0;
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

/* ======================
   HEMEN KREDİ TEKLİFİ ALIN (İKİ AŞAMALI)
   ====================== */
.footer-offer-form {
    margin: 2.5rem 0;
}
.form-step {
    transition: all 0.3s ease;
}
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}
#step2 .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
}
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}
.checkbox-group input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.checkbox-group label {
    font-size: 0.75rem;
    color: var(--text);
    line-height: 1.4;
}

.offer-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.offer-badge {
    background: var(--primary);
    color: #1e293b;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 6px rgba(255,210,31,0.3);
    display: inline-block;
    line-height: 1.2;
}
.offer-subtitle {
    width: 100%;
    color: var(--text-light);
    font-size: 0.8rem;
}

/* ======================
   FOOTER LOGOLARI (SSL/KVKK) BEYAZ ARKAPLAN
   ====================== */
.footer-logos .footer-logo {
    background: white;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: auto;
    width: auto;
    max-height: 40px;
    object-fit: contain;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-disclaimer {
  flex: 2 1 400px;
  min-width: 250px;
  margin: 0;
  text-align: left;
  order: 1;
}
.footer-logos {
  flex: 0 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  order: 2;
  margin-left: auto;
}
.footer-apps {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  order: 0;
  margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .footer-disclaimer {
    flex: 1 1 60%;
    font-size: 0.55rem;
    line-height: 1.4;
    order: 1;
  }
  .footer-logos {
    flex: 0 0 auto;
    order: 2;
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }
  .footer-apps {
    flex: 1 1 100%;
    order: 0;
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: 0.5rem;
  }
}

.footer-apps .app-badge {
  display: inline-block;
  max-width: 120px;
  transition: var(--transition);
}
.footer-apps .app-badge img {
  width: 100%;
  height: auto;
}
.footer-apps .app-badge:hover {
  transform: scale(1.05);
}

/* Footer Son Yazılar */
.footer-latest-posts {
  margin: 1.6rem 0;
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.footer-latest-posts h3 { font-size: 1.1rem; margin-bottom: 1.2rem; text-align: center; }
.latest-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .latest-posts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .latest-posts-grid { grid-template-columns: repeat(5, 1fr); } }
.latest-post-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
  display: block;
}
.latest-post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.latest-post-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background-color: var(--bg);
  transition: var(--transition);
  aspect-ratio: 16/9;
}
.latest-post-card:hover .latest-post-image { transform: scale(1.05); }
.latest-post-content { padding: 0.8rem; }
.latest-post-title {
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-post-date { font-size: 0.65rem; color: var(--text-light); }

/* ======================
   MOBİL NAVIGASYON (GÜZELLEŞTİRİLMİŞ)
   ====================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding-bottom: env(safe-area-inset-bottom);
  height: calc(var(--mbnav-h) + env(safe-area-inset-bottom));
  z-index: 200;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 767px) {
  .mobile-bottom-nav { display: block; }
}
.mobile-bottom-nav .container {
  height: var(--mbnav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 0.5rem;
}
.mobile-bottom-nav .nav-left,
.mobile-bottom-nav .nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}
.mobile-bottom-nav .nav-left  { justify-content: flex-start; }
.mobile-bottom-nav .nav-right { justify-content: flex-end; }
.mobile-bottom-nav .nav-center {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-bottom-nav .nav-item {
  min-width: 64px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 40px;
  transition: all 0.2s ease;
  padding: 0 4px;
}
.mobile-bottom-nav .nav-item i {
  font-size: 1.3rem;
  margin-bottom: 2px;
  transition: transform 0.2s;
}
.mobile-bottom-nav .nav-item span {
  font-size: 0.6rem;
  line-height: 1.2;
  white-space: nowrap;
}
.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
  color: var(--primary-dark);
  background: var(--primary-light);
  transform: translateY(-2px);
}
.mobile-bottom-nav .nav-item:hover i,
.mobile-bottom-nav .nav-item.active i {
  transform: scale(1.1);
}

.mobile-bottom-nav .ai-icon {
  width: 70px;
  height: 70px;
  margin-top: -14px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-weight: 800;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 20px rgba(255,210,31,0.4);
  transition: all 0.3s cubic-bezier(0.2,0.8,0.2,1);
  padding: 4px 0 0;
  position: relative;
  overflow: hidden;
}
.mobile-bottom-nav .ai-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-bottom-nav .ai-icon:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(255,210,31,0.6);
}
.mobile-bottom-nav .ai-icon:hover::before {
  opacity: 1;
}
.mobile-bottom-nav .ai-icon svg {
  width: 42px;
  height: 42px;
  display: block;
  margin-bottom: 2px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.mobile-bottom-nav .ai-icon span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Desktop AI float */
.ai-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 500;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 60px;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.ai-float-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border: 1px solid rgba(255,210,31,0.45);
  overflow: hidden;
}
.ai-float-text {
  font-weight: 800;
  color: var(--text);
  font-size: 0.85rem;
  padding-right: 4px;
}
.ai-float:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: var(--primary-light);
}
@media (min-width: 768px) {
  .ai-float { display: inline-flex; }
}
@media (max-width: 767px) {
  .ai-float { display: none !important; }
}

/* AI robot göz animasyonu */
.eye {
  transform-origin: center;
  animation: blink 4.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.eye.eye2 {
  animation-delay: 0.18s;
}
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(0.1); }
  96% { transform: scaleY(1); }
}

.ai-robot-svg {
  animation: aiWiggle 2.6s ease-in-out infinite;
  transform-origin: 50% 70%;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.12));
}
@keyframes aiWiggle {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  30% { transform: rotate(-6deg) translateY(-1px); }
  60% { transform: rotate(6deg) translateY(-1px); }
}

/* Loan Form */
.loan-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.btn-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}
.loan-form label {
  font-weight: 800;
  margin-bottom: 0.3rem;
  display: block;
  font-size: 0.75rem;
}

/* Erişilebilirlik */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* SEO içeriklerinde okunabilirlik */
.seo-content p { margin: 0 0 0.8rem; line-height: 1.7; }
.seo-content h3 { margin: 1rem 0 0.5rem; }
.seo-content ul, .seo-content ol { margin: 0.6rem 0 1rem 1.2rem; padding: 0; }
.seo-content li { margin: 0.4rem 0; }

/* ======================
   MOBİL LOGO AYARLARI
   ====================== */
@media (max-width: 767px) {
  .bank-logo {
    width: 90px;
    height: 90px;
  }
  .logo-big {
    width: 70px;
    height: 70px;
  }
  .bank-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .bank-info {
    width: 100%;
  }
}