:root {
  --zemin: #0b0c0f;
  --yuzey: #14161b;
  --yuzey2: #1e2129;
  --cizgi: #2b2f39;
  --yazi: #f4f4f1;
  --soluk: #a4aab5;
  --silik: #6c727e;
  --kirmizi: #d62830;
  --kirmizi-acik: #ff5a61;
  --yesil: #45c486;
  --ust: env(safe-area-inset-top, 0px);
  --alt: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--zemin); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--zemin);
  color: var(--yazi);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.ikon { flex: none; display: block; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gizli-yazi { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

#uyg { max-width: 480px; min-height: 100dvh; margin: 0 auto; position: relative; }
@media (min-width: 520px) {
  body { background: #050608; }
  #uyg { background: var(--zemin); box-shadow: 0 0 0 1px #16181d; }
}

.acilis { min-height: 100dvh; display: grid; place-items: center; }
.donen {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid #ffffff2e; border-top-color: #fff;
  animation: don .8s linear infinite;
}
@keyframes don { to { transform: rotate(360deg); } }
.js-yok { padding: 40px 20px; text-align: center; color: var(--soluk); }

/* ---------- düğmeler ---------- */
.dugme {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; padding: 12px 18px;
  border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none;
  transition: transform .08s ease, background .15s ease;
}
.dugme:active { transform: scale(.98); }
.dugme.ana { background: var(--kirmizi); color: #fff; }
.dugme.ana:active { background: #b81f27; }
.dugme.ikincil { background: var(--yuzey2); color: var(--yazi); }
.dugme.cizgili { border: 1px solid var(--cizgi); color: var(--yazi); min-height: 48px; font-size: 15px; font-weight: 600; }
.dugme[disabled] { opacity: .55; pointer-events: none; }
.baglanti { color: var(--soluk); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }

/* ---------- dizi sayfası ---------- */
.ust {
  position: absolute; z-index: 3; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--ust) + 12px) 16px 12px;
}
.ust.duz { position: static; border-bottom: 1px solid var(--cizgi); }
.marka { font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none; text-shadow: 0 1px 8px #000a; }
.marka::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 3px; border-radius: 50%; background: var(--kirmizi); }
.hap {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px;
  border-radius: 999px; background: #0b0c0fb0; border: 1px solid #ffffff26;
  font-size: 13.5px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hap.acik { color: var(--yesil); border-color: #45c48655; }

.afis { position: relative; aspect-ratio: 4 / 5; background: var(--yuzey); overflow: hidden; }
.afis img { width: 100%; height: 100%; object-fit: cover; }

.govde { padding: 4px 18px calc(var(--alt) + 28px); }
.tur { color: var(--soluk); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ozet { margin-top: 8px; font-size: 21px; line-height: 1.28; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.tanitim { margin-top: 10px; color: var(--soluk); font-size: 15.5px; }
.eylem { margin-top: 18px; display: grid; gap: 10px; }
.eylem-alt { text-align: center; color: var(--silik); font-size: 13px; }

.bolum-basligi { display: flex; align-items: baseline; justify-content: space-between; margin: 30px 0 12px; }
.bolum-basligi h2 { font-size: 18px; font-weight: 750; }
.bolum-basligi span { color: var(--soluk); font-size: 13.5px; }

.izgara { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.kare {
  position: relative; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 12px; background: var(--yuzey2); border: 1px solid transparent;
  font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums;
}
.kare:active { transform: scale(.96); }
.kare .ikon { position: absolute; top: 5px; right: 5px; color: var(--silik); }
.kare.kilitli { background: var(--yuzey); border-color: var(--cizgi); color: var(--soluk); }
.kare.yakinda { background: none; border: 1px dashed var(--cizgi); color: var(--silik); font-weight: 600; }
.kare.izlendi { color: var(--soluk); }
.kare.izlendi::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 7px; height: 3px; border-radius: 2px; background: var(--kirmizi); }
.kare.simdi { border-color: var(--kirmizi); box-shadow: 0 0 0 1px var(--kirmizi); color: #fff; }
.aciklama-satiri { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; color: var(--silik); font-size: 12.5px; }
.aciklama-satiri span { display: inline-flex; align-items: center; gap: 6px; }
.nokta { width: 10px; height: 10px; border-radius: 3px; background: #454a57; }
.nokta.kilitli { background: var(--yuzey); border: 1px solid var(--cizgi); }
.nokta.yakinda { background: none; border: 1px dashed var(--silik); }

.satirlar { display: grid; gap: 10px; margin-top: 16px; }
.satir {
  display: grid; grid-template-columns: 66px 1fr auto; gap: 14px; align-items: center; text-align: left;
  width: 100%; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--yuzey);
}
.satir:active { background: var(--yuzey2); }
.satir-resim { position: relative; aspect-ratio: 3 / 4; border-radius: 9px; overflow: hidden; background: var(--yuzey2); }
.satir-resim img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.satir-resim i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--kirmizi); }
.satir-ad { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.satir-alt { margin-top: 3px; color: var(--soluk); font-size: 13px; }
.satir-alt b { font-weight: 600; color: var(--kirmizi-acik); }
.satir-sag { color: var(--soluk); }

.kart { margin-top: 28px; padding: 18px; border-radius: 16px; background: var(--yuzey); border: 1px solid var(--cizgi); }
.kart h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 750; }
.kart p { margin-top: 6px; color: var(--soluk); font-size: 14.5px; }
.tamam-satiri { display: flex; gap: 10px; align-items: flex-start; color: var(--yazi); }
.tamam-satiri .ikon { color: var(--yesil); margin-top: 2px; }

.form { display: grid; gap: 10px; margin-top: 14px; }
.alan {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px;
  background: var(--zemin); border: 1px solid var(--cizgi); color: var(--yazi); font-size: 16px;
}
.alan::placeholder { color: var(--silik); }
.alan:focus { outline: none; border-color: #fff; }
.alan.kod { text-align: center; font-size: 22px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.alan.kod::placeholder { letter-spacing: .14em; font-weight: 500; }
.uyari { color: var(--kirmizi-acik); font-size: 14px; }
.uyari:empty { display: none; }
.kucuk-not { color: var(--silik); font-size: 12.5px; line-height: 1.4; }
.kucuk-not a { color: var(--soluk); }

.alt-bilgi { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--cizgi); display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--silik); font-size: 13px; }
.alt-bilgi a, .alt-bilgi button { color: var(--soluk); text-decoration: none; font-size: 13px; }

/* ---------- ana sayfa ---------- */
a.afis { display: block; }
.vitrin-bilgi { padding: 4px 18px 0; }
.vitrin-bilgi .dugme.cizgili { margin-top: 10px; }
.ust-govde { padding-bottom: 0; }

.bolme { margin-top: 32px; }
.bolme > h2 { margin: 0 18px 12px; font-size: 18px; font-weight: 750; }
.serit { display: flex; gap: 12px; overflow-x: auto; padding: 0 18px 4px; scroll-snap-type: x proximity; scroll-padding-left: 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.serit::-webkit-scrollbar { display: none; }
.serit > * { flex: none; scroll-snap-align: start; }

.rozet { position: absolute; top: 7px; left: 7px; padding: 3px 8px; border-radius: 7px; background: var(--kirmizi); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.rozet.soluk { background: #0b0c0fcc; border: 1px solid #ffffff38; }

.bk { width: 124px; text-align: left; }
.bk-resim { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--yuzey2); }
.bk-resim img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.bk-resim i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--kirmizi); }
.bk-resim:has(i)::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: #ffffff40; z-index: 0; }
.bk-resim i { z-index: 1; }
.bk-kose { position: absolute; right: 7px; bottom: 9px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #000000a6; color: #fff; }
.bk:active .bk-resim, .dk:active .dk-resim { transform: scale(.97); }
.bk b, .dk b { display: block; margin-top: 8px; font-size: 14px; line-height: 1.25; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk span:last-child, .dk > span { display: block; margin-top: 2px; color: var(--soluk); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.raf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 0 18px; }
.dk { display: block; text-align: left; text-decoration: none; min-width: 0; }
.serit .dk { width: 132px; }
.dk-resim { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--yuzey2); }
.dk-resim img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
button.dk .dk-resim img { filter: saturate(.7) brightness(.72); }
.dk em { font-style: normal; font-weight: 650; color: var(--kirmizi-acik); }
.dk em.soluk { color: var(--yazi); }

.nasil { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 34px 18px 0; padding: 0; list-style: none; }
.nasil li { padding: 14px 8px; border-radius: 14px; background: var(--yuzey); color: var(--soluk); font-size: 12.5px; line-height: 1.3; text-align: center; text-wrap: balance; }
.nasil .ikon { margin: 0 auto 8px; color: var(--yazi); }
.ana > .govde { padding-top: 0; }
.ana > .yazi { padding-top: calc(var(--ust) + 84px); }

/* ---------- düz yazı sayfası ---------- */
.yazi { padding: 22px 18px calc(var(--alt) + 40px); }
.yazi h1 { font-size: 24px; margin-bottom: 14px; }
.yazi h2 { font-size: 16.5px; margin: 22px 0 6px; }
.yazi p, .yazi li { color: var(--soluk); font-size: 15px; }
.yazi ul { margin: 6px 0 0; padding-left: 20px; }
.yazi .dugme { margin-top: 26px; }

/* ---------- oynatıcı ---------- */
.oy { position: fixed; inset: 0; z-index: 20; background: #000; overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.oy-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.oy-ust, .oy-alt { position: absolute; left: 0; right: 0; z-index: 2; transition: opacity .2s ease; }
.oy-ust {
  top: 0; display: flex; align-items: center; gap: 6px;
  padding: calc(var(--ust) + 8px) 8px 34px; background: linear-gradient(#000000b8, transparent);
}
.oy-ust { z-index: 6; }
.oy-alt { bottom: 0; padding: 40px 14px calc(var(--alt) + 10px); background: linear-gradient(transparent, #000000c7); }
.oy-baslik { min-width: 0; flex: 1; }
.oy-baslik small { display: block; color: #ffffffb8; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.oy-baslik b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yuvarlak { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; }
.yuvarlak:active { background: #ffffff24; }

.oy-orta {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: none; place-items: center; border-radius: 50%; background: #0000008c; color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.oy.durdu .oy-orta, .oy.bekliyor .oy-orta { display: grid; }
.oy-yukleniyor { position: absolute; z-index: 1; left: 50%; top: 50%; margin: -17px 0 0 -17px; display: none; }
.oy.yukleniyor:not(.durdu):not(.bekliyor) .oy-yukleniyor { display: block; }

.oy-zaman { display: flex; justify-content: space-between; color: #ffffffd9; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cubuk { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; background: none; --y: 0%; --t: 0%; cursor: pointer; }
.cubuk::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--kirmizi) var(--y), #ffffff73 var(--y), #ffffff73 var(--t), #ffffff2e var(--t)); }
.cubuk::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--kirmizi) var(--y), #ffffff73 var(--y), #ffffff73 var(--t), #ffffff2e var(--t)); }
.cubuk::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; margin-top: -5.5px; border-radius: 50%; background: #fff; border: 0; }
.cubuk::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 0; }
.cubuk:focus-visible { outline-offset: -2px; }
.oy-dugmeler { display: flex; gap: 8px; margin-top: 6px; transition: opacity .2s ease; }
.oy-dugme { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px; background: #ffffff1f; font-size: 14.5px; font-weight: 650; color: #fff; }
.oy-dugme:active { background: #ffffff38; }
.oy-dugme.vurgu { background: var(--kirmizi); }
.oy-dugme.dar { flex: none; width: 48px; }
.bk-resim.yatay img, .satir-resim.yatay img, .oy-son-resim.yatay img { object-position: 68% 50%; }

.oy:not(.goster) .oy-ust, .oy:not(.goster) .oy-dugmeler, .oy:not(.goster) .oy-zaman { opacity: 0; pointer-events: none; }
.oy:not(.goster) .oy-alt { background: none; }
.oy:not(.goster) .cubuk::-webkit-slider-thumb { opacity: 0; }
.oy:not(.goster) .cubuk::-moz-range-thumb { opacity: 0; }

.oy-son {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 24px;
  background: #000000e6; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: belir .25s ease-out;
}
.oy-son-kutu { width: 100%; max-width: 340px; text-align: center; }
.oy-son-kutu small { color: var(--soluk); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.oy-son-kutu h2 { margin-top: 6px; font-size: 23px; line-height: 1.25; text-wrap: balance; }
.oy-son-kutu p { margin-top: 8px; color: var(--soluk); font-size: 15px; }
.oy-son-resim { position: relative; width: 132px; aspect-ratio: 3 / 4; margin: 0 auto 18px; border-radius: 12px; overflow: hidden; background: var(--yuzey2); }
.oy-son-resim img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.oy-son-resim .ortu { position: absolute; inset: 0; display: grid; place-items: center; background: #0000007a; color: #fff; }
.oy-son-kutu .eylem { margin-top: 20px; }
.oy-son-kutu .baglanti { display: inline-block; margin-top: 4px; padding: 8px; }
@keyframes belir { from { opacity: 0; } }

@media (min-width: 520px) {
  .oy-video, .oy-ust, .oy-alt, .oy-son { left: 50%; right: auto; width: min(100vw, calc(100dvh * 9 / 16)); transform: translateX(-50%); }
  .oy.yatay .oy-video, .oy.yatay .oy-ust, .oy.yatay .oy-alt, .oy.yatay .oy-son { width: min(100vw, calc(100dvh * 16 / 9)); }
}

/* ---------- alttan açılan pencere ---------- */
.perde { position: fixed; inset: 0; z-index: 40; display: flex; align-items: flex-end; justify-content: center; background: #000000a6; animation: belir .18s ease-out; }
.cekmece {
  position: relative; width: 100%; max-width: 480px; max-height: 92dvh; overflow-y: auto;
  padding: 26px 18px calc(var(--alt) + 22px); border-radius: 22px 22px 0 0;
  background: var(--yuzey); border-top: 1px solid var(--cizgi); animation: yukari .24s cubic-bezier(.2, .8, .2, 1);
}
.cekmece::before { content: ""; position: absolute; top: 9px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--cizgi); }
.cekmece > .yuvarlak { position: absolute; top: 10px; right: 8px; color: var(--soluk); }
.cekmece h2 { display: flex; align-items: center; gap: 10px; padding-right: 40px; font-size: 21px; line-height: 1.25; }
.cekmece h2 .ikon { color: var(--kirmizi-acik); }
.cekmece > p { margin-top: 8px; color: var(--soluk); font-size: 15px; }
.maddeler { display: grid; gap: 10px; margin: 16px 0 4px; padding: 0; list-style: none; }
.maddeler li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.maddeler .ikon { color: var(--yesil); margin-top: 1px; }
.ayrac { display: flex; align-items: center; gap: 12px; margin: 20px 0 2px; color: var(--silik); font-size: 13px; }
.ayrac::before, .ayrac::after { content: ""; flex: 1; height: 1px; background: var(--cizgi); }
.cekmece .izgara { margin-top: 16px; }
@keyframes yukari { from { transform: translateY(40px); opacity: .4; } }

.bildirim {
  position: fixed; z-index: 60; top: calc(var(--ust) + 66px); left: 16px; right: 16px; margin: 0 auto;
  width: fit-content; max-width: min(calc(100vw - 32px), 420px); padding: 12px 18px; border-radius: 12px;
  background: #f4f4f1; color: #0b0c0f; font-size: 14.5px; font-weight: 650; text-align: center;
  box-shadow: 0 10px 30px #000a; animation: belir .2s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body.pencere-acik { overflow: hidden; }
[hidden] { display: none !important; }

/* ---------- sayaç ---------- */
.sayac-sayfa { max-width: 760px; }
.sayac h2 { margin-top: 30px; font-size: 18px; }
.kaydir { overflow-x: auto; margin-top: 10px; }
.tablo { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.tablo th, .tablo td { padding: 10px 6px; text-align: right; border-bottom: 1px solid var(--cizgi); white-space: nowrap; }
.tablo th:first-child, .tablo td:first-child { text-align: left; white-space: normal; padding-left: 0; }
.tablo th { color: var(--soluk); font-size: 12.5px; font-weight: 600; }
.tablo td.vurgu { color: #fff; font-weight: 700; }
.sayac-not { margin-top: 14px; color: var(--soluk); font-size: 13.5px; line-height: 1.45; }
.sayac-form { display: flex; gap: 10px; margin-top: 18px; }
.sayac-form .alan { flex: 1; min-width: 0; }
.sayac-form .dugme { width: auto; padding-left: 20px; padding-right: 20px; }
