/* =====================================================================
   Ludan Ot 8.60 — Portal design system
   Dark fantasy: near-black, blood red, antique bronze/gold
   ===================================================================== */
:root {
  --bg: #090909;
  --bg-2: #0e0b0b;
  --panel: #151010;
  --panel-2: #1b1313;
  --panel-3: #221717;
  --row: #161111;
  --row-alt: #1c1515;

  --red: #7a0505;
  --red-bright: #a10f0f;
  --red-dark: #440000;
  --red-deep: #240000;

  --gold: #a8743c;
  --gold-light: #c8924f;
  --gold-hi: #e8b468;
  --gold-pale: #f3d9a4;
  --bronze: #5a3a1c;

  --text: #e7e1d8;
  --title: #f3e8d2;
  --muted: #a99f91;
  --dim: #7a7166;

  --border: rgba(168, 116, 60, .30);
  --border-strong: rgba(168, 116, 60, .62);
  --line: rgba(255, 255, 255, .05);

  --online: #5fbf3c;
  --offline: #d23b3b;

  --f-title: 'Cinzel', 'Times New Roman', serif;
  --f-body: 'Montserrat', 'Segoe UI', Arial, sans-serif;

  --shell: 1240px;
  --side: 236px;
  --gap: 14px;
  --radius: 4px;

  --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10'%3E%3Cpath d='M0 9.5h4.5v-7h7v5h-4v-2.5h1.5' fill='none' stroke='%23a8743c' stroke-width='1'/%3E%3Cpath d='M12 9.5h4.5v-7h7v5h-4v-2.5h1.5' fill='none' stroke='%23a8743c' stroke-width='1'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 13px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: var(--gold-light); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold-hi); }
b, strong { color: var(--title); font-weight: 600; }
code { font-family: Consolas, monospace; background: rgba(168,116,60,.12); border: 1px solid var(--border); color: var(--gold-pale); padding: 1px 6px; border-radius: 3px; font-size: .92em; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.gold { color: var(--gold-hi) !important; }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 14px; }
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0b0808; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--red-dark), var(--bronze)); border-radius: 5px; }

/* ---------- loading ---------- */
#loading { position: fixed; inset: 0; z-index: 9999; background: rgba(9,9,9,.97); display: flex; flex-direction: column; gap: 22px; align-items: center; justify-content: center; transition: opacity .4s, visibility .4s; }
#loading.hide { opacity: 0; visibility: hidden; }
#loading span { font-family: var(--f-title); letter-spacing: 5px; text-transform: uppercase; font-size: 12px; color: var(--gold-light); animation: pulse 1.5s infinite; }
.ld-spin { position: relative; width: 74px; height: 74px; }
.ld-spin::before, .ld-spin::after { content: ''; position: absolute; border-radius: 50%; }
.ld-spin::before { inset: 0; border: 4px solid rgba(168,116,60,.15); border-top-color: var(--gold-light); animation: spin 1s linear infinite; }
.ld-spin::after { inset: 10px; border: 4px solid rgba(161,15,15,.15); border-bottom-color: var(--red-bright); animation: spin 1.5s linear infinite reverse; }
.ld-core { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; transform: translate(-50%,-50%); border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--red-bright)); box-shadow: 0 0 20px rgba(200,146,79,.6); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- backdrop ---------- */
.backdrop {
  position: absolute; inset: 0 0 auto 0; height: 1050px; z-index: 0; pointer-events: none;
  background: var(--bg) url('/img/backdrop.jpg') center top / cover no-repeat;
}
.backdrop::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 720px 520px at 50% 64%, rgba(9,9,9,.55), rgba(9,9,9,0) 72%),
    linear-gradient(180deg, rgba(9,9,9,0) 0%, rgba(9,9,9,.12) 220px, rgba(9,9,9,.6) 560px, rgba(9,9,9,.9) 820px, #090909 100%);
}
.embers { position: absolute; inset: 0 0 auto 0; height: 700px; z-index: 0; pointer-events: none; overflow: hidden; }
.embers i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: #ffb35c; box-shadow: 0 0 6px 2px rgba(255,120,40,.7); opacity: 0; animation: ember linear infinite; }
@keyframes ember {
  0% { transform: translate(0,0); opacity: 0; }
  10% { opacity: .9; }
  100% { transform: translate(var(--dx, 40px), -680px); opacity: 0; }
}

.site { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.shell { width: var(--shell); max-width: calc(100% - 24px); margin: 0 auto; }

/* ---------- header ---------- */
.hdr { height: 270px; display: flex; align-items: center; justify-content: center; }
.hdr-logo { position: relative; display: block; transition: transform .3s, filter .3s; }
.hdr-logo::before {
  content: ''; position: absolute; inset: 15% -12% 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(232,180,104,.28), rgba(161,15,15,.14) 45%, transparent 72%);
  filter: blur(8px);
}
.hdr-logo img { height: 240px; width: auto; filter: drop-shadow(0 6px 20px rgba(0,0,0,.9)) drop-shadow(0 0 16px rgba(232,140,60,.18)); animation: float 6s ease-in-out infinite; }
.hdr-logo:hover img { filter: drop-shadow(0 6px 20px rgba(0,0,0,.9)) drop-shadow(0 0 26px rgba(232,140,60,.4)); }
@keyframes float { 50% { transform: translateY(-6px); } }

/* ---------- top bar ---------- */
.topbar {
  position: relative; height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 14px; margin-bottom: var(--gap);
  background: linear-gradient(180deg, rgba(40,10,10,.92), rgba(18,8,8,.95));
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,.6), inset 0 1px 0 rgba(232,180,104,.12);
  font-size: 12px;
}
.topbar::before, .topbar::after { content: ''; position: absolute; left: 0; right: 0; height: 4px; background: var(--meander) repeat-x; background-size: 12px 5px; opacity: .55; }
.topbar::before { top: -6px; } .topbar::after { bottom: -6px; transform: scaleY(-1); }
.tb-left, .tb-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tb-item { color: var(--muted); white-space: nowrap; }
.tb-item i { color: var(--gold); margin-right: 3px; }
.tb-sep { width: 1px; height: 18px; background: var(--border); }
.tb-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; white-space: nowrap; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.is-online .dot { background: var(--online); box-shadow: 0 0 0 0 rgba(95,191,60,.7); animation: ping 1.8s infinite; }
.is-online b { color: var(--online); }
.is-offline .dot { background: var(--offline); }
.is-offline b { color: var(--offline); }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(95,191,60,0); } 100% { box-shadow: 0 0 0 0 rgba(95,191,60,0); } }
.tb-ip {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 3px;
  background: rgba(0,0,0,.4); border: 1px solid var(--border); color: var(--gold-pale); font-weight: 600; font-size: 12px; transition: .2s;
}
.tb-ip em { color: var(--muted); font-style: normal; margin-left: -5px; }
.tb-ip i { color: var(--gold); }
.tb-ip:hover { border-color: var(--gold-light); background: rgba(168,116,60,.12); }
.ip-short { display: none; }
.menu-burger { display: none; background: none; border: 1px solid var(--border); color: var(--gold-light); width: 34px; height: 30px; border-radius: 3px; font-size: 15px; }
.drawer-close {
  display: none; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 9px 12px; border-radius: 3px; background: rgba(122,5,5,.45);
  border: 1px solid var(--border-strong); color: var(--gold-pale);
  font-family: var(--f-title); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}

/* ---------- grid ---------- */
.grid { display: grid; grid-template-columns: var(--side) minmax(0,1fr) var(--side); gap: var(--gap); align-items: start; flex: 1; padding-bottom: 40px; }
.col-left, .col-right { display: flex; flex-direction: column; gap: var(--gap); position: sticky; top: 12px; }
.col-main { min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }

/* ---------- panel ---------- */
.panel {
  position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.03);
}
.panel-hd {
  position: relative; display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 14px;
  background: linear-gradient(180deg, #5e0606 0%, #3a0303 55%, #2a0202 100%);
  border-bottom: 1px solid var(--border-strong); border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: inset 0 1px 0 rgba(255,160,120,.15);
}
.panel-hd::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); opacity: .7; }
.panel-hd > i { color: var(--gold-hi); font-size: 14px; text-shadow: 0 0 10px rgba(232,180,104,.5); }
.panel-hd h2, .panel-hd h3 { font-family: var(--f-title); font-weight: 700; color: var(--title); letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 2px 4px #000; }
.panel-hd h2 { font-size: 15px; } .panel-hd h3 { font-size: 13px; }
.hd-link { margin-left: auto; font-size: 11px; color: var(--gold-pale); text-transform: uppercase; letter-spacing: .05em; }
.hd-badge { margin-left: auto; background: rgba(0,0,0,.4); border: 1px solid var(--border-strong); color: var(--gold-hi); font-weight: 700; padding: 1px 10px; border-radius: 10px; font-size: 12px; }
.panel-bd { padding: 14px; }
.panel-ft { display: block; text-align: center; padding: 9px; border-top: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.panel-ft:hover { background: rgba(168,116,60,.06); }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 3px; border: 1px solid transparent; font-family: var(--f-title); font-weight: 700;
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: transform .15s, filter .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.12); }
.btn:active { transform: translateY(0); }
.btn-gold { color: #1d1206 !important; background: linear-gradient(180deg, #f6d48a 0%, #d4a24f 48%, #a8743c 100%); border-color: #f8deaa; box-shadow: 0 6px 20px rgba(200,146,79,.28), inset 0 1px 0 rgba(255,255,255,.5); text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.btn-bronze { color: var(--gold-pale) !important; background: linear-gradient(180deg, #7a1010 0%, #4a0606 100%); border-color: var(--gold); box-shadow: inset 0 1px 0 rgba(255,180,140,.18), 0 4px 14px rgba(0,0,0,.5); }
.btn-ghost { color: var(--gold-pale) !important; background: rgba(0,0,0,.35); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(168,116,60,.12); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 13px 24px; font-size: 13.5px; }
.btn-sm { padding: 7px 13px; font-size: 11px; }
.shine::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: sweep 3.2s ease-in-out infinite; }
@keyframes sweep { 0%, 60% { left: -60%; } 100% { left: 140%; } }

/* ---------- account box ---------- */
.acc-box .panel-bd { display: flex; flex-direction: column; gap: 8px; }
.acc-links { display: flex; justify-content: space-between; font-size: 11px; padding-top: 4px; }
.acc-prem { text-align: center; color: var(--muted); font-size: 12px; padding: 6px; background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 3px; }
.acc-prem i { color: var(--gold-hi); }

/* ---------- nav ---------- */
.nav { overflow: hidden; }
.nav-download {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px; font-family: var(--f-title); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: #1d1206 !important; background: linear-gradient(180deg, #f6d48a, #c8924f 60%, #a8743c); border-bottom: 1px solid #000;
}
.nav-download .chev { margin-left: auto; font-size: 10px; }
.nav-download:hover { filter: brightness(1.1); }
.menu, .cat-l { list-style: none; }
.cat { border-bottom: 1px solid var(--line); }
.cat-t {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: none; border: 0; color: var(--title);
  font-family: var(--f-title); font-weight: 600; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; text-align: left; transition: background .15s;
}
.cat-t > i:first-child { width: 16px; color: var(--gold); text-align: center; }
.cat-t .chev { margin-left: auto; font-size: 9px; color: var(--dim); transition: transform .2s; }
.cat-t:hover { background: rgba(122,5,5,.2); }
.cat.open > .cat-t { background: linear-gradient(90deg, rgba(122,5,5,.35), transparent); }
.cat.open > .cat-t .chev { transform: rotate(90deg); color: var(--gold-hi); }
.cat-l { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: rgba(0,0,0,.25); }
.cat.open .cat-l { max-height: 300px; }
.cat-l a { display: block; padding: 7px 14px 7px 40px; color: var(--muted); font-size: 12px; border-left: 2px solid transparent; transition: .15s; }
.cat-l a:hover { color: var(--gold-hi); background: rgba(168,116,60,.06); }
.cat-l a.active { color: var(--gold-hi); border-left-color: var(--gold-hi); background: rgba(168,116,60,.08); }

/* ---------- pages ---------- */
.page { display: none; flex-direction: column; gap: var(--gap); animation: fadeUp .35s ease; }
.page.active { display: flex; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(0,0,0,.6); }
.hero-bg { position: absolute; inset: 0; background: url('/img/bg-hero.jpg') center 30% / cover no-repeat; transform: scale(1.04); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,5,5,.96) 0%, rgba(9,5,5,.82) 48%, rgba(9,5,5,.45) 100%), linear-gradient(0deg, rgba(9,9,9,.9), transparent 50%); }
.hero-in { position: relative; padding: 34px 32px 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 20px; background: rgba(122,5,5,.45); border: 1px solid rgba(232,180,104,.35); color: var(--gold-pale); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow i { color: var(--gold-hi); }
.hero h1 { font-family: var(--f-title); font-weight: 900; font-size: 34px; line-height: 1.15; margin: 14px 0 10px; color: var(--title); text-shadow: 0 3px 12px #000; background: linear-gradient(180deg, #fff3d6, #e8b468 60%, #a8743c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { max-width: 560px; color: #d9d0c2; font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 20px; max-width: 640px; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 16px 10px 12px; border-radius: 4px; background: rgba(0,0,0,.45); border: 1px solid var(--border); transition: .2s; }
.step:hover { border-color: var(--gold-light); background: rgba(122,5,5,.25); transform: translateY(-2px); }
.step .num { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-title); font-weight: 900; font-size: 11px; color: #1d1206; background: linear-gradient(180deg, #f6d48a, #a8743c); border: 1px solid #f8deaa; }
.step > i { font-size: 22px; color: var(--gold-hi); margin: 4px 0 2px; }
.step b { font-family: var(--f-title); font-size: 12.5px; letter-spacing: .04em; }
.step small { color: var(--muted); font-size: 11px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feat { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--line); border-radius: 4px; transition: .2s; }
.feat:hover { border-color: var(--border-strong); background: rgba(122,5,5,.14); }
.feat i { font-size: 20px; color: var(--gold-hi); margin-bottom: 4px; }
.feat b { font-family: var(--f-title); font-size: 13px; letter-spacing: .03em; }
.feat span { color: var(--muted); font-size: 12px; }

/* ---------- updates (changelog) ---------- */
.upd { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 8px; background: rgba(0,0,0,.25); overflow: hidden; }
.upd summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 11px 13px; cursor: pointer; transition: background .15s; }
.upd summary::-webkit-details-marker { display: none; }
.upd summary:hover { background: rgba(122,5,5,.15); }
.upd-mark { width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-hi); box-shadow: 0 0 8px rgba(232,180,104,.6); flex: none; }
.upd-date { color: var(--dim); font-size: 11px; min-width: 76px; }
.upd-type { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; }
.upd-type.major { background: rgba(161,15,15,.35); color: #ffb0a0; border: 1px solid rgba(255,90,70,.35); }
.upd-type.minor { background: rgba(168,116,60,.18); color: var(--gold-pale); border: 1px solid var(--border); }
.upd-type.fix { background: rgba(95,191,60,.12); color: #a7e08e; border: 1px solid rgba(95,191,60,.3); }
.upd-title { font-weight: 600; color: var(--title); flex: 1; }
.upd .chev { color: var(--dim); font-size: 10px; transition: transform .2s; }
.upd[open] .chev { transform: rotate(90deg); color: var(--gold-hi); }
.upd-body { padding: 4px 16px 14px 34px; color: #cfc6b8; }
.upd-body ul { padding-left: 16px; }
.upd-body li { margin: 3px 0; }
.upd-body li::marker { color: var(--gold); }

/* ---------- news ---------- */
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news { display: grid; grid-template-columns: 220px 1fr; gap: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: rgba(0,0,0,.25); transition: border-color .2s; }
.news:hover { border-color: var(--border-strong); }
.news-img { position: relative; min-height: 160px; background-size: cover; background-position: center; }
.news-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, rgba(21,16,16,.95)); }
.tag { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; }
.tag-red { background: var(--red-bright); color: #fff; }
.tag-gold { background: linear-gradient(180deg, #f6d48a, #a8743c); color: #1d1206; }
.news-c { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.news-meta { color: var(--dim); font-size: 11px; }
.news-meta i { color: var(--gold); }
.news h3 { font-family: var(--f-title); font-size: 16px; color: var(--title); letter-spacing: .02em; }
.news p { color: #cfc6b8; margin-bottom: 4px; }

/* ---------- forms ---------- */
.form-wrap { max-width: 480px; margin: 0 auto; width: 100%; padding: 22px 14px; }
label { display: block; margin: 12px 0 5px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-pale); }
label small { text-transform: none; color: var(--dim); letter-spacing: 0; }
.inp { position: relative; }
.inp > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 13px; pointer-events: none; }
input[type=text], input:not([type]), input[type=password], input[type=email] {
  width: 100%; padding: 11px 12px 11px 36px; background: #0b0808; border: 1px solid var(--border); border-radius: 3px; color: var(--text); font: inherit; font-size: 13.5px; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus { border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(200,146,79,.15); }
.chk { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); font-size: 12.5px; margin: 14px 0; cursor: pointer; }
.chk input { accent-color: var(--gold-light); width: 15px; height: 15px; }
form .btn { margin-top: 8px; }
.msg { margin-top: 12px; font-size: 13px; padding: 0; border-radius: 3px; }
.msg.ok, .msg.err { padding: 10px 12px; }
.msg.ok { background: rgba(95,191,60,.1); border: 1px solid rgba(95,191,60,.4); color: #a7e08e; }
.msg.err { background: rgba(210,59,59,.1); border: 1px solid rgba(210,59,59,.4); color: #ff9a8f; }
.promo { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 4px; background: linear-gradient(90deg, rgba(122,5,5,.4), rgba(168,116,60,.12)); border: 1px solid var(--border-strong); color: var(--gold-pale); }
.promo i { font-size: 18px; color: var(--gold-hi); flex: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; align-items: end; }
.row2 .btn, .row2 .msg { grid-column: 1 / -1; }
.search { display: flex; gap: 10px; }
.search .inp { flex: 1; }
.search .btn { margin-top: 0; }
.lead { color: #cfc6b8; margin-bottom: 16px; font-size: 13.5px; }

/* vocation picker */
.voc-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.voc { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; background: rgba(0,0,0,.35); border: 1px solid var(--border); border-radius: 4px; color: var(--text); transition: .15s; }
.voc i { font-size: 20px; color: var(--gold); margin-bottom: 3px; }
.voc b { font-family: var(--f-title); font-size: 12.5px; }
.voc small { font-size: 10.5px; color: var(--dim); text-align: center; }
.voc:hover { border-color: var(--gold-light); }
.voc.on { border-color: var(--gold-hi); background: linear-gradient(180deg, rgba(122,5,5,.5), rgba(40,6,6,.6)); box-shadow: 0 0 0 1px var(--gold-hi), 0 0 18px rgba(232,180,104,.18); }
.voc.on i { color: var(--gold-hi); }
.seg { display: flex; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.seg button { flex: 1; padding: 10px; background: rgba(0,0,0,.35); border: 0; color: var(--muted); font-weight: 600; }
.seg button + button { border-left: 1px solid var(--border); }
.seg button.on { background: linear-gradient(180deg, rgba(122,5,5,.6), rgba(40,6,6,.7)); color: var(--gold-pale); }

/* dashboard */
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ds { padding: 12px; text-align: center; background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 4px; }
.ds span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.ds b { font-family: var(--f-title); font-size: 16px; }
.char { display: flex; align-items: center; gap: 12px; padding: 11px 13px; margin-bottom: 8px; background: rgba(0,0,0,.28); border: 1px solid var(--line); border-radius: 4px; transition: .15s; }
.char:hover { border-color: var(--border-strong); }
.char-av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #7a1010, #2a0303); border: 1px solid var(--gold); color: var(--gold-hi); font-size: 16px; }
.char-i { flex: 1; min-width: 0; }
.char-i b { font-family: var(--f-title); font-size: 14px; cursor: pointer; }
.char-i small { display: block; color: var(--muted); font-size: 11.5px; }
.badge { font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 2px 7px; border-radius: 3px; text-transform: uppercase; }
.badge.on { background: rgba(95,191,60,.15); color: var(--online); border: 1px solid rgba(95,191,60,.4); }
.badge.off { background: rgba(255,255,255,.04); color: var(--dim); border: 1px solid var(--line); }
.badge.god { background: rgba(232,180,104,.15); color: var(--gold-hi); border: 1px solid var(--border-strong); margin-left: 6px; }

/* ---------- tables ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tabs button { padding: 6px 12px; border-radius: 3px; background: rgba(0,0,0,.35); border: 1px solid var(--border); color: var(--muted); font-size: 11.5px; font-weight: 600; transition: .15s; }
.tabs button:hover { color: var(--gold-pale); border-color: var(--gold); }
.tabs button.on { background: linear-gradient(180deg, #7a1010, #4a0606); color: var(--gold-pale); border-color: var(--gold-light); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th { background: #120c0c; color: var(--gold-pale); font-family: var(--f-title); font-weight: 700; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-strong); }
.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.tbl tbody tr:nth-child(odd) { background: var(--row); }
.tbl tbody tr:nth-child(even) { background: var(--row-alt); }
.tbl tbody tr:hover { background: rgba(122,5,5,.18); }
.tbl a { color: var(--title); font-weight: 600; }
.tbl a:hover { color: var(--gold-hi); }
.rank { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 5px; border-radius: 3px; font-weight: 700; font-size: 11.5px; color: var(--muted); background: rgba(255,255,255,.04); }
.rank.r1 { background: linear-gradient(180deg, #ffe08a, #c99a3d); color: #2a1a04; }
.rank.r2 { background: linear-gradient(180deg, #eef1f5, #9aa3ad); color: #1b1f24; }
.rank.r3 { background: linear-gradient(180deg, #f0b27a, #a0602c); color: #2a1404; }
.on-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--online); margin-left: 6px; box-shadow: 0 0 6px var(--online); }

/* ---------- character card ---------- */
.cprof { margin-top: 16px; }
.cprof-hd { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--border); border-radius: 4px; background: linear-gradient(90deg, rgba(122,5,5,.35), rgba(0,0,0,.3)); margin-bottom: 12px; }
.cprof-hd .char-av { width: 56px; height: 56px; font-size: 22px; }
.cprof-hd h3 { font-family: var(--f-title); font-size: 20px; color: var(--title); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 8px 2px; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.kv span { color: var(--muted); }
.kv b { text-align: right; }
.sub-h { font-family: var(--f-title); font-size: 13px; color: var(--gold-pale); letter-spacing: .06em; text-transform: uppercase; margin: 18px 0 8px; }

/* deaths */
.death { display: flex; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.death:nth-child(odd) { background: var(--row); }
.death > i { color: var(--red-bright); margin-top: 3px; }
.death small { display: block; color: var(--dim); font-size: 11px; }

/* faq/rules */
.faq { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 8px; background: rgba(0,0,0,.25); }
.faq summary { padding: 11px 14px; cursor: pointer; font-weight: 600; color: var(--title); list-style: none; }
.faq summary::before { content: '\f105'; font-family: FontAwesome; color: var(--gold-hi); margin-right: 10px; display: inline-block; transition: transform .2s; }
.faq[open] summary::before { transform: rotate(90deg); }
.faq p { padding: 0 14px 12px 32px; color: #cfc6b8; }
.rules ol { padding-left: 22px; }
.rules li { margin: 9px 0; color: #cfc6b8; }
.rules li::marker { color: var(--gold-hi); font-family: var(--f-title); font-weight: 700; }

/* ---------- downloads ---------- */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dl-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 24px 18px 18px; border: 1px solid var(--border); border-radius: 6px; background: radial-gradient(ellipse at top, rgba(122,5,5,.35), rgba(0,0,0,.35) 70%); transition: .2s; }
.dl-card:hover { border-color: var(--gold-light); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.dl-ic { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: var(--gold-hi); background: radial-gradient(circle at 30% 30%, #3a0a0a, #120404); border: 2px solid var(--gold); box-shadow: 0 0 24px rgba(232,180,104,.2); }
.dl-ic.android { color: #a4d65e; }
.dl-card h3 { font-family: var(--f-title); font-size: 18px; color: var(--title); }
.dl-card p { color: var(--muted); font-size: 12.5px; flex: 1; }
.dl-meta { font-size: 11.5px; color: var(--gold-pale); background: rgba(0,0,0,.35); border: 1px solid var(--line); padding: 4px 10px; border-radius: 12px; }
.howto { margin-top: 16px; padding: 14px; border: 1px dashed var(--border); border-radius: 4px; background: rgba(0,0,0,.2); }
.howto h4 { font-family: var(--f-title); color: var(--gold-pale); font-size: 13px; margin-bottom: 6px; }

/* ---------- right column ---------- */
.status-big { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px; margin-bottom: 8px; border-radius: 4px; background: rgba(0,0,0,.35); border: 1px solid var(--line); font-family: var(--f-title); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.status-big .dot { width: 11px; height: 11px; }
.top5 { padding: 8px 10px; }
.t5 { display: flex; align-items: center; gap: 9px; padding: 7px 4px; border-bottom: 1px solid var(--line); }
.t5:last-child { border-bottom: 0; }
.t5-i { flex: 1; min-width: 0; }
.t5-i a { display: block; color: var(--title); font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t5-i small { color: var(--dim); font-size: 10.5px; }
.t5-lv { font-family: var(--f-title); font-weight: 700; color: var(--gold-hi); font-size: 13px; }
.rates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rate { text-align: center; padding: 10px 4px; background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 4px; }
.rate b { display: block; font-family: var(--f-title); font-size: 19px; color: var(--gold-hi); line-height: 1.1; }
.rate span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dl-side { background: radial-gradient(ellipse at top, rgba(122,5,5,.55), var(--panel) 75%); border-color: var(--border-strong); }
.dl-side-t { font-family: var(--f-title); text-align: center; color: var(--title); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.dl-btn { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 8px; border-radius: 4px; background: rgba(0,0,0,.5); border: 1px solid var(--border-strong); color: var(--title) !important; transition: .2s; }
.dl-btn:last-child { margin-bottom: 0; }
.dl-btn i { font-size: 24px; color: var(--gold-hi); width: 26px; text-align: center; }
.dl-btn span { font-family: var(--f-title); font-weight: 700; font-size: 14px; line-height: 1.1; }
.dl-btn small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.dl-btn:hover { border-color: var(--gold-hi); background: rgba(122,5,5,.35); transform: translateX(2px); }

/* ---------- footer ---------- */
.ftr { position: relative; margin-top: 10px; background: linear-gradient(180deg, #0d0909, #060505); border-top: 1px solid var(--border-strong); }
.meander { height: 10px; background: var(--meander) repeat-x; background-size: 24px 10px; opacity: .6; margin-top: 6px; }
.ftr-in { display: grid; grid-template-columns: 1.2fr 2fr; gap: 30px; padding: 30px 0 20px; }
.ftr-brand img { height: 90px; width: auto; margin-bottom: 10px; }
.ftr-brand p { color: var(--muted); max-width: 320px; }
.ftr-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ftr-map h4 { font-family: var(--f-title); color: var(--gold-pale); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.ftr-map a { display: block; color: var(--muted); padding: 3px 0; font-size: 12.5px; }
.ftr-map a:hover { color: var(--gold-hi); }
.ftr-copy { border-top: 1px solid var(--line); padding: 14px 0 20px; text-align: center; color: var(--dim); font-size: 11.5px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); z-index: 999; padding: 11px 20px; border-radius: 4px; background: linear-gradient(180deg, #2a0a0a, #160606); border: 1px solid var(--gold-light); color: var(--gold-pale); font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.7); opacity: 0; pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .grid { grid-template-columns: var(--side) minmax(0,1fr); }
  .col-right { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hdr { height: 190px; }
  .hdr-logo img { height: 165px; }
  .grid { grid-template-columns: 1fr; }
  .col-left { position: fixed; top: 0; left: 0; bottom: 0; width: 270px; z-index: 50; overflow-y: auto; padding: 12px; background: rgba(9,9,9,.97); border-right: 1px solid var(--border-strong); transform: translateX(-105%); transition: transform .3s ease; }
  .col-left.open { transform: none; box-shadow: 20px 0 60px rgba(0,0,0,.8); }
  .drawer-close { display: flex; }
  .menu-burger { display: inline-block; }
  .features { grid-template-columns: 1fr 1fr; }
  .news { grid-template-columns: 1fr; }
  .news-img { min-height: 140px; }
  .news-img::after { background: linear-gradient(0deg, rgba(21,16,16,.95), transparent 60%); }
  .ftr-in { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 12.5px; }
  .hide-sm { display: none !important; }
  .hdr { height: 150px; }
  .hdr-logo img { height: 128px; }
  .topbar { padding: 0 8px; gap: 6px; }
  .tb-left, .tb-right { gap: 6px; }
  .tb-sep { display: none; }
  .tb-ip { padding: 4px 9px; font-size: 11px; gap: 5px; }
  .tb-ip .ip-full, .tb-ip em { display: none; }
  .tb-ip .ip-short { display: inline; }
  .menu-burger { flex: none; }
  .hero-in { padding: 24px 16px; }
  .hero h1 { font-size: 25px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .features, .dl-grid, .info-grid, .row2, .col-right { grid-template-columns: 1fr; }
  .voc-pick, .dash-stats { grid-template-columns: 1fr 1fr; }
  .ftr-map { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
