/* KÖGMEN YİR SUB — Dağı Aşanların Destanı · site stili
   Gece bozkırı zemin, altın + gök mavisi (Kök) + kızıl vurgular, Orhun harfli süsler.
   Satır içi stil yok (CSP: style-src 'self'). */

:root {
  --night-0: #070a12;
  --night-1: #0c1220;
  --night-2: #131b2e;
  --night-3: #1b2540;
  --panel: rgba(16, 22, 38, 0.86);
  --panel-solid: #121a2c;
  --line: rgba(212, 162, 76, 0.32);
  --line-strong: rgba(212, 162, 76, 0.62);

  --gold: #d4a24c;
  --gold-hi: #f1cb7e;
  --gold-lo: #8f6a2c;
  --sky: #5aaee3;      /* Kök Boy */
  --sky-lo: #24597f;
  --ak: #ece6d6;       /* Ak Boy */
  --crimson: #d2454b;  /* Kızıl Boy */
  --crimson-lo: #7d1f27;
  --erlik: #8b6cc7;

  --text: #ebe5d6;
  --text-dim: #b7b0a1;   /* #0c1220 üzerinde ~8:1 */
  --text-faint: #8e887c; /* yalnız süs/ikincil, ~5:1 */
  --ok: #7fc98f;
  --warn: #f0b85a;
  --err: #ff8a80;

  --f-display: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  --f-body: "Noto Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-rune: "Noto Sans Old Turkic", "Segoe UI Historic", "Noto Sans", sans-serif;

  --radius: 6px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--night-0);
  /* Cormorant varsayılan olarak eski stil rakam kullanır ("1" noktasız ı'ya benzer) — Türkçede karışır. */
  font-variant-numeric: lining-nums;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Gece göğü: sabit katman (yıldızlar + ay ışığı + ufuk). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 22%, rgba(255, 240, 210, 0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 77% 28%, rgba(255, 255, 255, 0.55) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 6%, rgba(200, 225, 255, 0.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 40%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 36%, rgba(255, 255, 255, 0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 44%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 46%, rgba(255, 255, 255, 0.35) 50%, transparent 51%),
    radial-gradient(circle at 82% 14%, rgba(241, 203, 126, 0.16), transparent 22%),
    radial-gradient(ellipse 120% 60% at 50% 110%, rgba(90, 174, 227, 0.14), transparent 60%),
    linear-gradient(180deg, #05070d 0%, #0a1020 40%, #101a31 75%, #142039 100%);
}

img, svg { max-width: 100%; }
svg { display: block; }

a { color: var(--gold-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffe2a6; }

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gold-hi);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
small, .small { font-size: 0.875rem; }
[data-center] { text-align: center; margin-top: 22px; }
.btn-row[data-center] { justify-content: center; }
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: #1a1206;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

main { flex: 1 0 auto; }

/* ---------- Orhun harfli süs bantları ---------- */
.rune {
  font-family: var(--f-rune);
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--gold);
  user-select: none;
}
.rune-band {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
  font-family: var(--f-rune);
  font-size: 0.95rem;
  letter-spacing: 0.6em;
  color: rgba(212, 162, 76, 0.7);
  padding: 6px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent, rgba(212, 162, 76, 0.07) 20%, rgba(212, 162, 76, 0.07) 80%, transparent);
  user-select: none;
}
.rune-band::before,
.rune-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.rune-band::before { top: 3px; }
.rune-band::after { bottom: 3px; }

/* Bölüm başlığı: ortada başlık, iki yanda baklava süsü + Orhun harfleri. */
.section-head { text-align: center; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head .rune { display: block; font-size: 0.95rem; margin-bottom: 6px; opacity: 0.85; }
.section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.25em;
}
.section-head h2::before,
.section-head h2::after {
  content: "";
  width: clamp(18px, 5vw, 56px);
  height: 10px;
  flex: none;
  background:
    linear-gradient(45deg, transparent 42%, var(--gold) 43% 57%, transparent 58%) center / 10px 10px no-repeat,
    linear-gradient(90deg, transparent, var(--gold)) left center / calc(100% - 12px) 1px no-repeat;
}
.section-head h2::after { transform: scaleX(-1); }
.section-head p { max-width: 720px; margin: 0 auto; color: var(--text-dim); }

/* ---------- Üst bilgi ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold-hi);
  margin-right: auto;
}
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.12em;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 3px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold-hi);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
}
.site-nav a:hover { color: var(--gold-hi); background: rgba(212, 162, 76, 0.08); }
.site-nav a[aria-current="page"] {
  color: var(--gold-hi);
  border-color: var(--line);
  background: rgba(212, 162, 76, 0.1);
}
.site-nav .nav-cta a {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: #1b1307;
  font-weight: 700;
}
.site-nav .nav-cta a:hover { background: linear-gradient(180deg, #ffe0a0, var(--gold-hi)); color: #1b1307; }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(7, 10, 18, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
    display: none;
  }
  .js .site-nav[data-open="true"] { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; }
  .js .site-nav a { padding: 12px; font-size: 1rem; }
  .site-header .wrap { flex-wrap: wrap; }
}

/* ---------- Düğmeler ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  font: 600 1rem/1.2 var(--f-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--gold-hi);
  background: var(--btn-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}
.btn:hover { border-color: var(--gold-hi); color: #ffe2a6; background: rgba(212, 162, 76, 0.1); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary {
  color: #1b1307;
  border-color: var(--gold-hi);
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, #b8862f 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4) inset, 0 6px 18px rgba(212, 162, 76, 0.25);
}
.btn-primary:hover { color: #1b1307; background: linear-gradient(180deg, #ffe2a6 0%, var(--gold-hi) 60%, var(--gold) 100%); }
.btn-sky { color: #e9f5ff; border-color: var(--sky); background: linear-gradient(180deg, #2d6f9c, var(--sky-lo)); }
.btn-sky:hover { color: #fff; background: linear-gradient(180deg, #3a86bb, #2d6f9c); }
.btn-danger { color: #ffd9d6; border-color: rgba(210, 69, 75, 0.7); }
.btn-danger:hover { color: #fff; background: rgba(210, 69, 75, 0.2); border-color: var(--crimson); }
.btn-small { min-height: 36px; padding: 6px 12px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kahraman (hero) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 9vw, 110px) 0 0;
  text-align: center;
}
.hero .rune { font-size: clamp(0.9rem, 2.2vw, 1.15rem); }
.hero h1 {
  margin: 10px 0 0;
  letter-spacing: 0.14em;
  background: linear-gradient(180deg, #fff1cf 0%, var(--gold-hi) 40%, var(--gold) 75%, #a77a2f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(212, 162, 76, 0.18);
}
.hero .subtitle {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 3.6vw, 2.1rem);
  font-weight: 600;
  color: var(--ak);
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}
.hero .lead {
  max-width: 680px;
  margin: 0 auto 10px;
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  color: var(--text);
}
.hero .tagline { color: var(--text-dim); margin-bottom: 28px; }
.hero .btn-row { justify-content: center; }
.hero-scene {
  position: relative;
  margin-top: clamp(28px, 6vw, 56px);
  height: clamp(150px, 26vw, 300px);
}
.hero-scene svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 6px 14px;
  font-size: 0.875rem;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 10, 18, 0.6);
}
.status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--text-faint);
  box-shadow: 0 0 0 3px rgba(142, 136, 124, 0.2);
}
.status-dot[data-state="online"] { background: var(--ok); box-shadow: 0 0 0 3px rgba(127, 201, 143, 0.2); }
.status-dot[data-state="offline"] { background: var(--warn); box-shadow: 0 0 0 3px rgba(240, 184, 90, 0.2); }

/* ---------- Bölümler ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; position: relative; }
.section-alt {
  background:
    linear-gradient(180deg, rgba(19, 27, 46, 0.0), rgba(19, 27, 46, 0.72) 12%, rgba(19, 27, 46, 0.72) 88%, rgba(19, 27, 46, 0));
}
.page-head { padding: clamp(40px, 7vw, 72px) 0 clamp(16px, 3vw, 28px); text-align: center; }
.page-head p { color: var(--text-dim); max-width: 680px; margin: 0 auto; }

.grid { display: grid; gap: clamp(14px, 2.4vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* Kart: köşelerde altın köşebent süsü. */
.card {
  position: relative;
  padding: clamp(18px, 3vw, 26px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--gold);
  pointer-events: none;
}
.card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--radius); }
.card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: var(--radius); }
.card h3 { margin-bottom: 0.35em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 56px; height: 56px; margin-bottom: 14px; color: var(--gold); }
.card .kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.card[data-accent="sky"] { border-color: rgba(90, 174, 227, 0.45); }
.card[data-accent="sky"]::before, .card[data-accent="sky"]::after { border-color: var(--sky); }
.card[data-accent="sky"] h3 { color: #bfe3fb; }
.card[data-accent="ak"] { border-color: rgba(236, 230, 214, 0.4); }
.card[data-accent="ak"]::before, .card[data-accent="ak"]::after { border-color: var(--ak); }
.card[data-accent="ak"] h3 { color: #fffaf0; }
.card[data-accent="crimson"] { border-color: rgba(210, 69, 75, 0.5); }
.card[data-accent="crimson"]::before, .card[data-accent="crimson"]::after { border-color: var(--crimson); }
.card[data-accent="crimson"] h3 { color: #ffb4b0; }
.card[data-accent="erlik"] { border-color: rgba(139, 108, 199, 0.45); }
.card[data-accent="erlik"]::before, .card[data-accent="erlik"]::after { border-color: var(--erlik); }
.card[data-accent="erlik"] h3 { color: #d6c6f5; }

.pillar-num {
  font-family: var(--f-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(212, 162, 76, 0.35);
  float: right;
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; padding: 0; list-style: none; }
.tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(212, 162, 76, 0.07);
}
.tag-sky { border-color: rgba(90, 174, 227, 0.55); color: #cbe9fd; background: rgba(90, 174, 227, 0.1); }
.tag-crimson { border-color: rgba(210, 69, 75, 0.55); color: #ffc9c5; background: rgba(210, 69, 75, 0.1); }

.paths { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.paths li { padding: 8px 12px; border-left: 2px solid var(--gold); background: rgba(212, 162, 76, 0.06); }
.paths strong { color: var(--gold-hi); }

.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 12px 0 0; }
.facts dt { color: var(--text-dim); font-size: 0.875rem; }
.facts dd { margin: 0; font-weight: 600; }

.hero-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: hero;
}
.hero-list li {
  counter-increment: hero;
  position: relative;
  padding: 14px 14px 14px 52px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-list li::before {
  content: counter(hero);
  position: absolute;
  left: 12px; top: 12px;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--gold-hi);
  border: 1px solid var(--line-strong);
  transform: rotate(45deg);
}
.hero-list li strong { display: block; font-family: var(--f-display); font-size: 1.2rem; color: var(--gold-hi); }
.hero-list li span { font-size: 0.9rem; color: var(--text-dim); }

.season-strip {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.cta-band {
  text-align: center;
  padding: clamp(36px, 6vw, 60px) var(--gutter);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 162, 76, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(27, 37, 64, 0.85), rgba(12, 18, 32, 0.95));
}
.cta-band .btn-row { justify-content: center; }

/* ---------- Formlar ---------- */
.form-card { max-width: 480px; margin: 0 auto; }
.field { margin-bottom: 16px; }
.field label, .field .label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
.field .hint { display: block; margin-top: 4px; font-size: 0.85rem; color: var(--text-dim); }
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: rgba(7, 10, 18, 0.75);
  border: 1px solid rgba(183, 176, 161, 0.35);
  border-radius: var(--radius);
}
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--sky); outline-offset: 1px; }
input[aria-invalid="true"] { border-color: var(--err); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); flex: none; }

.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: block;
  height: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 10, 18, 0.55);
  cursor: pointer;
}
.choice label strong { display: block; font-family: var(--f-display); font-size: 1.2rem; color: var(--gold-hi); }
.choice label span { display: block; font-size: 0.85rem; color: var(--text-dim); font-weight: 400; }
.choice input:checked + label { border-color: var(--gold-hi); background: rgba(212, 162, 76, 0.14); box-shadow: 0 0 0 1px var(--gold) inset; }
.choice input:focus-visible + label { outline: 2px solid var(--sky); outline-offset: 2px; }
.choice[data-boy="kok"] input:checked + label { border-color: var(--sky); background: rgba(90, 174, 227, 0.14); box-shadow: 0 0 0 1px var(--sky) inset; }
.choice[data-boy="ak"] input:checked + label { border-color: var(--ak); background: rgba(236, 230, 214, 0.1); box-shadow: 0 0 0 1px var(--ak) inset; }
.choice[data-boy="kizil"] input:checked + label { border-color: var(--crimson); background: rgba(210, 69, 75, 0.14); box-shadow: 0 0 0 1px var(--crimson) inset; }
fieldset { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
legend { font-weight: 600; margin-bottom: 8px; padding: 0; }

.alert {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(212, 162, 76, 0.08);
  margin: 0 0 16px;
}
.alert:empty { display: none; }
.alert[data-kind="error"] { border-color: rgba(255, 138, 128, 0.55); background: rgba(210, 69, 75, 0.12); color: #ffd2cd; }
.alert[data-kind="ok"] { border-color: rgba(127, 201, 143, 0.55); background: rgba(127, 201, 143, 0.1); color: #d5f3db; }
.alert[data-kind="info"] { border-color: rgba(90, 174, 227, 0.5); background: rgba(90, 174, 227, 0.1); color: #d7eefc; }

.form-foot { margin-top: 18px; text-align: center; color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid rgba(212, 162, 76, 0.14); }
th { font-family: var(--f-display); font-size: 1.05rem; color: var(--gold-hi); background: rgba(212, 162, 76, 0.07); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(212, 162, 76, 0.05); }
td.num, th.num { text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.rank-1 td:first-child { color: #ffd76e; font-weight: 700; }
.rank-2 td:first-child { color: #d9dde3; font-weight: 700; }
.rank-3 td:first-child { color: #e2a476; font-weight: 700; }
.req-table th[scope="row"] { font-family: var(--f-body); font-size: 0.95rem; color: var(--text-dim); background: transparent; width: 40%; }

.boy-badge { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.boy-badge::before { content: ""; width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); background: var(--text-faint); }
.boy-badge[data-boy="kok"]::before { background: var(--sky); }
.boy-badge[data-boy="ak"]::before { background: var(--ak); }
.boy-badge[data-boy="kizil"]::before { background: var(--crimson); }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 18px; }
.filters .field { margin: 0; min-width: 160px; flex: 1 1 160px; }

/* ---------- Mağaza ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.chip {
  min-height: 40px;
  padding: 6px 14px;
  font: 600 0.9rem var(--f-body);
  color: var(--text);
  background: rgba(7, 10, 18, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.chip:hover { border-color: var(--line-strong); color: var(--gold-hi); }
.chip[aria-pressed="true"] { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1b1307; border-color: var(--gold-hi); }

.shop-item { display: flex; flex-direction: column; }
.shop-item .icon { width: 64px; height: 64px; }
.shop-item p { flex: 1; color: var(--text-dim); font-size: 0.95rem; }
.shop-item .buy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.price { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 1.1rem; color: var(--gold-hi); }
.coin {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1c4, var(--gold) 55%, var(--gold-lo));
  box-shadow: 0 0 0 1px #6b4c1c inset;
  position: relative;
  flex: none;
}
.coin::after { content: ""; position: absolute; inset: 6px; background: rgba(60, 40, 10, 0.6); }
.owned-badge { font-size: 0.85rem; font-weight: 700; color: var(--ok); }

.balance-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(212, 162, 76, 0.08);
}
.balance-big { font-family: var(--f-display); font-size: 2.6rem; line-height: 1.1; font-weight: 700; color: var(--gold-hi); display: inline-flex; align-items: center; gap: 10px; }
.balance-big .coin { width: 26px; height: 26px; }
.balance-big .coin::after { inset: 9px; }

/* ---------- Hesap ---------- */
.account-layout { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .account-layout { grid-template-columns: 2fr 1fr; align-items: start; } }
.stack { display: grid; gap: 24px; }
.char-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin-bottom: 20px; }
.char-card {
  position: relative;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: rgba(7, 10, 18, 0.55);
}
.char-card[data-boy="kok"] { border-left-color: var(--sky); }
.char-card[data-boy="ak"] { border-left-color: var(--ak); }
.char-card[data-boy="kizil"] { border-left-color: var(--crimson); }
.char-card h4 { margin: 0 0 4px; font-size: 1.35rem; }
.char-card .icon { float: right; width: 36px; height: 36px; margin: 0 0 6px 8px; color: var(--gold); opacity: 0.85; }
.char-card .meta { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 10px; }
.empty { padding: 18px; text-align: center; color: var(--text-dim); border: 1px dashed var(--line); border-radius: var(--radius); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.kv dt { color: var(--text-dim); }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.pkg-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); }
.pkg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 10, 18, 0.55);
}
.pkg .amount { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; color: var(--gold-hi); }
.pkg .bonus { font-size: 0.8rem; color: var(--ok); min-height: 1.2em; }
.pkg .tl { color: var(--text); font-weight: 600; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plain-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-bottom: 1px solid rgba(212, 162, 76, 0.12); }

/* ---------- Haberler ---------- */
.news-list { display: grid; gap: 20px; max-width: 820px; margin: 0 auto; }
.news-item time { display: block; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 4px; letter-spacing: 0.04em; }
.news-item h2, .news-item h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

/* ---------- Hukuki metin ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.draft-banner {
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  border: 2px dashed var(--warn);
  border-radius: var(--radius);
  background: rgba(240, 184, 90, 0.1);
  color: #ffe6bd;
  font-weight: 600;
}

/* ---------- Alt bilgi ---------- */
.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  background: rgba(5, 7, 13, 0.92);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-dim);
}
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; }
.footer-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: 18px; }
.site-footer h2 { font-size: 1.15rem; margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--gold-hi); text-decoration: underline; }
.footer-note { border-top: 1px solid rgba(212, 162, 76, 0.15); padding-top: 14px; }

/* ---------- Küçük ekran ince ayarı (360 px) ---------- */
@media (max-width: 420px) {
  body { font-size: 0.97rem; }
  .brand-name { font-size: 1.3rem; }
  .brand-sub { display: none; }
  .btn { width: 100%; }
  .btn-small, .chip, .nav-toggle { width: auto; }
  .hero .btn-row .btn { width: 100%; }
  th, td { padding: 8px 10px; }
  .rune-band { letter-spacing: 0.35em; }
  .facts { grid-template-columns: 1fr; }
  .facts dd { margin-bottom: 6px; }
}

/* ---------- Yazdırma ---------- */
@media print {
  body::before, .site-header, .site-footer, .rune-band, .btn { display: none !important; }
  body { color: #000; background: #fff; }
  .card { box-shadow: none; border-color: #999; background: #fff; }
}

/* Yama notları */
.patch-notes { margin: .6rem 0 0; padding-left: 1.25rem; }
.patch-notes li { margin: .3rem 0; line-height: 1.55; }
