:root {
  --bg: #0e0909;
  --bg2: #170f0e;
  --card: #1c1312;
  --card2: #241816;
  --line: rgba(212, 162, 76, .18);
  --line2: rgba(255, 255, 255, .07);
  --text: #f3e9e2;
  --muted: #b5a59c;
  --red: #c4162a;
  --red2: #e2273c;
  --gold: #d9a74e;
  --gold2: #f1c979;
  --green: #3fcf7a;
  --radius: 16px;
  --head: 'Cinzel', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  background-image: radial-gradient(1200px 600px at 50% -10%, rgba(196, 22, 42, .12), transparent 60%);
}
img { max-width: 100%; display: block; }
a { color: var(--gold2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
code { background: rgba(255, 255, 255, .08); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.3em; border-radius: 12px; border: 1px solid transparent;
  font: 600 1rem/1 Inter, sans-serif; cursor: pointer; transition: .2s; white-space: nowrap; color: #fff;
}
.btn-red { background: linear-gradient(180deg, var(--red2), var(--red)); box-shadow: 0 6px 24px rgba(196, 22, 42, .35), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(226, 39, 60, .5); color: #fff; }
.btn-gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #2a1a08; box-shadow: 0 6px 24px rgba(217, 167, 78, .25), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-gold:hover { transform: translateY(-2px); color: #1a0f04; }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: #fff; }
.btn-sm-text { color: var(--muted); padding-inline: .6em; }
.btn-lg { padding: 1em 1.8em; font-size: 1.08rem; border-radius: 14px; }
.btn-block { width: 100%; }

/* ust menu */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.top.solid, .form-page .top { background: rgba(14, 9, 9, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font: 800 1.5rem var(--head); color: #fff; letter-spacing: .04em; }
.brand img { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .6)); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a { color: var(--text); padding: .55em .9em; border-radius: 10px; font-weight: 500; font-size: .98rem; }
.nav > a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-acc { display: flex; gap: 10px; margin-left: 14px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .3); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.menu-open .burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14, 9, 9, .55) 0%, rgba(14, 9, 9, 0) 22%, rgba(14, 9, 9, 0) 45%, rgba(14, 9, 9, .85) 72%, var(--bg) 100%); }
.hero-in { text-align: center; padding: 0 0 72px; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); text-shadow: 0 4px 30px rgba(0, 0, 0, .8); margin: .35em 0 .3em; }
.hero h1 span { background: linear-gradient(180deg, var(--gold2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #e6d8cf; max-width: 640px; margin: 0 auto 1.8em; text-shadow: 0 2px 12px #000; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: .45em 1em; border-radius: 99px; font-weight: 600; font-size: .92rem; background: rgba(0, 0, 0, .55); border: 1px solid var(--line2); backdrop-filter: blur(6px); }
.pill i { width: 9px; height: 9px; border-radius: 50%; background: #888; }
.pill.on i { background: var(--green); box-shadow: 0 0 0 4px rgba(63, 207, 122, .2); animation: pulse 2s infinite; }
.pill.off i { background: #e0a030; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(63, 207, 122, 0); } }

/* adimlar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -10px; position: relative; }
.step { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--text); transition: .2s; }
.step:hover { border-color: var(--gold); transform: translateY(-3px); color: var(--text); }
.step b { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; font: 800 1.4rem var(--head); color: #2a1a08; background: linear-gradient(180deg, var(--gold2), var(--gold)); }
.step strong { display: block; font-size: 1.08rem; }
.step span { color: var(--muted); font-size: .92rem; }

/* bolumler */
.sec { padding: 96px 0 0; }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head.left { text-align: left; margin-bottom: 24px; }
.sec-head h1, .sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 0; }
.kicker { display: inline-block; color: var(--red2); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; margin-bottom: 8px; }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line2); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { transition: .25s; }
.feature:hover { border-color: var(--line); transform: translateY(-4px); }
.feature h3 { font-size: 1.25rem; margin: 18px 0 8px; }
.feature p { color: var(--muted); margin: 0; }
.f-ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; color: var(--gold2); background: rgba(217, 167, 78, .1); border: 1px solid var(--line); }
.f-ic .ic { width: 28px; height: 28px; }

.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.news { display: grid; gap: 16px; }
.news-item h3 { font-size: 1.3rem; margin: 10px 0 6px; }
.news-item p { margin: 0; color: var(--muted); }
.news-meta { display: flex; gap: 12px; align-items: center; font-size: .88rem; color: var(--muted); }
.tag { background: rgba(196, 22, 42, .18); color: #ff8b97; padding: .2em .7em; border-radius: 8px; font-weight: 600; }

.rank-mini { padding: 12px 12px 8px; }
.rank-mini ol { list-style: none; margin: 0; padding: 0; }
.rank-mini li { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px; }
.rank-mini li:nth-child(odd) { background: rgba(255, 255, 255, .025); }
.rank-mini .nm { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rank-mini .nm small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }
.rank-mini .lv { color: var(--gold2); font-weight: 700; }
.rank-mini .muted { padding: 16px; }
.r { width: 32px; height: 32px; flex: none; display: inline-grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .06); font-size: .92rem; }
.r1 { background: linear-gradient(180deg, #ffe08a, #d39b2a); color: #2a1a08; }
.r2 { background: linear-gradient(180deg, #eef0f4, #9da3ad); color: #1c1c1c; }
.r3 { background: linear-gradient(180deg, #f0b07a, #a8622d); color: #2a1407; }
.more { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; margin-top: 6px; border-top: 1px solid var(--line2); font-weight: 600; }

/* indirme */
.download { margin-top: 96px; padding: 96px 0; background: linear-gradient(180deg, transparent, rgba(196, 22, 42, .07) 30%, rgba(196, 22, 42, .07) 70%, transparent), url(/img/dl-bg.jpg) center / cover; position: relative; }
.download::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(14, 9, 9, .82) 25%, rgba(14, 9, 9, .82) 75%, var(--bg)); }
.download .wrap { position: relative; }
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.dl { text-align: center; padding: 36px 32px; display: flex; flex-direction: column; }
.dl h3 { font-size: 1.6rem; margin: 18px 0 8px; }
.dl p { color: var(--muted); margin: 0 0 16px; }
.dl-ic { width: 76px; height: 76px; margin: 0 auto; display: grid; place-items: center; border-radius: 20px; background: rgba(217, 167, 78, .1); border: 1px solid var(--line); color: var(--gold2); }
.dl-ic .ic { width: 38px; height: 38px; }
.req { list-style: none; padding: 0; margin: 0 0 24px; color: var(--text); font-size: .95rem; display: grid; gap: 4px; margin-top: auto; }
.req li::before { content: '✓  '; color: var(--green); }
.note { text-align: center; color: var(--muted); margin: 28px auto 0; font-size: .95rem; max-width: 640px; }

/* formlar */
.form-page main { padding-top: 120px; padding-bottom: 80px; min-height: 80vh; }
.auth { display: grid; place-items: center; }
.auth-card { width: min(520px, 100%); padding: 40px; }
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-head img { margin: 0 auto 12px; }
.auth-head h1 { font-size: 2rem; margin-bottom: .2em; }
.auth-head p { color: var(--muted); margin: 0; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 600; font-size: .95rem; }
label small { color: var(--muted); font-weight: 400; }
input[type=text], input[type=password], input[type=email], input:not([type]) {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .35); color: #fff; font: 500 1rem Inter, sans-serif; transition: .2s;
}
input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217, 167, 78, .15); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--muted); }
.check input { width: 20px; height: 20px; accent-color: var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.alert { background: rgba(196, 22, 42, .14); border: 1px solid rgba(226, 39, 60, .4); color: #ffc2c8; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: .95rem; display: grid; gap: 4px; }
.auth-alt { text-align: center; color: var(--muted); margin: 22px 0 0; }
.toast { position: fixed; top: 92px; left: 50%; transform: translateX(-50%); z-index: 60; padding: 14px 22px; border-radius: 12px; font-weight: 600; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); animation: toast 5s forwards; width: max-content; max-width: calc(100% - 32px); }
.toast-ok { background: #13361f; border: 1px solid #2b8a4e; color: #c8f5d8; }
@keyframes toast { 0%, 85% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* panel */
.panel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.panel-head h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel-grid .wide { grid-column: 1 / -1; }
.panel-grid h2 { font-size: 1.35rem; margin-bottom: 18px; }
.info { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; margin: 0; }
.info dt { color: var(--muted); }
.info dd { margin: 0; font-weight: 600; word-break: break-all; }
.ok { color: var(--green); } .bad { color: #ff6b7a; }
.chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.char { padding: 18px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line2); display: grid; gap: 2px; }
.char strong { font-size: 1.1rem; }
.char span, .char small { color: var(--muted); font-size: .9rem; }
.char b { color: var(--gold2); }

/* siralama */
.ranking .sec-head { margin-bottom: 24px; }
.tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; }
.tabs a { padding: .65em 1.4em; border-radius: 12px; border: 1px solid var(--line2); color: var(--text); font-weight: 600; }
.tabs a.on { background: linear-gradient(180deg, var(--red2), var(--red)); border-color: transparent; }
.table-card { padding: 8px; }
.table-scroll { overflow-x: auto; }
.rank { width: 100%; border-collapse: collapse; min-width: 520px; }
.rank th { text-align: left; color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; padding: 14px 16px; border-bottom: 1px solid var(--line2); }
.rank td { padding: 12px 16px; border-bottom: 1px solid var(--line2); }
.rank tr:last-child td { border: 0; }
.rank tbody tr:hover { background: rgba(255, 255, 255, .03); }
.rank .nm { font-weight: 700; }
.rank .num { text-align: right; }
.emp { padding: .2em .65em; border-radius: 8px; font-size: .85rem; font-weight: 600; background: rgba(255, 255, 255, .06); }
.emp.e1 { color: #ff8b8b; background: rgba(220, 50, 50, .14); }
.emp.e2 { color: #ffd76a; background: rgba(220, 180, 40, .14); }
.emp.e3 { color: #8bb8ff; background: rgba(60, 120, 230, .16); }
.pad { padding: 24px; }

/* alt bilgi */
.foot { margin-top: 96px; border-top: 1px solid var(--line); background: var(--bg2); padding: 48px 0 28px; }
.download + .foot { margin-top: 0; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { display: flex; gap: 16px; align-items: center; max-width: 420px; }
.foot-brand strong { font: 800 1.3rem var(--head); }
.foot-brand p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.foot-links { display: flex; gap: 8px 24px; flex-wrap: wrap; align-items: center; }
.foot-links a { color: var(--text); }
.foot-copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line2); color: var(--muted); font-size: .85rem; }

/* tablet */
@media (max-width: 1000px) {
  .burger { display: flex; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px 20px 24px;
         background: rgba(14, 9, 9, .98); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; z-index: -1; }
  .menu-open .nav { transform: none; }
  .menu-open .top { background: rgba(14, 9, 9, .98); }
  .nav > a { padding: 14px 12px; font-size: 1.08rem; border-bottom: 1px solid var(--line2); border-radius: 0; }
  .nav-acc { margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; }
  .nav-acc .btn { padding: 1em; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
/* telefon */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top-in { height: 68px; }
  .nav { inset: 68px 0 auto; }
  .brand { font-size: 1.3rem; } .brand img { width: 38px; height: 38px; }
  /* telefonda gorsel tam genislikte ustte, yazilar altinda */
  .hero { min-height: 0; display: block; }
  .hero-bg { position: relative; display: block; height: auto; }
  .hero-bg img { position: relative; height: auto; aspect-ratio: 750 / 790; }
  .hero::after { background: linear-gradient(180deg, rgba(14, 9, 9, .6) 0, rgba(14, 9, 9, 0) 90px, rgba(14, 9, 9, 0) 38%, rgba(14, 9, 9, .9) 62%, var(--bg) 78%); }
  .hero-in { margin-top: -42%; padding-bottom: 36px; }
  .hero h1 { font-size: 1.95rem; }
  .cta .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; gap: 10px; margin-top: 0; }
  .step { padding: 16px 18px; }
  .sec { padding-top: 72px; }
  .sec-head { margin-bottom: 28px; }
  .features, .dl-grid, .panel-grid, .row2 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .auth-card { padding: 28px 22px; }
  .download { margin-top: 72px; padding: 72px 0; }
  .form-page main { padding-top: 96px; }
  .foot-in { flex-direction: column; }
  .rank { min-width: 0; }
  .rank th, .rank td { padding: 11px 8px; }
  .rank .hm { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
