/* CVE Notes site stili. Tek koyu tema (ana sayfa görseli koyu zemin için kesildi).
   Neden dış kaynak yok: fontlar kendi sunucumuzdan (CSP font-src 'self'); Google'dan yüklense her okuyucunun
   IP adresi Google'a giderdi (KVKK). Lisanslar fontlar/OFL_*.txt. */

@font-face { font-family: "Archivo"; font-weight: 900; font-stretch: 62%; font-display: swap;
  src: url("fontlar/archivo_latin_ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-weight: 900; font-stretch: 62%; font-display: swap;
  src: url("fontlar/archivo_latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400 700; font-display: swap;
  src: url("fontlar/hanken_grotesk_latin_ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400 700; font-display: swap;
  src: url("fontlar/hanken_grotesk_latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 500; font-display: swap;
  src: url("fontlar/jetbrains_mono_latin_ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 500; font-display: swap;
  src: url("fontlar/jetbrains_mono_latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Renkler görselden: taç altını, maske gümüşü */
:root {
  --zemin: #0b0b0d; --yuzey: #131316; --cizgi: #24242a; --yazi: #ecebe6; --soluk: #8f8d87;
  --altin: #c9a34f; --gumus: #b8bdc5; --kev: #e35a44; --kritik: #e39a3b;
  --dev: "Archivo", "Arial Narrow", Impact, sans-serif;
  --govde: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--zemin); color: var(--yazi); font: 16px/1.55 var(--govde); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--altin); outline-offset: 3px; border-radius: 2px; }
.sar { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.ic { max-width: 1160px; margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }

/* Menü */
.menu { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--zemin) 86%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--cizgi); }
.menu .ic { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 14px; }
.marka { text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.marka i { font-style: normal; color: var(--altin); }
.menu nav { display: flex; gap: 22px; flex-wrap: wrap; }
.menu nav a { text-decoration: none; color: var(--soluk); font-size: 14px; padding-block: 4px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.menu nav a:hover { color: var(--yazi); }
.menu nav a[aria-current] { color: var(--yazi); border-bottom-color: var(--altin); }

/* Ana sayfa açılışı: arkada dev yazı, ortada maskeli kral (taç ve maske harflerin önüne geçer), önde özet */
.sahne { position: relative; overflow: hidden; min-height: clamp(560px, 86vh, 920px); isolation: isolate; }
.sahne::before { content: ""; position: absolute; z-index: 0; left: 60%; top: 58%; width: min(900px, 90vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--altin) 20%, transparent), transparent 70%); }
.dev { position: absolute; z-index: 1; inset: 9% 0 auto; margin: 0; font-family: var(--dev); font-weight: 900; font-stretch: 62%;
  font-size: clamp(96px, 19.5vw, 330px); line-height: .8; letter-spacing: -.01em; text-transform: uppercase; user-select: none; }
/* Neden degrade satırda (kapta değil): hareket eden alt öğede kaptaki background-clip:text bazı tarayıcılarda bozuluyor */
.dev span { display: block; padding-inline: max(16px, 2vw); animation: yuksel 1.1s cubic-bezier(.2, .7, .1, 1) both;
  background: linear-gradient(180deg, #f1f1ee 0%, #a9adb4 60%, #55585e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dev span:last-child { text-align: right; animation-delay: .12s; }
@keyframes yuksel { from { transform: translateY(14%); opacity: .35; } }
.figur { position: absolute; z-index: 2; bottom: 0; left: 60%; height: 100%; transform: translateX(-50%); pointer-events: none; }
.figur img { display: block; height: 100%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent);
  animation: belir 1.4s ease-out both; }
@keyframes belir { from { transform: translateY(3%) scale(1.02); filter: brightness(.6); } }
.on { position: relative; z-index: 3; min-height: inherit; display: flex; flex-direction: column; justify-content: space-between; padding-block: 22px 44px; }
.on .ust { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--soluk); text-transform: uppercase; }
.on .ust span:first-child { color: var(--altin); }
.ozet { max-width: 470px; }
.ozet h1 { margin: 0 0 16px; font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .65); }
.ozet h1 span { display: block; }
.ozet h1 .ikinci { color: var(--gumus); }
.imlec { display: inline-block; width: .07em; height: .8em; margin-left: .06em; background: var(--altin); vertical-align: -.06em; animation: yanip 1s steps(1) infinite; }
@keyframes yanip { 50% { opacity: 0; } }
.ozet p { margin: 0; max-width: 40ch; color: var(--soluk); text-shadow: 0 1px 14px rgba(0, 0, 0, .8); }
.ozet p b { color: var(--yazi); font-weight: 500; }
.dugmeler { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.dugme { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; text-decoration: none; font: 500 15px/1.4 var(--govde); color: inherit; background: none;
  border: 1px solid var(--cizgi); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.dugme.ana { background: var(--yazi); color: var(--zemin); border-color: var(--yazi); }
.dugme.ana:hover { background: var(--altin); border-color: var(--altin); }
.dugme:not(.ana):hover { border-color: var(--soluk); }
.sahne .dugme:not(.ana) { background: color-mix(in srgb, var(--zemin) 55%, transparent); }

/* Yazı listesi (ana sayfa, Haberler, arama) */
.liste { border-top: 1px solid var(--cizgi); padding-block: 40px 72px; }
.liste-baslik { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.liste-baslik h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.liste-baslik a { color: var(--soluk); text-decoration: none; }
.liste-baslik a:hover { color: var(--altin); }
.satirlar { border-top: 1px solid var(--cizgi); }
.satirlar article { border-bottom: 1px solid var(--cizgi); }
.satir { display: grid; grid-template-columns: 96px 150px minmax(0, 1fr) 84px 64px; gap: 6px 20px; align-items: center;
  padding: 18px 10px; text-decoration: none; transition: background .25s; }
.satir:hover { background: var(--yuzey); }
.satir .tarih, .satir .cve { color: var(--soluk); font-variant-numeric: tabular-nums; }
.satir .govde { min-width: 0; display: grid; gap: 4px; }
.satir strong { font-weight: 500; font-size: 17px; line-height: 1.35; transition: color .2s; }
.satir:hover strong { color: var(--altin); }
.satir .ozet-metni { color: var(--soluk); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.satir .etiket { color: var(--soluk); font-size: 11px; }
.puan { font: 500 20px/1 var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.puan small { display: block; font-size: 10px; letter-spacing: .08em; color: var(--soluk); margin-top: 4px; }
.rozet { justify-self: start; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 4px;
  border: 1px solid var(--cizgi); color: var(--gumus); white-space: nowrap; }
.rozet.kev { border-color: var(--kev); color: var(--kev); }
.rozet.kritik { border-color: var(--kritik); color: var(--kritik); }
.bos { padding: 32px 8px; margin: 0; color: var(--soluk); }

/* Haberler sekmesi */
.haberler { padding-block: 48px 72px; }
.sayfa-basi { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 22px; }
.sayfa-basi h1 { margin: 0; font-family: var(--dev); font-stretch: 62%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(56px, 9vw, 120px); line-height: .85; letter-spacing: -.01em; }
.sayfa-basi h1 sup { font: 500 14px var(--mono); color: var(--altin); vertical-align: top; margin-left: 8px; letter-spacing: 0; }
.sayfa-basi p { margin: 0; color: var(--soluk); max-width: 46ch; }
.sayfalama { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 22px; color: var(--soluk); }

/* Metin sayfaları: yazı detayı, arama, hakkında, hata */
.metin-sayfa { padding-block: 48px 72px; }
.metin-sayfa .ic { max-width: 760px; }
.metin-sayfa h1 { margin: 12px 0 14px; font-weight: 600; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.metin-sayfa h2 { margin: 36px 0 10px; font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--altin); }
.metin-sayfa p, .metin-sayfa li { color: #cfcdc6; font-size: 17px; line-height: 1.65; }
.metin-sayfa ul { padding-left: 1.2em; }
.metin-sayfa a { color: var(--yazi); text-decoration-color: var(--altin); text-underline-offset: 3px; overflow-wrap: anywhere; }
.metin-sayfa a:hover { color: var(--altin); }
.geri { color: var(--soluk); text-decoration: none; }
.kunye { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; color: var(--soluk); }
.bilgi { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 24px 0 0; padding: 18px 0; border-block: 1px solid var(--cizgi); }
.bilgi dt { color: var(--soluk); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; padding-top: 3px; }
.bilgi dd { margin: 0; }
.uyari { border-left: 2px solid var(--kev); padding: 4px 0 4px 16px; }
.arama-formu { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 18px; }
.arama-formu label { display: grid; gap: 6px; color: var(--soluk); font-size: 13px; flex: 1 1 220px; min-width: 0; }
.arama-formu input, .arama-formu select { font: 16px var(--govde); color: var(--yazi); background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 8px; padding: 10px 12px; width: 100%; }
.arama-formu .dugme { flex: none; }
.sonuc-sayisi { color: var(--soluk); margin-top: 28px; }
.metin-sayfa .satirlar { margin-top: 12px; }

/* Alt bilgi */
.alt { border-top: 1px solid var(--cizgi); padding-block: 28px 40px; color: var(--soluk); font-size: 13px; }
.alt .ic { display: grid; gap: 8px; }
.alt p { margin: 0; max-width: 90ch; }

@media (max-width: 860px) {
  .satir { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 4px; }
  .satir .tarih { grid-column: 1; grid-row: 1; }
  .satir .cve { grid-column: 2; grid-row: 1; text-align: right; }
  .satir .govde { grid-column: 1 / -1; grid-row: 2; }
  .satir .rozet { grid-column: 1; grid-row: 3; }
  .satir .puan { grid-column: 2; grid-row: 3; }
  .satir .puan small { display: inline; margin-left: 6px; }
}
@media (max-width: 760px) {
  .sahne { min-height: 0; }
  .sahne::before { left: 50%; top: 34%; }
  .dev { inset: 52px 0 auto; font-size: 25vw; }
  .figur { position: relative; left: 50%; height: auto; width: min(82vw, 420px); margin-top: 40px; }
  .figur img { width: 100%; height: auto; }
  .on { min-height: 0; padding-block: 0 36px; margin-top: -60px; }
  .on .ust { position: absolute; top: 14px; left: 0; right: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }
