/* Slowlight sitesi. Renkler oyunun arayüzünden: koyu lacivert zemin, turuncu vurgu. */
:root {
  --zemin: #05070d;
  --panel: #0b101a;
  --panel-2: #111827;
  --cizgi: #1d2636;
  --yazi: #d8e0ec;
  --soluk: #8e9aac;
  --vurgu: #ff8a2a;
  --vurgu-koyu: #c25a0c;
  --mavi: #6cb6ff;
  --yesil: #6be38b;
  --kirmizi: #ff6b5a;
  --yaricap: 6px;
  --en: 1120px;
  --yazi-tipi: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --baslik-tipi: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--zemin);
  color: var(--yazi);
  font: 17px/1.6 var(--yazi-tipi);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Arka planda yavaş kayan yıldızlar. */
body::before {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: -1;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 80%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40% 60%, #ffd9b080 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 20%, #9cd0ff90 50%, transparent 51%),
    radial-gradient(1px 1px at 10% 90%, #fff5 50%, transparent 51%);
  background-size: 340px 340px, 420px 420px, 560px 560px, 300px 300px, 480px 480px;
  animation: yildiz 240s linear infinite;
  opacity: .7;
}
@keyframes yildiz { to { transform: translate3d(-340px, -170px, 0); } }

a { color: var(--vurgu); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--baslik-tipi); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

main > section, .alt, .ust { padding-left: 16px; padding-right: 16px; }
main > section > *, .alt > * { max-width: var(--en); margin-left: auto; margin-right: auto; }
main > section { padding-top: 64px; padding-bottom: 64px; }

/* Üst çubuk */
.ust {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 12px; padding-bottom: 12px;
  background: color-mix(in srgb, var(--zemin) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cizgi);
}
.marka { font-family: var(--baslik-tipi); font-weight: 800; letter-spacing: .28em; color: var(--yazi); font-size: 1.05rem; }
.marka:hover { text-decoration: none; color: var(--vurgu); }
.ust nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
.ust nav a:not(.dugme) { color: var(--yazi); }
.dil { display: inline-flex; gap: 10px; color: var(--soluk); font-size: .9rem; }
.dil span[aria-current] { color: var(--yazi); }
.dil a { color: var(--soluk); }

/* Düğmeler */
.dugme {
  display: inline-block; padding: 12px 22px; border-radius: var(--yaricap);
  background: var(--vurgu); color: #160a02; font-weight: 700; border: 0; cursor: pointer;
  font: 700 1rem var(--yazi-tipi);
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  box-shadow: 0 0 0 0 #ff8a2a00;
}
.dugme:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 28px -6px #ff8a2a99; background: #ff9d4a; }
.dugme.kucuk { padding: 7px 14px; font-size: .9rem; }
.dugme.ikincil { background: transparent; color: var(--yazi); border: 1px solid var(--cizgi); }
.dugme.ikincil:hover { border-color: var(--vurgu); box-shadow: none; }

.rozet {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--vurgu); border: 1px solid #ff8a2a66; background: #ff8a2a14;
}

/* Kahraman bölümü: oyundan görüntü, yavaş yakınlaşma */
.kahraman { position: relative; min-height: min(88vh, 860px); display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; padding-top: 0 !important; overflow: hidden; }
.kahraman > .kahraman-gorsel { max-width: none; margin: 0; }
.kahraman-gorsel {
  position: absolute; inset: 0;
  background: url("/statik/medya/ucus.jpg") 72% 38% / cover no-repeat;
  animation: yakinlas 30s ease-in-out infinite alternate;
}
.kahraman::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--zemin) 0%, var(--zemin) 26%, #05070d90 40%, #05070d00 58%),
    linear-gradient(180deg, #05070dd0 0%, #05070d00 22%, #05070d00 60%, #05070dc0 85%, var(--zemin) 100%);
}
@media (min-width: 761px) {
  .kahraman > .kahraman-gorsel { left: 26%; }
}
@media (max-width: 760px) {
  .kahraman-gorsel { background-position: 50% 30%; }
  .kahraman::after { background: linear-gradient(180deg, #05070d20 0%, #05070d40 35%, #05070de8 62%, var(--zemin) 100%); }
}
@keyframes yakinlas { from { transform: scale(1.02); } to { transform: scale(1.12) translateY(-1.5%); } }
.kahraman-ic { position: relative; z-index: 1; width: 100%; padding-bottom: 48px; animation: belir 1.2s ease-out both; }
.kahraman h1 { max-width: 13ch; text-shadow: 0 2px 30px #000a; }
.kahraman .alt-baslik { max-width: 46ch; }
.alt-baslik { color: var(--soluk); font-size: 1.15rem; max-width: 60ch; }
.kahraman .alt-baslik { color: #c6d0de; }
.eylem { margin-top: 24px; }
.durum { margin-top: 18px; font-size: .9rem; color: var(--soluk); display: flex; align-items: center; gap: 8px; }
.durum::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--soluk); }
.durum.acik::before { background: var(--yesil); box-shadow: 0 0 10px var(--yesil); animation: nabiz 2s ease-in-out infinite; }
.durum.kapali::before { background: var(--kirmizi); }
@keyframes nabiz { 50% { opacity: .35; } }
@keyframes belir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Kartlar */
.kart-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.kart {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--cizgi); border-radius: var(--yaricap); padding: 24px;
  transition: border-color .2s, transform .2s;
}
.kart:hover { border-color: #ff8a2a55; transform: translateY(-2px); }
.kart p { color: var(--soluk); margin: 0; }
.simge { display: inline-block; font-size: 1.5rem; color: var(--vurgu); margin-bottom: 8px; }
.taraf { border-top: 3px solid var(--cizgi); }
.taraf-dominion, .taraf-seal, .taraf-bureau { border-top-color: #b33a2e; }
.taraf-openway, .taraf-redbelt { border-top-color: var(--vurgu); }
.taraf-starshore, .taraf-nomads { border-top-color: var(--mavi); }
.taraf-barons { border-top-color: #8a8f99; }
.taraf-ruinmakers { border-top-color: #9b6bff; }
.not { color: var(--soluk); margin-top: 24px; font-style: italic; }

/* Görüntüler ve klipler */
.medya-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 18px; }
.medya { margin: 0; background: var(--panel); border: 1px solid var(--cizgi); border-radius: var(--yaricap); overflow: hidden; }
.medya img, .medya video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.medya figcaption { padding: 12px 16px; color: var(--soluk); font-size: .92rem; }

/* Dünya tanıtımı */
.dunya { background: radial-gradient(1200px 400px at 70% 50%, #b33a2e22, transparent 70%), var(--panel); border-top: 1px solid var(--cizgi); border-bottom: 1px solid var(--cizgi); }
.dunya-ic { max-width: 760px !important; }
.dunya p { color: #c3ccd9; }

/* Yazılar */
.yazi-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.yazi-kart { background: var(--panel); border: 1px solid var(--cizgi); border-radius: var(--yaricap); overflow: hidden; transition: border-color .2s, transform .2s; }
.yazi-kart:hover { border-color: #ff8a2a66; transform: translateY(-2px); }
.yazi-kart a { color: inherit; display: block; }
.yazi-kart a:hover { text-decoration: none; }
.yazi-kart img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.yazi-kart .ic { padding: 18px 20px 20px; }
.yazi-kart p { color: var(--soluk); }
.ust-bilgi { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--soluk); font-size: .88rem; margin-bottom: 10px; }
.devam { color: var(--vurgu); font-weight: 600; }

.yazi { max-width: 760px; margin: 0 auto; padding: 48px 16px 80px; }
.yazi .kapak { border-radius: var(--yaricap); border: 1px solid var(--cizgi); margin: 24px 0 32px; }
.govde h2 { margin-top: 1.6em; font-size: 1.5rem; }
.govde ul { padding-left: 1.2em; }
.govde li { margin-bottom: .6em; }
.govde li strong { color: var(--yazi); }
.govde .medya { margin: 28px 0; }
.geri { font-size: .92rem; }

/* Sayfa başı */
.sayfa-bas { padding-top: 72px !important; padding-bottom: 24px !important; }
.sayfa-bas.orta { text-align: center; min-height: 60vh; display: grid; align-content: center; }
.sayfa-bas.orta .alt-baslik { margin-left: auto; margin-right: auto; }
.sayfa-bas:not(.orta) > .alt-baslik { margin-left: max(0px, calc((100% - var(--en)) / 2)); }

/* Bekleme listesi */
.katil { text-align: left; }
.katil > * { max-width: 640px !important; }
.form label { display: block; font-size: .9rem; color: var(--soluk); margin-bottom: 6px; }
.form .satir { display: flex; gap: 10px; flex-wrap: wrap; }
.form input[type=email] {
  flex: 1 1 240px; min-width: 0; padding: 12px 14px; border-radius: var(--yaricap);
  border: 1px solid var(--cizgi); background: var(--panel-2); color: var(--yazi); font: inherit;
}
.form input[type=email]:focus { outline: 2px solid var(--vurgu); outline-offset: 1px; border-color: transparent; }
.gizli { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hata { color: var(--kirmizi); margin-top: 10px; }
.kucuk-yazi { color: var(--soluk); font-size: .85rem; margin-top: 12px; }

/* Alt bilgi */
.alt { border-top: 1px solid var(--cizgi); padding-top: 28px; padding-bottom: 40px; color: var(--soluk); font-size: .9rem; text-align: center; }
.alt .dil { justify-content: center; display: flex; }

/* Ekrana girince belirme (site.js .gorunur ekler) */
.belirecek { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.belirecek.gorunur { opacity: 1; transform: none; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .ust nav { gap: 12px; }
  .kahraman { min-height: 78vh; }
  main > section { padding-top: 48px; padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .belirecek { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- Günlük: türler ve kanallar */
.sekmeler { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.sekme { padding: 6px 14px; border: 1px solid var(--cizgi); border-radius: 999px; color: var(--soluk); font-size: .92rem; }
.sekme:hover { text-decoration: none; border-color: var(--vurgu); color: var(--yazi); }
.sekme[aria-current] { background: var(--vurgu); border-color: var(--vurgu); color: #160a02; font-weight: 600; }

.rozet.hikaye { color: #e9d7b6; border-color: #e9d7b666; background: #e9d7b614; }
.rozet.kanal-bureau { color: #ff6b5a; border-color: #ff6b5a66; background: #b33a2e22; }
.rozet.kanal-openway { color: var(--vurgu); border-color: #ff8a2a66; background: #ff8a2a14; font-style: italic; }
.damga { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-style: italic; color: #b9c2cf; }

/* Hikâye: kitap sayfası */
.yazi.tur-story .govde { font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif; font-size: 1.12rem; line-height: 1.75; color: #e3e7ee; }
.yazi.tur-story .govde > p:first-child::first-letter { float: left; font-size: 3.4em; line-height: .9; padding: 4px 10px 0 0; color: var(--vurgu); font-weight: 700; }
.yazi.tur-story h1 { font-family: Georgia, "Iowan Old Style", serif; font-weight: 600; }

/* Haber Divanı: resmî, soğuk, kırmızı-siyah */
.yazi.kanal-bureau { border-top: 6px solid #b33a2e; padding-top: 32px; }
.yazi.kanal-bureau .govde > p:first-child strong { display: block; letter-spacing: .14em; font-size: .85rem; color: #ff6b5a; border: 1px solid #b33a2e88; padding: 10px 14px; text-align: center; background: #b33a2e14; }
.yazi.kanal-bureau .govde em { color: #ff9b8f; }

/* Açık Yol: elden ele dolaşan kurye notu */
.yazi.kanal-openway .govde { border-left: 3px dashed #ff8a2a88; padding-left: 20px; }
.yazi.kanal-openway .govde > p:first-child em { color: var(--vurgu); }
.yazi-kart.tur-story h3, .yazi-kart.tur-news h3 { font-family: Georgia, "Iowan Old Style", serif; }

.evren-notu { margin-top: 32px; color: var(--soluk); font-size: .85rem; border-top: 1px solid var(--cizgi); padding-top: 12px; }

/* ---------------------------------------------------------------- İndirme sayfası */
.surum-son { background: var(--panel); border: 1px solid var(--cizgi); border-radius: var(--yaricap); padding: 24px; margin-bottom: 28px; }
.surum-son h2 { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.surum-son h2 small { font-size: .95rem; color: var(--soluk); font-weight: 400; }
.platformlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; margin: 18px 0; }
.platform { background: var(--panel-2); border: 1px solid var(--cizgi); border-radius: var(--yaricap); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.platform .dugme { text-align: center; }
.platform .ayrinti { color: var(--soluk); font-size: .8rem; word-break: break-all; }
.platform .ayrinti a { color: var(--soluk); text-decoration: underline; }
.surum-eski { list-style: none; padding: 0; }
.surum-eski li { border-top: 1px solid var(--cizgi); padding: 12px 0; display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline; }
.surum-eski li strong { min-width: 80px; }
.dogrula pre { background: var(--panel-2); border: 1px solid var(--cizgi); border-radius: var(--yaricap); padding: 14px; overflow-x: auto; font-size: .85rem; }
.dogrula code { word-break: break-all; }
