/* Hobby2 — koyu, Metin2 havasında tema */
/* Yazı tipleri siteyle birlikte gelir (SIL Open Font License) */
@font-face { font-family: "Cinzel Decorative"; src: url("fonts/cinzel-decorative-900.woff") format("woff"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("fonts/cinzel.woff") format("woff"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3.woff") format("woff"); font-weight: 200 900; font-display: swap; }

:root {
  --bg: #0c0907;
  --bg-2: #120d09;
  --panel: #17110c;
  --panel-2: #1f1710;
  --line: #3b2b1b;
  --line-soft: #2a1f15;
  --gold: #d9ad55;
  --gold-hi: #f3d58c;
  --gold-lo: #9c7433;
  --red: #a32b22;
  --red-hi: #c8412f;
  --text: #ece2d2;
  --muted: #a8998a;
  --ok: #58b36b;
  --bad: #d0513f;
  --info: #5e8fc4;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(163, 43, 34, .16), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(217, 173, 85, .07), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: .02em; line-height: 1.25; margin: 0 0 .5em; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #0a0806;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: .05em .4em;
  font-size: .92em;
  color: var(--gold-hi);
}

.wrap { width: 100%; max-width: 1272px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 520px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.strong { font-weight: 600; }
.pad { padding: 0 22px; }
.page { padding-top: 36px; padding-bottom: 56px; }
.page-title { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--gold-hi); margin-bottom: 22px; }
.subhead { font-family: var(--font-display); font-size: 1rem; color: var(--gold); margin-top: 22px; }

/* ---------- Üst çubuk ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 9, 7, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-lo), transparent);
  opacity: .6;
}
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: inline-flex; align-items: center; color: var(--text); flex-shrink: 0; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand-logo { display: block; height: 48px; width: auto; max-width: 190px; object-fit: contain; }
.brand-logo.brand-foot { height: 42px; }
.wordmark { display: block; height: auto; overflow: visible; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 12px rgba(255, 106, 31, .35)); }
.wordmark.brand-top { width: 150px; }
.wordmark.brand-foot { width: 132px; }

.nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 16px; }
.nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-main a {
  display: inline-block;
  padding: 9px 12px;
  border-radius: 6px;
  color: #dccbae;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-main a:hover { background: rgba(217, 173, 85, .07); color: var(--gold-hi); text-decoration: none; }
.nav-main a.active { color: var(--gold-hi); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 6px 6px 0 0; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.server-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
  color: var(--muted);
  font-size: .85rem;
  white-space: nowrap;
}
.server-pill b { color: var(--gold-hi); }
.server-pill .dot { width: 8px; height: 8px; }
.inline-form { margin: 0; }

.nav-check { display: none; }
.nav-burger { display: none; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold {
  color: #1a120b;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #b98a3c);
  border-color: #6d4f22;
  box-shadow: 0 6px 18px rgba(217, 173, 85, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-gold:hover { color: #1a120b; box-shadow: 0 8px 24px rgba(217, 173, 85, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { color: var(--gold-hi); background: rgba(217, 173, 85, .06); border-color: var(--gold-lo); }
.btn-ghost:hover { color: var(--gold-hi); background: rgba(217, 173, 85, .14); }
.btn-danger { color: #fff; background: linear-gradient(180deg, var(--red-hi), var(--red)); border-color: #5e1712; }
.btn-danger:hover { color: #fff; }
.btn-disabled { color: var(--muted); background: var(--panel-2); border-color: var(--line); cursor: default; }
.btn-disabled:hover { transform: none; }
.btn-sm { padding: 9px 16px; font-size: .78rem; }
.btn-lg { padding: 16px 30px; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Kartlar ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(243, 213, 140, .05);
}
.card::before {
  content: "";
  position: absolute;
  top: -1px; left: 18px; right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .55;
}
.card-flush { padding: 22px 0 0; overflow: hidden; }
.card-title { font-size: 1.2rem; color: var(--gold-hi); margin-bottom: 14px; }
.card-foot-link { display: block; padding: 14px 22px; border-top: 1px solid var(--line-soft); font-weight: 600; }
.card-foot-link:hover { background: rgba(217, 173, 85, .05); text-decoration: none; }

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  color: var(--gold-hi);
  margin: 0 0 16px;
}
.section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.section-title.center { justify-content: center; }
.section-title.center::before { content: ""; flex: 1; height: 1px; background: linear-gradient(270deg, var(--line), transparent); }

/* ---------- Kahraman alanı ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 360px at 50% 42%, rgba(255, 90, 31, .16), transparent 70%),
    radial-gradient(1400px 600px at 50% 125%, rgba(163, 43, 34, .32), transparent 70%),
    linear-gradient(180deg, #0a0605 0%, #150a07 55%, var(--bg) 100%);
}
.hero-photo { background: #0a0605; }
.hero-photo::before {
  content: "";
  position: absolute; inset: -12px;
  background: var(--hero-img) center 35% / cover no-repeat;
  filter: blur(2px) brightness(.55) saturate(.9);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(12, 9, 7, 0) 32%),
    linear-gradient(180deg, rgba(12, 9, 7, .6) 0%, rgba(12, 9, 7, 0) 22%),
    radial-gradient(ellipse 70% 80% at 50% 45%, rgba(12, 9, 7, 0) 40%, rgba(12, 9, 7, .55) 100%);
  pointer-events: none;
}
.hero-stage { position: relative; z-index: 2; min-height: 560px; display: flex; align-items: center; justify-content: center; }
.hero-center { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 0 72px; }
.hero-logo-wrap { margin: 0; line-height: 0; }
.hero-logo { display: block; max-width: min(560px, 90vw); max-height: 290px; width: auto; height: auto; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .75)); }
.wordmark-hero {
  width: min(560px, 88vw);
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .55)) drop-shadow(0 0 34px rgba(255, 90, 31, .45)) drop-shadow(0 18px 30px rgba(0, 0, 0, .8));
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.hero-cta .btn-ghost { background: rgba(14, 9, 6, .78); border-color: #7a5a26; }
.hero-cta .btn-ghost:hover { background: rgba(40, 26, 12, .9); }
.hero-char {
  position: absolute;
  bottom: 0;
  z-index: 1;
  width: 35%;
  height: 90%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .65));
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 26%);
  mask-image: linear-gradient(to top, transparent 0, #000 26%);
}
.hero-char-left { left: -5%; object-position: left bottom; }
.hero-char-right { right: -5%; object-position: right bottom; }
.admin-hint { margin: 18px 0 0; font-size: .88rem; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 7px 16px;
  border: 1px solid var(--gold-lo);
  border-radius: 999px;
  color: var(--gold-hi);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(12, 9, 7, .6);
}
.eyebrow .dot { width: 8px; height: 8px; }

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(88, 179, 107, .18), 0 0 12px var(--ok); }
.dot-bad { background: var(--bad); box-shadow: 0 0 0 4px rgba(208, 81, 63, .18); }

/* ---------- İstatistikler ---------- */
.stats {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.stat-label { color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.stat-value { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--gold-hi); }
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; }
.pill-ok { color: #9ee3ac; background: rgba(88, 179, 107, .12); border: 1px solid rgba(88, 179, 107, .35); }
.pill-ok i { background: var(--ok); }
.pill-bad { color: #f0a597; background: rgba(208, 81, 63, .12); border: 1px solid rgba(208, 81, 63, .35); }
.pill-bad i { background: var(--bad); }
.pill-wait { color: #f3d58c; background: rgba(217, 173, 85, .12); border: 1px solid rgba(217, 173, 85, .4); }
.pill-wait i { background: var(--gold); }
.pill-off { color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.pill-off i { background: var(--muted); }
.nav-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 999px; background: var(--red-hi); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: 0; line-height: 1; vertical-align: 1px; }

/* ---------- Ana sayfa blokları ---------- */
.home-grid { display: grid; grid-template-columns: 280px 1fr 300px; gap: 24px; align-items: start; margin-top: 8px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .22); }
.card-head span { font-family: var(--font-display); font-weight: 700; color: var(--gold-hi); text-transform: uppercase; letter-spacing: .08em; }
.card-head a { color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.card-head a:hover { color: var(--gold-hi); text-decoration: none; }
.login-card { padding: 0; overflow: hidden; }
.login-body { display: grid; gap: 12px; padding: 18px; }
.login-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.login-foot .small { line-height: 1.35; }
.login-forgot { color: var(--muted); }
.login-forgot:hover { color: var(--gold-hi); }
.welcome-user { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 1.05rem; }
.welcome-user .ui-icon { width: 26px; height: 26px; color: var(--gold); }
.welcome-title {
  position: relative;
  margin: 2px 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--gold-hi);
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.welcome-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 90px; height: 2px; background: var(--gold); }
.welcome-text { margin: 0 0 18px; color: #d9ccba; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { display: block; padding: 18px; color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.step:hover { color: var(--text); text-decoration: none; transform: translateY(-2px); border-color: var(--gold-lo); }
.step-no {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  margin-bottom: 12px;
  border-radius: 7px;
  color: #1a120b;
  font-weight: 800;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #b98a3c);
}
.step h3 { margin: 0 0 6px; font-family: var(--font-body); font-size: .93rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.step p { margin: 0; font-size: .92rem; }
.side-links { display: grid; gap: 14px; }
.dl-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border: 1px solid #8a6524;
  border-radius: var(--radius);
  color: var(--text);
  background:
    radial-gradient(260px 120px at 90% 0%, rgba(255, 215, 114, .25), transparent 70%),
    linear-gradient(135deg, #5a3d17, #2a1a0c 70%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 230, 160, .2);
}
.dl-card:hover { color: var(--text); text-decoration: none; border-color: var(--gold); }
.dl-card b, .side-card b { display: block; font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.dl-card b { font-size: 1.18rem; color: var(--gold-hi); white-space: nowrap; }
.dl-card small, .side-card small { display: block; color: var(--muted); font-size: .88rem; }
.dl-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 50%;
  color: #2a1606;
  background: radial-gradient(circle at 40% 35%, #ffe7a0, #d9ad55 55%, #8a5a1c);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .35), 0 6px 18px rgba(0, 0, 0, .5);
}
.dl-icon .ui-icon { width: 30px; height: 30px; stroke-width: 2.4; }
.side-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
}
a.side-card:hover { color: var(--text); text-decoration: none; border-color: var(--gold-lo); }
.side-card b { font-size: .98rem; }
.side-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #0b0806; color: var(--gold); }
.side-icon .ui-icon { width: 24px; height: 24px; }
.status-inline { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2px; }
.status-inline span { display: inline-flex; align-items: center; gap: 6px; }
.status-inline .dot { width: 7px; height: 7px; box-shadow: none; }

/* ---------- Düzen ---------- */
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 44px; }
.page .two-col { margin-top: 24px; }
.two-col.even { grid-template-columns: 1fr 1fr; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }

/* ---------- Duyurular ---------- */
.news { margin-bottom: 16px; }
.news h3 { font-size: 1.15rem; margin: 0; color: var(--text); }
.news header { margin-bottom: 10px; }
.news header p { margin: 2px 0 0; }
.news-body { color: #d9ccba; }

/* ---------- Mini sıralama ---------- */
.mini-rank { list-style: none; margin: 0; padding: 0 12px 6px; }
.mini-rank li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; }
.mini-rank li + li { border-top: 1px solid var(--line-soft); }
.mini-rank small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.rank-name { font-weight: 600; }
.rank-lv { font-family: var(--font-display); color: var(--gold); font-weight: 700; }
.rank-no {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--muted);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.place-1 .rank-no { color: #2a1b06; background: linear-gradient(145deg, #ffe7a3, #d9ad55); border-color: #8a6524; }
.place-2 .rank-no { color: #1e1e22; background: linear-gradient(145deg, #f1f1f4, #a9adb8); border-color: #6c707a; }
.place-3 .rank-no { color: #2a1509; background: linear-gradient(145deg, #f0b98a, #b06d38); border-color: #7a4520; }

/* ---------- Galeri ---------- */
.gallery-wrap { margin-top: 56px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item {
  padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #000; cursor: zoom-in; aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease, opacity .2s; opacity: .92; }
.gallery-item:hover img { transform: scale(1.05); opacity: 1; }
.gallery-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lightbox { padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #000; max-width: 94vw; max-height: 90vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { display: block; max-width: 94vw; max-height: 90vh; object-fit: contain; }
.lightbox form { position: absolute; top: 8px; right: 8px; margin: 0; }
.lightbox-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold-lo); background: rgba(12, 9, 7, .8); color: var(--gold-hi); font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* ---------- Özellikler ---------- */
.features-wrap { margin-top: 56px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { margin: 0; }
.feature { border-top: 2px solid var(--gold-lo); }

/* ---------- Çağrı bandı ---------- */
.cta-band { margin: 56px auto 64px; }
.cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 30px 32px;
  background:
    radial-gradient(500px 200px at 100% 0%, rgba(163, 43, 34, .22), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}
.cta-card h2 { font-size: 1.5rem; color: var(--gold-hi); margin: 0 0 4px; }
.cta-card p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Formlar ---------- */
.form-card { padding: 30px; }
.form-card .card-title { font-size: 1.6rem; margin-bottom: 4px; }
.form-card > .muted { margin-top: 0; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field small { display: block; color: var(--muted); margin-top: 5px; font-size: .84rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="number"], select, textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0b0806;
  color: var(--text);
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 173, 85, .18); }
.field-captcha b { color: var(--gold-hi); font-family: var(--font-display); }
.field-captcha input { max-width: 120px; }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; }
.narrow-card { max-width: 640px; }

/* ---------- Uyarılar ---------- */
.flashes { padding-top: 20px; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; border: 1px solid; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-ok { background: rgba(88, 179, 107, .1); border-color: rgba(88, 179, 107, .4); color: #b9ebc4; }
.alert-bad { background: rgba(208, 81, 63, .1); border-color: rgba(208, 81, 63, .45); color: #f3b8ad; }
.alert-info { background: rgba(94, 143, 196, .1); border-color: rgba(94, 143, 196, .4); color: #bcd3ec; }
.notice-bar {
  background: linear-gradient(90deg, rgba(163, 43, 34, .35), rgba(163, 43, 34, .15));
  border-bottom: 1px solid rgba(200, 65, 47, .4);
  padding: 9px 0;
  font-weight: 500;
  text-align: center;
}
.notice-bar a { color: var(--gold-hi); text-decoration: underline; }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 22px; text-align: left; white-space: nowrap; }
.table th { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .15); }
.table td { border-bottom: 1px solid var(--line-soft); }
.table tbody tr:hover { background: rgba(217, 173, 85, .04); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; }
.rank-table tr.place-1 td { background: rgba(217, 173, 85, .07); }

/* ---------- Rozetler ---------- */
.job { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .84rem; font-weight: 600; border: 1px solid; }
.job-savasci { color: #f0a597; border-color: rgba(208, 81, 63, .45); background: rgba(208, 81, 63, .1); }
.job-ninja   { color: #a8e0b2; border-color: rgba(88, 179, 107, .4); background: rgba(88, 179, 107, .1); }
.job-sura    { color: #d3b1f0; border-color: rgba(160, 110, 210, .45); background: rgba(160, 110, 210, .1); }
.job-saman   { color: #a9ccf0; border-color: rgba(94, 143, 196, .45); background: rgba(94, 143, 196, .1); }
.job-lycan   { color: #f0cf8a; border-color: rgba(217, 173, 85, .45); background: rgba(217, 173, 85, .1); }
.emp { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.emp i { width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); }
.emp-red i { background: #c8412f; }
.emp-yellow i { background: #e0b73e; }
.emp-blue i { background: #4a7fc4; }
.emp-none i { background: var(--line); }

/* ---------- Sekmeler ---------- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tab { padding: 10px 18px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--gold-hi); text-decoration: none; }
.tab.active { color: var(--gold-hi); border-bottom-color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .92rem; background: var(--panel); }
.chip:hover { color: var(--gold-hi); border-color: var(--gold-lo); text-decoration: none; }
.chip.active { color: #1a120b; background: var(--gold); border-color: var(--gold); }

/* ---------- Bilgi listeleri ---------- */
.info-list { margin: 0; }
.info-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* ---------- İndirme ---------- */
.download-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.download-card p { margin: 0; }
.download-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.steps { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 10px; }
.steps li::marker { color: var(--gold); font-family: var(--font-display); font-weight: 700; }

/* ---------- Yönetim ---------- */
.admin-list { list-style: none; margin: 0; padding: 0; }
.admin-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 22px; border-top: 1px solid var(--line-soft); }
.admin-actions { display: grid; gap: 12px; margin-top: 16px; }
.admin-actions form { margin: 0; }

/* ---------- Alt bilgi ---------- */
.footer { border-top: 1px solid var(--line-soft); background: #090705; margin-top: 24px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 32px; padding-bottom: 20px; flex-wrap: wrap; }
.footer-inner p { margin: 8px 0 0; max-width: 360px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-weight: 500; }
.footer-links a:hover { color: var(--gold-hi); }
.footer-bottom { padding-top: 14px; padding-bottom: 26px; border-top: 1px solid var(--line-soft); }

.error-page { padding-top: 80px; }

/* ---------- İç sayfaların üst şeridi ---------- */
.page-inner main {
  position: relative;
  background: radial-gradient(900px 260px at 78% 0%, rgba(163, 43, 34, .16), transparent 70%);
}
.page-inner.has-hero main::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 320px;
  background:
    linear-gradient(180deg, rgba(12, 9, 7, .45) 0%, rgba(12, 9, 7, .82) 100%),
    var(--hero-img, none) center 30% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 25%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 25%, transparent 100%);
  pointer-events: none;
}
.page-inner main > * { position: relative; }

/* ---------- Hesabım ---------- */
.account-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ep-amount { color: var(--gold-hi); font-family: var(--font-display); }
.pad-x { padding: 0 22px 16px; margin: 12px 0 0; }

/* ---------- Destek ---------- */
.ticket-list { list-style: none; margin: 0; padding: 0; }
.ticket-list li + li { border-top: 1px solid var(--line-soft); }
.ticket-list a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 22px; color: var(--text); }
.ticket-list a:hover { background: rgba(217, 173, 85, .05); text-decoration: none; }
.ticket-list b { display: block; }
.ticket-list small { display: block; margin-top: 2px; }
.ticket-list .pill { flex-shrink: 0; }
.ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.ticket-head .card-title { margin: 4px 0 0; }
.thread { display: grid; gap: 12px; margin-bottom: 16px; }
.msg { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); max-width: 88%; }
.msg header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.msg-staff { margin-left: auto; border-color: var(--gold-lo); background: linear-gradient(180deg, rgba(217, 173, 85, .1), rgba(217, 173, 85, .03)); }
.msg-staff header b { color: var(--gold-hi); }
.form-actions-end { display: flex; justify-content: flex-end; margin: 10px 0 0; }
.check { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--gold); width: 16px; height: 16px; }
.ep-quick input[type="number"] { font-size: 1.1rem; }

/* ---------- EP ---------- */
.ep-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.ep-info { margin: 0; max-width: 720px; color: #d9ccba; }
.ep-balance { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ep-balance b { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-hi); }
.ep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.ep-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 20px 20px; }
.ep-card h2 { margin: 0; font-size: 1.5rem; color: var(--gold-hi); }
.ep-card p { margin: 0; }
.ep-card .btn { margin-top: auto; }
.ep-card-hot { border-color: var(--gold-lo); background: radial-gradient(240px 140px at 50% 0%, rgba(255, 190, 90, .16), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--panel)); }
.ep-coin { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #2a1606; background: radial-gradient(circle at 40% 35%, #ffe7a0, #d9ad55 55%, #8a5a1c); box-shadow: 0 0 0 4px rgba(0, 0, 0, .35), 0 8px 22px rgba(0, 0, 0, .5); }
.ep-coin { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; letter-spacing: .02em; text-shadow: 0 1px 0 rgba(255, 240, 200, .6); }
.stack { display: grid; gap: 16px; align-content: start; }
.card-list { padding-top: 0; }
.card-list .pad { padding-top: 22px; }
.ep-plus { color: #9ee3ac; font-weight: 700; }
.ep-minus { color: #f0a597; font-weight: 700; }

/* ---------- Nesne Market ---------- */
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.market-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.market-card h2 { margin: 0; font-size: 1.1rem; color: var(--text); }
.market-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 8px; background: radial-gradient(circle at 50% 40%, #2a1d12, #0b0806 75%); overflow: hidden; }
.market-img img { max-width: 80%; max-height: 80%; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .6)); }
.market-noimg { color: var(--gold-lo); }
.market-noimg .ui-icon { width: 54px; height: 54px; stroke-width: 1.4; }
.market-count { position: absolute; right: 8px; bottom: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: var(--gold-hi); font-weight: 700; font-size: .85rem; }
.market-desc { margin: 0; }
.market-price { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--gold-hi); }
.market-price small { font-size: .8rem; color: var(--gold); }
.market-buy { display: grid; grid-template-columns: 96px 1fr; gap: 8px; margin: 0; }
.market-buy select { padding: 9px 30px 9px 10px; }
.market-history, .market-sales { margin-top: 24px; }
.row-off td { opacity: .55; }
.row-actions { white-space: nowrap; }
.row-actions > * { margin-left: 6px; vertical-align: middle; }
.row-actions .inline-form { display: inline-block; }
input[type="file"] { color: var(--muted); font: inherit; max-width: 100%; }
input[type="file"]::file-selector-button {
  margin-right: 10px; padding: 8px 14px; border-radius: 7px;
  border: 1px solid var(--gold-lo); background: rgba(217, 173, 85, .08); color: var(--gold-hi);
  font: inherit; font-weight: 600; cursor: pointer;
}
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Tanıtım ---------- */
.intro-text { color: #d9ccba; font-size: 1.05rem; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.intro-section { margin-top: 40px; }
a.gallery-item { display: block; }

/* ---------- Mobil ---------- */
@media (max-width: 1100px) {
  .home-grid { grid-template-columns: 1fr 1fr; }
  .welcome { grid-column: 1 / -1; grid-row: 1; }
  .hero-char { width: 31%; }
  .ep-grid, .market-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-char { width: 32%; opacity: .5; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:first-child { grid-column: 1 / -1; }
  .msg { max-width: 100%; }
  .two-col, .two-col.even, .account-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; margin-left: auto; padding: 0 9px;
    border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  }
  .nav-burger span { height: 2px; background: var(--gold); border-radius: 2px; }
  .nav {
    display: none;
    position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px 16px 18px;
    background: #0e0a08;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 50;
  }
  .nav-check:checked ~ .nav { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav-main a { display: block; width: 100%; text-align: left; padding: 12px; }
  .nav-main a.active { box-shadow: inset 3px 0 0 var(--gold); border-radius: 0 7px 7px 0; }
  .nav-actions { justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line-soft); }
  .topbar-inner { height: 60px; }
}

@media (max-width: 760px) {
  .wordmark.brand-top { width: 120px; }
  .brand-logo { height: 40px; }
  .hero-stage { min-height: 420px; }
  .hero-center { padding: 48px 0 56px; }
  .hero-char { display: none; }
  .home-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 22px; }
  .table th, .table td { padding: 10px 14px; }
  .search-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .stats, .features, .ep-grid, .market-grid { grid-template-columns: 1fr; }
  .ticket-head, .ticket-list a { flex-direction: column; align-items: flex-start; }
  .ep-balance { align-items: flex-start; }
  .hero-cta .btn { width: 100%; }
  .stat-value { font-size: 1.8rem; }
}

/* ---------- Yönetim: görseller ---------- */
.media-preview {
  display: grid; place-items: center;
  margin: 14px 0;
  min-height: 150px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: repeating-conic-gradient(#15100c 0% 25%, #100c09 0% 50%) 0 0 / 20px 20px;
  overflow: hidden;
}
.media-preview img { display: block; max-width: 100%; max-height: 220px; object-fit: contain; }
.media-hero img { width: 100%; max-height: 220px; object-fit: cover; }
.upload-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.upload-row input[type="file"] { flex: 1; min-width: 200px; color: var(--muted); font: inherit; }
.upload-row input[type="file"]::file-selector-button {
  margin-right: 10px; padding: 8px 14px; border-radius: 7px;
  border: 1px solid var(--gold-lo); background: rgba(217, 173, 85, .08); color: var(--gold-hi);
  font: inherit; font-weight: 600; cursor: pointer;
}
.gallery-admin { margin-top: 24px; }
.gallery-manage { margin-top: 16px; }
.gallery-cell { position: relative; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-cell form { position: absolute; right: 8px; bottom: 8px; margin: 0; }
