@font-face {
  font-family: "Cinzel";
  src: url("/static/fonts/Cinzel.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #0A111E;
  --bg-2: #0C1526;
  --bar: #0E1728;
  --card: #111B2E;
  --line: #1E2B44;
  --line-2: #3A4C70;
  --text: #E6EDF7;
  --muted: #B8C4D9;
  --accent: #7DD3FC;
  --gold: #F1C76B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
a:hover { color: #BAE6FD; }
h1, h2, .brand, .brand-text, .fact b { font-family: "Cinzel", Georgia, serif; font-weight: 700; }
h1 { margin: 0; font-size: clamp(34px, 6vw, 60px); line-height: 1.12; }
h2 { margin: 0 0 16px; font-size: clamp(24px, 3.5vw, 32px); }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.block { padding-top: 48px; }

/* Ust serit */
.top { position: sticky; top: 0; z-index: 10; background: var(--bar); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-size: 20px; letter-spacing: .04em; }
.brand svg { color: var(--accent); }
.chips { display: flex; gap: 8px; padding-bottom: 10px; overflow-x: auto; }
.chips a {
  flex: none; display: inline-flex; align-items: center; height: 44px; padding: 0 14px;
  border: 1px solid #2A3A5A; border-radius: 22px;
  color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none;
}
.chips a:hover { border-color: var(--accent); color: var(--text); }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn-sm { min-height: 44px; padding: 0 16px; border-radius: 8px; font-size: 15px; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: #BAE6FD; color: var(--bg); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Kartlar */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }

/* Giris bolumu */
.hero { background: var(--bg-2); }
.hero-in { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 48px; }
.hero-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 220px; }
.peaks { display: block; width: 100%; height: clamp(70px, 9vw, 120px); margin-top: 32px; }
.peak-back { fill: #132038; }
.peak-front { fill: var(--bg); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 540px; }
.facts-wide { max-width: none; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 8px; text-align: center; }
.fact b { display: block; color: var(--gold); font-size: clamp(20px, 3vw, 26px); }
.fact span { color: var(--muted); font-size: 13px; }

/* Formlar */
.form-card { flex: 1 1 340px; min-width: 0; padding: 24px 20px; border-color: #25355A; border-radius: 14px; }
fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
label { font-size: 14px; font-weight: 500; }
input {
  height: 50px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); font: inherit;
}
input::placeholder { color: #7C8AA5; }
small, .note { color: var(--muted); font-size: 13px; }
.note { margin-top: 12px; text-align: center; }
.msg { margin: 0 0 14px; padding: 12px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.msg-ok { background: #0F2A22; border: 1px solid #1F5A45; color: #6EE7B7; }
.msg-err { background: #2B1414; border: 1px solid #6B2A2A; color: #FCA5A5; }
.form-card h2 { margin-bottom: 14px; }
fieldset:disabled { opacity: .6; }
fieldset:disabled .btn { cursor: not-allowed; }

/* Duyurular */
.news { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.news-item { padding: 14px 16px; }
.news-item time { display: block; color: var(--gold); font-size: 13px; font-weight: 600; }
.news-item strong { display: block; }
.news-item p { color: var(--muted); font-size: 15px; }

/* Canli veriler */
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.head-row h2 { margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 16px; font-size: 14px; font-weight: 600; }
.badge i { width: 8px; height: 8px; border-radius: 4px; background: currentColor; }
.badge-up { background: #0F2A22; border: 1px solid #1F5A45; color: #6EE7B7; }
.badge-down { background: #2B1414; border: 1px solid #6B2A2A; color: #FCA5A5; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fact b.small { font-size: clamp(15px, 2.4vw, 20px); line-height: 1.7; }
.fact { min-width: 0; }
.fact b.txt { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; font-weight: 700; line-height: 1.3; padding: 6px 0 4px; overflow-wrap: anywhere; }
.faction { margin-top: 10px; padding: 14px; }
.faction-labels { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.ally-text { color: #9CC7F8; }
.horde-text { color: #F2A27A; }
.faction svg { display: block; width: 100%; height: 10px; border-radius: 5px; }
.ally-bar { fill: #9CC7F8; }
.horde-bar { fill: #B4451A; }

.pills { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; }
.pill {
  flex: none; display: inline-flex; align-items: center; height: 44px; padding: 0 16px;
  border: 1px solid #2A3A5A; border-radius: 22px;
  color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none;
}
.pill:hover { border-color: var(--accent); color: var(--text); }
.pill-cur { border-color: var(--accent); background: #12263B; color: var(--text); font-weight: 600; }

.list { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.list li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.sprite { position: absolute; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px 32px; align-items: start; }
.cols section { min-width: 0; }
.cico { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Sinif renkleri (koyu zeminde okunsun diye DK ve Shaman biraz aciltildi) */
.cc-1 .cico, .cc-1 strong, .cc-1 .cls { color: #C79C6E; }
.cc-2 .cico, .cc-2 strong, .cc-2 .cls { color: #F58CBA; }
.cc-3 .cico, .cc-3 strong, .cc-3 .cls { color: #ABD473; }
.cc-4 .cico, .cc-4 strong, .cc-4 .cls { color: #FFF569; }
.cc-5 .cico, .cc-5 strong, .cc-5 .cls { color: #FFFFFF; }
.cc-6 .cico, .cc-6 strong, .cc-6 .cls { color: #EE5A70; }
.cc-7 .cico, .cc-7 strong, .cc-7 .cls { color: #4D9BF5; }
.cc-8 .cico, .cc-8 strong, .cc-8 .cls { color: #69CCF0; }
.cc-9 .cico, .cc-9 strong, .cc-9 .cls { color: #A99BDD; }
.cc-11 .cico, .cc-11 strong, .cc-11 .cls { color: #FF7D0A; }
.rank { flex: none; width: 28px; color: var(--muted); font-family: "Cinzel", Georgia, serif; font-weight: 700; }
.rank-top { color: var(--gold); }
.who { flex: 1; min-width: 0; }
.who strong { display: block; overflow-wrap: anywhere; }
.who span { color: var(--muted); font-size: 13px; }
.who span b { color: var(--text); font-weight: 700; }
.who .cls { font-weight: 600; }
.val { flex: none; font-weight: 600; }
.who .tag {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border: 1px solid var(--line-2); border-radius: 4px;
  color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; vertical-align: middle;
}
.empty { padding: 20px; color: var(--muted); text-align: center; }
.note-left { margin-top: 10px; color: var(--muted); font-size: 13px; }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; }
.pager a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px;
  border: 1px solid #2A3A5A; border-radius: 8px; color: var(--muted); text-decoration: none;
}
.pager a:hover { border-color: var(--accent); color: var(--text); }
.pager .pg-cur { border-color: var(--accent); background: #12263B; color: var(--text); font-weight: 600; }
.pager span { padding: 0 4px; color: var(--muted); }

/* Hesabim */
.top-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.top-actions form { margin: 0; }
.page { min-height: 60vh; }
.lead-sm { margin-bottom: 16px; color: var(--muted); }
.btn-block { display: flex; }
h3 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.hello { margin-right: 8px; color: var(--muted); font-weight: 600; }
.acc-box { min-width: 0; }
.login-card { max-width: 420px; flex: none; }
.list form { flex: none; margin: 0; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.who .tag-on { border-color: #1F5A45; color: #6EE7B7; }
/* Cevrimdisi karakter: soluk */
.list li.off .cico, .list li.off strong, .list li.off .cls, .list li.off .who span b { color: #8695AE; }
.list li.off .who span { color: #8695AE; }
.list li.off .who .tag { border-color: #2A3A5A; color: #8695AE; }

/* Cevrimici gecmisi */
.hfig { margin: 0; padding: 14px 14px 8px; min-width: 0; }
.hfig figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.hfig figcaption span { color: var(--muted); font-size: 13px; }
.hchart { display: block; width: 100%; height: auto; }
.hgrid { stroke: #1E2B44; stroke-width: 1; }
.htick { stroke: #3A4C70; stroke-width: 1; }
.hlab { fill: #B8C4D9; font-size: 11px; font-family: system-ui, sans-serif; }
@media (max-width: 640px) { .hlab { font-size: 19px; } }
.hline { fill: none; stroke: #2F95DA; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.harea { fill: #2F95DA; fill-opacity: .14; stroke: none; }
.hdot { fill: #2F95DA; stroke: #111B2E; stroke-width: 2; }
.hhit rect { fill: transparent; }
.hhit line { stroke: #B8C4D9; stroke-width: 1; opacity: 0; }
.hhit circle { fill: #2F95DA; stroke: #111B2E; stroke-width: 2; opacity: 0; }
.hhit:hover line, .hhit:hover circle { opacity: 1; }
.htable { margin-top: 12px; padding: 12px 16px; }
.htable summary { cursor: pointer; font-weight: 600; min-height: 24px; }
.tscroll { max-height: 320px; overflow: auto; margin-top: 10px; }
.htable table { width: 100%; border-collapse: collapse; font-size: 14px; }
.htable th, .htable td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.htable th:first-child, .htable td:first-child { text-align: left; }
.htable th { color: var(--muted); font-weight: 600; }

.list li .who strong.ach { color: var(--gold); }
/* Hata bildirimleri */
select {
  height: 50px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); font: inherit;
}
.who .tag.st-acik { border-color: #6B2A2A; color: #FCA5A5; }
.who .tag.st-inceleniyor { border-color: #6B5A1F; color: #F1C76B; }
.who .tag.st-duzeldi { border-color: #1F5A45; color: #6EE7B7; }
.list li.rep { flex-wrap: wrap; align-items: flex-start; }
.rep-body { margin-top: 6px; color: var(--text); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.rep-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.sub-h { margin-top: 24px; }
.chips-in { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips-in li { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 14px; font-size: 13px; }
.chips-in li strong { display: inline; }
.chips-in li span { font-size: 12px; }
.chips-in li.off strong, .chips-in li.off .cls { color: #8695AE; }

.list li.rep .who { flex: 1 1 260px; min-width: 0; }
.acc-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-left: auto; }
.del-acc { display: flex; flex-direction: column; align-items: flex-end; }
@media (max-width: 640px) { .acc-actions, .del-acc { align-items: stretch; width: 100%; } .acc-actions .btn, .del-acc summary { width: 100%; text-align: center; } }
.del-acc summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.del-acc summary::-webkit-details-marker { display: none; }
.del-acc form { display: grid; gap: 6px; margin-top: 8px; padding: 10px; border: 1px solid #7F2A2A; border-radius: 8px; min-width: 200px; }
.del-acc label { font-size: 12px; color: var(--muted, #9AA8BF); }
.del-acc input { width: 100%; }
.btn-danger { color: #F2A3A3; border-color: #7F2A2A; }
button.btn-danger { background: #5A1D1D; }
button.btn-danger:hover { background: #7A2626; }

/* Armory */
a.cname { color: inherit; text-decoration: none; }
a.cname:hover { text-decoration: underline; }
.char-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.char-head .cico { width: 44px; height: 44px; }
.char-head h1 { font-size: clamp(30px, 5vw, 44px); }
.char-sub { color: var(--muted); }
.char-sub b { color: var(--text); }
.char-guild { color: #6EE7B7; font-weight: 600; text-decoration: none; }
a.char-guild:hover { text-decoration: underline; }
.gname { color: #6EE7B7; text-decoration: none; font-weight: 700; }
.gname:hover { text-decoration: underline; }
.list .val small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; text-align: right; }
.dot-off { background: #3A4A66; }
.stats-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 20px; }
.gear { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px 24px; margin-top: 8px; }
.gear ul { list-style: none; margin: 0; padding: 0; }
.gear li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.gear li:last-child { border-bottom: 0; }
.gear .slot { flex: none; width: 92px; color: var(--muted); font-size: 13px; }
.gear .item { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.gear .ilvl { flex: none; color: var(--muted); font-size: 13px; }
.gear .none { color: #5F6E88; font-weight: 400; }
.q0 { color: #9D9D9D; } .q1 { color: #FFFFFF; } .q2 { color: #1EFF00; } .q3 { color: #3B9BFF; }
.q4 { color: #B86EF7; } .q5 { color: #FF8000; } .q6 { color: #E6CC80; } .q7 { color: #00CCFF; }

/* Yonetim paneli */
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.field-sm { flex: 0 0 90px; }
.field-grow { flex: 1 1 220px; }
.stack-form { display: flex; flex-direction: column; gap: 14px; padding: 20px; margin-bottom: 14px; }
textarea {
  padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); font: inherit; resize: vertical;
}
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; }
.list li.ev-bad .who strong { color: #FCA5A5; }
code.secret { display: inline-block; width: auto; margin-top: 8px; font-size: 16px; user-select: all; }

/* Adimlar */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.steps li { padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.steps p { color: var(--muted); font-size: 15px; }
.num { width: 34px; height: 34px; border-radius: 17px; background: #1B2A47; color: var(--gold); font-weight: 600; display: flex; align-items: center; justify-content: center; }
code {
  display: block; width: 100%; padding: 12px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--gold);
  font: 13px ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere;
}

/* Kurallar ve SSS */
.rules { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); max-width: 720px; }
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; align-items: start; }
.faq details { padding: 14px 16px; }
.faq summary { font-weight: 600; cursor: pointer; min-height: 24px; }
.faq p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Alt bilgi */
.foot { margin-top: 56px; background: var(--bar); border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 24px; padding-bottom: 28px; color: var(--muted); font-size: 14px; }
.brand-text { color: var(--text); font-size: 16px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
