/* BETSEKIZ — Gece Mavisi / Amber (P4 / L4) tasarım sistemi */

:root {
  /* Koyu üst bölüm */
  --ink: #0E1A2B;
  --ink-2: #16263D;
  --ink-3: #21395A;

  /* Açık içerik zemini */
  --paper: #F4F1EA;
  --card: #FFFFFF;
  --soft: #ECE8DF;
  --line: #DDD7CA;
  --line-2: #E9E4D9;

  /* Vurgu (amber) */
  --accent: #FFB300;
  --accent-d: #E69F00;
  --accent-dim: rgba(255, 179, 0, 0.15);
  --accent-glow: rgba(255, 179, 0, 0.35);

  /* İkincil (teal) */
  --teal: #0F7C86;
  --teal-d: #0A5F67;
  --teal-dim: rgba(15, 124, 134, 0.09);

  /* Metin */
  --text: #1E2A3A;
  --text-2: #5A6577;
  --text-3: #8893A3;
  --heading: #0E1A2B;
  --on-accent: #0E1A2B;

  /* Durum */
  --ok: #2E9E5B;
  --bad: #E53935;
  --warn: #F59E0B;

  /* Gölge / ölçü / font */
  --sh-sm: 0 1px 2px rgba(14, 26, 43, 0.06);
  --sh-md: 0 6px 20px rgba(14, 26, 43, 0.09);
  --sh-lg: 0 16px 44px rgba(14, 26, 43, 0.16);
  --r: 14px;
  --r-lg: 20px;
  --container: 1240px;
  --rail: 340px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-h: 'Sora', 'Inter', -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Reset / temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-h); color: var(--heading); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--teal); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--teal-d); text-decoration: underline; }
button { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); word-break: break-all; }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.accent { color: var(--accent); }
.accent-ink { color: var(--teal); font-weight: 600; }
.small { font-size: 14px; color: var(--text-2); }

/* ---------- Tipografi ---------- */
h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--heading);
}
.hero h1, .page-hero h1 { color: #FFFFFF; }
.content-main h2, .history-title, .toc-title, .rail-info-title {
  font-size: 26px;
  font-weight: 700;
  margin: 44px 0 16px;
  color: var(--heading);
}
.content-main h2 { border-left: 4px solid var(--accent); padding-left: 14px; }
h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; color: var(--heading); }

code, .kod {
  font-family: var(--mono);
  background: var(--soft);
  color: var(--ink);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.9em;
  word-break: break-all;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-d); color: var(--on-accent); box-shadow: 0 4px 14px var(--accent-glow); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: var(--ink-3); color: #fff; }
.btn-outline { background: transparent; border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); background: var(--accent-dim); color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 15px 30px; font-size: 17px; border-radius: 12px; }

/* ---------- Rozetler / etiketler ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.badge-ok { background: rgba(46, 158, 91, 0.14); color: var(--ok); }
.badge-bad { background: rgba(229, 57, 53, 0.12); color: var(--bad); }
.badge-old { background: rgba(136, 147, 163, 0.14); color: var(--text-3); }
.badge-warn { background: rgba(245, 158, 11, 0.16); color: #B45309; }
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--teal-dim);
  color: var(--teal-d);
}

/* ---------- Kartlar ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  padding: 24px;
}

/* ---------- Layout ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rail);
  gap: 40px;
  padding: 40px 0 8px;
  align-items: start;
}
.content-main { min-width: 0; }
.content-main > p:first-child { font-size: 17px; }
.rail { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: var(--on-accent); }

/* ---------- Durum şeridi ---------- */
.status-strip {
  background: #09121F;
  color: #C6D2E2;
  font-size: 13px;
  line-height: 1.4;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
}
.strip-left { display: inline-flex; align-items: center; gap: 8px; }
.strip-left strong { color: #fff; font-weight: 700; letter-spacing: 0.02em; }
.strip-mid { display: inline-flex; align-items: center; gap: 8px; color: #C6D2E2; }
.strip-mid .mono { color: var(--accent); }
.strip-right { display: inline-flex; align-items: center; gap: 10px; }
.ssl-badge {
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(46, 158, 91, 0.5);
  animation: pulse 2.2s infinite;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(46, 158, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0); }
}

/* ---------- Header ---------- */
.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 24px rgba(14, 26, 43, 0.28);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; border-radius: 8px; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: #D7E0EC;
  font-size: 14.5px;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; text-decoration: none; }
.nav-item.active > .nav-link {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--accent);
}
.caret { font-size: 10px; color: var(--accent); }

.sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.sub ul { display: block; }
.sub a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.sub a:hover { background: var(--teal-dim); color: var(--teal-d); text-decoration: none; }
.nav-item:hover > .sub,
.nav-item:focus-within > .sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link { color: #fff; }

.sub-mega {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 14px;
  min-width: 620px;
  padding: 18px;
}
.mega-title {
  display: block;
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--heading);
  padding: 4px 8px 10px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 8px;
  font-size: 15px;
}
.mega-title:hover { color: var(--heading); }

.header-cta { flex: none; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
}
.burger span { display: block; height: 2px; background: var(--accent); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(9, 18, 31, 0.55);
  z-index: 90;
}

/* ---------- Hero (ana sayfa) ---------- */
.hero {
  background:
    radial-gradient(560px 320px at 88% -20%, var(--accent-glow), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink) 62%);
  color: #D7E0EC;
  padding: 64px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px); gap: 48px; align-items: center; position: relative; }
.hero-etiket {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(255, 179, 0, 0.4);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead {
  font-size: 17.5px;
  color: #C6D2E2;
  max-width: 640px;
  margin-bottom: 20px;
}
.hero .byline-top { margin-bottom: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Konsol */
.console {
  background: #0B1524;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.console-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.console-bar .dot:first-child { background: var(--bad); }
.console-bar .dot:nth-child(2) { background: var(--warn); }
.console-bar .dot:nth-child(3) { background: var(--ok); }
.console-title { margin-left: 8px; font-family: var(--mono); font-size: 12.5px; color: #8FA3BC; }
.console-body { padding: 8px 18px; }
.c-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
  font-size: 13.5px;
}
.c-row:last-child { border-bottom: 0; }
.c-row > span:first-child { color: #8FA3BC; flex: none; }
.c-row strong { color: #EAF1FA; font-weight: 600; text-align: right; }
.c-row .mono { color: var(--accent); font-size: 13px; }
.c-row a { color: var(--accent); }
.console-actions { display: flex; gap: 10px; padding: 16px 18px 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.console-actions .btn { flex: 1; }

/* Sayfa hero (iç sayfalar) */
.page-hero {
  background:
    radial-gradient(520px 300px at 92% -30%, var(--accent-glow), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  color: #D7E0EC;
  padding: 44px 0 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { font-size: 16.5px; color: #C6D2E2; max-width: 780px; margin: 16px 0 20px; }
.page-hero .hero-cta { margin-top: 4px; }

/* Ekmek kırıntısı */
.breadcrumb { margin-bottom: 16px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #8FA3BC; }
.breadcrumb li + li::before { content: '›'; color: #5B6B80; }
.breadcrumb a { color: #C6D2E2; }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }

/* Byline üst satır (koyu zeminde) */
.hero .byline-top, .page-hero .byline-top { color: #8FA3BC; font-size: 13.5px; margin-bottom: 6px; }
.hero .byline-top a, .page-hero .byline-top a { color: #C6D2E2; }
.hero .byline-top a:hover, .page-hero .byline-top a:hover { color: var(--accent); text-decoration: none; }

/* Hızlı bilgi şeridi */
.facts { margin-top: -44px; position: relative; z-index: 5; padding-bottom: 8px; }
.facts-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fact {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--sh-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fact-label { font-size: 12px; color: var(--text-3); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.fact-value { font-size: 14.5px; color: var(--heading); font-weight: 700; word-break: break-all; }
.fact-value .status-indicator { margin-right: 6px; }
.fact a.fact-value { color: var(--teal); }

/* ---------- İçerik bileşenleri ---------- */
.callout {
  border-left: 4px solid var(--teal);
  background: var(--teal-dim);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 15px;
}
.callout p:last-child { margin-bottom: 0; }
.callout.warn {
  border-left-color: var(--accent);
  background: var(--accent-dim);
}

.checklist { margin: 18px 0; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-2);
}
.checklist li:last-child { border-bottom: 0; }
.checklist .check {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 22px 0;
  counter-reset: adim;
}
.step {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  padding: 20px 18px 18px;
  position: relative;
}
.step::before {
  counter-increment: adim;
  content: counter(adim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 10px;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin: 0 0 8px; }
.step p { font-size: 14px; color: var(--text-2); margin: 0; }

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 22px 0;
}
.analysis-item {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 20px;
}
.analysis-item h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 16.5px; }
.analysis-item h3::before { content: ''; width: 10px; height: 10px; background: var(--accent); border-radius: 3px; flex: none; }
.analysis-item p { font-size: 14.5px; color: var(--text-2); margin: 0; }

/* Tablo */
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card); }
table.tablo { width: 100%; border-collapse: collapse; min-width: 480px; font-size: 14.5px; }
.tablo thead th {
  background: var(--soft);
  color: var(--heading);
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
}
.tablo tbody td { padding: 12px 16px; border-top: 1px solid var(--line-2); vertical-align: top; }
.tablo tbody td:first-child { font-weight: 600; color: var(--heading); white-space: nowrap; }

/* Adres geçmişi kartı */
.history-card { margin: 28px 0; }
.history-title { margin: 0 0 4px; }
.history-alt { font-size: 14px; color: var(--text-2); margin: 0 0 20px; }
.history-backup {
  background: var(--accent-dim);
  border: 1px solid rgba(255, 179, 0, 0.35);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 22px;
}
.history-backup-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.history-backup-sol { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.history-backup-adres { font-size: 14px; color: var(--ink); font-weight: 600; }
.history-backup-btn { display: inline-flex; gap: 8px; margin-left: auto; }
.history-backup-not { font-size: 13px; color: var(--text-2); margin: 10px 0 0; }
.history-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot-ok { background: var(--ok); }
.dot-bad { background: var(--bad); }
.dot-old { background: var(--text-3); }
.dot-warn { background: var(--warn); }

.history-list { position: relative; padding-left: 22px; }
.history-list::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.history-item { position: relative; padding: 0 0 18px 8px; }
.history-item:last-child { padding-bottom: 0; }
.history-item .history-dot { position: absolute; left: -23px; top: 6px; border: 2px solid var(--card); }
.history-item-satir { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.history-item-adres { font-size: 14px; color: var(--ink); font-weight: 600; }
.history-item-tarih { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.history-item-not { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.history-item-btn { margin-top: 8px; }
.history-son { font-size: 13px; color: var(--text-2); margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); }

/* ---------- Ray (sağ sticky) ---------- */
.rail-addr { background: var(--ink); border-color: var(--ink); color: #D7E0EC; }
.rail-addr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rail-addr-baslik { font-family: var(--font-h); font-weight: 700; color: #fff; font-size: 15px; }
.rail-addr .badge-ok { background: rgba(46, 158, 91, 0.18); }
.rail-addr-adres {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 14px;
}
.rail-addr-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.rail-addr-actions .btn { flex: 1; }
.rail-addr-note { font-size: 12.5px; color: #8FA3BC; margin-top: 12px; }

.toc-title, .rail-info-title { margin: 0 0 12px; font-size: 17px; }
.toc-list ol { counter-reset: toc; }
.toc-list li { counter-increment: toc; padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.toc-list li:last-child { border-bottom: 0; }
.toc-list a { display: flex; gap: 10px; color: var(--text); font-size: 14px; font-weight: 500; }
.toc-list a::before { content: counter(toc, decimal-leading-zero); color: var(--accent-d); font-family: var(--mono); font-size: 12px; font-weight: 700; margin-top: 3px; }
.toc-list a:hover { color: var(--teal-d); text-decoration: none; }

.rail-info-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.rail-info-list li:last-child { border-bottom: 0; }
.rail-info-list span { color: var(--text-2); flex: none; }
.rail-info-list strong { color: var(--heading); font-weight: 600; text-align: right; word-break: break-all; }

/* ---------- CTA mid ---------- */
.cta-mid {
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  border-radius: var(--r-lg);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 34px 0;
  box-shadow: var(--sh-md);
}
.cta-mid-text h2 { color: #fff; font-size: 20px; margin: 0 0 6px; border: 0; padding: 0; }
.cta-mid-text p { color: #B9C6D8; margin: 0; font-size: 14.5px; }
.cta-mid-btn { flex: none; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 700;
  font-family: var(--font-h);
  font-size: 15.5px;
  color: var(--heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  color: var(--accent-d);
  border-radius: 8px;
  font-weight: 800;
  font-size: 18px;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 18px 16px; font-size: 14.5px; color: var(--text-2); }

/* ---------- Bantlar ---------- */
.band { padding: 56px 0; border-top: 1px solid var(--line-2); }
.band.alt { background: var(--soft); }
.band-title { font-size: 26px; margin: 0 0 6px; }
.band-sub { color: var(--text-2); font-size: 15px; margin-bottom: 28px; max-width: 680px; }
.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.band-head .band-sub { margin-bottom: 0; }

/* Oyunlar */
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.game-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-top: 3px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  box-shadow: var(--sh-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: block;
}
.game-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-top-color: var(--accent); text-decoration: none; }
.game-icon {
  width: 46px;
  height: 46px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}
.game-card h3 { margin: 0 0 8px; font-size: 16.5px; color: var(--heading); }
.game-card:hover h3 { color: var(--teal-d); }
.game-card p { margin: 0; font-size: 13.5px; color: var(--text-2); }

/* Canlı oranlar */
.live-odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.odd-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.odd-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.odd-card-head strong { font-size: 14px; color: var(--heading); }
.odd-sport { font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.odds { display: flex; gap: 8px; flex-wrap: wrap; }
.odd {
  background: var(--soft);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 76px;
}
.odd:hover { background: var(--accent-dim); border-color: var(--accent); cursor: pointer; }
.odd b { font-size: 12px; font-weight: 600; color: var(--text-2); }

/* Blog kartları */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); text-decoration: none; }
.blog-thumb {
  height: 130px;
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-thumb::after { content: 'B8'; position: absolute; right: 14px; bottom: 8px; font-family: var(--font-h); font-weight: 800; font-size: 30px; color: var(--accent-glow); }
.blog-thumb .tag { position: absolute; top: 12px; left: 12px; background: rgba(14, 26, 43, 0.75); color: var(--accent); }
.blog-card-govde { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card h3 { margin: 0; font-size: 16px; line-height: 1.45; }
.blog-card h3 a { color: var(--heading); }
.blog-card h3 a:hover { color: var(--teal-d); text-decoration: none; }
.blog-card p { margin: 0; font-size: 13.5px; color: var(--text-2); flex: 1; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text-3); }

/* FAQ bandı (dar sütun) */
.faq-dar { max-width: 860px; margin: 0 auto; }

/* ---------- CTA block (footer üstü) ---------- */
.cta-block {
  background:
    radial-gradient(640px 300px at 50% -40%, var(--accent-glow), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  padding: 64px 0;
  text-align: center;
}
.cta-block-inner h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.cta-block-inner p { color: #C6D2E2; max-width: 560px; margin: 0 auto 22px; font-size: 15.5px; }
.cta-block-btn { display: flex; justify-content: center; }

/* ---------- Yazar bileşenleri ---------- */
.byline-top { color: var(--text-2); font-size: 13.5px; }
.byline-top a { font-weight: 600; }
.byline-etiket { color: var(--text-3); }
.byline-ayrac { margin: 0 8px; color: var(--line); }

.author-card {
  display: flex;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  padding: 24px;
  margin: 34px 0 10px;
}
.avatar {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 22px;
}
.author-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.author-label { font-size: 12px; color: var(--text-3); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.author-name { font-size: 17px; font-weight: 700; color: var(--heading); font-family: var(--font-h); }
.author-name a { color: var(--heading); }
.author-name a:hover { color: var(--teal-d); }
.author-job { font-size: 14px; color: var(--text-2); }
.author-editor { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--text-2); }
.author-editor a { font-weight: 600; }
.author-editor-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.author-note { font-size: 13px; color: var(--text-3); margin: 8px 0 0; }

.author-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.author-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
}
.author-link:hover { background: var(--accent-dim); border-color: var(--accent); color: var(--ink); text-decoration: none; }
.author-link svg { flex: none; }

.author-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 26px 0; }
.author-card-grid {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.author-card-grid .author-ust { display: flex; gap: 16px; align-items: center; }
.author-card-grid h2 { font-size: 20px; margin: 0; border: 0; padding: 0; }
.author-card-grid h2 a { color: var(--heading); }
.author-card-grid h2 a:hover { color: var(--teal-d); text-decoration: none; }
.author-meslek { font-size: 14px; color: var(--teal-d); font-weight: 600; }
.author-ozet { font-size: 14.5px; color: var(--text-2); }
.author-sayfalar { margin-top: auto; }
.author-sayfalar strong { display: block; font-size: 13px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.author-sayfalar ul { display: flex; flex-direction: column; gap: 4px; }
.author-sayfalar li { font-size: 14px; }
.author-sayfalar li::before { content: '›'; color: var(--accent-d); margin-right: 8px; font-weight: 700; }

/* ---------- Disclosure + footer ---------- */
.disclosure {
  background: var(--accent-dim);
  border: 1px solid rgba(255, 179, 0, 0.35);
  border-radius: var(--r);
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: var(--text);
}
.disclosure p { margin: 0; }

.site-footer { background: var(--ink); color: #A9B8CE; padding: 56px 0 30px; font-size: 14.5px; }
.site-footer a { color: #A9B8CE; }
.site-footer a:hover { color: var(--accent); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 34px; }
.footer-col h3 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.footer-col li { padding: 4px 0; }
.footer-col .footer-sub { padding-left: 12px; font-size: 13.5px; }
.footer-brand p { margin: 0 0 14px; line-height: 1.65; }
.footer-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 13.5px;
}
.footer-telegram:hover { color: var(--accent) !important; border-color: var(--accent); text-decoration: none; }
.footer-lisans { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; font-size: 13.5px; color: #8FA3BC; }
.footer-lisans p { margin: 0; }
.footer-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  font-size: 13.5px;
  color: #8FA3BC;
}
.footer-alt p { margin: 0; }
.footer-alt a { color: #D7E0EC; font-weight: 600; }
.footer-note { color: #8FA3BC; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--sh-lg);
  z-index: 300;
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
}
.toast.goster { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .sub-mega { grid-template-columns: repeat(2, minmax(190px, 1fr)); min-width: 460px; }
  .nav-link { padding: 10px 10px; font-size: 14px; }
}

@media (max-width: 1024px) {
  .header-cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    background: var(--ink);
    z-index: 110;
    transform: translateX(100%);
    transition: transform .24s ease;
    overflow-y: auto;
    padding: 80px 22px 30px;
    box-shadow: var(--sh-lg);
    margin-left: 0;
  }
  .menu-open .nav { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-item { position: static; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 16px; padding: 12px 10px; }
  .sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 2px 0 10px 14px;
    min-width: 0;
  }
  .sub a { color: #C6D2E2; padding: 9px 12px; }
  .sub a:hover { background: rgba(255, 255, 255, 0.06); color: var(--accent); }
  .sub-mega { display: block; min-width: 0; padding: 4px 0 12px 10px; }
  .mega-col { margin-bottom: 14px; }
  .mega-title { color: #fff; border-color: var(--accent); font-size: 14.5px; padding-left: 0; }
  .mega-title:hover { color: var(--accent); }

  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0 92px; }
  .layout { grid-template-columns: 1fr; gap: 28px; }
  .rail { position: static; }
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .games-grid, .blog-grid, .live-odds { grid-template-columns: repeat(2, 1fr); }
  .author-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 768px) {
  .strip-right { display: none; }
  .strip-mid { font-size: 12.5px; }
  .strip-inner { justify-content: flex-start; gap: 14px; }
  .hero-cta .btn, .page-hero .hero-cta .btn { width: 100%; }
  .facts-inner { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .analysis-grid { grid-template-columns: 1fr; }
  .games-grid, .blog-grid, .live-odds { grid-template-columns: 1fr; }
  .table-wrap { margin-left: -20px; margin-right: -20px; border-radius: 0; border-left: 0; border-right: 0; }
  .cta-mid { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 20px; }
  .cta-mid-btn { display: flex; justify-content: center; }
  .author-card { flex-direction: column; }
  .author-links { display: grid; grid-template-columns: repeat(2, 1fr); }
  .author-link { min-height: 44px; }
  .author-editor-links { align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-alt { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 32px 0 42px; }
  .band { padding: 40px 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .history-backup-btn { margin-left: 0; width: 100%; }
  .history-backup-btn .btn { flex: 1; }
  .console-actions { flex-direction: column; }
}

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}







