:root {
  --gece: #11132c;
  --gece-2: #181a3d;
  --kart: #1c1f4a;
  --kart-2: #242862;
  --cizgi: rgba(255, 255, 255, .09);
  --yazi: #f6efe3;
  --soluk: #b8b2cc;
  --krem: #fdf3e1;
  --gun: #e58a5c;
  --altin: #f3b562;
  --deniz: #2c4472;
  --kum: #b59c76;
  --isik: #ffe7a8;
  --yuvarlak: 16px;
  --baslik: "Baloo 2", "Nunito", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gece);
  color: var(--yazi);
  font: 16px/1.55 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--baslik); line-height: 1.1; margin: 0; }
:focus-visible { outline: 3px solid var(--altin); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Üst çubuk ---------- */
.ust {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 16px;
  background: rgba(17, 19, 44, .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cizgi);
}
.ust.seffaf { position: absolute; left: 0; right: 0; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 24px/1 var(--baslik); letter-spacing: .3px; color: var(--krem); }
.logo img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(253, 243, 225, .6); }
.ust nav { margin-left: auto; display: flex; gap: 4px; }
.ust nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--soluk); }
.ust nav a:hover { color: var(--yazi); background: rgba(255, 255, 255, .07); }

/* ---------- Kahraman alanı ---------- */
.kahraman {
  position: relative; overflow: hidden;
  min-height: min(92svh, 780px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 16px 0;
  background: linear-gradient(180deg, #0c0f2a 0%, #1d1b4a 34%, #3b2a62 52%, #a85a5e 68%, #e48d5f 77%, #f4bf7c 82%);
}
.kahraman::before {
  content: ""; position: absolute; inset: 0 0 30% 0; pointer-events: none; opacity: .85;
  background-image:
    radial-gradient(1.4px 1.4px at 18px 26px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 210px 40px, #ffe9c2, transparent),
    radial-gradient(1px 1px at 60px 150px, #fff, transparent),
    radial-gradient(1.6px 1.6px at 260px 170px, #fff, transparent),
    radial-gradient(1px 1px at 170px 210px, #dfe6ff, transparent);
  background-size: 290px 240px;
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
  mask-image: linear-gradient(#000 40%, transparent);
}
.deniz {
  position: absolute; left: 0; right: 0; bottom: 70px; height: 16%;
  background: linear-gradient(180deg, #3a4f80 0%, #253863 55%, #1c2b50 100%);
  box-shadow: 0 -1px 0 rgba(255, 220, 170, .55);
}
.kum {
  position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
  background: linear-gradient(180deg, #a48a66, #8c7556);
}
.isik {
  position: absolute; bottom: calc(70px + 10%); left: 46%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--isik);
  box-shadow: 0 0 12px 4px rgba(255, 231, 168, .8), 0 0 40px 14px rgba(255, 210, 120, .35);
  animation: yanip-son 3.2s ease-in-out infinite;
}
@keyframes yanip-son { 0%, 100% { opacity: .25; transform: scale(.7); } 45%, 55% { opacity: 1; transform: scale(1); } }

.kahraman-ic { position: relative; z-index: 2; width: 100%; max-width: 1120px; margin: 0 auto; display: grid; gap: 8px; align-items: end; padding-bottom: calc(70px + 9svh); }
.kahraman h1 { font-size: clamp(64px, 15vw, 132px); font-weight: 800; color: var(--krem); text-shadow: 0 4px 0 rgba(40, 26, 60, .55), 0 18px 40px rgba(0, 0, 0, .35); letter-spacing: 1px; }
.kahraman .alt { font-size: clamp(17px, 2.4vw, 21px); max-width: 32ch; color: #fff5e6; text-shadow: 0 1px 10px rgba(30, 20, 60, .6); margin: 4px 0 18px; }
.maskot {
  position: absolute; z-index: 1; right: max(2vw, calc(50% - 600px)); bottom: 52px;
  width: clamp(190px, 38vw, 470px); height: auto;
  filter: drop-shadow(0 22px 18px rgba(30, 18, 30, .45));
  animation: sallan 5s ease-in-out infinite;
}
@keyframes sallan { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }

.dugmeler { display: flex; flex-wrap: wrap; gap: 10px; }
.dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 0; background: var(--krem); color: #23204a;
  transition: transform .15s ease, background .15s ease;
}
.dugme:hover { transform: translateY(-1px); background: #fff; }
.dugme.ikincil { background: rgba(255, 255, 255, .14); color: var(--yazi); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.dugme.ikincil:hover { background: rgba(255, 255, 255, .22); }
.dugme svg { width: 18px; height: 18px; flex: none; }
.devam { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; color: #fff3df; }
.devam a { font-weight: 800; color: var(--krem); }

/* ---------- Bölümler ---------- */
.bolum-alani { max-width: 1120px; margin: 0 auto; padding: 56px 16px 24px; }
.baslik-satiri { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 22px; }
.ust-etiket { font-weight: 800; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--altin); }
.baslik-satiri h2 { font-size: clamp(30px, 5vw, 42px); margin-top: 2px; }
.baslik-satiri p { margin: 0; color: var(--soluk); font-style: italic; }
.izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 18px 14px; }
@media (min-width: 720px) { .izgara { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px 20px; } }

.kart { display: flex; flex-direction: column; gap: 10px; }
.kart-resim { position: relative; display: block; border-radius: var(--yuvarlak); overflow: hidden; aspect-ratio: 4 / 5; background: var(--kart); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.kart-resim img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.kart-resim:hover img { transform: scale(1.035); }
.rozet { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(17, 19, 44, .82); font: 800 13px/1.4 var(--baslik); color: var(--krem); }
.rozet.sag { left: auto; right: 8px; display: inline-flex; gap: 4px; align-items: center; }
.rozet svg { width: 11px; height: 11px; }
.yeni { position: absolute; top: 8px; left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--gun); color: #2a1520; font-weight: 800; font-size: 12px; }
.kart h3 { font-size: 20px; }
.kart h3 a { text-decoration: none; }
.kart p { margin: 0; color: var(--soluk); font-size: 14.5px; line-height: 1.45; }
.kart .eylem { display: flex; gap: 8px; margin-top: auto; }
.kart .eylem a { flex: 1; min-height: 40px; padding: 0 10px; font-size: 15px; }
@media (max-width: 420px) { .kart p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } }

.yakinda { margin-top: 28px; padding: 22px; border-radius: var(--yuvarlak); background: linear-gradient(135deg, #1b2c55, #1a1d47); border: 1px dashed rgba(255, 255, 255, .18); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.yakinda h3 { font-size: 24px; }
.yakinda p { margin: 0; color: var(--soluk); }

/* ---------- Ekip ---------- */
.ekip { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.uye { padding: 16px 18px; border-radius: var(--yuvarlak); background: var(--kart); border-top: 4px solid var(--renk, var(--altin)); }
.uye h3 { font-size: 22px; display: flex; gap: 8px; align-items: baseline; }
.uye h3 small { font: 700 13px/1 "Nunito", sans-serif; color: var(--soluk); }
.uye p { margin: 6px 0 0; color: #d9d3e6; font-size: 15px; }

.alt-bilgi { margin-top: 48px; padding: 28px 16px 40px; border-top: 1px solid var(--cizgi); text-align: center; color: var(--soluk); font-size: 14px; }
.sosyal { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sosyal a { text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-weight: 700; color: var(--yazi); }
.sosyal a:hover { background: rgba(255, 255, 255, .14); }

/* ---------- Bölüm sayfası üst çubuğu ---------- */
.geri { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; flex: none; }
.geri:hover { background: rgba(255, 255, 255, .08); }
.geri svg { width: 22px; height: 22px; }
.bolum-adi { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.bolum-adi small { font-size: 12px; font-weight: 800; color: var(--altin); letter-spacing: .6px; text-transform: uppercase; }
.bolum-adi b { font: 700 17px/1.2 var(--baslik); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.secici { margin-left: auto; display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); flex: none; }
.secici a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 14px; color: var(--soluk); }
.secici a[aria-current="page"] { background: var(--krem); color: #23204a; }
.secici svg { width: 15px; height: 15px; }
.ilerleme { position: fixed; top: 60px; left: 0; right: 0; height: 3px; z-index: 21; pointer-events: none; }
.ilerleme i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gun), var(--altin)); }

/* ---------- Okuyucu ---------- */
.okuyucu { background: #0b0c20; }
.sayfalar { max-width: 760px; margin: 0 auto; padding: 0 0 8px; }
.sayfalar img { width: 100%; height: auto; background: #1a1b36; }
.sayfalar img + img { margin-top: 2px; }
.bolum-sonu { max-width: 760px; margin: 0 auto; padding: 36px 16px 56px; text-align: center; }
.bolum-sonu .ust-etiket { display: block; margin-bottom: 14px; }

.sonraki {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; text-align: left;
  padding: 12px; border-radius: 20px; background: var(--kart); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--cizgi); transition: background .2s ease, box-shadow .2s ease;
}
.sonraki:hover, .sonraki.vurgu { background: var(--kart-2); box-shadow: inset 0 0 0 2px var(--altin); }
.sonraki img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.sonraki small { display: block; color: var(--altin); font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.sonraki b { display: block; font: 700 22px/1.15 var(--baslik); margin: 2px 0 4px; }
.sonraki span { color: var(--soluk); font-size: 14px; display: block; }
.alt-gezinti { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.bitis { padding: 22px; border-radius: 20px; background: linear-gradient(135deg, #1b2c55, #1a1d47); }
.bitis b { display: block; font: 800 26px/1.15 var(--baslik); margin-bottom: 6px; }
.bitis p { margin: 0; color: var(--soluk); }

/* ---------- İzleme ---------- */
.izleme { max-width: 1120px; margin: 0 auto; padding: 16px; display: grid; gap: 20px; }
.oynatici { position: relative; margin: 0 auto; width: 100%; max-width: calc((100svh - 60px - 32px) * 9 / 16); aspect-ratio: 9 / 16; background: #000; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.oynatici video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.bilgi h1 { font-size: clamp(28px, 4vw, 38px); margin: 2px 0 8px; }
.bilgi > p { margin: 0 0 16px; color: #ddd7ea; }
.ayarlar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ayarlar .dugme { min-height: 40px; padding: 0 16px; font-size: 15px; }
.kalite[aria-pressed="true"] { background: var(--altin); color: #2a1a10; box-shadow: none; }
.liste { display: grid; gap: 6px; margin-top: 22px; }
.liste h2 { font-size: 20px; margin-bottom: 6px; }
.liste a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 6px 8px; border-radius: 12px; text-decoration: none; }
.liste a:hover { background: rgba(255, 255, 255, .06); }
.liste a[aria-current="page"] { background: rgba(243, 181, 98, .14); box-shadow: inset 0 0 0 1px rgba(243, 181, 98, .4); }
.liste img { width: 44px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.liste span { font-weight: 700; font-size: 15px; line-height: 1.25; }
.liste span small { display: block; font-weight: 700; color: var(--soluk); font-size: 12px; }
.liste em { font-style: normal; color: var(--soluk); font-size: 13px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .izleme { grid-template-columns: minmax(0, auto) 380px; align-items: start; padding-top: 24px; }
  .oynatici { width: calc((100svh - 60px - 48px) * 9 / 16); max-width: 520px; }
  .bilgi { position: sticky; top: 84px; max-height: calc(100svh - 100px); overflow: auto; padding-right: 4px; }
}

.bos { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.bos img { width: 220px; margin: 0 auto 16px; }
.bos h1 { font-size: 44px; margin-bottom: 8px; }
.bos p { color: var(--soluk); margin: 0 0 20px; }

@media (max-width: 560px) {
  .ust nav { display: none; }
  .secici a { padding: 7px 11px; }
  .secici a span { display: none; }
  .secici svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
