* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg-primary: #0a0a14;
  --bg-secondary: #141424;
  --bg-card: #1a1a2e;
  --bg-card-hover: #22223a;
  --accent-primary: #ffd700;
  --accent-secondary: #ff6b35;
  --accent-gradient: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
  --text-primary: #ffffff;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;
  --border-color: rgba(255,255,255,0.08);
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1540px; margin: 0 auto; padding: 0 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: 8px; border: none; font-weight: 600; font-size: 13px; cursor: pointer; transition: all .2s; gap: 6px; }
.btn-primary { background: var(--accent-gradient); color: #1a1a2e; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(255,107,53,0.3); }
.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 11px; }

.topbar {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  color: #1a1a2e;
  padding: 9px 14px;
  margin: 0;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  line-height: 16px;
  letter-spacing: 0;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(255,107,53,0.25), 0 0 0 1px rgba(255,215,0,.12);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.topbar-content { display: flex; align-items: center; gap: 20px; white-space: nowrap; animation: scroll 30s linear infinite; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* HEADER ARAMA KUTUSU KALDIRILDI (artik global MERKEZDE kutu var) */
.search-box { display: none !important; }
.header-inner { justify-content: space-between; }

/* =========================================================
   GLOBAL MERKEZDE ARAMA (Makale / Konu / Soru Ara)
   MASAÜSTÜ
========================================================= */
.global-search-wrap {
  padding: 18px 0 8px;
}
.global-search-box {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,.25), 0 0 0 1px rgba(255,107,53,.08);
  text-rendering: optimizeLegibility;
}
.global-search-box > form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
}
.gs-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0 14px;
  min-width: 280px;
  flex: 1 1 420px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.gs-input-wrap:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,.15);
}
.gs-icon { font-size: 16px; line-height: 1; flex-shrink: 0; }
.gs-input-wrap input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  padding: 12px 0;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 16px;
  font-family: inherit;
}
.gs-input-wrap input::placeholder { color: var(--text-secondary); opacity: .7; font-weight: 700; }
.global-search-box .btn {
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  line-height: 16px;
  border-radius: 12px;
  font-weight: 900;
  flex-shrink: 0;
  white-space: nowrap;
}

.header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 900; }
.logo-text { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo-badge { background: var(--accent-gradient); color: #1a1a2e; padding: 4px 10px; border-radius: 8px; font-size: 11px; font-weight: 800; }
/* YENİ: Büyük tek satır logo (CDB PRO) — AMP ile BİREBİR */
.logo-text-big {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.5px;
  padding: 2px 0;
  line-height: 1;
  white-space: nowrap;
}
/* CDB: altın sarısı efekt (gradient + parlaklık) — AMP ile BİREBİR */
.logo-cdb {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 30px rgba(255,215,0,.35), 0 0 60px rgba(255,107,53,.18);
  filter: drop-shadow(0 1px 0 rgba(255,215,0,.45));
  font-weight: 900;
}
/* PRO: tamamen beyaz, düz */
.logo-pro {
  color: #ffffff;
  margin-left: 1px;
  font-weight: 900;
  letter-spacing: -.3px;
}
.search-box { flex: 1; max-width: 460px; position: relative; }
.search-box input { width: 100%; padding: 10px 14px 10px 40px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; color: #fff; font-size: 13px; transition: all .2s; }
.search-box input:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(255,215,0,0.1); }
.search-box::before { content: '🔍'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; opacity: .5; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-actions .btn { padding: 8px 14px; }

.hero { padding: 26px 0 14px; }
.hero-title { font-size: 30px; font-weight: 900; text-align: center; margin-bottom: 6px; line-height: 1.15; }
.hero-title span { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { text-align: center; color: var(--text-secondary); font-size: 14px; margin-bottom: 6px; }
.hero-meta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.hero-meta-item { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 13px; }
.hero-meta-item strong { color: var(--accent-primary); font-size: 16px; }

.section { padding: 26px 0 12px; margin: 0; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  text-align: left;
  margin-bottom: 22px;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255,255,255,.06);
}
.section-title {
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  letter-spacing: -.2px;
  color: #fff;
  line-height: 1;
}
.section-title::before {
  content: '';
  width: 5px;
  height: 26px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 3px;
  flex: 0 0 auto;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; width: 100%; }
.filters select, .filters input { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; color: #fff; padding: 7px 12px; font-size: 13px; font-weight: 700; letter-spacing: 0; line-height: 15px; }
.filters select:focus { outline: none; border-color: var(--accent-primary); }

/* ==== 300x150 YATAY — YENİ MİMARİ: V.I.P SAĞ ÜST, YILDIZLAR ORTADA, STATS/ID SAG ALTTA. KESİK YAZI YOK (TAM PIKSEL) ==== */
.sites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 11px; }
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 11px; }
.site-card, .bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all .22s;
  position: relative;
  cursor: pointer;
  display: grid;
  grid-template-columns: 95px 1fr 105px;
  grid-template-rows: 1fr;
  grid-template-areas: "logo mainbody actions";
  row-gap: 0;
  column-gap: 0;
  min-height: 150px;
  max-height: 150px;
  /* === KESİK YAZI KALICI ÇÖZÜMÜ: tam piksel render === */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  image-rendering: auto;
}
.site-card:hover, .bonus-card:hover { transform: translateY(-2px); border-color: rgba(255,215,0,0.3); box-shadow: 0 10px 20px rgba(0,0,0,0.38); background: var(--bg-card-hover); }
.site-card.featured, .bonus-card.featured { border-color: rgba(255,215,0,0.5); }

/* KAPANDI banner (merkez). font 13px + line-height 15px tam piksel */
.site-card.closed, .bonus-card.closed { opacity: .88; }
.site-card.closed::after, .bonus-card.closed::after {
  content: 'KAPANDI';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(239,68,68,0.95);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  line-height: 15px;
  letter-spacing: 0.3px;
  z-index: 12;
  padding: 6px 12px;
  border-radius: 9px;
  box-shadow: 0 3px 14px rgba(0,0,0,.42);
}

/* 1. KOLON: LOGO (95px) 300px karta göre */
.card-logo, .bonus-img {
  grid-area: logo;
  padding: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  max-height: 150px;
  background: linear-gradient(180deg, rgba(255,215,0,0.07), rgba(255,107,53,0.05));
  border-right: 1px solid var(--border-color);
}
.bonus-img { background: linear-gradient(135deg, rgba(255,215,0,0.18), rgba(255,107,53,0.18)); }
.card-logo img, .bonus-img img { max-height: 60px; max-width: 100%; object-fit: contain; border-radius: 7px; }
.card-logo-placeholder { width: 56px; height: 56px; border-radius: 12px; background: var(--accent-gradient); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 19px; color: #1a1a2e; line-height: 1; }

/* 2. KOLON: MAIN BODY (1fr). Sıralama: (1) site-adı, (2) RATING ORTADA MERKEZ, (3) bonus 6satır. TUM BLOK justify-content:center ile MERKEZDE → rating de merkezde olur */
.card-body, .bonus-body {
  grid-area: mainbody;
  padding: 6px 9px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;       /* headrow+rating+bonus BUTUN BLOK dikey MERKEZDE → rating otomatik merkez */
  align-items: stretch;
  overflow: hidden;
  min-height: 150px;
  max-height: 150px;
}

/* card-headrow: site adı, 2 SATIR. MERKEZDE — yıldızların tam üstünde hizali. */
.card-headrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;              /* 2 SATIR: 16px line-height × 2 = 32px */
  max-height: 32px;
  flex: 0 0 auto;
}
.card-name {
  font-size: 14px;
  font-weight: 900;
  margin: 0;
  color: #fff;
  line-height: 16px;
  letter-spacing: 0;
  display: -webkit-box;          /* 2 SATIR clamp: uzuunn site adı 2 satıra düşer, tek satır kalırsa da merkezde */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 32px;
  max-height: 32px;
  width: 100%;
  text-align: center;
}

/* CARD-RATING — ORTA KOLONUN ORTASINDA, %100 MERKEZ HİZALI. headrow ve bonus ile blok merkezde olduğu için rating de merkezde kalır */
.card-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  min-height: 15px;
  max-height: 15px;
  flex: 0 0 auto;
}
.rating-stars {
  color: var(--accent-primary);
  letter-spacing: 0.5px;
  font-size: 11px;
  line-height: 13px;
  font-weight: 900;
}
.rating-value {
  font-weight: 900;
  font-size: 12px;
  line-height: 14px;
  color: var(--accent-primary);
  letter-spacing: 0;
}

.card-body, .bonus-body {
  gap: 3px;
}
.card-bonus {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0;
  min-height: 84px;
  max-height: 84px;
  height: 84px;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 0 auto;
  text-align: left;
  font-weight: 800;
}
/* Bonus kart bonus-title AYNI (6 satır, merkez kolon) */
.bonus-title {
  font-weight: 900;
  font-size: 12px;
  margin: 0;
  line-height: 14px;
  letter-spacing: 0;
  min-height: 84px;
  max-height: 84px;
  height: 84px;
  display: -webkit-box;
  -webkit-line-clamp: 6;         /* 6 SATIR clamp */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  flex: 0 0 auto;
  text-align: left;
}

/* 3. KOLON: SAĞ KOLON (105px). SIRASIYLA:
   [1] card-vip-badge (⭐ V.I.P)
   [2] btn-primary (Siteye Git)
   [3] btn-outline (#Sıra)
   [4] 💬 Yorum
   [5] 👁️ Görüntülenme
   [6] 📅 #Sıra
   HEPSI BLOK OLARAK DİKEYDE %100 MERKEZ HİZALI (ustten=alttan bosluk)
*/
.card-actions, .bonus-footer {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 7px;
  border-left: 1px solid var(--border-color);
  background: transparent;
  align-items: stretch;
  justify-content: center;
  min-height: 150px;
  max-height: 150px;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.card-actions .btn-primary, .bonus-footer .btn-primary {
  margin-top: 0;
}

/* YENİ: ⭐ V.I.P ROZETİ. GENİŞLİK = SİTEYE GİT BUTONU İLE AYNI (%100 + border-box). BUTONLA AYNI border-radius. */
.card-vip-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: #1a1a2e;
  font-size: 11px;
  font-weight: 900;
  line-height: 14px;
  letter-spacing: 0;
  padding: 5px 4px;              /* BUTONLAR İLE AYNI PADDING → GENİŞLİK SENKRON */
  border-radius: 7px;            /* BUTONLAR İLE AYNI border-radius (6px → 7px) */
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,.28), inset 0 -2px 0 rgba(0,0,0,.08);
  min-height: 24px;              /* BUTONLAR İLE AYNI SABİT YÜKSEKLİK */
  max-height: 24px;
  height: 24px;
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;        /* padding dahil %100 genişlik */
  text-align: center;
}

/* Butonlar — SABİT YÜKSEKLİK 24px, VIP ile AYNI GENİŞLİK (box-sizing:border-box). TAM PIKSEL FONT */
.card-actions .btn, .bonus-footer .btn {
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 13px;
  letter-spacing: 0;
  padding: 5px 4px;
  border-radius: 7px;
  min-height: 24px;
  max-height: 24px;
  height: 24px;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;        /* VIP ile AYNI genişlik */
  text-align: center;
  overflow: hidden;
  font-weight: 800;
}
.card-actions .btn:first-child, .bonus-footer .btn:nth-child(2) {
  font-weight: 900;
  font-size: 11px;
  line-height: 13px;
}

/* STAT LİSTESİ: #Sıra butonundan HEMEN SONRA, onun ALTINDA, onun GENİŞLİĞİNDE. 
   SADECE 2 SATIR: 💬 Yorum + 👁️ Görüntülenme (📅 # SATIRI KALDIRILDI - üstte buton olarak var) 
   Her satir BUTONLAR ILE AYNI CERCEVEYE sahip (padding, yukseklik, border-radius) */
.card-stats-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 0;
  padding: 0;
  min-height: 51px;              /* 24px + gap 3px + 24px = 51px */
  max-height: 51px;
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.card-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  /* BUTONLAR İLE AYNI ÇERÇEVE: 24px yükseklik, padding 5px 4px, border-radius 7px, border, arkaplan */
  min-height: 24px;
  max-height: 24px;
  height: 24px;
  line-height: 13px;
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);      /* butonlarla uyumlu hafif arkaplan */
  border: 1px solid var(--border-color);   /* outline buton ile aynı border */
  border-radius: 7px;                      /* butonlar ile aynı radius */
  padding: 5px 4px;                        /* butonlar ile aynı padding */
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}
.card-stat-row span.card-stat-icon { flex: 0 0 auto; font-size: 12px; line-height: 13px; }
.card-stat-row span.card-stat-value { flex: 0 0 auto; font-weight: 900; color: #fff; text-align: center; font-size: 11px; line-height: 13px; letter-spacing: 0; }

/* Bonus-card bonus-footer span:not(.btn) — eskiden kalan, koru ama yeniden */
.bonus-footer span:not(.btn):not(.card-stat-row) { display: block; text-align: center; font-size: 10px; line-height: 12px; color: var(--text-muted); letter-spacing: 0; }
.bonus-card { grid-template-areas: "logo mainbody actions"; }

.loadmore-wrap { padding: 20px 0 10px; display: flex; justify-content: center; }

/* ====== BREADCRUMBS (Ekmek Kırıntısı — yeni eklendi) */
.breadcrumbs { padding: 10px 0 2px; color: var(--text-muted); font-size: 12.5px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumbs a { color: var(--text-secondary); transition: color .15s; }
.breadcrumbs a:hover { color: var(--accent-primary); }
.breadcrumbs span.sep { opacity: .5; }

/* ====== Yasal Uyarı Bölümü (kartlardan SONRA, footer'dan ÖNCE — yeni konum) */
.legal-section { padding: 28px 0 8px; margin-top: 12px; }
.legal-box {
  background: linear-gradient(180deg, rgba(239,68,68,.08), rgba(124,45,18,.06));
  border: 1px solid rgba(239,68,68,.35);
  border-radius: 14px;
  padding: 22px 24px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 12.5px;
}
.legal-box h3 {
  color: #fecaca;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-box p { margin: 0 0 12px; }
.legal-box p:last-child { margin-bottom: 0; }
.legal-box strong { color: #fff; }
.legal-highlight {
  background: linear-gradient(135deg, rgba(255,215,0,.16), rgba(255,107,53,.12));
  border: 1px solid rgba(255,215,0,.35);
  border-left: 4px solid var(--accent-primary);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 13.5px;
  line-height: 21px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(255,107,53,.16), 0 0 0 1px rgba(255,215,0,.12);
  text-rendering: optimizeLegibility;
}
.info-box {
  background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(6,182,212,.08));
  border: 1px solid rgba(16,185,129,.32);
  border-left: 4px solid var(--success);
  border-radius: 12px;
  padding: 13px 17px;
  color: #d1fae5;
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(16,185,129,.14);
}
.info-box strong { color: #fff; font-weight: 900; }
.form-kvkk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255,215,0,.08), rgba(59,130,246,.06));
  border: 1px solid rgba(255,215,0,.28);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.form-kvkk input { flex-shrink: 0; margin-top: 3px; transform: scale(1.2); accent-color: var(--accent-primary); }
.form-kvkk label { font-size: 13px; font-weight: 700; color: var(--text-secondary); line-height: 19px; margin: 0; }
.form-kvkk label a { color: var(--accent-primary); font-weight: 900; }
.form-kvkk strong { color: #fff; font-weight: 900; }
.form-guvenlik-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 12px; }
.guvenlik-item {
  display:flex; align-items:center; gap:8px;
  background: linear-gradient(135deg, rgba(255,215,0,.08), rgba(15,23,42,.5));
  border: 1px solid rgba(255,215,0,.22);
  padding: 10px 12px; border-radius: 10px;
  font-size: 12.5px; color: var(--text-secondary); font-weight: 700;
}
.guvenlik-item strong { color: var(--accent-primary); font-weight: 900; }
.alert-ok {
  background: linear-gradient(135deg, rgba(34,197,94,.18), rgba(22,163,74,.12));
  border: 1px solid rgba(34,197,94,.5);
  border-left: 4px solid #22c55e;
  color: #bbf7d0;
  padding: 16px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  box-shadow: 0 4px 20px rgba(34,197,94,.2);
}
.alert-ok strong { color: #fff; font-weight: 900; }
.alert-ok a { color: #86efac; font-weight: 900; }
.alert-err {
  background: linear-gradient(135deg, rgba(239,68,68,.18), rgba(153,27,27,.1));
  border: 1px solid rgba(239,68,68,.5);
  border-left: 4px solid #ef4444;
  color: #fecaca;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 20px;
  box-shadow: 0 4px 20px rgba(239,68,68,.18);
}
.alert-err strong { color: #fff; font-weight: 900; }

/* ====== FOOTER — telif ORTALI */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding: 36px 0 18px; margin-top: 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 26px; }
.footer-col h4 { font-size: 15px; font-weight: 800; margin-bottom: 16px; color: var(--accent-primary); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-secondary); font-size: 13px; transition: color .2s; }
.footer-col a:hover { color: var(--accent-primary); }
/* Telif — TAM ORTALI, TEK SATIR (AMP ile BİREBİR) */
.footer-bottom { padding-top: 16px; border-top: 1px solid var(--border-color); display: flex; justify-content: center; align-items: center; text-align: center; gap: 20px; flex-wrap: wrap; color: var(--text-muted); font-size: 12.5px; }
.footer-bottom > div { width: 100%; }

.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--bg-secondary); border-right: 1px solid var(--border-color); padding: 24px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-logo { font-size: 20px; font-weight: 900; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.admin-logo span { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.admin-menu { display: flex; flex-direction: column; gap: 4px; }
.admin-menu a { padding: 11px 14px; border-radius: 8px; color: var(--text-secondary); font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; transition: all .2s; }
.admin-menu a:hover, .admin-menu a.active { background: rgba(255,215,0,0.08); color: var(--accent-primary); }
.admin-menu a.logout { color: var(--danger); margin-top: 20px; }
.admin-menu a.logout:hover { background: rgba(239,68,68,0.08); color: var(--danger); }

.admin-main { padding: 28px 32px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.admin-header h1 { font-size: 26px; font-weight: 800; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 20px; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.stat-value { font-size: 30px; font-weight: 900; }
.stat-value.primary { color: var(--accent-primary); }
.stat-value.green { color: var(--success); }
.stat-value.red { color: var(--danger); }

.admin-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; }
.admin-card-header { padding: 18px 22px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.admin-card-header h3 { font-size: 18px; font-weight: 700; }
.admin-card-body { padding: 22px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--border-color); background: rgba(255,255,255,0.02); }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-color); font-size: 14px; vertical-align: middle; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-table img { max-height: 36px; border-radius: 6px; }

.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge-success { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-danger { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-info { background: rgba(59,130,246,0.15); color: #3b82f6; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 8px; color: #fff; font-size: 14px; transition: all .2s; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(255,215,0,0.1); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form-check { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 8px; cursor: pointer; }
.form-check input { width: auto; accent-color: var(--accent-primary); }
.form-check label { margin: 0; cursor: pointer; font-size: 13px; }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.login-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 40px; width: 100%; max-width: 420px; }
.login-card h1 { text-align: center; font-size: 28px; margin-bottom: 6px; }
.login-card .login-sub { text-align: center; color: var(--text-secondary); margin-bottom: 30px; font-size: 14px; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #34d399; }
.alert-danger { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 8px; background: var(--bg-card); border: 1px solid var(--border-color); font-size: 13px; font-weight: 600; }
.pagination a:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.pagination .current { background: var(--accent-gradient); color: #1a1a2e; border-color: transparent; }

.no-data { padding: 60px 20px; text-align: center; color: var(--text-muted); }
.no-data-icon { font-size: 50px; margin-bottom: 14px; opacity: .5; }
.no-data h3 { font-size: 18px; color: var(--text-secondary); margin-bottom: 8px; }

.chart-box { height: 260px; background: var(--bg-primary); border-radius: 10px; padding: 16px; display: flex; align-items: flex-end; gap: 8px; }
.chart-bar { flex: 1; background: var(--accent-gradient); border-radius: 6px 6px 0 0; min-height: 8px; position: relative; transition: all .3s; }
.chart-bar:hover { filter: brightness(1.2); }
.chart-bar span { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--accent-primary); white-space: nowrap; }

@media (max-width: 768px) {
  /* 📱 TABLET 768px — Topbar DÜZGÜN görünüm */
  .topbar{padding:8px 12px;border-radius:12px;font-size:12.5px;line-height:15px;box-shadow:0 3px 10px rgba(255,107,53,.2)}
  .topbar-content{gap:16px;animation-duration:26s}

  /* 📱 TABLET 768px — Global MERKEZDE Arama Kutusu */
  .global-search-wrap { padding: 14px 12px 4px; }
  .global-search-box { max-width: 100%; padding: 14px; border-radius: 14px; }
  .gs-input-wrap { min-width: 240px; flex: 1 1 100%; padding: 0 12px; }
  .gs-input-wrap input { font-size: 13.5px; padding: 10px 0; }
  .global-search-box select { font-size: 12.5px; padding: 9px 12px; min-height: 38px; }
  .global-search-box .btn { min-height: 38px; padding: 0 16px; font-size: 12.5px; }

  .hero-title { font-size: 20px; }
  .logo-text-big { font-size: 22px; }
  .header-inner { flex-direction: row; justify-content: space-between; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-main { padding: 18px 12px; }

  /* 📱 TABLET 768 — KOMPAKT 300x130 ORANI. Kartlar max 340px ortada (şirin görünüm) */
  .sites-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 7px; justify-items: center; }
  .bonus-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 7px; justify-items: center; }

  .site-card, .bonus-card {
    display: grid;
    grid-template-columns: 80px 1fr 88px;
    grid-template-rows: 1fr;
    grid-template-areas: "logo mainbody actions";
    padding: 0;
    min-height: 130px;
    max-height: 130px;
    max-width: 340px;
    width: 100%;
  }

  /* 1. Kolon: Logo (80px, 130px sabit) — sıkıştırılmış padding */
  .site-card .card-logo, .bonus-img {
    grid-area: logo;
    min-height: 130px;
    max-height: 130px;
    padding: 8px 5px;
    border-right: 1px solid var(--border-color);
  }
  .site-card .card-logo img { max-height: 50px; }
  .bonus-img img { max-height: 50px; }
  .site-card .card-logo-placeholder { width: 48px; height: 48px; font-size: 16px; border-radius: 10px; line-height: 1; }

  /* 2. Kolon: Main Body (130px) — sıkıştırılmış yükseklikler, DAHA BÜYÜK + KALIN font */
  .site-card .card-body, .bonus-body {
    grid-area: mainbody;
    padding: 5px 6px 4px;
    gap: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
    min-height: 130px;
    max-height: 130px;
  }

  .card-headrow {
    display: flex; align-items: center; justify-content: center;
    width: 100%;
    min-height: 26px; max-height: 26px;
    flex: 0 0 auto;
  }
  .card-name {
    font-size: 12px; font-weight: 900; margin: 0; color: #fff;
    line-height: 13px; letter-spacing: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
    min-height: 26px; max-height: 26px;
    width: 100%;
    text-align: center;
  }

  .card-rating {
    display: flex; align-items: center; justify-content: center;
    gap: 2px; width: 100%;
    min-height: 15px; max-height: 15px;
    flex: 0 0 auto;
  }
  .rating-stars { color: var(--accent-primary); letter-spacing: 0.3px; font-size: 9.5px; line-height: 11px; font-weight: 900; }
  .rating-value { font-weight: 900; font-size: 10.5px; line-height: 12px; color: var(--accent-primary); letter-spacing: 0; }

  .card-bonus {
    color: var(--text-secondary); font-size: 11px; line-height: 12px; letter-spacing: 0;
    min-height: 72px; max-height: 72px; height: 72px; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis; flex: 0 0 auto; text-align: left; font-weight: 800;
  }
  .bonus-title {
    font-weight: 900; font-size: 11px; margin: 0; line-height: 12px; letter-spacing: 0;
    min-height: 72px; max-height: 72px; height: 72px;
    display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis; color: #fff; flex: 0 0 auto; text-align: left;
  }

  /* 3. Kolon: Sag kolon (88px) — sıkıştırılmış 21px butonlar, gap:2px, DAHA BÜYÜK font */
  .site-card .card-actions, .bonus-footer {
    grid-area: actions;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 4px;
    border-left: 1px solid var(--border-color);
    background: transparent;
    align-items: stretch;
    justify-content: center;
    min-height: 130px;
    max-height: 130px;
    flex: 0 0 auto;
    width: 88px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .site-card .card-actions .btn-primary, .bonus-footer .btn-primary { margin-top: 0; }

  .card-vip-badge {
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-gradient); color: #1a1a2e;
    font-size: 9.5px; font-weight: 900; line-height: 11px; letter-spacing: 0;
    padding: 3px 2px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,.28), inset 0 -2px 0 rgba(0,0,0,.08);
    min-height: 21px; max-height: 21px; height: 21px;
    flex: 0 0 auto; width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  /* Butonlar — KESİK GÖRÜNÜM KALICI DÜZELTME: flex, nowrap, ellipsis, sabit boyut, DAHA KALIN 800 */
  .site-card .card-actions .btn, .bonus-footer .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    font-size: 9.5px;
    padding: 3px 2px;
    border-radius: 6px;
    line-height: 11px; letter-spacing: 0;
    min-height: 21px;
    max-height: 21px;
    height: 21px;
    white-space: nowrap !important;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-weight: 800;
  }
  .site-card .card-actions .btn:first-child, .bonus-footer .btn:nth-child(2) { font-weight: 900; font-size: 9.5px; line-height: 11px; }

  /* Stats: 💬 + 👁️ (21px × 2 satır + gap 2px = 44px) */
  .card-stats-list {
    display: flex; flex-direction: column; gap: 2px;
    margin-top: 0; padding-top: 0;
    min-height: 44px;
    max-height: 44px;
    flex: 0 0 auto; width: 100%;
    box-sizing: border-box;
  }
  .card-stat-row {
    display: flex; align-items: center; justify-content: center; gap: 3px;
    width: 100%;
    min-height: 21px; max-height: 21px; height: 21px;
    line-height: 11px;
    font-size: 9.5px;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 3px 2px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap; overflow: hidden;
    box-sizing: border-box;
  }
  .card-stat-row span.card-stat-icon { flex: 0 0 auto; font-size: 10.5px; line-height: 11px; }
  .card-stat-row span.card-stat-value { flex: 0 0 auto; font-weight: 900; color: #fff; text-align: center; font-size: 9.5px; line-height: 11px; letter-spacing: 0; }

  .bonus-footer span:not(.btn):not(.card-stat-row):not(.card-stat-icon):not(.card-stat-value) { display: block; text-align: center; font-size: 8.5px; line-height: 10px; color: var(--text-muted); letter-spacing: 0; }

  .site-card.closed::after, .bonus-card.closed::after { top: 50%; left: 50%; padding: 5px 10px; font-size: 12px; line-height: 14px; letter-spacing: 0.3px; z-index: 12; }

  .admin-table { font-size: 11px; }
  .admin-table th, .admin-table td { padding: 8px 6px; }
  .legal-box { padding: 16px 18px; font-size: 12px; }
}

@media (max-width: 420px) {
  /* 📱 MOBIL 420px — Topbar YUVARLAK, container icinde MERKEZDE */
  .topbar{padding:8px 12px;border-radius:12px;font-size:12px;line-height:14px;box-shadow:0 3px 10px rgba(255,107,53,.2);overflow-x:hidden}
  .topbar-content{gap:14px;animation-duration:22s}

  /* 📱 MOBİL 420px — Global MERKEZDE Arama Kutusu (TAM MERKEZ, ALT ALTA, YUVARLAK) */
  .global-search-wrap { padding: 12px 12px 2px; }
  .global-search-box {
    max-width: 100%;
    padding: 14px;
    border-radius: 16px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .global-search-box form {
    display: flex;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 9px !important;
    width: 100% !important;
  }
  .gs-input-wrap {
    min-width: 100% !important;
    width: 100% !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    min-height: 42px;
  }
  .gs-input-wrap input { font-size: 14px !important; padding: 12px 0 !important; font-weight: 700; }
  .global-search-box select {
    width: 100% !important;
    min-height: 42px;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 12px !important;
  }
  .global-search-box .btn {
    width: 100% !important;
    min-height: 42px;
    padding: 0 14px;
    font-size: 13.5px;
    border-radius: 12px !important;
    justify-content: center;
  }

  .sites-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 6px; justify-items: center; }
  .bonus-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 6px; justify-items: center; }
  .hero-title { font-size: 18px; }
  .logo-text-big { font-size: 19px; }
  .hero-sub { font-size: 12.5px; }
  .section-title { font-size: 16px; }

  /* 📱 MOBİL 420 — EKSTRA KOMPAKT 125px. Kartlar max 320px ortada, yanlarda boşluk var (şirin görünüm) */
  .site-card, .bonus-card {
    grid-template-columns: 74px 1fr 84px;
    min-height: 125px;
    max-height: 125px;
    max-width: 320px;
    width: 100%;
  }

  .site-card .card-logo, .bonus-img { min-height: 125px; max-height: 125px; padding: 7px 4px; }
  .site-card .card-logo img { max-height: 46px; }
  .bonus-img img { max-height: 46px; }
  .site-card .card-logo-placeholder { width: 44px; height: 44px; font-size: 15px; border-radius: 9px; line-height: 1; }
  .site-card .card-body, .bonus-body {
    padding: 4px 5px 3px; gap: 2px; min-height: 125px; max-height: 125px;
    justify-content: center; align-items: stretch; display: flex; flex-direction: column; overflow: hidden;
  }

  .card-headrow { min-height: 24px; max-height: 24px; justify-content: center; width: 100%; flex: 0 0 auto; display: flex; align-items: center; }
  .card-name {
    font-size: 11.5px; line-height: 12px; min-height: 24px; max-height: 24px;
    text-align: center; font-weight: 900; margin: 0; color: #fff; letter-spacing: 0; width: 100%;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
  }

  .card-rating { gap: 2px; min-height: 14px; max-height: 14px; flex: 0 0 auto; }
  .rating-stars { font-size: 9px; letter-spacing: 0.3px; line-height: 10px; font-weight: 900; }
  .rating-value { font-size: 9.5px; line-height: 11px; letter-spacing: 0; font-weight: 900; }

  .card-bonus { font-size: 9.5px; line-height: 11px; min-height: 66px; max-height: 66px; height: 66px; color: var(--text-secondary); margin: 0; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; flex: 0 0 auto; text-align: left; font-weight: 800; }
  .bonus-title { font-size: 9.5px; line-height: 11px; min-height: 66px; max-height: 66px; height: 66px; font-weight: 900; color: #fff; margin: 0; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; flex: 0 0 auto; text-align: left; }

  /* Sağ kolon (84px) — 20px butonlar, gap 2px. KESİK buton KALICI DÜZELTME, DAHA BÜYÜK font */
  .site-card .card-actions, .bonus-footer {
    padding: 3px 3px; gap: 2px; min-height: 125px; max-height: 125px;
    justify-content: center; box-sizing: border-box;
    display: flex; flex-direction: column; align-items: stretch;
    width: 84px; flex: 0 0 auto;
    overflow: hidden;
  }
  .site-card .card-actions .btn-primary, .bonus-footer .btn-primary { margin-top: 0; }
  .card-vip-badge {
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 9px; line-height: 10px; padding: 2px 2px;
    min-height: 20px; max-height: 20px; height: 20px;
    box-sizing: border-box; border-radius: 6px;
    background: var(--accent-gradient); color: #1a1a2e;
    font-weight: 900; letter-spacing: 0;
    flex: 0 0 auto; width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  /* BUTONLAR — KESİK GÖRÜNÜM KALICI ÇÖZÜM (flex, sabit, önemli!) DAHA KALIN 800 */
  .site-card .card-actions .btn, .bonus-footer .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    font-size: 9px;
    padding: 2px 2px;
    line-height: 10px;
    min-height: 20px; max-height: 20px; height: 20px;
    border-radius: 6px;
    font-weight: 800;
    box-sizing: border-box;
    width: 100%; min-width: 100%;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center;
  }
  .site-card .card-actions .btn:first-child, .bonus-footer .btn:nth-child(2) { font-weight: 900; font-size: 9px; line-height: 10px; }

  .card-stats-list {
    gap: 2px; min-height: 42px; max-height: 42px;
    margin-top: 0; padding-top: 0; box-sizing: border-box;
    display: flex; flex-direction: column;
    flex: 0 0 auto; width: 100%;
  }
  .card-stat-row {
    display: flex !important; align-items: center !important; justify-content: center !important;
    gap: 2px; min-height: 20px; max-height: 20px; height: 20px;
    line-height: 10px; font-size: 9px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-color);
    border-radius: 6px; padding: 2px 2px;
    font-weight: 800; color: var(--text-secondary);
    white-space: nowrap; overflow: hidden;
  }
  .card-stat-row span.card-stat-icon { font-size: 9.5px; line-height: 10px; flex: 0 0 auto; }
  .card-stat-row span.card-stat-value { font-size: 9px; line-height: 10px; flex: 0 0 auto; text-align: center; font-weight: 900; color: #fff; }

  .bonus-footer span:not(.btn):not(.card-stat-row):not(.card-stat-icon):not(.card-stat-value) { font-size: 8px; line-height: 9px; }
}

/* ==============================================================
   YENİ BÖLÜMLER: BLOG / MAKALELER + SSS + FORUM (SEO + ERİŞİLEBİLİRLİK)
   ============================================================== */
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  margin: -10px auto 20px;
  max-width: 820px;
  line-height: 20px;
}

/* ---------- BLOG / MAKALE KARTLARI (EQUAL HEIGHT + AMP Kalitesinde) ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-rows: 1fr; /* EQUAL HEIGHT */
  gap: 18px;
  margin-top: 4px;
  align-items: stretch;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 6px 22px rgba(0,0,0,.25);
  transition: all .24s ease;
  position: relative;
  overflow: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  align-items: stretch;
  box-sizing: border-box;
}
.blog-card::before {
  content: '';
  position: absolute; top:0; left:0; right:0; height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(255,107,53,.28), 0 8px 24px rgba(0,0,0,.32);
  border-color: rgba(255,215,0,.42);
}
.blog-card-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; flex-wrap: wrap;
  min-height: 26px;
}
.blog-card-cat {
  font-size: 11.5px; font-weight: 900; color: #1a1a2e;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  padding: 5px 10px; border-radius: 8px; letter-spacing: .2px;
  flex: 0 0 auto;
  box-shadow: 0 2px 6px rgba(255,215,0,.18);
}
.blog-card-date { font-size: 12.5px; color: var(--text-secondary); font-weight: 700; }
.blog-card-title {
  font-size: 17.5px; line-height: 24px; font-weight: 900;
  color: #fff; letter-spacing: .1px;
  min-height: 48px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--accent-primary); }
.blog-card-excerpt {
  font-size: 13.5px; line-height: 20px; font-weight: 700;
  color: var(--text-secondary);
  min-height: 60px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
}
.blog-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; flex-wrap: wrap; padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,.08);
}
.blog-meta-item { font-size: 12px; color: var(--text-muted); font-weight: 700; }
.blog-card-btn {
  margin-top: 2px;
  align-self: flex-start;
  font-weight: 800;
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
}

/* ---------- SSS / ACCORDION (DETAILS/SUMMARY - AMP Kalitesinde) ---------- */
.faq-wrap {
  max-width: 920px;
  margin: 4px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,.22);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] {
  border-color: rgba(255,215,0,.42);
  box-shadow: 0 6px 22px rgba(255,215,0,.12), 0 6px 20px rgba(0,0,0,.28);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  user-select: none;
  font-size: 15px;
  line-height: 20px;
  font-weight: 800;
  transition: background .18s ease;
}
.faq-item > summary:hover { background: rgba(255,255,255,.02); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-q-mark {
  flex: 0 0 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #1a1a2e; font-weight: 900; font-size: 13.5px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(255,215,0,.18);
}
.faq-q-text { flex: 1; color: #fff; font-weight: 800; letter-spacing: .1px; }
.faq-q-icon {
  flex: 0 0 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-color);
  border-radius: 9px;
  color: var(--text-secondary);
  font-weight: 900; font-size: 15px;
  transition: transform .25s ease, background .2s ease, color .2s ease;
}
.faq-item[open] .faq-q-icon {
  transform: rotate(45deg);
  background: var(--accent-primary); color: #1a1a2e; border-color: var(--accent-primary);
}
.faq-answer {
  padding: 0 18px 18px 62px;
}
.faq-cat-badge {
  display: inline-block;
  background: rgba(255,215,0,.09);
  color: var(--accent-primary);
  border: 1px solid rgba(255,215,0,.22);
  padding: 4px 11px; border-radius: 8px;
  font-size: 11.5px; font-weight: 800; margin-bottom: 12px;
  letter-spacing: .2px;
}
.faq-answer-body {
  font-size: 14px; line-height: 21px;
  color: var(--text-secondary);
  font-weight: 700;
  background: rgba(255,255,255,.025);
  border-left: 3px solid var(--accent-primary);
  padding: 12px 16px;
  border-radius: 0 12px 12px 0;
}

/* ---------- FORUM LİSTESİ (AMP Kalitesinde) ---------- */
.forum-list {
  max-width: 920px;
  margin: 4px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.forum-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
  transition: all .24s ease;
  align-items: flex-start;
}
.forum-item:hover {
  transform: translateX(4px);
  border-color: rgba(255,215,0,.38);
  box-shadow: -5px 0 0 rgba(255,215,0,.6), 0 8px 24px rgba(0,0,0,.3);
}
.forum-item-left { flex: 0 0 auto; }
.forum-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex; align-items: center; justify-content: center;
  color: #1a1a2e;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 3px 10px rgba(255,215,0,.22);
  flex-shrink: 0;
}
.forum-item-body { flex: 1 1 auto; min-width: 0; }
.forum-item-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.forum-pin-badge {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  color: #1a1a2e;
  padding: 3px 10px; border-radius: 8px;
  font-size: 11px; font-weight: 900;
  flex: 0 0 auto;
}
.forum-cat-badge {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 3px 10px; border-radius: 8px;
  font-size: 11.5px; font-weight: 700;
  flex: 0 0 auto;
}
.forum-item-title {
  font-size: 16px; line-height: 22px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  width: 100%;
}
.forum-item-title a:hover { color: var(--accent-primary); }
.forum-item-excerpt {
  font-size: 13.5px; line-height: 20px;
  color: var(--text-secondary);
  font-weight: 700;
  margin: 6px 0 10px;
}
.forum-devam { color: var(--accent-primary); font-weight: 800; font-size: 12.5px; }
.forum-item-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,.06);
}
.forum-item-meta strong { color: #fff; font-weight: 900; }

/* ---------- BLOG + SSS + FORUM RESPONSIVE (TABLET 768px) ---------- */
@media (max-width:768px) {
  .blog-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
  .blog-card { padding: 14px 14px 13px; border-radius: 12px; }
  .blog-card-title { font-size: 15px; line-height: 20px; min-height: 40px; }
  .blog-card-excerpt { font-size: 12px; line-height: 17px; min-height: 51px; }

  .faq-item > summary { padding: 11px 12px; font-size: 13px; line-height: 17px; gap: 10px; }
  .faq-q-mark { flex-basis: 25px; height: 25px; font-size: 12px; }
  .faq-q-icon { flex-basis: 23px; height: 23px; font-size: 13px; }
  .faq-answer { padding: 0 12px 12px 47px; }
  .faq-answer-body { font-size: 12.5px; line-height: 18px; padding: 8px 11px; }

  .forum-item { padding: 11px 12px; border-radius: 12px; gap: 11px; }
  .forum-avatar { width: 39px; height: 39px; font-size: 16px; }
  .forum-item-title { font-size: 13.5px; line-height: 18px; }
  .forum-item-excerpt { font-size: 11.5px; line-height: 16px; }
  .forum-item-meta { gap: 10px; font-size: 10.5px; }
}

/* ---------- BLOG + SSS + FORUM RESPONSIVE (MOBIL 420px) ---------- */
@media (max-width:420px) {
  .blog-grid { grid-template-columns: 1fr; gap: 10px; justify-items: center; }
  .blog-card { padding: 12px; border-radius: 11px; gap: 8px; max-width: 340px; width: 100%; }
  .blog-card-cat { font-size: 10.5px; padding: 3px 8px; }
  .blog-card-date { font-size: 11px; }
  .blog-card-title { font-size: 14px; line-height: 19px; min-height: 38px; font-weight: 900; }
  .blog-card-excerpt { font-size: 11.5px; line-height: 16px; min-height: 48px; }
  .blog-meta-item { font-size: 10.5px; }

  .faq-wrap { gap: 7px; max-width: 440px; margin: 0 auto; }
  .faq-item { border-radius: 10px; }
  .faq-item > summary { padding: 10px 11px; font-size: 12px; line-height: 16px; gap: 8px; }
  .faq-q-mark { flex-basis: 23px; height: 23px; font-size: 11px; }
  .faq-q-text { font-size: 12.5px; line-height: 16.5px; }
  .faq-answer { padding: 0 11px 11px 42px; }
  .faq-cat-badge { font-size: 10px; padding: 2px 8px; }
  .faq-answer-body { font-size: 11.5px; line-height: 17px; padding: 7px 10px; border-left-width: 2px; }

  .forum-list { gap: 7px; max-width: 440px; margin: 0 auto; }
  .forum-item { padding: 10px; border-radius: 10px; gap: 9px; }
  .forum-avatar { width: 36px; height: 36px; font-size: 15px; border-width: 1.5px; }
  .forum-item-title { font-size: 12.5px; line-height: 17px; }
  .forum-item-excerpt { font-size: 11px; line-height: 15px; margin-bottom: 6px; }
  .forum-item-meta { gap: 8px; font-size: 10px; padding-top: 6px; }
  .forum-pin-badge, .forum-cat-badge { font-size: 9.5px; padding: 2px 7px; }
}
