/* Çerez Politikası ve KVKK sayfaları için ortak stil */
:root {
  --bg-dark: #0b1118;
  --green-bright: #22c55e;
  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

header {
  position: sticky;
  top: 0;
  background: rgba(11, 17, 24, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

header a.back {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}

.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch button {
  border: 0; background: transparent; color: var(--text-muted);
  font: inherit; font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 0.7rem; border-radius: 999px; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--green-bright); color: #04130b; }

main { max-width: 820px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }

h1 { font-size: 1.9rem; line-height: 1.2; margin-bottom: 0.4rem; letter-spacing: -0.02em; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.6rem; }
p, li { color: var(--text-body); font-size: 0.95rem; }
p + p { margin-top: 0.7rem; }
ul { padding-left: 1.2rem; margin-top: 0.4rem; }
li + li { margin-top: 0.3rem; }
a { color: var(--green-bright); }
.updated { color: var(--text-muted); font-size: 0.85rem; }

.table-wrap { overflow-x: auto; margin-top: 0.6rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
th, td { text-align: left; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text-main); font-weight: 700; }
td { color: var(--text-body); }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.85em; color: var(--text-main); }

.pref-box {
  margin-top: 1rem; padding: 1rem 1.1rem;
  border: 1px solid rgba(34, 197, 94, 0.35); border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.pref-box .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.pref-box button {
  font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer;
  padding: 0.5rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15); background: transparent; color: var(--text-main);
}
.pref-box button.primary { background: var(--green-bright); border-color: var(--green-bright); color: #04130b; }
.pref-status { margin-top: 0.6rem; font-size: 0.85rem; color: var(--text-muted); }

[data-lang-block] { display: none; }
html[lang="tr"] [data-lang-block="tr"],
html[lang="en"] [data-lang-block="en"] { display: block; }

:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 3px; }
