/* =====================================================================
   L2 Fall — design cinematic cu interfața Lineage 2
   Butoane, ornamente, medalioane și iconițe: texturi din clientul L2 (img/ui)
   ===================================================================== */

/* ---------- Variabile / teme ---------- */
:root {
  --f-title: "Cormorant", "Playfair Display", Georgia, serif;
  --f-head:  "Playfair Display", Georgia, serif;
  --f-ui:    "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --f-body:  "Exo 2", "Segoe UI", system-ui, sans-serif;

  --gold:    #e0b26a;
  --gold-hi: #f6dfb0;
  --gold-lo: #8c5a2b;
  --bronze:  #6b4226;

  /* panourile (carduri, tab-uri, trepte) rămân întunecate în ambele teme */
  --panel-text: #eadfcd;
  --panel-muted: #b8a994;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --text: #eadfcd; --muted: #b8a994; --accent: #e0b26a;
  --sec: rgba(10, 9, 13, .80);
  --sec-alt: rgba(14, 12, 17, .88);
  --line: rgba(224, 178, 106, .18);
  --nav: rgba(9, 8, 11, .72);
}
:root[data-theme="light"] {
  color-scheme: light;
  --text: #2b2118; --muted: #5f5240; --accent: #7a4b28;
  --sec: rgba(246, 240, 228, .88);
  --sec-alt: rgba(236, 227, 208, .90);
  --line: rgba(122, 75, 40, .22);
  --nav: rgba(246, 240, 228, .82);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: #0a090c; color: var(--text);
  font-family: var(--f-body); font-size: 18px; line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .95rem; }

/* ---------- Fundal fix + ceață ---------- */
.bg {
  position: fixed; inset: -6% 0; z-index: -3;
  background: url("img/bg.jpg") center / cover no-repeat;
  will-change: transform;
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 32%, rgba(0,0,0,0) 18%, rgba(4,3,6,.70) 100%),
    linear-gradient(180deg, rgba(8,7,11,.30), rgba(8,7,11,.55));
}

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- Navigare ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.solid { background: var(--nav); border-color: var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { font-family: var(--f-title); font-weight: 600; font-size: 2rem; line-height: 1; letter-spacing: .02em; color: var(--gold); text-decoration: none; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.links { display: flex; gap: 6px; margin-left: auto; }
.links a {
  position: relative; padding: 8px 14px; color: #efe5d3; text-decoration: none;
  font-family: var(--f-ui); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
}
.links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s;
}
.links a:hover, .links a.on { color: var(--gold-hi); }
.links a:hover::after, .links a.on::after { transform: scaleX(1); }

.theme {
  width: 150px; height: 36px; padding: 0 0 2px; border: 0; cursor: pointer;
  background: url("img/ui/btn-brown.png") center / 100% 100% no-repeat;
  color: var(--gold-hi); font-family: var(--f-ui); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  text-shadow: 0 1px 2px #000;
  transition: filter .2s, transform .15s;
}
.theme:hover { background-image: url("img/ui/btn-brown-over.png"); filter: drop-shadow(0 0 8px rgba(224,178,106,.55)); }
.theme:active { background-image: url("img/ui/btn-brown-down.png"); transform: translateY(1px); }
.theme .to-light { display: none; }
:root[data-theme="dark"] .theme .to-dark { display: none; }
:root[data-theme="dark"] .theme .to-light { display: inline; }

/* ---------- Butoane L2 ---------- */
.lbtn {
  position: relative; display: inline-grid; place-items: center;
  width: 320px; height: 72px; padding: 0 28px 2px;
  text-decoration: none; text-align: center; white-space: nowrap;
  font-family: var(--f-ui); font-weight: 700; font-size: 1.2rem; letter-spacing: .16em; text-transform: uppercase;
  transition: transform .18s, filter .25s;
}
.lbtn:hover { transform: translateY(-3px); filter: drop-shadow(0 0 16px rgba(224,178,106,.65)); }
.lbtn:active { transform: translateY(0) scale(.985); }

/* Auriu, cu sclipire animată (30 de cadre din client) */
.lbtn-gold {
  background: url("img/ui/btn-gold-sprite.png") 0 0 / 100% 3000% no-repeat;
  color: #2a1606; text-shadow: 0 1px 0 rgba(255, 236, 190, .55);
  animation: sheen 2.2s steps(29) infinite;
}
@keyframes sheen { from { background-position: 0 0; } to { background-position: 0 100%; } }

/* Maro ornamentat / întunecat (cu stări hover și apăsat din client) */
.lbtn-brown { background: url("img/ui/btn-brown.png") center / 100% 100% no-repeat; color: var(--gold-hi); text-shadow: 0 2px 4px #000; }
.lbtn-brown:hover { background-image: url("img/ui/btn-brown-over.png"); }
.lbtn-brown:active { background-image: url("img/ui/btn-brown-down.png"); }
.lbtn-dark { background: url("img/ui/btn-dark.png") center / 100% 100% no-repeat; color: var(--gold-hi); text-shadow: 0 2px 4px #000; }
.lbtn-dark:hover { background-image: url("img/ui/btn-dark-over.png"); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center; padding: 110px 0 90px;
}
.hero-in { position: relative; padding: 0 20px; }
.crest { display: block; width: 170px; height: auto; margin: 0 auto 6px; filter: drop-shadow(0 0 14px rgba(224,178,106,.45)); animation: crest 6s ease-in-out infinite; }
.crest.small { width: 130px; margin-bottom: 4px; }
@keyframes crest { 0%,100% { filter: drop-shadow(0 0 10px rgba(224,178,106,.35)); } 50% { filter: drop-shadow(0 0 22px rgba(224,178,106,.7)); } }

.eyebrow { margin: 0 0 8px; color: var(--accent); font-family: var(--f-ui); font-weight: 600; font-size: .95rem; letter-spacing: .32em; text-transform: uppercase; }
.hero .eyebrow { color: #f1e7d4; text-shadow: 0 1px 10px #000; }

/* Titlul: o singură culoare, miez clar, margini care se pierd în aură */
.hero h1 {
  --t-solid: #c8925a;
  --g2: rgba(190, 125, 70, .42); --g3: rgba(160, 100, 55, .26); --g4: rgba(140, 85, 45, .15);
  margin: 0; font-family: var(--f-title); font-weight: 500; font-size: clamp(4.6rem, 14vw, 9.6rem);
  line-height: 1; letter-spacing: .02em; color: var(--t-solid);
  filter: url(#soft-edge) drop-shadow(0 0 8px var(--g2)) drop-shadow(0 0 26px var(--g3)) drop-shadow(0 0 64px var(--g4));
  animation: aura 8s ease-in-out infinite;
}
@keyframes aura {
  0%,100% { filter: url(#soft-edge) drop-shadow(0 0 8px var(--g2)) drop-shadow(0 0 26px var(--g3)) drop-shadow(0 0 64px var(--g4)); }
  50%     { filter: url(#soft-edge) drop-shadow(0 0 12px var(--g2)) drop-shadow(0 0 36px var(--g3)) drop-shadow(0 0 90px var(--g4)); }
}
.kind { margin: -14px 0 0; padding-left: .38em; font-family: var(--f-body); font-weight: 500; font-size: 1.15rem; letter-spacing: .38em; text-transform: lowercase; color: #f1e7d4; text-shadow: 0 1px 12px #000, 0 0 3px #000; position: relative; z-index: 1; }
.flourish { display: block; width: min(320px, 70%); height: auto; margin: 10px auto 6px; opacity: .95; filter: drop-shadow(0 0 6px rgba(224,178,106,.4)); }
.tagline { margin: 6px 0 36px; font-size: 1.3rem; letter-spacing: .03em; color: #f1e7d4; text-shadow: 0 2px 14px #000, 0 0 3px #000; }

.cta { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.cta-left { justify-content: flex-start; margin-top: 46px; }

.scroll { position: absolute; left: 50%; bottom: 26px; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(240,225,200,.55); border-radius: 16px; }
.scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-hi); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Secțiuni ---------- */
.sec { position: relative; padding: 96px 0; background: var(--sec); border-top: 1px solid var(--line); overflow: hidden; }
.sec.alt { background: var(--sec-alt); }
h2 { margin: 0 0 18px; font-family: var(--f-head); font-weight: 400; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; color: var(--accent); }
h3 { margin: 0 0 8px; font-family: var(--f-ui); font-weight: 700; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
p { margin: 0 0 1.1em; }
.head { margin-bottom: 46px; }
.lead { max-width: 62ch; font-size: 1.1rem; }
.center .lead { margin-left: auto; margin-right: auto; }
.lead b { color: var(--accent); font-weight: 700; }

/* panourile în stil L2 */
.panel {
  --text: var(--panel-text); --muted: var(--panel-muted); color: var(--panel-text);
  position: relative;
  background: linear-gradient(180deg, rgba(38, 28, 19, .92), rgba(15, 11, 8, .95));
  border: 1px solid rgba(176, 124, 64, .5);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.7), inset 0 0 36px rgba(0,0,0,.5), 0 14px 34px rgba(0,0,0,.4);
}
.panel::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(224,178,106,.16); pointer-events: none; }
.panel::after { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); opacity: .7; pointer-events: none; }

/* ---------- Medalioane ---------- */
.glance { padding: 60px 0; }
.medals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.medal {
  width: min(220px, 100%); aspect-ratio: 1; margin: 0 auto 8px; display: grid; place-content: center; gap: 0;
  background: url("img/ui/medallion.png") center / contain no-repeat;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.55));
  transition: transform .3s, filter .3s;
}
.medals li:hover .medal { transform: scale(1.06) rotate(-1.5deg); filter: drop-shadow(0 0 22px rgba(224,178,106,.55)); }
.medal b { font-family: var(--f-title); font-weight: 600; font-size: 3.4rem; line-height: 1; color: var(--gold-hi); text-shadow: 0 0 16px rgba(224,178,106,.5); }
.medal i { font-style: normal; font-family: var(--f-ui); font-weight: 600; font-size: .9rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.medals li > span { font-family: var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-size: .95rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.lore {
  margin: 0; padding: 22px 26px; border-left: 3px solid var(--gold); background: rgba(0,0,0,.18);
  font-family: var(--f-title); font-weight: 500; font-style: italic; font-size: 1.5rem; line-height: 1.5; color: var(--text);
}
.compass {
  position: absolute; right: -60px; top: 50%; width: 520px; max-width: none; margin-top: -260px; opacity: .10;
  animation: spin 120s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Carduri ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 30px 28px 28px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: inset 0 0 0 1px rgba(0,0,0,.7), inset 0 0 36px rgba(0,0,0,.5), 0 18px 40px rgba(0,0,0,.5), 0 0 26px rgba(224,178,106,.22); }
.card p { margin: 0; color: var(--panel-muted); font-size: 1rem; }
.slot { /* ca un slot de item din inventar */
  position: relative; width: 74px; height: 74px; margin-bottom: 18px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #3a2a1a, #120d09); border: 1px solid var(--gold-lo);
  box-shadow: inset 0 0 0 2px #000, inset 0 0 14px rgba(0,0,0,.7), 0 0 0 1px rgba(224,178,106,.25);
}
.slot img { width: 52px; height: 52px; image-rendering: auto; transition: transform .3s; filter: drop-shadow(0 2px 4px #000); }
.card:hover .slot img { transform: scale(1.12) rotate(-4deg); }
.slot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,235,190,.35) 50%, transparent 60%); transform: translateX(-120%); transition: transform .6s; }
.card:hover .slot::after { transform: translateX(120%); }

/* ---------- Scara Noblesse ---------- */
.ladder { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: 14px; }
.step {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; text-align: center;
  min-height: calc(150px + var(--i) * 44px); padding: 18px 10px 20px;
  transition: transform .25s, border-color .25s;
}
.step:hover { transform: translateY(-6px); border-color: var(--gold); }
.step::before { background: none; border-color: rgba(224,178,106,.16); }
.step { background:
  linear-gradient(180deg, rgba(224,178,106, calc(.10 + var(--i) * .06)), rgba(15,11,8,.0) 60%),
  linear-gradient(180deg, rgba(38,28,19,.92), rgba(15,11,8,.95)); }
.lvl { font-family: var(--f-ui); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; color: var(--gold); }
.big { font-family: var(--f-title); font-weight: 600; font-size: 3.6rem; line-height: 1; color: var(--gold-hi); text-shadow: 0 0 18px rgba(224,178,106,.45); }
.what { font-family: var(--f-ui); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; color: var(--panel-muted); }
.drop { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(224,178,106,.2); width: 80%; font-size: .95rem; color: var(--panel-muted); }
.drop em { font-style: normal; font-weight: 700; color: var(--gold); }
.note { margin-top: 26px; }

/* ---------- Tab-uri server info ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: -1px; position: relative; z-index: 1; }
.tabs button {
  padding: 12px 24px 11px; border: 1px solid rgba(176,124,64,.45); border-bottom: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(30,22,15,.85), rgba(14,10,7,.9)); color: var(--panel-muted);
  font-family: var(--f-ui); font-weight: 700; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase;
  transition: color .2s, background .2s;
}
.tabs button:hover { color: var(--gold-hi); }
.tabs button[aria-selected="true"] { color: var(--gold-hi); background: linear-gradient(180deg, rgba(70,48,28,.95), rgba(38,28,19,.95)); box-shadow: inset 0 2px 0 var(--gold); }
.tabbody { padding: 12px 34px 20px; }
.rows { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 54px; }
.rows[hidden] { display: none; }
.rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 4px; border-bottom: 1px solid rgba(224,178,106,.16); transition: background .2s; }
.rows > div:hover { background: rgba(224,178,106,.06); }
.rows dt { color: var(--panel-muted); }
.rows dd { margin: 0; text-align: right; font-family: var(--f-ui); font-weight: 700; font-size: 1.25rem; letter-spacing: .04em; color: var(--gold-hi); }
html:not(.js) .rows[hidden] { display: grid; }

/* ---------- Pași ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-lo), var(--gold-lo), transparent); }
.steps li { position: relative; text-align: center; }
.num {
  position: relative; display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 18px;
  background: url("img/ui/medallion.png") center / contain no-repeat;
  font-family: var(--f-title); font-weight: 600; font-size: 2rem; color: var(--gold-hi); text-shadow: 0 0 12px rgba(224,178,106,.6);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.6));
}
.steps h3 { font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Comunitate ---------- */
.community { padding: 120px 0; background: linear-gradient(180deg, var(--sec), rgba(10,9,13,.55)); }
:root[data-theme="light"] .community { background: linear-gradient(180deg, var(--sec), rgba(246,240,228,.55)); }

/* ---------- Subsol ---------- */
.foot { padding: 46px 0 60px; background: var(--sec); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot .logo { display: block; font-size: 1.6rem; margin-bottom: 8px; text-shadow: none; }
.foot p { max-width: 70ch; margin: 0 auto; }

/* ---------- Apariție la scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .medals { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .links { display: none; }
  .nav-in { justify-content: space-between; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .sec { padding: 70px 0; }
  .cards { grid-template-columns: 1fr; }
  .ladder { flex-direction: column; align-items: stretch; }
  .step { min-height: 0; flex-direction: row; justify-content: space-between; flex-wrap: wrap; text-align: left; padding: 16px 18px; }
  .step .big { font-size: 2.6rem; }
  .drop { width: 100%; }
  .rows { grid-template-columns: 1fr; }
  .tabbody { padding: 6px 18px 12px; }
  .tabs button { padding: 10px 14px; font-size: .95rem; }
  .steps { grid-template-columns: 1fr; }
  .lbtn { width: min(300px, 86vw); }
  .cta-left { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lbtn-gold, .hero h1, .crest, .compass, .scroll span { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Retușuri ---------- */
/* cifre la înălțime completă (Cormorant le face implicit "old-style") */
.big, .medal b, .num, .logo, .hero h1 { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.hero h1, .logo { font-variant-numeric: normal; font-feature-settings: normal; } /* titlul păstrează cifra "2" mică, ca în model */

/* strălucirea de la hover rămâne în interiorul slotului */
.slot { overflow: hidden; }

/* fundalul cu imaginea se vede mai mult prin secțiuni; textul din afara panourilor primește umbră */
:root[data-theme="dark"] { --sec: rgba(10, 9, 13, .64); --sec-alt: rgba(14, 12, 17, .76); }
:root[data-theme="light"] { --sec: rgba(246, 240, 228, .80); --sec-alt: rgba(236, 227, 208, .86); }
.glance { background: rgba(10, 9, 13, .40); }
:root[data-theme="light"] .glance { background: rgba(246, 240, 228, .55); }
:root[data-theme="dark"] .sec h2, :root[data-theme="dark"] .sec .lead, :root[data-theme="dark"] .about p, :root[data-theme="dark"] .lore, :root[data-theme="dark"] .note, :root[data-theme="dark"] .steps p, :root[data-theme="dark"] .steps h3 {
  text-shadow: 0 1px 10px rgba(0,0,0,.85);
}

/* ---------- Cursoare din clientul Lineage 2 (nwindow.dll) ---------- */
html, body { cursor: url("img/cursor/arrow.png") 0 0, auto; }                                  /* săgeata de bronz */
a, button, [role="tab"], label, summary { cursor: url("img/cursor/hand.png") 3 2, pointer; }   /* mâna cu mănușă */
.lbtn, .theme { cursor: url("img/cursor/sword.png") 0 0, pointer; }                           /* sabia (butoanele mari) */

/* ---------- Fără selectare de text și fără tragere de imagini ---------- */
html, body, body * {
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
img { -webkit-user-drag: none; user-drag: none; pointer-events: auto; }
::selection { background: transparent; }

/* ---------- Emblemă (sabie + scut) în locul cununii de laur ---------- */
.crest { width: auto; height: 126px; margin: 0 auto 10px; }
.crest.small { height: 96px; margin-bottom: 8px; }

/* ---------- Meniu: Cormorant (serif elegant, ca titlul) ---------- */
.links a {
  font-family: "Cormorant", "Playfair Display", Georgia, serif;
  font-weight: 700; font-size: 1.2rem; letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- Status live + clasamente ---------- */
.live-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; padding: 7px 18px 8px;
  font-family: var(--f-ui); font-weight: 600; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase;
  color: #efe5d3; background: rgba(8, 7, 10, .55); border: 1px solid rgba(224, 178, 106, .35); border-radius: 999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); text-shadow: 0 1px 6px #000;
}
.live-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: #8a8478; box-shadow: 0 0 0 0 transparent; }
.live-pill.up .dot { background: #5fd07a; animation: ping 2.2s ease-out infinite; }
.live-pill.down .dot { background: #d9604f; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(95, 208, 122, .6); } 100% { box-shadow: 0 0 0 12px rgba(95, 208, 122, 0); } }

.livebar { display: flex; align-items: center; justify-content: space-between; gap: 22px 40px; flex-wrap: wrap; margin-bottom: 30px; }
.livebar .live-pill { margin: 0; }
.livebar dl { display: flex; gap: 14px 46px; flex-wrap: wrap; margin: 0; }
.livebar dl > div { display: flex; flex-direction: column; gap: 0; }
.livebar dt { font-family: var(--f-ui); font-weight: 600; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.livebar dd { margin: 0; font-family: var(--f-title); font-weight: 600; font-size: 2rem; line-height: 1.15; color: var(--accent); }

.tscroll { overflow-x: auto; }
.rank { width: 100%; min-width: 520px; border-collapse: collapse; }
.rank th, .rank td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(224, 178, 106, .14); }
.rank thead th { font-family: var(--f-ui); font-weight: 700; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid rgba(224, 178, 106, .4); }
.rank tbody tr { transition: background .2s; }
.rank tbody tr:hover { background: rgba(224, 178, 106, .07); }
.rank .rk { width: 64px; text-align: center; }
.rank .val { text-align: right; font-family: var(--f-ui); font-weight: 700; font-size: 1.2rem; letter-spacing: .04em; color: var(--gold-hi); }
.rank td.nm { font-weight: 700; color: var(--panel-text); }
.rank td.empty { padding: 34px 16px; text-align: center; color: var(--panel-muted); }
.pos { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-family: var(--f-ui); font-weight: 700; font-size: .95rem; color: var(--panel-muted); border: 1px solid rgba(224, 178, 106, .25); }
.pos-1 { color: #2a1606; background: linear-gradient(180deg, #ffe39a, #d79b3a); border-color: #f6dfb0; box-shadow: 0 0 12px rgba(224, 178, 106, .5); }
.pos-2 { color: #1d1f24; background: linear-gradient(180deg, #eef0f3, #a9aeb6); border-color: #e4e7ec; }
.pos-3 { color: #2a1406; background: linear-gradient(180deg, #e8b184, #a8683a); border-color: #efc7a3; }
@media (max-width: 700px) { .livebar dd { font-size: 1.6rem; } .rank th, .rank td { padding: 12px 10px; } }

/* Meniu cu 6 linkuri: fără împachetare pe două rânduri */
.logo, .links a { white-space: nowrap; }
.links { gap: 0; }
.links a { padding: 8px 11px; font-size: 1.08rem; letter-spacing: .09em; }
.links a::after { left: 11px; right: 11px; }
@media (max-width: 1180px) { .links a { padding: 8px 8px; font-size: 1rem; letter-spacing: .06em; } .links a::after { left: 8px; right: 8px; } }
@media (max-width: 1060px) { .links { display: none; } }
.livebar dd { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
