/* =========================================================
   Continent of the 9th - Private Server Portal
   Tema: oyun ici UI assetlerinden turetilmis koyu/altin
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink-900: #070603;
  --ink-800: #0d0a06;
  --ink-700: #14100a;
  --ink-600: #1c1710;
  --ink-500: #262017;
  --line: rgba(201, 162, 39, .28);
  --line-soft: rgba(201, 162, 39, .14);
  --gold: #c9a227;
  --gold-2: #e8d08e;
  --gold-3: #8a6d1c;
  --parch: #d8c9a3;
  --text: #cdc4b3;
  --text-dim: #8d8577;
  --text-hi: #f2e9d6;
  --danger: #c1453b;
  --ok: #5f9d54;
  --shadow: 0 18px 48px rgba(0, 0, 0, .65);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--ink-900);
  display: flex;
  flex-direction: column;
}

/* ---- Sabit arka plan (oyun ici gorsel) ---- */
body::before {
  content: '';
  position: fixed; inset: 0;
  background: url('/assets/bg.jpg') center top / cover no-repeat;
  filter: saturate(.75) brightness(.55);
  z-index: -2;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 620px at 50% 0%, rgba(0,0,0,.18), rgba(0,0,0,.86) 70%),
    linear-gradient(180deg, rgba(7,6,3,.25) 0%, rgba(7,6,3,.92) 58%, #070603 100%);
  z-index: -1;
}

a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff3d2; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4, .cinzel {
  font-family: Cinzel, Georgia, serif;
  color: var(--text-hi);
  letter-spacing: .02em;
  margin: 0 0 .6rem;
}

/* =========================================================
   ÜST BAR / NAVIGASYON
   ========================================================= */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(9,7,4,.97) 0%, rgba(9,7,4,.88) 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}
.topbar-inner { display: flex; align-items: center; gap: 26px; height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; flex: none;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(201,162,39,.3));
}
.brand-text { line-height: 1.05; }
.brand-text b { font-family: Cinzel, serif; font-size: 17px; color: var(--text-hi); letter-spacing: .08em; display: block; }

.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim);
  transition: color .18s;
}
.nav a:hover { color: var(--text-hi); }
.nav a.active { color: var(--gold-2); }
.nav a.active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 14px; }

/* =========================================================
   BUTONLAR
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px;
  font-family: Cinzel, serif; font-weight: 700; font-size: 12.5px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-2);
  border: 1px solid var(--gold-3);
  background: linear-gradient(180deg, rgba(60,48,22,.75), rgba(16,12,6,.9));
  cursor: pointer;
  transition: .18s;
  white-space: nowrap;
}
.btn:hover {
  color: #fff6de;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201,162,39,.18), 0 0 22px rgba(201,162,39,.22);
  background: linear-gradient(180deg, rgba(84,66,28,.85), rgba(24,18,8,.92));
}
.btn-primary {
  color: #1a1204;
  background: linear-gradient(180deg, #e8d08e, #c9a227 55%, #9a7a1c);
  border-color: #f0dfae;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { color: #120c02; box-shadow: 0 0 26px rgba(201,162,39,.55); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text-dim); }
.btn-ghost:hover { color: var(--text-hi); }
.btn-danger { color: #ffd9d5; border-color: #6b2a24; background: linear-gradient(180deg, rgba(90,32,26,.7), rgba(24,10,8,.9)); }
.btn-sm { padding: 6px 12px; font-size: 11px; letter-spacing: .12em; }
.btn-lg { padding: 14px 30px; font-size: 14px; }
.btn-block { width: 100%; }

/* =========================================================
   PANELLER  (oyun ici cerceve mantigi)
   ========================================================= */
.panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(30,25,15,.94), rgba(10,8,4,.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 0 60px rgba(0,0,0,.55);
}
.panel::before {
  content: ''; position: absolute; inset: 3px;
  border: 1px solid rgba(201,162,39,.16);
  pointer-events: none;
}
.panel-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(201,162,39,.08), transparent);
}
.panel-head h2, .panel-head h3 {
  margin: 0; font-size: 15px; letter-spacing: .18em; text-transform: uppercase;
}
.panel-head .spacer { margin-left: auto; }
.panel-body { padding: 20px; }

/* kose susleri */
.panel.ornate::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(135deg, var(--gold) 0 1px, transparent 1px) top left / 14px 14px no-repeat,
    linear-gradient(-135deg, var(--gold) 0 1px, transparent 1px) top right / 14px 14px no-repeat,
    linear-gradient(45deg, var(--gold) 0 1px, transparent 1px) bottom left / 14px 14px no-repeat,
    linear-gradient(-45deg, var(--gold) 0 1px, transparent 1px) bottom right / 14px 14px no-repeat;
  opacity: .55;
}

/* =========================================================
   HERO  (ana sayfa)
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  display: grid; place-items: center;
  text-align: center;
  /* logo kutusundan yukari tastigi icin ust dolgu fazla, alt dolgu az:
     icerik banner icinde gorsel olarak ortalanir */
  padding: 168px 0 56px;
}
/* --- banner katmanlari ---
   .hero-art::before : gorselin bos kirmizi bolgesi (x %24-%44) sayfanin soluna
                       kadar yatayda gerilir  (duz gradyan oldugu icin bozulmaz)
   .hero-art::after  : sol karakter, elips maske ile kenarlari sonduruluyor
   .hero::before     : karakter, saga yaslanmis, orijinal oraninda
   .hero::after      : metin icin karartma                                     */
.hero-art {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -3;
}
.hero-art::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/assets/hero-mystic.jpg') 30% center / 500% 100% no-repeat;
  filter: saturate(.72) brightness(.52) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.5) 0%, #000 34%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.5) 0%, #000 34%);
}
.hero-art::after {
  content: '';
  position: absolute; left: 0; top: 0; height: 100%;
  aspect-ratio: 840 / 1080;   /* kutu = gorselin orani, maske olculeri viewport'tan bagimsiz kalir */
  background: url('/assets/hero-char-left.webp') center / cover no-repeat;
  filter: saturate(1.05) brightness(.72) contrast(1.14);
  -webkit-mask-image: radial-gradient(farthest-side ellipse at 46% 48%, #000 45%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(farthest-side ellipse at 46% 48%, #000 45%, rgba(0,0,0,0) 100%);
}

/* banner gorseli: saga yaslanmis karakter, sola dogru soner */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/assets/hero-mystic.jpg') right center / auto 100% no-repeat;
  filter: saturate(.72) brightness(.68) contrast(1.05);
  /* %62'ye kadar tamamen seffaf: gorselin kendi amblemi ve sol kenari gorunmesin,
     karakter/silah (%73'ten sonra basliyor) tam gorunsun */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 62%, #000 74%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 62%, #000 74%);
  z-index: -2;
}
/* metin okunurlugu icin karartma */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(720px 400px at 44% 48%, rgba(7,6,3,.86), rgba(7,6,3,0) 72%),
    linear-gradient(180deg, rgba(7,6,3,.62) 0%, rgba(7,6,3,.06) 34%, rgba(7,6,3,.72) 84%, var(--ink-900) 100%);
  z-index: -1;
}
/* oyun logosu: baslik satirinin arkasinda fon olarak durur */
.hero-emblem {
  position: relative;
  height: 30px;          /* eski ust satirin dikey yerini korur */
  margin-bottom: 18px;
}
.hero-emblem img {
  position: absolute;
  left: 50%; top: calc(50% - 22px);
  transform: translate(-50%, -50%);
  width: min(440px, 76vw); height: auto;
  opacity: .82;
  pointer-events: none;
  filter: drop-shadow(0 10px 38px rgba(0,0,0,.7));
}
.hero h1 {
  position: relative;    /* embleme gore ustte kalsin */
  margin-top: 42px;      /* logonun "Seal" yazisi baslikla cakismasin */
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 900; line-height: 1.02;
  color: rgba(242,233,214,.86);   /* logo altindan hafifce sizsin */
  text-shadow: 0 3px 22px rgba(7,6,3,.85), 0 0 60px rgba(201,162,39,.18);
  margin-bottom: 16px;
}
.hero p { max-width: 620px; margin: 0 auto 28px; color: #bcb2a0; font-size: 16px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.rune-divider {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  margin: 10px 0 24px; color: var(--gold);
}
.rune-divider::before, .rune-divider::after {
  content: ''; height: 1px; width: 90px;
  background: linear-gradient(90deg, transparent, var(--gold-3));
}
.rune-divider::after { background: linear-gradient(90deg, var(--gold-3), transparent); }

/* oyun ici egri seritler */
.band {
  height: 148px; width: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  pointer-events: none;
}
.band-top { background-image: url('/assets/band-top.png'); margin-bottom: -60px; }
.band-bottom { background-image: url('/assets/band-bottom.png'); margin-bottom: -1px; background-position: center bottom; }

/* icerik bolumu arka plani (oyun ici manzara, temaya uygun karartilmis) */
.content-bg {
  background:
    linear-gradient(180deg,
      rgba(7,6,3,.92) 0%,
      rgba(7,6,3,.55) 12%,
      rgba(7,6,3,.58) 74%,
      rgba(7,6,3,.93) 100%),
    url('/assets/ui-bg.webp') center center / cover no-repeat fixed;
}

/* =========================================================
   IZGARA / KARTLAR
   ========================================================= */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.6fr 1fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.stat {
  text-align: center; padding: 22px 14px;
}
.stat b {
  display: block; font-family: Cinzel, serif; font-size: 30px; color: var(--gold-2);
  text-shadow: 0 0 24px rgba(201,162,39,.35);
}
.stat span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-dim); }

/* ---- hikaye bolumu ---- */
.lore p {
  margin: 0 0 15px;
  font-size: 14.5px; line-height: 1.9; color: var(--text);
}
.lore p:last-child { margin-bottom: 0; }

/* =========================================================
   OYUN ICI KLIP SLIDER (ana sayfa)
   ========================================================= */
.slides {
  position: relative;
  aspect-ratio: 2 / 1;   /* kliplerin alt seridi kirpildi: 480x240 */
  background: #050402;
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease, visibility .5s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide video { width: 100%; height: 100%; object-fit: cover; display: block; background: #050402; }
.slider-nav {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--line-soft);
}
.slider-nav .spacer { margin-left: auto; }
.slider-dot {
  width: 28px; height: 3px; padding: 0; border: 0; cursor: pointer;
  background: rgba(201,162,39,.25);
  transition: background .2s;
}
.slider-dot:hover { background: rgba(201,162,39,.5); }
.slider-dot.is-active { background: var(--gold); box-shadow: 0 0 10px rgba(201,162,39,.5); }
.slider-arrow {
  width: 26px; height: 22px; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid var(--line-soft);
  color: var(--gold-2); font-size: 15px; line-height: 1;
  transition: border-color .2s, color .2s;
}
.slider-arrow:hover { border-color: var(--gold-3); color: var(--text-hi); }

.news-item {
  display: block; padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.045);
  transition: background .18s;
}
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: rgba(201,162,39,.06); }
.news-item h4 { margin: 0 0 6px; font-size: 15.5px; }
.news-item p { margin: 0; color: var(--text-dim); font-size: 13.5px; line-height: 1.6; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }

.tag {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  padding: 3px 9px; border: 1px solid var(--line); color: var(--gold);
  background: rgba(201,162,39,.07);
}
.tag.duyuru { color: #e8d08e; }
.tag.guncelleme { color: #8fb8d8; border-color: rgba(143,184,216,.3); background: rgba(143,184,216,.07); }
.tag.etkinlik { color: #c9a0d8; border-color: rgba(201,160,216,.3); background: rgba(201,160,216,.07); }
.date { font-size: 11.5px; color: var(--text-dim); letter-spacing: .08em; }

/* server info kutusu (bt-cen-svinfo asseti) */
.svinfo {
  position: relative;
  min-height: 232px;
  background: url('/assets/bt-cen-svinfo.png') center/cover no-repeat, var(--ink-800);
  border: 1px solid var(--line);
}
.svinfo-body {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(6,5,2,.96) 55%);
  padding: 42px 18px 16px;
}
.kv { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.07); font-size: 13px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--text-dim); }
.kv b { color: var(--gold-2); font-weight: 600; }

.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); margin-right: 6px; }
.status-dot.off { background: var(--danger); box-shadow: 0 0 10px var(--danger); }

/* =========================================================
   TABLO
   ========================================================= */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; padding: 12px 14px;
  font-family: Cinzel, serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid var(--line);
  background: rgba(201,162,39,.05);
  white-space: nowrap;
}
.table td { padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.04); }
.table tbody tr:hover { background: rgba(201,162,39,.055); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

.rank-badge {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; font-family: Cinzel, serif; font-size: 12px; font-weight: 700;
  border: 1px solid var(--line-soft); color: var(--text-dim);
}
.rank-1 { color: #1a1204; background: linear-gradient(180deg, #f0dca0, #c9a227); border-color: #f0dfae; }
.rank-2 { color: #101010; background: linear-gradient(180deg, #e2e2e2, #a9a9a9); border-color: #eee; }
.rank-3 { color: #1a0f06; background: linear-gradient(180deg, #e0a877, #a46a37); border-color: #e8b98d; }

.char-name { font-family: Cinzel, serif; color: var(--text-hi); font-weight: 700; }
.class-pill {
  font-size: 11px; padding: 3px 9px; border: 1px solid var(--line-soft);
  color: var(--text-dim); white-space: nowrap;
}

/* =========================================================
   FORMLAR
   ========================================================= */
.field { margin-bottom: 16px; }
.field label {
  display: block; margin-bottom: 7px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  font-weight: 600;
}
.input, select.input, textarea.input {
  width: 100%; padding: 12px 14px;
  color: var(--text-hi); font-size: 14px; font-family: inherit;
  background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(20,16,10,.5));
  border: 1px solid rgba(201,162,39,.22);
  outline: none; transition: .18s;
}
.input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201,162,39,.2), inset 0 0 22px rgba(201,162,39,.08);
}
.input::placeholder { color: #6d6558; }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.6; }
.hint { font-size: 11.5px; color: var(--text-dim); margin-top: 6px; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-dim); }
.check input { margin-top: 3px; accent-color: var(--gold); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* auth kart */
.auth-shell { display: grid; place-items: center; padding: 60px 0 90px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card .panel-body { padding: 26px 28px 30px; }
.auth-title { text-align: center; margin-bottom: 4px; }
.auth-sub { text-align: center; color: var(--text-dim); font-size: 13px; margin-bottom: 22px; }

/* =========================================================
   UYARILAR
   ========================================================= */
.alert {
  padding: 12px 16px; margin-bottom: 16px; font-size: 13.5px;
  border: 1px solid var(--line); background: rgba(201,162,39,.07); color: var(--gold-2);
}
.alert-error { border-color: rgba(193,69,59,.45); background: rgba(193,69,59,.1); color: #f0b8b2; }
.alert-ok { border-color: rgba(95,157,84,.4); background: rgba(95,157,84,.1); color: #bfe0b7; }

/* =========================================================
   SAYFA BASLIGI
   ========================================================= */
.page-head { padding: 54px 0 26px; text-align: center; }
.page-head h1 { font-size: clamp(26px, 4vw, 40px); }
.page-head p { color: var(--text-dim); margin: 0; font-size: 14px; }

.section { padding: 34px 0; }
.section-title {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.section-title h2 { margin: 0; font-size: 17px; letter-spacing: .2em; text-transform: uppercase; }
.section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

/* =========================================================
   PANEL DUZENI (kullanici + admin)
   ========================================================= */
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; }
.side-nav .panel-body { padding: 10px; }
.side-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; color: var(--text-dim);
  border-left: 2px solid transparent;
  transition: .16s;
}
.side-nav a:hover { color: var(--text-hi); background: rgba(201,162,39,.06); }
.side-nav a.active { color: var(--gold-2); border-left-color: var(--gold); background: rgba(201,162,39,.09); }
.side-nav .sep { height: 1px; background: var(--line-soft); margin: 8px 12px; }

.user-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border-bottom: 1px solid var(--line-soft);
}
.avatar {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  font-family: Cinzel, serif; font-weight: 900; font-size: 17px; color: var(--gold-2);
  border: 1px solid var(--gold-3);
  background: linear-gradient(145deg, rgba(201,162,39,.28), rgba(0,0,0,.6));
}
.user-chip b { display: block; color: var(--text-hi); font-size: 14px; }
.user-chip span { font-size: 11px; color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase; }

.badge-admin {
  font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  padding: 2px 7px; border: 1px solid var(--gold-3); color: var(--gold-2);
  background: rgba(201,162,39,.12);
}

.char-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  transition: .18s;
}
.char-card:hover { border-color: var(--line); background: rgba(201,162,39,.05); }
.char-portrait {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold);
  font-family: Cinzel, serif; font-size: 16px; font-weight: 700;
  background: radial-gradient(circle at 50% 30%, rgba(201,162,39,.22), rgba(0,0,0,.7));
}
.char-card .meta { flex: 1; min-width: 0; }
.char-card .meta b { display: block; font-family: Cinzel, serif; color: var(--text-hi); font-size: 15px; }
.char-card .meta span { font-size: 12px; color: var(--text-dim); }
.lv { font-family: Cinzel, serif; font-size: 20px; color: var(--gold-2); }

/* filtre cubugu */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.filters .field { margin: 0; }
.filters .input { min-width: 160px; }

.pager { display: flex; gap: 6px; justify-content: center; padding: 18px 0 4px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 36px; padding: 7px 10px; text-align: center; font-size: 12.5px;
  border: 1px solid var(--line-soft); color: var(--text-dim);
}
.pager a:hover { border-color: var(--gold-3); color: var(--gold-2); }
.pager .cur { border-color: var(--gold); color: var(--gold-2); background: rgba(201,162,39,.1); }

/* indirme */
.dl-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border: 1px solid var(--line-soft); margin-bottom: 10px;
  background: linear-gradient(90deg, rgba(201,162,39,.05), transparent);
}
.dl-item .meta { flex: 1; }
.dl-item .meta b { display: block; color: var(--text-hi); font-family: Cinzel, serif; }
.dl-item .meta span { font-size: 12px; color: var(--text-dim); }

.step { display: flex; gap: 14px; margin-bottom: 18px; }
.step-no {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--gold-3); color: var(--gold-2);
  font-family: Cinzel, serif; font-size: 13px; font-weight: 700;
}
.step p { margin: 4px 0 0; font-size: 13.5px; color: var(--text-dim); line-height: 1.65; }
.step b { color: var(--text-hi); }

/* =========================================================
   ALT BILGI
   ========================================================= */
.footer {
  margin-top: auto;
  background: linear-gradient(180deg, rgba(6,5,2,.9), #050402);
  border-top: 1px solid var(--line-soft);
  padding: 34px 0 26px;
  font-size: 12.5px; color: var(--text-dim);
}
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .links { display: flex; gap: 18px; margin-left: auto; }
.footer .links a { color: var(--text-dim); }
.footer .links a:hover { color: var(--gold-2); }
.footer small { display: block; margin-top: 10px; color: #5c564b; font-size: 11px; line-height: 1.6; }

.db-flag {
  position: fixed; right: 14px; bottom: 14px; z-index: 80;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 12px; border: 1px solid rgba(193,69,59,.4);
  background: rgba(30,8,6,.9); color: #e9a49c;
}

/* =========================================================
   MOBIL
   ========================================================= */
@media (max-width: 980px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .topbar-inner { height: auto; padding: 12px 0; flex-wrap: wrap; }
  .nav { width: 100%; overflow-x: auto; margin-left: 0; }
  .nav-actions { margin-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .band { height: 90px; }
  .band-top { margin-bottom: -36px; }
  .table-scroll { overflow-x: auto; }
  /* mobilde fixed arka plan pahali/desteksiz */
  .content-bg { background-attachment: scroll; }
  /* dar ekranda banner metnin arkasina geciyor: soluklastir */
  .hero { min-height: 460px; }
  .hero-art::before { filter: saturate(.72) brightness(.4) contrast(1.05); }
  .hero-art::after { opacity: .32; }
  .hero::before {
    background-position: right -60px center;
    opacity: .38;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 80%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 80%);
  }
}
