/* ---- CSS Degiskenleri ---- */
:root {
  --primary:       #FF5722;
  --primary-dark:  #E64A19;
  --primary-light: #FFF3E0;
  --bg-page:       #f7f8fa;
  --bg-white:      #ffffff;
  --bg-dark:       #1a1a2e;
  --bg-card-alt:   #f0f4f8;
  --text-primary:  #111111;
  --text-secondary:#444444;
  --text-muted:    #888888;
  --text-link:     #1565C0;
  --border:        #eeeeee;
  --border-dark:   #dddddd;
  --badge-vip-bg:  #FFF3E0;
  --badge-vip-text:#E65100;
  --badge-trusted-bg:  #E8F5E9;
  --badge-trusted-text:#2E7D32;
  --success:       #4CAF50;
  --container-max: 1100px;
  --container-padding: 16px;
  --sidebar-width: 280px;
  --section-gap:   40px;
}

/* ---- Reset & Temel ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-secondary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: var(--primary);
}

strong {
  color: var(--text-primary);
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---- Layout ---- */
.layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 48px;
}

.main {
  min-width: 0;
}

/* ---- Header ---- */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--container-padding);
}

.logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.logo span {
  color: var(--primary);
}

/* ---- Desktop Nav ---- */
.nav-desktop {
  display: flex;
  gap: 24px;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 150ms ease;
}

.nav-desktop a:hover {
  color: var(--primary);
}

/* ---- Hamburger ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 200ms ease;
}

/* ---- Mobile Nav ---- */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
  opacity: 0;
  transition: opacity 200ms ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 300ms ease-out;
  display: flex;
  flex-direction: column;
  padding: 60px 24px 24px;
  gap: 4px;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-primary);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* ---- Hero ---- */
.hero {
  padding: 32px 0 8px;
  animation: fadeIn 400ms ease-out both;
}

.hero h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 12px 0 16px;
}

.meta-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.meta-badge {
  display: inline-block;
  background: var(--badge-vip-bg);
  color: var(--badge-vip-text);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

.meta-badge-green {
  background: var(--badge-trusted-bg);
  color: var(--badge-trusted-text);
}

.hero-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.breadcrumb a {
  color: var(--text-link);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  margin: 0 6px;
  color: var(--text-muted);
}

/* ---- Card ---- */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-top: 24px;
  animation: fadeIn 400ms ease-out both;
}

/* ---- Section Title ---- */
.section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ---- Body Text ---- */
.body {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.body + .body {
  margin-top: 12px;
}

/* ---- H3 ---- */
.h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 16px;
  margin-bottom: 8px;
}

/* ---- Sponsor Table ---- */
.sponsor-section {
  padding: 16px 16px 8px;
}

.sp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sp-table thead th {
  background: #fafafa;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.sp-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.sp-table tbody tr {
  transition: background 150ms ease;
}

.sp-table tbody tr:hover {
  background: #fafafa;
}

.sp-logo-wrap {
    background: var(--bg-dark);
    border-radius: 8px;
    width: 120px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.telegram-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 8px;
    background: aquamarine;
    padding: 4px 6px;
    border-radius: 4px;
}

.telegram-btn svg {
  flex-shrink: 0;
}


.footer-logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 10px;
}

.sp-logo-wrap img {
  height: 32px;
  object-fit: contain;
}

.sp-logo-fallback {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.sp-logo-wrap-sm {
  background: var(--bg-dark);
  border-radius: 8px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sp-logo-wrap-sm img {
  height: 32px;
}

.sp-site-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.sp-site-desc {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.sp-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.sp-badge-vip {
  background: var(--badge-vip-bg);
  color: var(--badge-vip-text);
}

.sp-badge-trusted {
  background: var(--badge-trusted-bg);
  color: var(--badge-trusted-text);
}

.sp-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background 150ms ease;
  white-space: nowrap;
}

.sp-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

.sp-btn-full {
  display: block;
  width: 100%;
  margin-top: 10px;
}

/* ---- Mobile Cards ---- */
.sp-cards {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.sp-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.sp-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-card-info {
  min-width: 0;
  flex: 1;
}

/* ---- CTA Banner ---- */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #FF5722, #FF7043);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 32px;
  text-decoration: none;
  transition: transform 200ms ease;
  animation: fadeIn 400ms ease-out both;
}

.cta-banner:hover {
  transform: scale(1.01);
}

.cta-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.cta-desc {
  font-size: 13px;
  color: #fff;
  opacity: 0.9;
}

.cta-arrow {
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}

/* ---- SSS Accordion ---- */
.sss {
  border-top: 1px solid var(--border);
}

.sss-item {
  border-bottom: 1px solid var(--border);
}

.sss-question {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  padding: 14px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  user-select: none;
}

.sss-prefix {
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
}

.sss-answer {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 0 0 16px 20px;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 250ms ease-in-out, opacity 250ms ease-in-out, padding 250ms ease-in-out;
}

.sss-item.open .sss-answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 0 16px 20px;
}

/* ---- Related Tags ---- */
.related {
  background: var(--bg-card-alt);
  border-radius: 10px;
  padding: 20px;
  margin-top: 32px;
  animation: fadeIn 400ms ease-out both;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 150ms ease, color 150ms ease;
}

.tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ---- Sidebar ---- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
  height: fit-content;
  animation: fadeIn 400ms 200ms ease-out both;
}

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.sidebar-card .section-title {
  font-size: 15px;
  margin-bottom: 12px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 150ms ease;
}

.sidebar-links a:hover {
  color: var(--primary);
}

/* ---- Trust Box ---- */
.trust-box {
  background: var(--badge-trusted-bg);
  border: 1px solid #C8E6C9;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.trust-icon {
  font-size: 20px;
  color: var(--badge-trusted-text);
  margin-bottom: 4px;
}

.trust-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--badge-trusted-text);
  margin-bottom: 6px;
}

.trust-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Telegram CTA ---- */
.tg-icon {
  font-size: 24px;
  text-align: center;
  margin-bottom: 4px;
}

.tg-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 6px;
}

.tg-desc {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.5;
}

.tg-btn {
  display: block;
  width: 100%;
  background: #0088CC;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: background 150ms ease;
}

.tg-btn:hover {
  background: #0077B3;
  color: #fff;
}

/* ---- Footer ---- */
.footer {
  background: #111111;
  color: #fff;
  padding: 40px 16px 24px;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-desc {
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
  max-width: 400px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #aaa;
  padding: 4px 0;
  transition: color 150ms ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
}

.footer-bottom a {
  color: #aaa;
}

.footer-bottom a:hover {
  color: var(--primary);
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 12px;
  }

  .layout {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero h1 {
    font-size: 20px;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .sp-table {
    display: none;
  }

  .sp-cards {
    display: flex;
  }

  .sp-site-desc { max-width: none; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }  /* mobil teklif metni 2 satir (22 Eyl 2026): nowrap+ellipsis mobil kartta teklifi kesiyordu */

  .cta-banner {
    padding: 1rem 1.25rem;
  }

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

  .cta-desc {
    font-size: 12px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 18px;
  }
}

/* ── Editörün Tavsiyesi Kutusu ─────────────────────────────────────── */
.featured-box{border:1px solid rgba(245,158,11,.35);border-radius:10px;overflow:hidden;margin-bottom:16px;background:linear-gradient(135deg,rgba(245,158,11,.04),transparent 60%)}
.featured-head{display:flex;align-items:center;gap:8px;padding:12px 16px;background:rgba(245,158,11,.08);border-bottom:1px solid rgba(245,158,11,.2);font-weight:700;font-size:14px;color:#b45309}
.featured-tag{margin-left:auto;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#b45309;background:rgba(245,158,11,.14);border:1px solid rgba(245,158,11,.3);border-radius:999px;padding:3px 10px}
.featured-box .sp-table{margin:0}
.featured-box .sp-table thead th{background:rgba(245,158,11,.06)}
.featured-box .sp-table tbody tr:hover{background:rgba(245,158,11,.05)}
.featured-badge{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}
.featured-btn{background:linear-gradient(135deg,#f59e0b,#d97706)!important}
.featured-card{border-color:rgba(245,158,11,.3)!important}

/* katman: karsilastirma tablosu + icindekiler (22 Eyl 2026) */
.cmp-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.cmp-table{width:100%;border-collapse:collapse;font-size:14px;min-width:520px}
.cmp-table th{text-align:left;padding:10px 12px;font-size:12px;text-transform:uppercase;letter-spacing:.02em;color:var(--text-secondary);background:rgba(245,158,11,.06);border-bottom:1px solid var(--border)}
.cmp-table td{padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:top;color:var(--text-primary)}
.cmp-table tr.cmp-bu td{background:rgba(245,158,11,.05);font-weight:600}
.cmp-note{font-size:12px;color:var(--text-secondary);margin-top:10px}
.toc-card .tag-list{margin-top:2px}
