:root {
  --zemin: #0f0e0c;
  --yazi: #ece6da;
  --soluk: #8f8778;
  --cizgi: rgba(236, 230, 218, 0.08);
  --amber: #e9a23b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--zemin);
  color: var(--yazi);
  font: 400 15px/1.6 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.kap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.soluk { color: var(--soluk); }
.kucuk { font-size: 13px; }

h1, h2 { font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; margin: 0; }
h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; }
h2 { font-size: 22px; }

/* üst çubuk */
.ust { position: sticky; top: 0; z-index: 10; background: rgba(15, 14, 12, .92); backdrop-filter: blur(8px); }
.ust .kap { display: flex; align-items: center; gap: 28px; height: 60px; }
.marka { display: flex; align-items: center; gap: 10px; font: 500 18px 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); }
.marka img { width: 34px; height: 34px; }
.ust nav { display: flex; gap: 22px; margin-left: auto; }
.ust nav a { color: var(--soluk); font-weight: 500; }
.ust nav a:hover { color: var(--yazi); }
.hesap { position: relative; display: flex; align-items: center; }
.hesap img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.profil { display: flex; align-items: center; gap: 10px; padding: 4px 8px 4px 4px; border-radius: 999px; }
.profil:hover, .profil[aria-expanded='true'] { background: var(--cizgi); }
.profil .ad { font-weight: 500; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profil svg { width: 16px; height: 16px; color: var(--soluk); transition: transform .2s; }
.profil[aria-expanded='true'] svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: 230px; padding: 6px; border-radius: 10px;
  background: #1f1c18; box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
}
.menu-bas { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; margin-bottom: 4px; box-shadow: 0 1px 0 var(--cizgi); }
.menu-bas img { width: 36px; height: 36px; }
.menu-bas div { min-width: 0; }
.menu-bas b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-bas small { color: var(--soluk); font-size: 12px; }
.menu a, .menu button { display: flex; justify-content: space-between; width: 100%; padding: 8px 10px; border-radius: 6px; font-size: 14px; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--cizgi); }
.menu a span { color: var(--soluk); font-variant-numeric: tabular-nums; }
.menu .cikis { color: #e0704a; }

.dugme {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 8px;
  background: var(--amber); color: #17110a; font-weight: 600; white-space: nowrap;
}
.dugme:hover { background: #f2b456; }
.dugme svg { width: 16px; height: 16px; }

/* giriş */
.giris { padding: 28px 0 40px; }
.giris > p { max-width: 560px; margin: 14px 0 0; font-size: 16px; }
.genel { margin-top: 36px; max-width: 560px; }
.genel-ust { display: flex; align-items: baseline; gap: 14px; }
.genel-yuzde { font: 500 44px/1 'Oswald', sans-serif; color: var(--amber); }
.genel .kucuk { margin: 10px 0 0; }

.cubuk { height: 4px; border-radius: 4px; background: var(--cizgi); overflow: hidden; }
.cubuk i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--amber); transition: width .8s ease; }
.genel .cubuk { margin-top: 14px; }

/* bölümler */
section { padding: 40px 0; }
.bas { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.sekmeler { display: flex; flex-wrap: wrap; gap: 4px; }
.sekmeler button { padding: 5px 12px; border-radius: 999px; color: var(--soluk); font-weight: 500; font-size: 14px; }
.sekmeler button:hover { color: var(--yazi); }
.sekmeler button[aria-pressed='true'] { background: var(--cizgi); color: var(--yazi); }
.sekmeler small { margin-left: 5px; color: var(--soluk); }

/* ilerleme ızgarası */
.izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 28px 18px; }
.karakter img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 28%; border-radius: 10px; background: #000; }
.karakter.sifir img { filter: grayscale(1); opacity: .55; }
.karakter-ad { display: flex; justify-content: space-between; gap: 6px; margin-top: 10px; font-weight: 500; font-size: 14px; }
.karakter-ad span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.karakter-ad span:last-child { color: var(--soluk); font-variant-numeric: tabular-nums; }
.karakter:not(.sifir) .karakter-ad span:last-child { color: var(--amber); }
.karakter .cubuk { height: 3px; margin-top: 6px; }
.bos { color: var(--soluk); }

/* oylama */
#oylama > p { margin: -12px 0 0; max-width: 620px; }
.oy-durum { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 20px 0 24px; }
.oy-durum p { margin: 0; color: var(--soluk); }
.oy-durum b { color: var(--yazi); font-weight: 600; }
.uyari { color: #e0704a !important; }
.ara {
  width: 100%; max-width: 280px; padding: 9px 12px; border: 0; border-radius: 8px; outline: 0;
  background: var(--cizgi); color: var(--yazi); font: inherit;
}
.ara::placeholder { color: var(--soluk); }
.liste { list-style: none; padding: 0; margin: 12px 0 0; }
.satir { display: grid; grid-template-columns: 28px 40px minmax(0, 1fr) 56px 96px; align-items: center; gap: 14px; padding: 10px 0; }
.satir + .satir { box-shadow: 0 -1px 0 var(--cizgi); }
.satir .sira { color: var(--soluk); font-variant-numeric: tabular-nums; text-align: right; }
.satir img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; background: #000; }
.satir .ad { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.satir .ad small { color: var(--soluk); font-weight: 400; margin-left: 8px; }
.satir .cubuk { height: 3px; margin-top: 6px; }
.satir .sayi { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.oy-dugme {
  justify-self: end; padding: 7px 12px; border-radius: 8px; font-weight: 600; font-size: 13px;
  background: var(--cizgi); color: var(--yazi); min-width: 92px;
}
.oy-dugme:hover { background: rgba(236, 230, 218, .14); }
.oy-dugme[aria-pressed='true'] { background: var(--amber); color: #17110a; }
.oy-dugme[disabled] { opacity: .4; cursor: not-allowed; }
.metin-dugme { margin-top: 14px; color: var(--amber); font-weight: 500; }

footer { padding: 40px 0 56px; color: var(--soluk); font-size: 13px; }
footer p { margin: 0 0 8px; max-width: 680px; }

.bildirim {
  position: fixed; left: 50%; bottom: 24px; z-index: 20; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 8px; background: #26231e; font-weight: 500;
  transition: opacity .2s, transform .2s;
}
.bildirim.acik { opacity: 1; transform: translate(-50%, 0); }
.bildirim.hata { background: #4a2216; }

@media (max-width: 640px) {
  .ust nav { display: none; }
  .hesap { margin-left: auto; }
  .profil .ad { display: none; }
  .giris { padding-top: 20px; }
  .izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; }
  .satir { grid-template-columns: 22px 36px minmax(0, 1fr) 28px auto; gap: 10px; }
  .satir img { width: 36px; height: 36px; }
  .satir .ad small { display: block; margin: 0; }
  .oy-dugme { min-width: 0; }
}
#genelSatir b { color: var(--yazi); font-weight: 600; }

/* günlük grafik */
.grafik-ozet { margin: -8px 0 18px; color: var(--soluk); }
.grafik-ozet b { color: var(--yazi); font-weight: 600; font-size: 18px; }
.grafik { position: relative; }
.grafik svg { display: block; overflow: visible; }
.grafik .izgara-cizgi { stroke: var(--cizgi); stroke-width: 1; }
.grafik .eksen { fill: var(--soluk); font: 400 11px 'Inter', sans-serif; }
.grafik .vurgu { fill: transparent; }
.grafik .vurgu.acik { fill: rgba(236, 230, 218, .05); }
.ipucu {
  position: absolute; z-index: 5; pointer-events: none; min-width: 150px; padding: 10px 12px; border-radius: 8px;
  background: #26231e; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); font-size: 13px;
}
.ipucu b { display: block; margin-bottom: 6px; font-weight: 600; }
.ipucu span { display: flex; align-items: center; gap: 8px; color: var(--soluk); }
.ipucu span.top { margin-top: 4px; color: var(--yazi); }
.ipucu em { margin-left: auto; padding-left: 12px; font-style: normal; font-weight: 600; color: var(--yazi); font-variant-numeric: tabular-nums; }
.ipucu i, .grafik-liste i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.grafik-liste { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.grafik-liste li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.grafik-liste b { color: var(--soluk); font-weight: 400; }

/* stüdyo durumu */
.giris .studyo { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 32px; font-size: 14px; color: var(--soluk); }
.studyo[hidden] { display: none; }
.studyo i { width: 9px; height: 9px; border-radius: 50%; background: var(--soluk); flex: none; }
.studyo b { color: var(--yazi); font-weight: 600; }
.studyo.acik i { background: #0ca30c; box-shadow: 0 0 0 4px rgba(12, 163, 12, .18); animation: studyo-nabiz 2s ease-in-out infinite; }
@keyframes studyo-nabiz { 50% { box-shadow: 0 0 0 7px rgba(12, 163, 12, 0); } }
@media (prefers-reduced-motion: reduce) { .studyo.acik i { animation: none; } }
.canli-rozet {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 999px;
  background: #d03b3b; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.canli-rozet::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: studyo-nabiz-beyaz 1.6s ease-in-out infinite; }
@keyframes studyo-nabiz-beyaz { 50% { opacity: .3; } }
.studyo.acik i { display: none; }
@media (prefers-reduced-motion: reduce) { .canli-rozet::before { animation: none; } }

/* reklam alanları + çerez onayı */
.reklam-alani { margin: 24px 0; min-height: 100px; }
.reklam-alani::before { content: 'Reklam'; display: block; margin-bottom: 6px; font-size: 11px; color: var(--soluk); letter-spacing: .08em; text-transform: uppercase; }
.alt-baglanti { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.alt-baglanti a, .alt-baglanti button { color: var(--soluk); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.alt-baglanti a:hover, .alt-baglanti button:hover { color: var(--yazi); }
.alt-baglanti button[hidden] { display: none; }
.riza {
  position: fixed; left: 50%; bottom: 16px; z-index: 40; transform: translateX(-50%);
  width: min(720px, calc(100% - 32px)); display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap;
  padding: 14px 16px; border-radius: 12px; background: #1f1c18; box-shadow: 0 12px 32px rgba(0, 0, 0, .55); font-size: 14px;
}
.riza p { margin: 0; flex: 1 1 320px; color: var(--soluk); }
.riza a { color: var(--yazi); text-decoration: underline; text-underline-offset: 3px; }
.riza div { display: flex; gap: 8px; }
.riza button { padding: 8px 16px; border-radius: 8px; font-weight: 600; background: var(--cizgi); color: var(--yazi); min-width: 96px; }
.riza button:hover { background: rgba(236, 230, 218, .14); }

/* gizlilik sayfası */
.metin { max-width: 720px; padding: 48px 0 24px; }
.metin h1 { margin-bottom: 8px; }
.metin h2 { margin: 36px 0 10px; font-size: 20px; }
.metin p, .metin li { color: var(--soluk); }
.metin b, .metin strong { color: var(--yazi); font-weight: 600; }
.metin a { color: var(--amber); }
.metin ul { padding-left: 20px; }
.metin li + li { margin-top: 6px; }
.metin table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
.metin th, .metin td { text-align: left; padding: 9px 10px 9px 0; vertical-align: top; color: var(--soluk); box-shadow: 0 1px 0 var(--cizgi); }
.metin th { color: var(--yazi); font-weight: 600; }
.metin code { font-size: 13px; color: var(--yazi); }

/* sosyal medya */
.sosyal { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--soluk); }
.sosyal:hover { color: var(--yazi); background: var(--cizgi); }
.sosyal svg { width: 20px; height: 20px; }
.alt-baglanti .ig { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.alt-baglanti .ig svg { width: 15px; height: 15px; }
@media (max-width: 640px) { .ust .sosyal { margin-left: auto; } .ust .sosyal + .hesap { margin-left: 0; } }

/* SSS */
.ust nav a[aria-current='page'] { color: var(--yazi); }
.sss details { margin-top: 14px; padding: 4px 0 8px; box-shadow: 0 1px 0 var(--cizgi); }
.sss summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; cursor: pointer; list-style: none;
  font: 500 19px 'Oswald', sans-serif; color: var(--yazi);
}
.sss summary::-webkit-details-marker { display: none; }
.sss summary::after { content: '+'; font: 400 22px 'Inter', sans-serif; color: var(--soluk); transition: transform .2s; }
.sss details[open] summary::after { transform: rotate(45deg); }
.sss summary:hover { color: var(--amber); }
.sss details > p:first-of-type, .sss details > div:first-of-type { margin-top: 0; }

/* yönetim */
.yonetim { padding: 40px 20px 64px; }
.yonetim h1 { margin-bottom: 20px; }
.yonetim h2 { margin: 36px 0 14px; font-size: 18px; }
.yonetim .dugme { margin-top: 12px; }
.sayilar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px 28px; margin-top: 24px; }
.sayilar b { display: block; font: 500 36px/1.1 'Oswald', sans-serif; color: var(--amber); font-variant-numeric: tabular-nums; }
.sayilar span { font-size: 13px; color: var(--soluk); }
.yonetim table { width: 100%; border-collapse: collapse; font-size: 14px; }
.yonetim td { padding: 8px 0; box-shadow: 0 1px 0 var(--cizgi); }
.yonetim td:last-child { text-align: right; color: var(--soluk); font-variant-numeric: tabular-nums; }
.ikili { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
