/* sultansiege.site — Yön 2 "Aydınlık oyun dünyası" (docs/web/mockup/yon2_*.png ölçü/renk referansı).
   Yüzeyler oyunun v13 dokularıdır (border-image 9-dilim); dilim sayıları site/gorsel/* KAYNAK pikselidir:
     plaka.webp 560x212 (v13grad/savas_r56)   : 40 64 40 64   (köşe pahı + altın kenar)
     bant.webp  1024x256 (satir_vurgu)         : 56 64 56 64
     cta_altin.webp 1000x186 (Codex)          : 50 104 50 104  (yan dilim ~ yarı yükseklik -> hap uçları)
     kurdele.webp   512x56 (Codex)            : 6 64 6 64
     panel.webp 512x768 (panel_form, mavi dolgu x0,6): 136 (iç köşe pahı ~130 px'e iner; dilim pahı tam içermeli)
   CSP default-src 'self': satır içi stil/betik YOK. */

@font-face {
  font-family: "Paytone One";
  src: url("/font/PaytoneOne.woff2?v=b5faa390") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("/font/Rubik.woff2?v=7cdf7833") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --gok: #3d97e6;
  --gok-koyu: #1f6fd1;
  --lacivert: #0b2466;
  --lacivert-2: #12358a;
  --altin: #ffcf33;
  --altin-koyu: #f0a417;
  --krem: #fff4d6;
  --baslik: "Paytone One", "Rubik", system-ui, sans-serif;
  --govde: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--govde);
  font-size: 17px;
  line-height: 1.6;
  color: #fff;
  background: var(--gok);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }

.atla {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--lacivert); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.atla:focus { top: 12px; }

/* ------------------------------------------------------------ başlık yazısı
   Altın gradyan dolgu + lacivert kontur/gölge, üç katman: gerçek metin (saydam; seçilebilir,
   okuyucular bunu okur), ::before kontur+gölge, ::after gradyan dolgu (ikisi de data-metin). */
.baslik {
  position: relative;
  display: inline-block;
  margin: 0;
  font-family: var(--baslik);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.005em;
  text-wrap: balance;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.baslik::before, .baslik::after {
  content: attr(data-metin);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.baslik::before {
  -webkit-text-fill-color: var(--lacivert);
  color: var(--lacivert);
  -webkit-text-stroke: 0.2em var(--lacivert);
  text-shadow: 0 0.1em 0 var(--lacivert), 0 0.18em 0.16em rgba(4, 16, 52, 0.5);
}
.baslik::after {
  background: linear-gradient(180deg, #fff6b8 0%, #ffe04a 38%, #ffc21a 62%, #f39a0c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.buyuk { font-size: clamp(36px, 5.5vw, 80px); }

/* ------------------------------------------------------------ üst menü */
.ust {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  padding: 18px 20px 0;
}
.ust-bant {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-style: solid;
  border-width: 16px 22px;
  border-image: url("/gorsel/bant.webp?v=ad666a9e") 56 64 fill / 16px 22px stretch;
  filter: drop-shadow(0 6px 8px rgba(5, 20, 60, 0.35));
}
.logo { flex: none; margin: -52px 0 -74px -22px; }
.logo img { width: 224px; }
.menu { list-style: none; display: flex; gap: 6px; margin-left: auto; align-items: center; }
.menu a, .dil a {
  font-family: var(--baslik);
  text-decoration: none;
  text-shadow: 0 2px 0 var(--lacivert);
}
.menu a {
  display: block;
  font-size: 22px;
  padding: 2px 18px;
  border: 0 solid transparent;
}
.menu a:hover, .menu a:focus-visible { color: var(--altin); }
.menu a.aktif {
  border-width: 10px 22px;
  padding: 0 10px;
  border-image: url("/gorsel/plaka.webp?v=2419788b") 40 64 fill / 10px 22px stretch;
}
.dil {
  display: flex; align-items: center; gap: 8px;
  margin-left: 18px;
  padding: 4px 14px;
  border: 2px solid var(--altin-koyu);
  border-radius: 10px;
  background: rgba(8, 26, 80, 0.55);
  font-size: 18px;
}
.dil span { color: var(--altin-koyu); }
.dil a { padding: 0 2px; }
.dil a.secili { color: var(--altin); }

/* ------------------------------------------------------------ kahraman alanı */
.kahraman {
  position: relative;
  overflow: hidden;
  min-height: 1100px;
  padding: 150px 24px 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Geniş sahne (Codex 2880x1800): masaüstünde kale üstte, sur altta; özellik plakaları sura oturur */
  background-color: #57a9ee;
  background-image: url("/gorsel/sahne_genis_1440.webp?v=50998ffe");
  background-image: image-set(url("/gorsel/sahne_genis_1440.webp?v=50998ffe") 1x, url("/gorsel/sahne_genis_2400.webp?v=ed7c17fd") 2x);
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}
.kahraman-ic {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;          /* geniş karakter görseli kapsayıcıyı germesin; taşan kısım iki yana eşit taşar */
  max-width: 1240px;
}
.kahramanlar {
  width: 1000px;
  max-width: none;
  margin-bottom: -118px;
  filter: drop-shadow(0 10px 14px rgba(6, 20, 60, 0.35));
}
.kahraman .baslik { position: relative; z-index: 1; }
.alt-metin {
  margin: 16px 0 26px;
  max-width: 780px;
  font-size: 25px;
  line-height: 1.38;
  font-weight: 600;
  text-shadow: 0 2px 0 var(--lacivert), 0 0 12px rgba(5, 20, 70, 0.85), 0 3px 18px rgba(5, 20, 70, 0.7);
}
.cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-width: 440px;
  min-height: 100px;
  border-style: solid;
  border-width: 26px 54px;
  /* cta_altin.webp 1000x186 (Codex, yeşil CTA geometrisi): yan dilim 104 = hap ucu, üst/alt 50 */
  border-image: url("/gorsel/cta_altin.webp?v=caeaf9a3") 50 104 fill / 26px 54px stretch;
  filter: drop-shadow(0 8px 10px rgba(5, 25, 50, 0.45));
  line-height: 1.15;
  color: #4a1d00;
}
.cta-ust {
  font-family: var(--baslik);
  font-size: 30px;
  text-shadow: 0 1px 0 rgba(255, 244, 190, 0.85);
}
.cta-alt { font-size: 16px; font-weight: 700; color: #5c2a00; }

.davet {
  margin-top: 22px;
  padding: 14px 26px;
  border: 3px solid var(--altin);
  border-radius: 16px;
  background: rgba(11, 36, 102, 0.88);
  font-size: 19px;
}
.davet p { margin: 0; }
.davet strong { font-family: var(--baslik); font-weight: 400; color: var(--altin); letter-spacing: 0.08em; font-size: 26px; }
.davet-yol { font-size: 16px; opacity: 0.92; }

.sancak { position: absolute; z-index: 1; width: 150px; top: 150px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.3)); }
.sancak-sol { left: 18px; }
.sancak-sag { right: 18px; }

/* Özellik plakaları (oyunun SAVAŞ plakası yüzeyi) */
.ozellikler {
  position: relative;
  z-index: 2;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  max-width: 1160px;
  margin-top: 56px;
}
.plaka {
  border-style: solid;
  border-width: 19px 30px;
  border-image: url("/gorsel/plaka.webp?v=2419788b") 40 64 fill / 19px 30px stretch;
  filter: drop-shadow(0 7px 8px rgba(5, 20, 60, 0.4));
}
.ozellikler .plaka {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 112px;
  padding: 0 2px;
  font-family: var(--baslik);
  font-size: 22px;
  line-height: 1.15;
  text-shadow: 0 2px 0 var(--lacivert);
}
.ozellikler img { width: 64px; flex: none; }

/* Taş sur (Codex tas_sur_doku, döşenebilir 1024): bölüm geçişlerinde şerit, kart bölümünde zemin */
.tas-serit, .ordu {
  background-color: #b7bec9;
  background-image: url("/gorsel/tas_sur_512.webp?v=a364c073");
  background-image: image-set(url("/gorsel/tas_sur_512.webp?v=a364c073") 1x, url("/gorsel/tas_sur_1024.webp?v=59cbf648") 2x);
  background-size: 320px 320px;
  background-repeat: repeat;
}
.tas-serit {
  height: 72px;
  background-position: center top;
  border-top: 4px solid #59606d;
  border-bottom: 4px solid #59606d;
  box-shadow: inset 0 10px 14px -8px rgba(10, 20, 40, 0.45), inset 0 -10px 14px -8px rgba(10, 20, 40, 0.45);
}

/* ------------------------------------------------------------ ordu (kartlar) */
.ordu {
  position: relative;
  padding: 54px 24px 70px;
  text-align: center;
  background-position: center center;
}
.plaka-baslik {
  display: inline-block;
  margin: 0 0 34px;
  padding: 2px 34px 6px;
  border-width: 22px 34px;
  border-image-width: 22px 34px;
}
.plaka-baslik .baslik { font-size: clamp(34px, 4.4vw, 58px); }
.kartlar {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  max-width: 1220px;
  margin: 0 auto;
}
.kart { position: relative; filter: drop-shadow(0 8px 10px rgba(5, 20, 60, 0.45)); }
.kart img { width: 100%; }
/* Kart adı: Codex kurdele_ad (512x56) 9-dilim; uçlar 64 px sabit, orta bant uzar. Kartın krem
   plakasının (çerçevede %75,6-%90,6) üstüne biner. */
.kart-ad {
  position: absolute;
  left: -6%; right: -6%;
  top: 75.2%; height: 15.8%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px 2px;
  border-style: solid;
  border-width: 3px 18%;
  border-image: url("/gorsel/kurdele.webp?v=15575f6b") 6 64 6 64 fill / 3px 18% stretch;
  font-family: var(--baslik);
  font-size: clamp(12px, 1.2vw, 18px);
  line-height: 1.02;
  color: #fff;
  text-shadow: 0 2px 0 #5c0006, 0 0 4px rgba(60, 0, 4, 0.7);
  white-space: nowrap;
}

/* ------------------------------------------------------------ reklam yok / oran şeffaflığı (telefon + metin) */
.guc {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 40px;
  padding: 60px max(24px, calc((100% - 1160px) / 2)) 64px;
  background: #6fb3ee url("/gorsel/ufuk.webp?v=de21b194") center 36% / cover no-repeat;
}
.telefon {
  justify-self: center;
  width: 300px;
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(145deg, #3a4150, #10131b 45%, #2b303c);
  box-shadow: 0 0 0 2px #5b6272, 0 26px 40px rgba(5, 15, 40, 0.5);
  transform: rotate(-5deg);
}
.telefon img { border-radius: 40px; }
.guc-metin { text-align: center; }
/* Başlığın altındaki açıklama: gövde fontu, yoğun sahne üstünde okunsun diye lacivert yarı saydam plaka */
.guc-alt {
  display: inline-block;
  margin: 18px auto 0;
  max-width: 560px;
  padding: 14px 22px;
  border: 3px solid var(--altin-koyu);
  border-radius: 16px;
  background: rgba(8, 26, 80, 0.8);
  font-size: 21px;
  line-height: 1.45;
  font-weight: 600;
}

/* ------------------------------------------------------------ iç sayfalar (yasal, hesap silme, 404) */
body.ic {
  background: var(--gok-koyu) url("/gorsel/sahne.webp?v=9964932b") center top / 100% auto no-repeat;
}
@media (max-aspect-ratio: 9/16) {
  body.ic { background-size: auto 100vh; }
}
.ic .ust { position: relative; }
.sayfa { padding: 64px 20px 72px; }
.panel {
  max-width: 900px;
  margin: 0 auto;
  border-style: solid;
  border-width: 64px;
  border-image: url("/gorsel/panel.webp?v=d0d73997") 136 fill / 64px stretch;
  padding: 0 8px 4px;
  filter: drop-shadow(0 12px 18px rgba(5, 20, 60, 0.45));
}
.panel-dar { max-width: 680px; }
.panel h1, .panel h2 {
  font-family: var(--baslik);
  font-weight: 400;
  color: var(--altin);
  text-shadow: 0 2px 0 var(--lacivert);
  line-height: 1.2;
}
.panel h1 { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 12px; }
.panel h2 { font-size: clamp(19px, 2.2vw, 24px); margin: 28px 0 8px; }
.panel p { margin: 0 0 12px; }
.panel ul, .panel ol { margin: 0 0 14px; padding-left: 24px; }
.panel li { margin: 6px 0; }
.panel a { color: var(--krem); text-decoration-color: var(--altin); text-underline-offset: 3px; }
.panel strong { color: var(--krem); }
.panel .surum { font-size: 15px; color: #e3edff; }  /* koyulaştırılmış panel dolgusunda en kötü 6,18:1 (ölçüldü) */
.yasal { overflow-wrap: anywhere; }

/* Basın kiti */
.bilgi { margin: 0 0 14px; display: grid; gap: 6px; }
.bilgi div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; }
.bilgi dt { font-weight: 700; color: var(--krem); }
.bilgi dd { margin: 0; }
.indir { list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.indir-logo { grid-template-columns: repeat(2, minmax(0, 220px)); }
.indir-ekran { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.indir a {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 10px; border-radius: 14px; text-decoration: none; text-align: center;
  background: rgba(4, 18, 60, 0.45); border: 2px solid rgba(255, 207, 51, 0.55);
  font-size: 15px; line-height: 1.25;
}
.indir a:hover, .indir a:focus-visible { border-color: var(--altin); background: rgba(4, 18, 60, 0.7); }
.indir-logo img { max-height: 150px; width: auto; }
.indir-ekran img { border-radius: 10px; }

/* ------------------------------------------------------------ alt bilgi */
.alt {
  background: linear-gradient(180deg, #123a92, #0a225f);
  border-top: 3px solid var(--altin-koyu);
  padding: 22px 24px 18px;
  font-size: 16px;
}
.alt-ic {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.alt p { margin: 0; }
.alt a { color: #fff; text-decoration: none; white-space: nowrap; }
.alt a:hover, .alt a:focus-visible { color: var(--altin); text-decoration: underline; }
.alt span[aria-hidden] { color: var(--altin-koyu); margin: 0 4px; }
.alt-sus {
  width: 14px; height: 14px;
  transform: rotate(45deg);
  background: var(--altin);
  box-shadow: 0 0 0 3px #0a225f, 0 0 0 5px var(--altin-koyu);
}
.alt-not { max-width: 1200px; margin: 12px auto 0 !important; text-align: center; font-size: 13px; color: #b9c9ee; }

:focus-visible { outline: 3px solid var(--altin); outline-offset: 3px; }

/* ------------------------------------------------------------ dar ekran */
@media (max-width: 1100px) {
  .menu a { font-size: 19px; padding: 2px 10px; }
  .ozellikler { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
  .kartlar { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
  .kart-ad { font-size: clamp(14px, 2.4vw, 22px); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .ust { padding: 10px 8px 0; }
  .ust-bant { min-height: 52px; gap: 6px; border-width: 10px 14px; border-image-width: 10px 14px; }
  .logo { margin: -22px 0 -34px -10px; }
  .logo img { width: 92px; }
  .menu { gap: 0; }
  .menu a { font-size: 14px; padding: 0 6px; }
  .menu a.aktif { border-width: 6px 12px; border-image-width: 6px 12px; padding: 0 2px; }
  .dil { margin-left: 4px; padding: 2px 6px; gap: 4px; font-size: 13px; border-width: 1.5px; border-radius: 8px; }

  .kahraman {
    min-height: 0; padding: 92px 14px 28px;
    /* dar ekranda dikey sahne (zemin_acilis) — geniş sahne 390'da yalnız deniz bırakıyor */
    background-image: url("/gorsel/sahne.webp?v=9964932b");
    background-position: center 30%;
  }
  .kahramanlar { width: 130vw; margin-bottom: -40px; }
  .buyuk { font-size: clamp(36px, 11.2vw, 52px); }
  .alt-metin { font-size: 17px; margin: 10px 0 18px; }
  .cta { min-width: 300px; min-height: 76px; border-width: 20px 41px; border-image-width: 20px 41px; }
  .cta-ust { font-size: 22px; white-space: nowrap; }
  html[lang="en"] .cta-ust { font-size: 18px; }
  .cta-alt { font-size: 13px; }
  .sancak { width: 64px; top: 168px; }
  .sancak-sol { left: -14px; }
  .sancak-sag { right: -14px; }
  .ozellikler { gap: 10px; margin-top: 26px; }
  .plaka { border-width: 12px 19px; border-image-width: 12px 19px; }
  .ozellikler .plaka { min-height: 68px; font-size: 15px; gap: 8px; padding: 0; }
  .ozellikler img { width: 38px; }
  .tas-serit { height: 44px; background-size: 200px 200px; }

  .ordu { padding: 36px 16px 44px; background-size: 200px 200px; }
  .plaka-baslik { margin-bottom: 22px; padding: 0 16px 4px; border-width: 16px 25px; border-image-width: 16px 25px; }
  .plaka-baslik .baslik { font-size: 34px; }
  .kartlar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 340px; }
  .kart-ad { font-size: 14px; }

  .guc { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 8px; min-height: 0; padding: 40px 10px 44px; }
  .telefon { width: 100%; max-width: 190px; padding: 7px; border-radius: 30px; }
  .telefon img { border-radius: 24px; }
  .guc .buyuk { font-size: clamp(26px, 7.6vw, 36px); }
  .guc-alt { font-size: 14px; padding: 9px 11px; margin-top: 10px; border-width: 2px; border-radius: 12px; }

  .sayfa { padding: 34px 8px 44px; }
  .panel { border-width: 42px 34px; border-image-width: 42px 34px; padding: 0 0 4px; }
  .alt { font-size: 15px; padding: 20px 12px 16px; }
  .indir-ekran { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .indir-logo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bilgi div { grid-template-columns: 1fr; gap: 0; }
  .alt-ic { flex-direction: column; text-align: center; gap: 10px; }
}
