/* Elvarion2 – tema Imperial. Fișier generat: editează sursele, nu acest fișier. */
@font-face {font-family: 'Cinzel'; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/cinzel-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face {font-family: 'Cinzel'; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/cinzel-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face {font-family: 'Cinzel'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/cinzel-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face {font-family: 'Cinzel'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/cinzel-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face {font-family: 'Cinzel'; font-style: normal; font-display: swap; font-weight: 800; src: url(../fonts/cinzel-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face {font-family: 'Cinzel'; font-style: normal; font-display: swap; font-weight: 800; src: url(../fonts/cinzel-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face {font-family: 'Alegreya Sans'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/alegreya-sans-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face {font-family: 'Alegreya Sans'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/alegreya-sans-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face {font-family: 'Alegreya Sans'; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/alegreya-sans-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face {font-family: 'Alegreya Sans'; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/alegreya-sans-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face {font-family: 'Alegreya Sans'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/alegreya-sans-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face {font-family: 'Alegreya Sans'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/alegreya-sans-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face {font-family: 'Cormorant Garamond'; font-style: italic; font-display: swap; font-weight: 500; src: url(../fonts/cormorant-garamond-latin-ext-500-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face {font-family: 'Cormorant Garamond'; font-style: italic; font-display: swap; font-weight: 500; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face {font-family: 'Cormorant Garamond'; font-style: italic; font-display: swap; font-weight: 600; src: url(../fonts/cormorant-garamond-latin-ext-600-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face {font-family: 'Cormorant Garamond'; font-style: italic; font-display: swap; font-weight: 600; src: url(../fonts/cormorant-garamond-latin-600-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* =========================================================
   Elvarion2 – tema „Imperial”
   Stil: ecranul de login din joc (negru adânc, auriu, roșu).
   Structură: 1 token-uri · 2 bază · 3 fundal · 4 butoane · 5 rame
   6 navigație · 7 hero · 8 acasă · 9 pagini · 10 formulare
   11 tabele · 12 conținut · 13 cont · 14 subsol · 15 efecte
   ========================================================= */

/* ---------- 1. Token-uri ---------- */
:root {
  --ei-bg: #060505;
  --ei-bg-2: #0b0908;
  --ei-surface: #100d0b;
  --ei-surface-2: #17120f;
  --ei-surface-3: #1e1814;
  --ei-line: rgba(217, 181, 106, .22);
  --ei-line-strong: rgba(217, 181, 106, .5);
  --ei-line-soft: rgba(255, 255, 255, .06);

  --ei-gold-100: #fff3cf;
  --ei-gold-200: #f6e2a8;
  --ei-gold-300: #e8c97f;
  --ei-gold: #d9b56a;
  --ei-gold-500: #b88f47;
  --ei-gold-600: #8c6a30;
  --ei-gold-700: #5c4520;
  --ei-gold-ink: #1c1306;

  --ei-red-300: #ff6a5c;
  --ei-red: #d1242f;
  --ei-red-600: #9b141d;
  --ei-red-800: #4a0a0f;

  --ei-text: #f1e9da;
  --ei-text-2: #c4b8a3;
  --ei-text-3: #8d8271;

  --ei-ok: #58d68d;
  --ei-warn: #f0b849;
  --ei-bad: #ff6b6b;

  --k-shinsoo: #ef5a4e;
  --k-chunjo: #edc34a;
  --k-jinno: #58a6f0;

  --ei-font-display: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --ei-font-body: 'Alegreya Sans', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;

  --ei-grad-gold: linear-gradient(180deg, #fbeab8 0%, #e6c57a 38%, #c69a4b 72%, #a87a34 100%);
  --ei-grad-gold-hover: linear-gradient(180deg, #fff4cf 0%, #f0d48e 38%, #d6aa58 72%, #b98a3e 100%);
  --ei-grad-text: linear-gradient(180deg, #fff3cf 0%, #e8c97f 45%, #b88f47 100%);
  --ei-grad-panel: linear-gradient(180deg, rgba(26, 20, 16, .92) 0%, rgba(13, 10, 9, .94) 100%);

  --ei-radius: 6px;
  --ei-radius-sm: 4px;
  --ei-nav-h: 76px;
  --ei-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  --ei-ease: cubic-bezier(.2, .7, .2, 1);

  /* Bootstrap */
  --bs-body-bg: var(--ei-bg);
  --bs-body-color: var(--ei-text);
  --bs-body-font-family: var(--ei-font-body);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.6;
  --bs-secondary-color: var(--ei-text-2);
  --bs-tertiary-color: var(--ei-text-3);
  --bs-emphasis-color: #fff;
  --bs-border-color: var(--ei-line);
  --bs-link-color: var(--ei-gold-300);
  --bs-link-color-rgb: 232, 201, 127;
  --bs-link-hover-color: var(--ei-gold-100);
  --bs-link-hover-color-rgb: 255, 243, 207;
  --bs-primary: var(--ei-gold);
  --bs-primary-rgb: 217, 181, 106;
  --bs-danger: var(--ei-bad);
  --bs-success: var(--ei-ok);
  --bs-success-rgb: 88, 214, 141;
  --bs-border-radius: var(--ei-radius);
  --bs-focus-ring-color: rgba(217, 181, 106, .35);
}

@media (max-width: 991.98px) {
  :root { --ei-nav-h: 64px; }
}

/* ---------- 2. Bază ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ei-nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--ei-bg);
  color: var(--ei-text);
  font-family: var(--ei-font-body);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; position: relative; z-index: 1; }
main:focus { outline: none; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .e2-display {
  font-family: var(--ei-font-display);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ei-gold-200);
  text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: var(--ei-gold-300); text-decoration-color: rgba(232, 201, 127, .45); text-underline-offset: .18em; transition: color .15s; }
a:hover { color: var(--ei-gold-100); }
img { max-width: 100%; height: auto; }
::selection { background: rgba(209, 36, 47, .55); color: #fff; }
hr { border-color: var(--ei-line); opacity: 1; }

:focus-visible { outline: 2px solid var(--ei-gold-300); outline-offset: 3px; border-radius: 3px; }
.btn:focus-visible, .form-control:focus-visible, .form-select:focus-visible { outline: 2px solid var(--ei-gold-300); outline-offset: 2px; box-shadow: none; }

html { scrollbar-color: var(--ei-gold-600) #0a0807; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0807; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--ei-gold-500), var(--ei-gold-700)); border-radius: 10px; border: 2px solid #0a0807; }

.text-gold { color: var(--ei-gold-200) !important; }
.text-red { color: var(--ei-red-300) !important; }
.text-muted-e2 { color: var(--ei-text-2) !important; }
.text-success { color: var(--ei-ok) !important; }
.lead-e2 { font-size: 1.15rem; color: var(--ei-text-2); max-width: 46ch; }
.e2-coins { font-family: var(--ei-font-display); font-weight: 700; color: var(--ei-gold-200); font-variant-numeric: tabular-nums; }
.k-shinsoo { color: var(--k-shinsoo) !important; }
.k-chunjo { color: var(--k-chunjo) !important; }
.k-jinno { color: var(--k-jinno) !important; }

.ei-skip { position: absolute; left: 12px; top: -80px; z-index: 2000; padding: .6rem 1rem; background: var(--ei-gold); color: var(--ei-gold-ink); font-weight: 700; border-radius: var(--ei-radius-sm); text-decoration: none; }
.ei-skip:focus { top: 12px; color: var(--ei-gold-ink); }

.e2-kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--ei-font-display); font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ei-red-300);
}
.e2-kicker::before { content: ""; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); flex: none; }

/* ---------- 3. Fundalul paginii ---------- */
.ei-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--ei-bg) url("../img/bg-pagoda.webp") center top / cover no-repeat; }
.ei-bg::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(120% 70% at 50% 0%, rgba(120, 16, 22, .16) 0%, transparent 60%),
  linear-gradient(180deg, rgba(6, 5, 5, .2) 0%, rgba(6, 5, 5, .72) 55%, var(--ei-bg) 100%); }
.ei-bg::after { content: ""; position: absolute; inset: 0; background: url("../img/noise.png"); opacity: .5; mix-blend-mode: overlay; }
.ei-bg-shard { position: absolute; background-repeat: no-repeat; background-size: contain; opacity: .85; display: none; }
@media (min-width: 1200px) {
  .ei-bg-shard { display: block; }
  .ei-bg-shard--tl { left: -70px; top: -120px; width: 430px; height: 550px; background-image: url("../img/shard-tl.webp"); }
  .ei-bg-shard--bl { left: -60px; bottom: -40px; width: 360px; height: 322px; background-image: url("../img/shard-bl.webp"); }
  .ei-bg-shard--tr { right: -40px; top: -180px; width: 320px; height: 640px; background-image: url("../img/shard-tr.webp"); }
  .ei-bg-shard--br { right: -60px; bottom: -30px; width: 480px; height: 350px; background-image: url("../img/shard-br.webp"); }
}
@media (max-width: 767.98px) { .ei-bg { background-image: url("../img/bg-pagoda-sm.webp"); } }

/* ---------- 4. Butoane ---------- */
.btn { --bs-btn-border-radius: var(--ei-radius-sm); font-family: var(--ei-font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .86rem; padding: .78rem 1.35rem; display: inline-flex; align-items: center; justify-content: center; gap: .6em; line-height: 1.2; transition: transform .18s var(--ei-ease), box-shadow .18s, background-color .18s, color .18s, border-color .18s, filter .18s; position: relative; }
.btn i { font-size: 1.05em; line-height: 1; }
.btn-sm { font-size: .74rem; padding: .55rem .95rem; }
.btn-lg { font-size: .95rem; padding: 1rem 1.9rem; }
.btn:active { transform: translateY(1px); }

.btn-e2 {
  color: var(--ei-gold-ink); background: var(--ei-grad-gold); border: 1px solid #f6e2a8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(92, 61, 16, .45), 0 6px 22px rgba(0, 0, 0, .5), 0 0 0 1px rgba(60, 40, 10, .9);
  text-shadow: 0 1px 0 rgba(255, 240, 200, .5);
}
.btn-e2:hover, .btn-e2:focus-visible { color: var(--ei-gold-ink); background: var(--ei-grad-gold-hover); border-color: #fff3cf; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(92, 61, 16, .4), 0 10px 30px rgba(0, 0, 0, .55), 0 0 26px rgba(232, 201, 127, .35), 0 0 0 1px rgba(60, 40, 10, .9); }
.btn-e2:active { color: var(--ei-gold-ink) !important; background: var(--ei-grad-gold) !important; border-color: #f6e2a8 !important; }
.btn-e2:disabled, .btn-e2.disabled { color: var(--ei-gold-ink); background: var(--ei-grad-gold); border-color: #f6e2a8; opacity: .6; }

.btn-e2-ghost { color: var(--ei-gold-200); background: linear-gradient(180deg, rgba(24, 18, 14, .9), rgba(8, 6, 5, .9)); border: 1px solid var(--ei-line-strong); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), 0 6px 18px rgba(0, 0, 0, .4); }
.btn-e2-ghost:hover, .btn-e2-ghost:focus-visible { color: var(--ei-gold-100); border-color: var(--ei-gold-300); background: linear-gradient(180deg, rgba(40, 30, 20, .95), rgba(14, 10, 8, .95)); transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), 0 10px 24px rgba(0, 0, 0, .5), 0 0 18px rgba(217, 181, 106, .18); }
.btn-e2-ghost:active { color: var(--ei-gold-100) !important; border-color: var(--ei-gold-300) !important; background: rgba(14, 10, 8, .95) !important; }
.btn-e2-ghost:disabled { color: var(--ei-text-3); border-color: var(--ei-line); }

/* ---------- 5. Rame (panouri) ---------- */
.e2-panel {
  position: relative; background: var(--ei-grad-panel); border: 1px solid var(--ei-line); border-radius: var(--ei-radius);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 236, 190, .04), var(--ei-shadow);
}
/* colțurile aurii din interfața jocului */
.e2-panel::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none; border-radius: inherit; z-index: 1;
  --c: var(--ei-gold-300); --l: 22px;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1px var(--l) no-repeat;
}
/* rombul de sus */
.e2-panel::after { content: ""; position: absolute; left: 50%; top: -4px; width: 7px; height: 7px; margin-left: -3.5px; transform: rotate(45deg); background: var(--ei-bg-2); border: 1px solid var(--ei-gold-300); z-index: 1; pointer-events: none; }
.e2-panel > * { position: relative; z-index: 2; }

.e2-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; padding-bottom: .9rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--ei-line); position: relative; }
.e2-panel-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 1px; background: var(--ei-gold-300); }
.e2-panel-title { font-size: 1.05rem; margin: 0; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: .6em; color: var(--ei-gold-200); }
.e2-panel-title i { color: var(--ei-red-300); font-size: 1.05em; }
.e2-empty { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; color: var(--ei-text-3); padding: 2.2rem 1rem; }
.e2-empty i { font-size: 2rem; color: var(--ei-gold-600); }
.e2-panel.h-100 { display: flex; flex-direction: column; }
.e2-panel.h-100 > .e2-empty { flex: 1; justify-content: center; }
.e2-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--ei-line-strong), transparent); border: 0; margin: 1.25rem 0; }

/* titlu de secțiune cu ornamente:  ◆──  Titlu  ──◆ */
.ei-heading { text-align: center; margin-bottom: 1.75rem; }
.ei-heading--spaced { margin-top: 3.5rem; }
.ei-heading h2, .ei-heading h1 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); margin: .35rem 0 0; display: flex; align-items: center; justify-content: center; gap: 1rem; text-transform: uppercase; letter-spacing: .12em;
  background: var(--ei-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--ei-gold-200); }
.ei-heading h2::before, .ei-heading h2::after, .ei-heading h1::before, .ei-heading h1::after { content: ""; flex: 0 1 110px; height: 9px; min-width: 24px;
  background: linear-gradient(90deg, transparent, var(--ei-gold-500)) left center / calc(100% - 14px) 1px no-repeat, linear-gradient(45deg, transparent 35%, var(--ei-gold-300) 35%, var(--ei-gold-300) 65%, transparent 65%) right center / 9px 9px no-repeat; }
.ei-heading h2::after, .ei-heading h1::after { transform: scaleX(-1); }
/* ---------- 6. Navigație ---------- */
.ei-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; height: var(--ei-nav-h); background: linear-gradient(180deg, rgba(4, 3, 3, .92) 0%, rgba(4, 3, 3, .62) 70%, rgba(4, 3, 3, 0) 100%); transition: background-color .25s, box-shadow .25s, height .25s; }
.ei-nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--ei-line-strong) 18%, var(--ei-gold-300) 50%, var(--ei-line-strong) 82%, transparent 100%); opacity: 0; transition: opacity .25s; }
.ei-nav.is-stuck, .ei-inner .ei-nav { background: rgba(6, 5, 5, .9); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.ei-nav.is-stuck::after, .ei-inner .ei-nav::after { opacity: 1; }
.ei-nav-inner { height: 100%; max-width: 1640px; margin: 0 auto; padding: 0 clamp(14px, 2.2vw, 36px); display: flex; align-items: center; gap: clamp(10px, 1.4vw, 28px); }
.ei-brand { flex: none; display: inline-flex; align-items: center; height: 100%; }
.ei-brand img { height: 42px; width: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .8)); transition: transform .25s var(--ei-ease), filter .25s; }
.ei-brand:hover img { transform: scale(1.03); filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .8)) drop-shadow(0 0 14px rgba(232, 201, 127, .35)); }

.ei-menu { display: none; align-items: stretch; height: 100%; margin: 0 auto; }
.ei-link { position: relative; display: flex; align-items: center; padding: 0 clamp(8px, .85vw, 14px); font-family: var(--ei-font-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ei-text-2); text-decoration: none; white-space: nowrap; transition: color .18s; }
.ei-link::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: 6px; height: 6px; margin-left: -3px; background: var(--ei-red); transform: rotate(45deg) scale(0); transition: transform .22s var(--ei-ease); box-shadow: 0 0 10px rgba(209, 36, 47, .9); }
.ei-link::before { content: ""; position: absolute; left: 22%; right: 22%; bottom: 16px; height: 1px; background: linear-gradient(90deg, transparent, var(--ei-gold-300), transparent); opacity: 0; transition: opacity .22s; }
.ei-link:hover { color: var(--ei-gold-100); }
.ei-link:hover::before { opacity: 1; }
.ei-link.active { color: var(--ei-gold-200); }
.ei-link.active::after { transform: rotate(45deg) scale(1); }
.ei-link.active::before { opacity: 0; }

.ei-nav-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; flex: none; }
.ei-chip { display: inline-flex; align-items: center; gap: .5em; height: 40px; padding: 0 .9rem; font-family: var(--ei-font-display); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ei-gold-200); text-decoration: none; background: rgba(12, 9, 8, .78); border: 1px solid var(--ei-line); border-radius: var(--ei-radius-sm); transition: border-color .18s, color .18s, background-color .18s; white-space: nowrap; }
.ei-chip:hover, .ei-chip[aria-expanded="true"] { color: var(--ei-gold-100); border-color: var(--ei-gold-300); background: rgba(24, 18, 14, .92); }
.ei-chip i { color: var(--ei-gold); font-size: 1rem; }
.ei-chip--coins span:first-of-type { font-variant-numeric: tabular-nums; }
.ei-chip--user { padding-left: .35rem; max-width: 220px; }
.ei-user-name { overflow: hidden; text-overflow: ellipsis; text-transform: none; letter-spacing: .04em; font-size: .86rem; }
.ei-avatar { flex: none; width: 30px; height: 30px; display: inline-grid; place-items: center; font-family: var(--ei-font-display); font-weight: 800; font-size: .9rem; color: var(--ei-gold-ink); background: var(--ei-grad-gold); border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.ei-avatar--lg { width: 46px; height: 46px; font-size: 1.3rem; }
.ei-nav-cta { height: 40px; padding-top: 0; padding-bottom: 0; }

.dropdown-menu.ei-dropdown, .ei-nav .dropdown-menu { --bs-dropdown-bg: #0e0b09; --bs-dropdown-border-color: var(--ei-line-strong); --bs-dropdown-link-color: var(--ei-text); --bs-dropdown-link-hover-bg: rgba(217, 181, 106, .1); --bs-dropdown-link-hover-color: var(--ei-gold-100); --bs-dropdown-link-active-bg: rgba(217, 181, 106, .16); --bs-dropdown-link-active-color: var(--ei-gold-100); --bs-dropdown-divider-bg: var(--ei-line); --bs-dropdown-border-radius: var(--ei-radius); --bs-dropdown-padding-y: .4rem; margin-top: .6rem !important; min-width: 232px; box-shadow: var(--ei-shadow); }
.ei-dropdown .dropdown-item { display: flex; align-items: center; gap: .7rem; padding: .6rem 1rem; font-size: 1rem; }
.ei-dropdown .dropdown-item i { color: var(--ei-gold); width: 1.1em; text-align: center; }
.ei-dd-code { font-family: var(--ei-font-display); font-weight: 700; font-size: .72rem; letter-spacing: .1em; color: var(--ei-gold); width: 2em; }
.ei-dropdown .ei-dd-danger, .ei-dropdown .ei-dd-danger i { color: var(--ei-red-300); }

.ei-burger { width: 44px; height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: rgba(12, 9, 8, .78); border: 1px solid var(--ei-line-strong); border-radius: var(--ei-radius-sm); padding: 0; }
.ei-burger span { width: 20px; height: 2px; background: var(--ei-gold-200); border-radius: 2px; transition: width .2s; }
.ei-burger span:nth-child(2) { width: 13px; align-self: center; }
.ei-burger:hover span:nth-child(2) { width: 20px; }

@media (min-width: 1280px) {
  .ei-menu { display: flex; flex: none; }
  .ei-burger { display: none; }
  .ei-brand img { height: 46px; }
  /* plasă de siguranță: dacă meniul nu încape (limbă lungă / multe pagini), JS îl mută în sertar */
  .ei-nav.is-collapsed .ei-menu { display: none; }
  .ei-nav.is-collapsed .ei-burger { display: inline-flex; }
}
@media (min-width: 1280px) and (max-width: 1599.98px) {
  .ei-nav-inner { gap: 12px; }
  .ei-brand img { height: 40px; }
  .ei-link { padding: 0 9px; font-size: .74rem; letter-spacing: .09em; }
  .ei-nav-actions { gap: .45rem; }
  .ei-chip { padding: 0 .7rem; }
  .ei-nav.is-auth .ei-user-name { max-width: 96px; }
}
@media (min-width: 1280px) { .ei-nav.is-auth:not(.is-collapsed) .ei-nav-cta { display: none !important; } }
@media (min-width: 1280px) and (max-width: 1365.98px) { .ei-chip--login .ei-chip-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .ei-chip--login { padding: 0 .75rem; } }
@media (min-width: 1600px) { .ei-nav.is-auth .ei-user-name { max-width: 130px; } }
@media (min-width: 1280px) and (max-width: 1439.98px) { .ei-nav.is-auth .ei-user-name { display: none; } .ei-nav.is-auth .ei-chip--user { padding-right: .55rem; } }
@media (max-width: 575.98px) { .ei-brand img { height: 36px; } }

/* previzualizare (doar administrator) */
.ei-preview-bar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 1900; display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; justify-content: center; max-width: calc(100vw - 24px); padding: .55rem 1rem; font-size: .92rem; background: #1c1306; color: var(--ei-gold-100); border: 1px solid var(--ei-gold-300); border-radius: 999px; box-shadow: var(--ei-shadow); }
.ei-preview-bar a { font-weight: 700; }

/* meniul lateral (telefon / tabletă) */
.ei-drawer { --bs-offcanvas-width: min(88vw, 380px); --bs-offcanvas-bg: #090706; --bs-offcanvas-border-color: var(--ei-line-strong); color: var(--ei-text); background-image: radial-gradient(120% 50% at 100% 0%, rgba(120, 16, 22, .22), transparent 70%); }
.ei-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 16px; border-bottom: 1px solid var(--ei-line); }
.ei-drawer-head img { height: 38px; width: auto; }
.ei-drawer-close { width: 44px; height: 44px; display: inline-grid; place-items: center; color: var(--ei-gold-200); background: transparent; border: 1px solid var(--ei-line-strong); border-radius: var(--ei-radius-sm); font-size: 1.05rem; }
.ei-drawer-body { padding: 14px 16px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.ei-drawer-user { display: flex; align-items: center; gap: .85rem; padding: .85rem; border: 1px solid var(--ei-line); border-radius: var(--ei-radius); background: rgba(217, 181, 106, .05); }
.ei-drawer-user strong { display: block; font-family: var(--ei-font-display); color: var(--ei-gold-200); font-size: 1.1rem; }
.ei-drawer-user span { color: var(--ei-text-2); font-size: .95rem; }
.ei-drawer-menu { display: grid; gap: 4px; }
.ei-drawer-menu a { display: flex; align-items: center; gap: .9rem; min-height: 50px; padding: .5rem .9rem; font-family: var(--ei-font-display); font-weight: 700; font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ei-text); text-decoration: none; border: 1px solid transparent; border-radius: var(--ei-radius-sm); }
.ei-drawer-menu a i { color: var(--ei-gold); font-size: 1.15rem; width: 1.3em; text-align: center; }
.ei-drawer-menu a:hover, .ei-drawer-menu a.active { color: var(--ei-gold-100); background: rgba(217, 181, 106, .08); border-color: var(--ei-line); }
.ei-drawer-menu a.active { border-left: 2px solid var(--ei-red); }
.ei-drawer-menu--sub a { font-family: var(--ei-font-body); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 1.02rem; min-height: 46px; }
.ei-drawer-label { font-family: var(--ei-font-display); font-weight: 700; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ei-text-3); padding: .4rem .2rem 0; border-top: 1px solid var(--ei-line); margin-top: .2rem; padding-top: 1rem; }
.ei-drawer-cta { display: grid; gap: 10px; }
.ei-drawer-langs { display: flex; gap: 8px; }
.ei-drawer-langs a { flex: 1; min-height: 44px; display: grid; place-items: center; font-family: var(--ei-font-display); font-weight: 700; letter-spacing: .1em; color: var(--ei-text-2); text-decoration: none; border: 1px solid var(--ei-line); border-radius: var(--ei-radius-sm); }
.ei-drawer-langs a.active { color: var(--ei-gold-ink); background: var(--ei-grad-gold); border-color: var(--ei-gold-200); }
.ei-drawer-social { justify-content: center; margin-top: .4rem; }

/* ---------- 7. Hero ---------- */
.ei-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; background: #050404; }
.ei-hero-media, .ei-hero-static, .ei-hero-veil { position: absolute; inset: 0; }
.ei-hero-media { z-index: 0; display: none; }
.ei-hero-poster, .ei-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.ei-hero-video { opacity: 0; transition: opacity .9s ease; }
.ei-hero-video.is-playing { opacity: 1; }
.ei-hero-veil { z-index: 2; pointer-events: none; background:
  linear-gradient(180deg, rgba(5, 4, 4, .55) 0%, rgba(5, 4, 4, 0) 16%, rgba(5, 4, 4, 0) 62%, rgba(6, 5, 5, .86) 90%, var(--ei-bg) 100%); }

.ei-hero-content { position: relative; z-index: 3; width: 100%; max-width: 720px; padding: calc(var(--ei-nav-h) + 18px) 20px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ei-hero-logo { width: min(88vw, 520px); height: auto; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .9)); margin-bottom: .4rem; }
.ei-hero-status { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; justify-content: center; margin: 0 0 1rem; padding: .42rem 1rem; font-size: .95rem; color: var(--ei-text); background: rgba(8, 6, 5, .72); border: 1px solid var(--ei-line); border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ei-hero-status strong { font-family: var(--ei-font-display); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }
.ei-hero-status .sep { color: var(--ei-gold-600); font-size: .5rem; }
.ei-hero-status b { font-family: var(--ei-font-display); color: var(--ei-gold-200); font-variant-numeric: tabular-nums; }
.ei-hero-status .dot, .e2-status .dot, .online-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ei-text-3); flex: none; display: inline-block; }
.is-online .dot, .online-dot { background: var(--ei-ok); box-shadow: 0 0 0 0 rgba(88, 214, 141, .7); animation: ei-pulse 2s infinite; }
.is-online strong { color: var(--ei-ok); }
.is-offline .dot { background: var(--ei-bad); }
.is-offline strong { color: var(--ei-bad); }
@keyframes ei-pulse { 70% { box-shadow: 0 0 0 9px rgba(88, 214, 141, 0); } 100% { box-shadow: 0 0 0 0 rgba(88, 214, 141, 0); } }

.ei-hero-slogan { font-family: var(--ei-font-display); font-weight: 700; font-size: clamp(1.05rem, .8rem + 1.5vw, 1.6rem); letter-spacing: .2em; text-transform: uppercase; line-height: 1.45; margin: 0 0 1.5rem; color: var(--ei-gold-200); text-shadow: 0 2px 18px rgba(0, 0, 0, .95), 0 0 2px rgba(0, 0, 0, .9); text-wrap: balance; }
.ei-hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; width: 100%; }
.ei-hero-scroll { position: relative; z-index: 3; display: none; margin: auto 0 22px; width: 44px; height: 44px; place-items: center; color: var(--ei-gold-300); border: 1px solid var(--ei-line); border-radius: 50%; background: rgba(8, 6, 5, .6); text-decoration: none; animation: ei-bob 2.2s ease-in-out infinite; }
@keyframes ei-bob { 50% { transform: translateY(6px); } }

/* telefon / tabletă: logo + războinic, fără video */
.ei-hero-static { z-index: 1; overflow: hidden; background: radial-gradient(90% 55% at 70% 62%, rgba(140, 20, 26, .34) 0%, transparent 70%), url("../img/bg-pagoda-sm.webp") center top / cover no-repeat; }
.ei-hero-warrior { position: absolute; right: -14%; bottom: 0; height: min(64%, 520px); width: auto; max-width: none; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); filter: drop-shadow(-10px 0 40px rgba(180, 30, 30, .25)); }
.ei-ember { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: #ff7a45; box-shadow: 0 0 10px 2px rgba(255, 90, 40, .8); opacity: 0; animation: ei-ember 7s linear infinite; }
.ei-ember--1 { left: 12%; animation-delay: 0s; } .ei-ember--2 { left: 34%; animation-delay: 2.1s; width: 3px; height: 3px; } .ei-ember--3 { left: 58%; animation-delay: 4.2s; } .ei-ember--4 { left: 76%; animation-delay: 1.2s; width: 3px; height: 3px; } .ei-ember--5 { left: 90%; animation-delay: 5.3s; }
@keyframes ei-ember { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .9; } 100% { transform: translate(-40px, -70vh); opacity: 0; } }

@media (max-width: 991.98px) {
  .ei-hero { min-height: min(100svh, 860px); justify-content: flex-start; }
  .ei-hero-content { flex: 1; padding-bottom: 36px; }
  .ei-hero-slogan { margin-top: auto; padding-top: 240px; font-size: 1.02rem; letter-spacing: .17em; max-width: 24ch; }
  .ei-hero-cta .btn { flex: 1 1 100%; }
  .ei-hero-warrior { height: min(74%, 600px); right: -20%; bottom: 84px; }
  .ei-hero-veil { background: linear-gradient(180deg, rgba(5, 4, 4, .78) 0%, rgba(5, 4, 4, 0) 20%, rgba(5, 4, 4, 0) 54%, rgba(6, 5, 5, .82) 76%, var(--ei-bg) 100%); }
  /* pe prima pagină logo-ul mare e deja în hero: cel din bară apare abia după derulare */
  .ei-home .ei-nav:not(.is-stuck) .ei-brand { opacity: 0; pointer-events: none; }
  .ei-brand { transition: opacity .25s; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .ei-hero-cta .btn { flex: 0 1 auto; }
  .ei-hero-warrior { right: 0; height: min(70%, 620px); }
}
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 520px) {
  .ei-hero { min-height: 420px; }
  .ei-hero-logo { width: min(46vw, 360px); }
  .ei-hero-slogan { padding-top: 4vh; margin-top: 0; max-width: none; }
  .ei-hero-warrior { height: 96%; right: 2%; opacity: .55; }
}

/* ecrane mari: filmul; conținutul stă sub logo-ul din film */
@media (min-width: 992px) {
  .ei-hero { height: clamp(560px, 56.25vw, 100vh); min-height: 0; justify-content: flex-start; }
  .ei-hero-media { display: block; }
  .ei-hero-static { display: none; }
  .ei-hero-logo { display: none; }
  .ei-hero-content { position: absolute; left: 48%; top: 50%; transform: translateX(-50%); padding: 0 20px; max-width: 600px; }
  .ei-hero-scroll { display: grid; position: absolute; left: 50%; bottom: 52px; margin-left: -22px; }
  .ei-hero-slogan { font-size: clamp(1.05rem, .6rem + .9vw, 1.5rem); }
}
@media (min-width: 992px) and (min-aspect-ratio: 16/9) { .ei-hero-poster, .ei-hero-video { object-position: 50% 12%; } }

/* ---------- 8. Acasă ---------- */
.ei-features { position: relative; z-index: 4; margin-top: -34px; padding-bottom: 1rem; }
.ei-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ei-line); border-radius: var(--ei-radius); background: var(--ei-grad-panel); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), var(--ei-shadow); position: relative; }
.ei-features-grid::before { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--ei-gold-300), transparent); }
.ei-feature { display: flex; align-items: center; gap: 1rem; padding: 1.35rem 1.4rem; border-left: 1px solid var(--ei-line); min-width: 0; }
.ei-feature:first-child { border-left: 0; }
.ei-feature-icon { flex: none; width: 54px; height: 54px; display: grid; place-items: center; color: var(--ei-gold-200); font-size: 1.35rem; position: relative; }
.ei-feature-icon::before { content: ""; position: absolute; inset: 7px; transform: rotate(45deg); border: 1px solid var(--ei-gold-500); background: linear-gradient(135deg, rgba(217, 181, 106, .16), rgba(120, 16, 22, .2)); box-shadow: 0 0 18px rgba(217, 181, 106, .12); }
.ei-feature-icon > * { position: relative; }
.ei-feature-icon svg { width: 1.35rem; height: 1.35rem; }
.ei-feature h2 { font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; margin: 0; color: var(--ei-gold-100); }
.ei-feature p { margin: .15rem 0 0; font-size: .95rem; color: var(--ei-text-2); line-height: 1.3; }
@media (max-width: 1199.98px) { .ei-features-grid { grid-template-columns: repeat(2, 1fr); } .ei-feature:nth-child(3) { border-left: 0; } .ei-feature:nth-child(n+3) { border-top: 1px solid var(--ei-line); } }
@media (max-width: 575.98px) { .ei-features { margin-top: 0; padding-top: .5rem; } .ei-features-grid { grid-template-columns: 1fr; } .ei-feature { border-left: 0; padding: 1rem 1.1rem; } .ei-feature + .ei-feature { border-top: 1px solid var(--ei-line); } }

.ei-numbers { position: relative; z-index: 1; padding: 3.5rem 0 1rem; }
.e2-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--ei-line); border: 1px solid var(--ei-line); border-radius: var(--ei-radius); overflow: hidden; }
.e2-stat { background: linear-gradient(180deg, #14100d, #0b0908); padding: 1.6rem 1rem 1.4rem; text-align: center; position: relative; }
.e2-stat::before { content: ""; position: absolute; left: 50%; top: 0; width: 46px; height: 2px; margin-left: -23px; background: linear-gradient(90deg, transparent, var(--ei-red), transparent); }
.e2-stat strong { display: block; font-family: var(--ei-font-display); font-weight: 800; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; font-variant-numeric: tabular-nums; background: var(--ei-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--ei-gold-200); }
.e2-stat span { display: block; margin-top: .35rem; font-family: var(--ei-font-display); font-weight: 700; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ei-text-2); }
@media (max-width: 575.98px) { .e2-stats { grid-template-columns: repeat(2, 1fr); } .e2-stat:last-child:nth-child(odd) { grid-column: 1 / -1; } .e2-stat { padding: 1.2rem .6rem 1.1rem; } }

.e2-section { position: relative; z-index: 1; padding: 3rem 0 3.5rem; }

.e2-status { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ei-font-display); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.e2-status.is-online { color: var(--ei-ok); } .e2-status.is-offline { color: var(--ei-bad); }
.ei-online-now { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 1rem; }
.ei-online-now strong { font-family: var(--ei-font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--ei-gold-200); font-variant-numeric: tabular-nums; }
.ei-online-now span { color: var(--ei-text-2); }
.e2-channel { margin-bottom: .85rem; }
.e2-channel-head { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; margin-bottom: .3rem; }
.e2-channel-head strong { font-family: var(--ei-font-display); letter-spacing: .08em; color: var(--ei-gold-100); }
.e2-channel-head span { color: var(--ei-text-2); }
.e2-bar { height: 6px; background: rgba(255, 255, 255, .07); border-radius: 6px; overflow: hidden; }
.e2-bar span { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--ei-gold-600), var(--ei-gold-200)); border-radius: inherit; }

/* noutăți */
.e2-news-feature { display: block; aspect-ratio: 16 / 7; border-radius: var(--ei-radius-sm); border: 1px solid var(--ei-line); margin-bottom: 1rem; background: linear-gradient(180deg, transparent 40%, rgba(6, 5, 5, .85)), var(--news-img, linear-gradient(135deg, #2a0d0d, #0b0908 60%)) center / cover no-repeat; transition: border-color .2s, filter .2s; }
.e2-news-feature:hover { border-color: var(--ei-gold-300); filter: brightness(1.08); }
.e2-news-meta { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; font-size: .9rem; color: var(--ei-text-3); margin-bottom: .35rem; }
.e2-news-title { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); margin-bottom: .6rem; }
.e2-news-row { display: block; padding: 1rem 1.1rem; border: 1px solid var(--ei-line); border-left: 2px solid var(--ei-gold-600); border-radius: var(--ei-radius-sm); background: rgba(255, 255, 255, .015); text-decoration: none; color: inherit; transition: border-color .2s, background-color .2s, transform .2s var(--ei-ease); }
.e2-news-row:hover { border-color: var(--ei-gold-300); border-left-color: var(--ei-red); background: rgba(217, 181, 106, .05); transform: translateX(4px); color: inherit; }
.e2-news-row h3 { font-size: 1.08rem; margin: 0 0 .25rem; color: var(--ei-gold-100); }
.e2-news-row p { margin: 0; color: var(--ei-text-2); font-size: .98rem; }

/* top jucători / bresle */
.e2-toplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.e2-toplist li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: .9rem; padding: .7rem .9rem; border: 1px solid var(--ei-line-soft); border-radius: var(--ei-radius-sm); background: rgba(255, 255, 255, .015); transition: border-color .2s, background-color .2s; }
.e2-toplist li:hover { border-color: var(--ei-line-strong); background: rgba(217, 181, 106, .04); }
.e2-toplist .pos { width: 38px; height: 38px; display: grid; place-items: center; font-family: var(--ei-font-display); font-weight: 800; color: var(--ei-text-2); position: relative; }
.e2-toplist .pos::before { content: ""; position: absolute; inset: 5px; transform: rotate(45deg); border: 1px solid var(--ei-line-strong); background: #0c0a09; }
.e2-toplist .pos > *, .e2-toplist .pos { z-index: 0; }
.e2-toplist .pos i, .e2-toplist .pos { isolation: isolate; }
.e2-toplist .pos::before { z-index: -1; }
.e2-toplist .is-1 .pos { color: var(--ei-gold-ink); } .e2-toplist .is-1 .pos::before { background: var(--ei-grad-gold); border-color: var(--ei-gold-100); box-shadow: 0 0 16px rgba(232, 201, 127, .45); }
.e2-toplist .is-2 .pos { color: #1b1b1b; } .e2-toplist .is-2 .pos::before { background: linear-gradient(180deg, #f1f1f1, #9aa0a6); border-color: #fff; }
.e2-toplist .is-3 .pos { color: #241206; } .e2-toplist .is-3 .pos::before { background: linear-gradient(180deg, #e8a36b, #96552a); border-color: #f3c09a; }
.e2-toplist .who { min-width: 0; }
.e2-toplist .who strong { display: block; font-size: 1.06rem; color: var(--ei-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.e2-toplist .is-1 .who strong { color: var(--ei-gold-100); }
.e2-toplist .who small { color: var(--ei-text-3); font-size: .9rem; }
.e2-toplist .val { text-align: right; font-family: var(--ei-font-display); font-weight: 800; font-size: 1.15rem; color: var(--ei-gold-200); line-height: 1.05; font-variant-numeric: tabular-nums; }
.e2-toplist .val small { display: block; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ei-text-3); font-weight: 700; }

/* comunitate */
.ei-community { position: relative; z-index: 1; padding: 0 0 4.5rem; }
.ei-community-box { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding: clamp(1.6rem, 1rem + 2.6vw, 3rem); border: 1px solid var(--ei-line-strong); border-radius: var(--ei-radius); overflow: hidden;
  background: linear-gradient(100deg, rgba(74, 10, 15, .78) 0%, rgba(20, 12, 10, .92) 55%, rgba(12, 9, 8, .96) 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), var(--ei-shadow); }
.ei-community-box::before { content: ""; position: absolute; right: -40px; top: -60px; width: 300px; height: 300px; background: url("../img/shard-tr.webp") center / contain no-repeat; opacity: .5; pointer-events: none; }
.ei-community-box > * { position: relative; }
.ei-community-box h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); margin: .4rem 0 .5rem; text-transform: uppercase; letter-spacing: .08em; background: var(--ei-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ei-community-box p { margin: 0; color: var(--ei-text-2); max-width: 48ch; }
.ei-community-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 575.98px) { .ei-community-cta, .ei-community-cta .btn { width: 100%; } }
/* ---------- 9. Pagini interioare ---------- */
.page-stage { position: relative; z-index: 1; padding: calc(var(--ei-nav-h) + clamp(28px, 4vw, 64px)) 0 clamp(48px, 6vw, 96px); min-height: 78vh; }
.stage-row { min-height: min(62vh, 640px); }
.page-title { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); line-height: 1.1; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .5rem;
  background: var(--ei-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--ei-gold-200); filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .8)); overflow-wrap: anywhere; }
.page-sub { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--ei-font-display); font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ei-red-300); margin: 0 0 1.5rem; }
.page-sub::before, .text-center .page-sub::after, .auth-panel .page-sub::after { content: ""; width: 34px; height: 9px; flex: none;
  background: linear-gradient(90deg, transparent, var(--ei-gold-500)) left center / calc(100% - 13px) 1px no-repeat, linear-gradient(45deg, transparent 35%, var(--ei-gold-300) 35%, var(--ei-gold-300) 65%, transparent 65%) right center / 9px 9px no-repeat; }
.text-center .page-sub::after, .auth-panel .page-sub::after { transform: scaleX(-1); }
@media (max-width: 991.98px) { .text-lg-start .page-sub::after { content: ""; width: 34px; height: 9px; flex: none; transform: scaleX(-1);
  background: linear-gradient(90deg, transparent, var(--ei-gold-500)) left center / calc(100% - 13px) 1px no-repeat, linear-gradient(45deg, transparent 35%, var(--ei-gold-300) 35%, var(--ei-gold-300) 65%, transparent 65%) right center / 9px 9px no-repeat; } }

/* clasa paginii, diferită pe fiecare pagină: pe telefon / tabletă stă sus, sub meniu, iar titlul intră peste
   partea ei de jos (ca războinicul de pe prima pagină); pe ecrane mari stă lateral */
.stage-art { display: none; }
@media (max-width: 991.98px) {
  .page-stage.has-art-m { --art-w: min(74vw, 400px); padding-top: var(--ei-nav-h); }
  .has-art-m .stage-row { min-height: 0; }
  .stage-art { display: block; position: relative; z-index: 0; width: var(--art-w); margin: 0 auto calc(var(--art-w) * -.34); pointer-events: none; }
  .stage-art-fig { position: relative; display: block; width: 100%; aspect-ratio: 712 / 900;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, rgba(0, 0, 0, .45) 80%, transparent 97%); mask-image: linear-gradient(180deg, #000 58%, rgba(0, 0, 0, .45) 80%, transparent 97%); }
  .page-stage .container-xxl { position: relative; z-index: 1; }
}
@media (min-width: 992px) {
  .stage-art { display: block; position: absolute; top: var(--ei-nav-h); bottom: 0; width: 46vw; max-width: 760px; pointer-events: none; z-index: 0; overflow: hidden; opacity: .95; }
  .stage-art--right { right: 0; }
  .stage-art--left { left: 0; }
  .stage-art-fig { position: sticky; top: calc(var(--ei-nav-h) + 2vh); display: block; height: min(86vh, 900px); aspect-ratio: 712 / 900; margin-left: auto; transform-origin: 50% 88%; }
  .stage-art--right .stage-art-fig { margin-right: -3vw; }
  .stage-art--left .stage-art-fig { margin-left: -3vw; margin-right: auto; }
  .stage-art--left .stage-art-fig img, .stage-art--left .stage-art-fig canvas { transform: scaleX(-1); }
  .page-stage .container-xxl { position: relative; z-index: 1; }
}
@media (min-width: 992px) and (max-width: 1399.98px) { .stage-art { opacity: .5; } }
@media (min-width: 992px) { .stage-art.stage-art--mobile { display: none; } }

.auth-panel { padding: clamp(1.5rem, 1rem + 2.4vw, 2.8rem); max-width: 560px; margin-inline: auto; }
.auth-panel .page-title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); }

/* ---------- 10. Formulare ---------- */
.form-label { font-family: var(--ei-font-display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ei-gold-300); margin-bottom: .45rem; }
.form-control, .form-select { background-color: rgba(6, 5, 4, .78); border: 1px solid var(--ei-line); color: var(--ei-text); border-radius: var(--ei-radius-sm); padding: .8rem 1rem; font-size: 1.05rem; min-height: 50px; transition: border-color .18s, box-shadow .18s, background-color .18s; }
.form-control::placeholder { color: var(--ei-text-3); opacity: 1; }
.form-control:focus, .form-select:focus { background-color: rgba(10, 8, 6, .92); border-color: var(--ei-gold-300); color: var(--ei-text); box-shadow: 0 0 0 3px rgba(217, 181, 106, .16), inset 0 0 14px rgba(217, 181, 106, .05); }
.form-control:disabled, .form-control[readonly] { background-color: rgba(255, 255, 255, .04); color: var(--ei-text-2); }
textarea.form-control { min-height: 140px; }
.input-group-text { background: linear-gradient(180deg, #17120f, #0c0a09); border: 1px solid var(--ei-line); color: var(--ei-gold); min-width: 50px; justify-content: center; font-size: 1.1rem; border-radius: var(--ei-radius-sm); }
.input-group:focus-within .input-group-text { border-color: var(--ei-gold-300); color: var(--ei-gold-200); }
.form-text { font-size: .92rem; }
.form-check { display: flex; align-items: center; gap: .7rem; padding-left: 0; min-height: 44px; }
.form-check .form-check-input { float: none; margin: 0; width: 24px; height: 24px; flex: none; background-color: rgba(6, 5, 4, .8); border: 1px solid var(--ei-line-strong); border-radius: 3px; cursor: pointer; }
.form-check-input:checked { background-color: var(--ei-gold); border-color: var(--ei-gold-200); background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%231c1306' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e"); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(217, 181, 106, .2); border-color: var(--ei-gold-300); }
.form-check-label { cursor: pointer; color: var(--ei-text-2); padding: .55rem 0; }
.e2-calendar .fc-daygrid-event { min-height: 28px; display: flex; align-items: center; }
.form-control.is-invalid, .was-validated .form-control:invalid { border-color: var(--ei-bad); background-image: none; padding-right: 1rem; }
.form-control.is-valid, .was-validated .form-control:valid { border-color: var(--ei-line-strong); background-image: none; padding-right: 1rem; }
.invalid-feedback { color: var(--ei-bad); font-size: .92rem; }
.e2-form a.small, .e2-form .small a { display: inline-flex; align-items: center; min-height: 32px; }
.code-input { font-family: var(--ei-font-display); font-weight: 700; letter-spacing: .5em; text-align: center; font-size: 1.4rem; text-transform: uppercase; }

.e2-alert { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 1rem; margin-bottom: 1rem; border: 1px solid rgba(255, 107, 107, .45); border-left: 3px solid var(--ei-bad); border-radius: var(--ei-radius-sm); background: rgba(155, 20, 29, .18); color: #ffd9d6; }
.e2-alert i { color: var(--ei-bad); margin-top: .2rem; }
.e2-alert--warning { border-color: rgba(240, 184, 73, .45); border-left-color: var(--ei-warn); background: rgba(240, 184, 73, .1); color: #ffe7b8; }
.e2-alert--warning i { color: var(--ei-warn); }
.e2-alert--success { border-color: rgba(88, 214, 141, .45); border-left-color: var(--ei-ok); background: rgba(88, 214, 141, .1); color: #d6f7e3; }
.e2-alert--success i { color: var(--ei-ok); }

/* ---------- 11. File, filtre, tabele ---------- */
.e2-tabs { display: inline-flex; flex-wrap: nowrap; gap: 0; padding: 4px; border: 1px solid var(--ei-line); border-radius: var(--ei-radius-sm); background: rgba(6, 5, 4, .7); }
.e2-tabs .nav-link { font-family: var(--ei-font-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ei-text-2); padding: .65rem 1.4rem; border-radius: 3px; border: 0; min-height: 44px; display: inline-flex; align-items: center; }
.e2-tabs .nav-link:hover { color: var(--ei-gold-100); }
.e2-tabs .nav-link.active { color: var(--ei-gold-ink); background: var(--ei-grad-gold); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.e2-tabs--sm .nav-link { padding: .4rem .9rem; font-size: .72rem; min-height: 36px; }

.e2-filter-label { font-family: var(--ei-font-display); font-weight: 700; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ei-text-3); margin-bottom: .5rem; }
.e2-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.e2-filter .btn { font-size: .74rem; letter-spacing: .1em; padding: .5rem .9rem; min-height: 40px; color: var(--ei-text-2); background: rgba(6, 5, 4, .7); border: 1px solid var(--ei-line); }
.e2-filter .btn:hover { color: var(--ei-gold-100); border-color: var(--ei-gold-300); }
.e2-filter .btn.active { color: var(--ei-gold-100); border-color: var(--ei-gold-300); background: rgba(217, 181, 106, .14); box-shadow: inset 0 -2px 0 var(--ei-gold-300); }
.e2-filter .btn.k-shinsoo.active { box-shadow: inset 0 -2px 0 var(--k-shinsoo); border-color: var(--k-shinsoo); }
.e2-filter .btn.k-chunjo.active { box-shadow: inset 0 -2px 0 var(--k-chunjo); border-color: var(--k-chunjo); }
.e2-filter .btn.k-jinno.active { box-shadow: inset 0 -2px 0 var(--k-jinno); border-color: var(--k-jinno); }
.e2-event .dot, .e2-filter .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .45em; vertical-align: middle; }

.table { --bs-table-bg: transparent; --bs-table-color: var(--ei-text); --bs-table-border-color: var(--ei-line-soft); --bs-table-hover-bg: rgba(217, 181, 106, .06); --bs-table-hover-color: var(--ei-text); margin-bottom: 0; }
.table thead th { font-family: var(--ei-font-display); font-weight: 700; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ei-gold-300); border-bottom: 1px solid var(--ei-line-strong); padding: .8rem .9rem; white-space: nowrap; background: rgba(6, 5, 4, .5); }
.table td { padding: .8rem .9rem; vertical-align: middle; }
.e2-table .rank-pos { font-family: var(--ei-font-display); font-weight: 800; color: var(--ei-text-2); width: 64px; }
.e2-table tr.rank-1 td { background: linear-gradient(90deg, rgba(232, 201, 127, .16), transparent 70%); }
.e2-table tr.rank-1 .rank-pos, .e2-table tr.rank-1 td:nth-child(2) { color: var(--ei-gold-100); font-weight: 700; }
.e2-table tr.rank-1 .rank-pos i { color: var(--ei-gold-300); font-size: 1.2rem; }
.e2-table tr.rank-2 .rank-pos { color: #dfe3e7; } .e2-table tr.rank-3 .rank-pos { color: #e8a36b; }
.e2-table tr.rank-2 td { background: linear-gradient(90deg, rgba(220, 224, 228, .07), transparent 60%); }
.e2-table tr.rank-3 td { background: linear-gradient(90deg, rgba(232, 163, 107, .08), transparent 60%); }
.e2-table .kingdom { font-family: var(--ei-font-display); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.e2-table td:nth-child(4), .e2-table th:nth-child(4), .e2-table td:nth-child(3), .e2-table th:nth-child(3) { white-space: nowrap; }
.e2-table td { font-variant-numeric: tabular-nums; }
.e2-table .rank-name small { display: block; color: var(--ei-text-3); font-size: .86rem; line-height: 1.2; }
@media (max-width: 575.98px) { .e2-table th, .e2-table td { padding: .7rem .5rem; } .e2-table .rank-pos { width: 40px; } .e2-table .kingdom { font-size: .72rem; letter-spacing: .04em; } }

.e2-pagination { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 1.25rem 0 0; }
.e2-pagination a { min-width: 42px; height: 42px; padding: 0 .5rem; display: grid; place-items: center; font-family: var(--ei-font-display); font-weight: 700; color: var(--ei-text-2); text-decoration: none; border: 1px solid var(--ei-line); border-radius: var(--ei-radius-sm); background: rgba(6, 5, 4, .7); }
.e2-pagination a:hover { color: var(--ei-gold-100); border-color: var(--ei-gold-300); }
.e2-pagination a.active { color: var(--ei-gold-ink); background: var(--ei-grad-gold); border-color: var(--ei-gold-200); }
.e2-pagination a.disabled { opacity: .35; pointer-events: none; }

/* ---------- 12. Conținut ---------- */
.e2-prose { color: var(--ei-text); font-size: 1.1rem; line-height: 1.75; overflow-wrap: anywhere; }
.e2-prose > :last-child { margin-bottom: 0; }
.e2-prose h1, .e2-prose h2, .e2-prose h3, .e2-prose h4 { margin: 1.6em 0 .6em; line-height: 1.25; }
.e2-prose h1 { font-size: 1.7rem; } .e2-prose h2 { font-size: 1.4rem; } .e2-prose h3 { font-size: 1.2rem; } .e2-prose h4 { font-size: 1.05rem; }
.e2-prose > :first-child { margin-top: 0; }
.e2-prose img, .e2-prose video, .e2-prose iframe { max-width: 100%; height: auto; border-radius: var(--ei-radius-sm); border: 1px solid var(--ei-line); }
.e2-prose blockquote { margin: 1.2rem 0; padding: .8rem 1.2rem; border-left: 3px solid var(--ei-red); background: rgba(255, 255, 255, .03); color: var(--ei-text-2); }
.e2-prose ul li::marker { color: var(--ei-gold); } .e2-prose ol li::marker { color: var(--ei-gold); font-family: var(--ei-font-display); font-weight: 700; }
.e2-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.e2-prose th, .e2-prose td { border: 1px solid var(--ei-line); padding: .5rem .75rem; }
.e2-prose code { color: var(--ei-gold-200); background: rgba(255, 255, 255, .06); padding: .1em .35em; border-radius: 3px; }
.e2-news-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--ei-radius-sm); border: 1px solid var(--ei-line); margin-bottom: 1.25rem; }

/* descărcare */
.step { padding: 1rem .5rem; }
.step-num { width: 56px; height: 56px; margin: 0 auto .9rem; display: grid; place-items: center; font-family: var(--ei-font-display); font-weight: 800; font-size: 1.3rem; color: var(--ei-gold-ink); position: relative; isolation: isolate; }
.step-num::before { content: ""; position: absolute; inset: 7px; transform: rotate(45deg); background: var(--ei-grad-gold); border: 1px solid var(--ei-gold-100); box-shadow: 0 0 22px rgba(232, 201, 127, .3); z-index: -1; }
.step h3 { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .35rem; }
.step p { margin: 0; color: var(--ei-text-2); font-size: .98rem; }
@media (min-width: 576px) { .steps-row > div + div .step { border-left: 1px solid var(--ei-line); } }
.e2-dl-link { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; min-height: 72px; border: 1px solid var(--ei-line); border-radius: var(--ei-radius-sm); background: rgba(255, 255, 255, .02); text-decoration: none; color: var(--ei-text); transition: border-color .2s, background-color .2s, transform .2s var(--ei-ease); }
.e2-dl-link > i:first-child { font-size: 1.6rem; color: var(--ei-gold); flex: none; }
.e2-dl-link span { flex: 1; min-width: 0; } .e2-dl-link strong { display: block; color: var(--ei-gold-100); } .e2-dl-link small { color: var(--ei-text-3); }
.e2-dl-link .go { color: var(--ei-text-3); transition: color .2s, transform .2s; }
.e2-dl-link:hover { border-color: var(--ei-gold-300); background: rgba(217, 181, 106, .06); transform: translateY(-2px); color: var(--ei-text); }
.e2-dl-link:hover .go { color: var(--ei-gold-200); transform: translate(2px, -2px); }
.e2-req { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.e2-req li { padding-left: 1.4rem; position: relative; color: var(--ei-text-2); }
.e2-req li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--ei-gold); }

/* evenimente (FullCalendar) */
.e2-calendar { --fc-border-color: var(--ei-line); --fc-page-bg-color: transparent; --fc-neutral-bg-color: rgba(255, 255, 255, .03); --fc-today-bg-color: rgba(217, 181, 106, .1); --fc-list-event-hover-bg-color: rgba(217, 181, 106, .08); --fc-button-bg-color: #14100d; --fc-button-border-color: var(--ei-line-strong); --fc-button-text-color: var(--ei-gold-200); --fc-button-hover-bg-color: #221a13; --fc-button-hover-border-color: var(--ei-gold-300); --fc-button-active-bg-color: var(--ei-gold); --fc-button-active-border-color: var(--ei-gold-200); --fc-event-bg-color: var(--ei-gold-600); --fc-event-border-color: var(--ei-gold-500); --fc-event-text-color: #fff; }
.e2-calendar .fc { font-size: .95rem; }
.e2-calendar .fc .fc-toolbar { flex-wrap: wrap; gap: .6rem; }
.e2-calendar .fc .fc-toolbar-title { font-family: var(--ei-font-display); font-size: clamp(1rem, .8rem + 1vw, 1.35rem); text-transform: uppercase; letter-spacing: .1em; color: var(--ei-gold-200); }
.e2-calendar .fc .fc-button { font-family: var(--ei-font-display); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .55rem .8rem; min-height: 40px; border-radius: var(--ei-radius-sm); box-shadow: none !important; }
.e2-calendar .fc .fc-button-primary:not(:disabled).fc-button-active, .e2-calendar .fc .fc-button-primary:not(:disabled):active { color: var(--ei-gold-ink); }
.e2-calendar .fc .fc-col-header-cell-cushion { font-family: var(--ei-font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ei-gold-300); text-decoration: none; padding: .6rem .2rem; }
.e2-calendar .fc .fc-daygrid-day-number { color: var(--ei-text-2); text-decoration: none; padding: .35rem .5rem; }
.e2-calendar .fc .fc-day-today .fc-daygrid-day-number { color: var(--ei-gold-100); font-weight: 700; }
.e2-calendar .fc .fc-daygrid-day { cursor: pointer; }
.e2-calendar .fc .fc-daygrid-day.is-selected, .e2-calendar .fc .fc-highlight { background: rgba(209, 36, 47, .16); }
.e2-calendar .fc .fc-list-day-cushion { background: #14100d; }
.e2-calendar .fc .fc-list-event-title a { color: var(--ei-text); text-decoration: none; }
.e2-event { display: flex; gap: .85rem; align-items: flex-start; }
#e2EventsDay .e2-event { padding: .85rem; border: 1px solid var(--ei-line); border-radius: var(--ei-radius-sm); background: rgba(255, 255, 255, .02); }
.e2-event img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--ei-radius-sm); border: 1px solid var(--ei-line); flex: none; }
.e2-event strong, .e2-event h3 { color: var(--ei-gold-100); font-size: 1.02rem; }
@media (max-width: 575.98px) { .e2-calendar .fc .fc-toolbar { flex-direction: column; align-items: stretch; text-align: center; } .e2-calendar .fc .fc-toolbar-chunk { display: flex; justify-content: center; } }

/* prezentare */
.pres-heading { display: flex; align-items: center; gap: 1.2rem; margin: 2.6rem 0 1.4rem; text-align: center; }
.pres-heading h2 { margin: 0; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); text-transform: uppercase; letter-spacing: .12em; background: var(--ei-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pres-ornament { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--ei-gold-500)); position: relative; min-width: 20px; }
.pres-ornament:last-child { transform: scaleX(-1); }
.pres-ornament span { position: absolute; right: -4px; top: -4px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--ei-gold-300); }
.pres-block { margin-bottom: 1.25rem; }
.pres-media { display: block; width: 100%; padding: 0; border: 1px solid var(--ei-line); border-radius: var(--ei-radius-sm); overflow: hidden; background: #000; cursor: zoom-in; transition: border-color .2s, transform .2s var(--ei-ease); }
.pres-media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.pres-media:hover { border-color: var(--ei-gold-300); transform: translateY(-2px); }
.pres-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.e2-lightbox .modal-content { background: transparent; border: 0; cursor: zoom-out; }
.e2-lightbox img { max-width: 100%; max-height: 88vh; margin: 0 auto; border: 1px solid var(--ei-line-strong); border-radius: var(--ei-radius-sm); box-shadow: var(--ei-shadow); }
.modal-backdrop { --bs-backdrop-bg: #000; --bs-backdrop-opacity: .88; }

/* suport */
.community-tile { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1.3rem .8rem; text-align: center; text-decoration: none; color: var(--ei-text); height: 100%; transition: transform .2s var(--ei-ease), border-color .2s; }
.community-tile i { font-size: 1.9rem; color: var(--tile, var(--ei-gold)); }
.community-tile strong { font-family: var(--ei-font-display); letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; color: var(--ei-gold-100); }
.community-tile span { font-size: .88rem; color: var(--ei-text-3); overflow-wrap: anywhere; }
.community-tile:hover { transform: translateY(-3px); border-color: var(--tile, var(--ei-gold-300)); color: var(--ei-text); }

/* ---------- 13. Cont ---------- */
.acc-menu { --bs-list-group-bg: transparent; --bs-list-group-color: var(--ei-text); --bs-list-group-border-color: var(--ei-line); --bs-list-group-action-hover-bg: rgba(217, 181, 106, .08); --bs-list-group-action-hover-color: var(--ei-gold-100); --bs-list-group-action-active-bg: rgba(217, 181, 106, .1); --bs-list-group-action-active-color: var(--ei-gold-100); --bs-list-group-active-bg: rgba(217, 181, 106, .14); --bs-list-group-active-color: var(--ei-gold-100); --bs-list-group-active-border-color: var(--ei-line-strong); border-radius: var(--ei-radius-sm); }
.acc-menu .list-group-item { display: flex; align-items: center; gap: .8rem; min-height: 50px; padding: .7rem 1rem; font-size: 1.02rem; width: 100%; text-align: left; }
.acc-menu .list-group-item i { color: var(--ei-gold); width: 1.2em; text-align: center; }
.acc-menu .list-group-item.active { box-shadow: inset 3px 0 0 var(--ei-red); }
.acc-menu form .list-group-item { border-top-width: 0; border-radius: 0 0 var(--ei-radius-sm) var(--ei-radius-sm); }
.acc-menu .logout, .acc-menu .logout i { color: var(--ei-red-300); }
@media (max-width: 767.98px) {
  /* pe telefon meniul contului devine un rând de file care se derulează orizontal: conținutul urcă imediat sub el */
  .acc-menu { position: relative; flex-direction: row; flex-wrap: nowrap; gap: 8px; overflow-x: auto; overflow-y: hidden; margin: 0 -1rem; padding: 2px 1rem 6px; border-radius: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 30px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 30px), transparent 100%); }
  .acc-menu::-webkit-scrollbar { display: none; }
  .acc-menu .list-group-item { flex: none; width: auto; white-space: nowrap; min-height: 44px; padding: .45rem .9rem; gap: .55rem; font-size: .98rem; border: 1px solid var(--ei-line) !important; border-radius: var(--ei-radius-sm) !important; }
  .acc-menu .list-group-item.active { box-shadow: inset 0 -3px 0 var(--ei-red); }
  .acc-menu form { flex: none; display: flex; padding-right: 14px; }
}
.acc-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; margin-bottom: 1.25rem; border: 1px solid var(--ei-line); border-radius: var(--ei-radius-sm); background: linear-gradient(100deg, rgba(74, 10, 15, .35), rgba(255, 255, 255, .02) 70%); }
.acc-avatar { flex: none; width: 62px; height: 62px; display: grid; place-items: center; font-family: var(--ei-font-display); font-weight: 800; font-size: 1.7rem; color: var(--ei-gold-ink); background: var(--ei-grad-gold); border: 1px solid var(--ei-gold-100); border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 22px rgba(232, 201, 127, .2); }
.acc-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 0; }
.acc-info > div { padding: .85rem 1rem; border: 1px solid var(--ei-line); border-radius: var(--ei-radius-sm); background: rgba(255, 255, 255, .02); min-width: 0; }
.acc-info dt { font-family: var(--ei-font-display); font-weight: 700; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ei-text-3); display: flex; align-items: center; gap: .5rem; margin-bottom: .25rem; }
.acc-info dt i { color: var(--ei-gold); }
.acc-info dd { margin: 0; font-size: 1.08rem; overflow-wrap: anywhere; }
.acc-note { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1rem; margin-bottom: 1rem; border: 1px solid var(--ei-line); border-radius: var(--ei-radius-sm); background: rgba(255, 255, 255, .02); color: var(--ei-text-2); }
.acc-note > i { color: var(--ei-gold); font-size: 1.3rem; margin-top: .1rem; flex: none; }
.acc-note p:last-child { margin-bottom: 0; }
.acc-step { display: flex; align-items: center; gap: .7rem; font-family: var(--ei-font-display); font-weight: 700; letter-spacing: .06em; color: var(--ei-gold-100); margin: 0 0 .8rem; }
.acc-step b { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ei-gold-ink); background: var(--ei-grad-gold); border-radius: 3px; flex: none; }
.e2-ban { padding: 1rem; border: 1px solid rgba(255, 107, 107, .4); border-radius: var(--ei-radius-sm); background: rgba(155, 20, 29, .14); }

/* ---------- 14. Subsol ---------- */
.ei-footer { position: relative; z-index: 1; margin-top: auto; background: linear-gradient(180deg, rgba(6, 5, 5, 0) 0%, #040303 34%); padding: 0 0 calc(1.5rem + env(safe-area-inset-bottom)); }
.ei-footer-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--ei-line-strong) 20%, var(--ei-gold-300) 50%, var(--ei-line-strong) 80%, transparent); position: relative; margin-bottom: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); }
.ei-footer-rule span { position: absolute; left: 50%; top: -6px; width: 13px; height: 13px; margin-left: -6.5px; transform: rotate(45deg); background: var(--ei-bg); border: 1px solid var(--ei-gold-300); box-shadow: 0 0 14px rgba(232, 201, 127, .4); }
.ei-footer-grid { display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(140px, 1fr)); gap: 2.5rem 2rem; align-items: start; }
.ei-footer-brand img { width: min(100%, 300px); height: auto; margin-left: -10px; }
.ei-footer-brand p { color: var(--ei-text-2); margin: .6rem 0 1.1rem; max-width: 34ch; }
.ei-footer-col { display: grid; gap: .15rem; align-content: start; }
.ei-footer-col h2 { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ei-gold-300); margin: 0 0 .7rem; padding-bottom: .7rem; border-bottom: 1px solid var(--ei-line); }
.ei-footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ei-text-2); text-decoration: none; transition: color .15s, transform .15s; }
.ei-footer-col a:hover, .ei-footer-col a[aria-current="page"] { color: var(--ei-gold-100); transform: translateX(3px); }
.ei-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px solid var(--ei-line); color: var(--ei-text-3); }
.ei-footer-bottom a { color: var(--ei-text-2); text-decoration: none; }
.ei-footer-bottom a:hover { color: var(--ei-gold-200); }
.e2-social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; flex-wrap: wrap; }
.e2-social a { width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.25rem; color: var(--ei-gold-200); border: 1px solid var(--ei-line-strong); border-radius: var(--ei-radius-sm); background: rgba(12, 9, 8, .8); text-decoration: none; transition: transform .2s var(--ei-ease), color .2s, border-color .2s, background-color .2s; }
.e2-social a:hover { transform: translateY(-3px); color: var(--ei-gold-ink); background: var(--ei-grad-gold); border-color: var(--ei-gold-100); }
@media (max-width: 991.98px) { .ei-footer-grid { grid-template-columns: repeat(2, 1fr); } .ei-footer-brand { grid-column: 1 / -1; text-align: center; } .ei-footer-brand img { margin-left: 0; } .ei-footer-brand p { margin-inline: auto; } .ei-footer-brand .e2-social { justify-content: center; } }
@media (max-width: 991.98px) { .ei-footer-col:nth-of-type(3) { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: 2rem; } .ei-footer-col:nth-of-type(3) h2 { grid-column: 1 / -1; } }
@media (max-width: 479.98px) { .ei-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; } .ei-footer-col:nth-of-type(3) { column-gap: 1.2rem; } .ei-footer-bottom { justify-content: center; text-align: center; } }

/* ---------- 15. Efecte ---------- */
/* poarta (tranziția spre conectare / înregistrare) */
.gate { position: fixed; inset: 0; z-index: 3000; pointer-events: none; display: flex; }
.gate-door { flex: 1; background: linear-gradient(180deg, #120d0b, #050404); position: relative; }
.gate-left { border-right: 1px solid var(--ei-gold-300); box-shadow: inset -60px 0 80px rgba(120, 16, 22, .25); }
.gate-right { border-left: 1px solid var(--ei-gold-300); box-shadow: inset 60px 0 80px rgba(120, 16, 22, .25); }
.gate-door::before { content: ""; position: absolute; top: 8%; bottom: 8%; width: 1px; background: linear-gradient(180deg, transparent, var(--ei-line-strong), transparent); }
.gate-left::before { right: 26px; } .gate-right::before { left: 26px; }
.gate-seal { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 20px; filter: drop-shadow(0 0 30px rgba(232, 201, 127, .5)); }
.gate--close { pointer-events: all; }
.gate--close .gate-left { animation: ei-gate-l .5s var(--ei-ease) both; }
.gate--close .gate-right { animation: ei-gate-r .5s var(--ei-ease) both; }
.gate--close .gate-seal { animation: ei-seal-in .45s .12s var(--ei-ease) both; }
.gate--open .gate-left { animation: ei-gate-l .75s .15s var(--ei-ease) reverse both; }
.gate--open .gate-right { animation: ei-gate-r .75s .15s var(--ei-ease) reverse both; }
.gate--open .gate-seal { animation: ei-seal-out .4s .1s ease both; }
@keyframes ei-gate-l { from { transform: translateX(-101%); } to { transform: translateX(0); } }
@keyframes ei-gate-r { from { transform: translateX(101%); } to { transform: translateX(0); } }
@keyframes ei-seal-in { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes ei-seal-out { to { opacity: 0; transform: scale(1.3); } }

/* notificări */
.e2-toast { --bs-toast-bg: #100c0a; --bs-toast-color: var(--ei-text); --bs-toast-border-color: rgba(88, 214, 141, .5); --bs-toast-border-radius: var(--ei-radius-sm); --bs-toast-box-shadow: var(--ei-shadow); border-left: 3px solid var(--ei-ok); max-width: min(92vw, 400px); font-size: 1rem; }
.e2-toast .toast-body { display: flex; align-items: flex-start; gap: .7rem; padding: .9rem 1rem; }
.e2-toast .toast-body > i { color: var(--ei-ok); margin-top: .2rem; }
.e2-toast--error { --bs-toast-border-color: rgba(255, 107, 107, .55); border-left-color: var(--ei-bad); }
.e2-toast--error .toast-body > i { color: var(--ei-bad); }

/* apariție: animație la încărcare; elementele de mai jos de ecran apar la derulare (fără JS rămân vizibile) */
.reveal { animation: ei-rise .7s var(--ei-ease) both; }
.reveal.reveal-2 { animation-delay: .12s; }
.reveal.reveal-pending { animation: none; opacity: 0; transform: translateY(18px); }
.reveal.reveal-in { animation: ei-rise .7s var(--ei-ease) both; }
@keyframes ei-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* buton „arată parola” */
.ei-pass-toggle { display: grid; place-items: center; min-width: 50px; color: var(--ei-text-2); background: rgba(6, 5, 4, .78); border: 1px solid var(--ei-line); border-left: 0; border-radius: 0 var(--ei-radius-sm) var(--ei-radius-sm) 0; font-size: 1.15rem; transition: color .15s, border-color .15s; }
.ei-pass-toggle:hover, .ei-pass-toggle[aria-pressed="true"] { color: var(--ei-gold-200); }
.input-group:focus-within .ei-pass-toggle { border-color: var(--ei-gold-300); }
.input-group > .form-control:has(+ .ei-pass-toggle) { border-right: 0; }
.input-group > .ei-pass-toggle + .invalid-feedback { order: 5; }

/* numărătoarea inversă (pagină separată) */
.cd-page { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: linear-gradient(180deg, rgba(5, 4, 4, .72), rgba(5, 4, 4, .92)), var(--cd-bg, url("../img/scene.webp?v=2")) center / cover no-repeat fixed, #050404; }
.cd-wrap { width: 100%; max-width: 860px; padding: 2.5rem 1.2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.cd-logo { width: min(86vw, 520px); height: auto; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .9)); }
.cd-timer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2vw, 18px); width: 100%; max-width: 640px; }
.cd-unit { padding: clamp(.9rem, 2.5vw, 1.5rem) .4rem; display: flex; flex-direction: column; align-items: center; }
.cd-num { font-family: var(--ei-font-display); font-weight: 800; font-size: clamp(1.8rem, 1rem + 5vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; background: var(--ei-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cd-lbl { margin-top: .5rem; font-family: var(--ei-font-display); font-weight: 700; font-size: clamp(.56rem, .4rem + .8vw, .74rem); letter-spacing: .2em; text-transform: uppercase; color: var(--ei-text-2); }
.cd-done { font-family: var(--ei-font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ei-gold-200); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal.reveal-pending { opacity: 1; transform: none; animation: none; }
  .ei-ember { display: none; }
}
@media print {
  .ei-nav, .ei-footer, .ei-bg, .gate, .stage-art, .ei-hero-media, .ei-hero-static { display: none !important; }
  body { background: #fff; color: #000; }
}
/* =========================================================
   16. Nivelul „premium”: limbajul vizual al interfeței din joc
   (rame cu linie dublă și colțare, butoane din foiță de aur cu
   romburi, steagurile regatelor) + un al doilea glas tipografic,
   Cormorant italic, pentru rândurile de însoțire.
   Se încarcă după restul și rescrie regulile mai vechi.
   ========================================================= */
:root {
  --ei-font-accent: 'Cormorant Garamond', 'Iowan Old Style', 'Times New Roman', serif;
  --ei-foil: radial-gradient(120% 100% at 50% -12%, rgba(255, 248, 218, .85) 0%, rgba(255, 248, 218, 0) 54%), linear-gradient(180deg, #f2d388 0%, #e1b45f 42%, #c59141 76%, #a5722c 100%);
  --ei-foil-hover: radial-gradient(120% 100% at 50% -12%, rgba(255, 253, 236, .95) 0%, rgba(255, 252, 230, 0) 60%), linear-gradient(180deg, #fbe4a4 0%, #efc876 42%, #d6a24d 76%, #b98338 100%);
  --ei-foil-down: linear-gradient(180deg, #d9b468 0%, #c4943f 50%, #9a6a27 100%);
  --ei-lacquer: linear-gradient(180deg, #151210 0%, #0b0908 100%);
  --ei-hair: rgba(217, 181, 106, .42);
  --ei-diamond: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3e%3cpath d='M7 .9 13.1 7 7 13.1.9 7z' fill='%230b0908' stroke='%23e8c97f'/%3e%3cpath d='M7 4.3 9.7 7 7 9.7 4.3 7z' fill='%23e8c97f'/%3e%3c/svg%3e");
}

/* ---------- butoane: placa de aur din joc ---------- */
.btn-e2, .btn-e2-ghost { position: relative; border-radius: 2px; }
.btn-e2 {
  color: #241505; background: var(--ei-foil); border: 1px solid #f6dfa4;
  box-shadow: inset 0 0 0 1px rgba(124, 80, 22, .5), 0 0 0 3px #0a0807, 0 0 0 4px rgba(217, 181, 106, .6), 0 12px 28px rgba(0, 0, 0, .6);
  text-shadow: 0 1px 0 rgba(255, 238, 188, .65);
}
.btn-e2::before, .btn-e2::after { content: ""; position: absolute; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; background: var(--ei-diamond) center / contain no-repeat; pointer-events: none; }
.btn-e2::before { top: -8.5px; }
.btn-e2::after { bottom: -8.5px; }
.btn-e2:hover, .btn-e2:focus-visible { color: #241505; background: var(--ei-foil-hover); border-color: #fff3cf; transform: none; box-shadow: inset 0 0 0 1px rgba(124, 80, 22, .45), 0 0 0 3px #0a0807, 0 0 0 4px #e8c97f, 0 12px 30px rgba(0, 0, 0, .6), 0 0 34px rgba(232, 201, 127, .38); }
.btn-e2:active { color: #241505 !important; background: var(--ei-foil-down) !important; border-color: #e8c97f !important; }
.btn-e2:disabled, .btn-e2.disabled { color: #241505; background: var(--ei-foil); border-color: #f6dfa4; opacity: .55; }
.btn-e2.btn-sm { box-shadow: inset 0 0 0 1px rgba(124, 80, 22, .5), 0 0 0 2px #0a0807, 0 0 0 3px rgba(217, 181, 106, .5), 0 8px 18px rgba(0, 0, 0, .5); }
.btn-e2.btn-sm::before, .btn-e2.btn-sm::after { display: none; }
.btn-e2-ghost { color: var(--ei-gold-200); background: var(--ei-lacquer); border: 1px solid #b48a45; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .75), inset 0 1px 0 1px rgba(255, 236, 190, .05), 0 10px 24px rgba(0, 0, 0, .5); }
.btn-e2-ghost:hover, .btn-e2-ghost:focus-visible { color: var(--ei-gold-100); border-color: #e8c97f; background: linear-gradient(180deg, #221a13 0%, #0f0c0a 100%); transform: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .75), 0 10px 26px rgba(0, 0, 0, .55), 0 0 24px rgba(217, 181, 106, .2); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: .95rem; letter-spacing: .1em; }

/* ---------- rame: linie dublă, colțare groase, romburi sus și jos ---------- */
.e2-panel {
  --pad: 1rem;
  background: var(--ei-lacquer); border: 1px solid var(--ei-hair); border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), inset 0 0 46px rgba(0, 0, 0, .35), 0 0 0 4px #090706, 0 0 0 5px rgba(217, 181, 106, .24), 0 26px 60px rgba(0, 0, 0, .6);
}
.e2-panel.p-2 { --pad: .5rem; }
@media (min-width: 576px) { .e2-panel.p-sm-3 { --pad: 1rem; } }
@media (min-width: 768px) { .e2-panel.p-md-4 { --pad: 1.5rem; } }
.e2-panel::before {
  inset: -8px; border-radius: 0; --c: #e8c97f; --l: 20px; --t: 2px;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) left top / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) right top / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) left bottom / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) right bottom / var(--t) var(--l) no-repeat;
}
.e2-panel::after {
  left: 50%; top: -12px; bottom: auto; width: 15px; height: 15px; margin-left: -7.5px; transform: none; border: 0;
  background: var(--ei-diamond) center / 15px 15px no-repeat;
}
/* ramele de sine stătătoare (formulare) au romb și jos, ca fereastra de login din joc */
.e2-panel.auth-panel::after { bottom: -12px; height: auto; background: var(--ei-diamond) center top / 15px 15px no-repeat, var(--ei-diamond) center bottom / 15px 15px no-repeat; }
/* plăcuțele mici dintr-o grilă rămân simple */
.e2-panel.community-tile, .e2-panel.cd-unit { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), 0 14px 30px rgba(0, 0, 0, .5); }
.e2-panel.community-tile::before, .e2-panel.community-tile::after, .e2-panel.cd-unit::before, .e2-panel.cd-unit::after { display: none; }
.e2-panel.mt-4 { margin-top: 2.25rem !important; }
.e2-panel.mb-4 { margin-bottom: 2.25rem !important; }
.e2-panel > .e2-panel-head:first-child {
  align-items: center; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 1.2rem; padding: .85rem var(--pad);
  background: linear-gradient(180deg, rgba(4, 3, 3, .9) 0%, rgba(18, 15, 12, .55) 100%); border-bottom: 1px solid var(--ei-hair);
}
.e2-panel-head::after { display: none; }
.e2-panel-title { font-size: 1rem; letter-spacing: .14em; color: var(--ei-gold-100); }
.e2-panel-title i { color: var(--ei-gold); }

/* ---------- al doilea glas: rândurile de însoțire ---------- */
.page-sub, .e2-kicker {
  font-family: var(--ei-font-accent); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: .01em;
  color: #d8c49a;
}
.page-sub { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.35; }
.page-sub::before, .page-sub::after { display: none; }
.e2-kicker { font-size: 1.12rem; font-weight: 600; color: var(--ei-red-300); }
.e2-kicker::before, .e2-kicker::after { display: none; }
.page-title { letter-spacing: .06em; }

/* titlu de secțiune */
.ei-title { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.ei-title h2 { margin: 0; font-size: clamp(1.7rem, 1.15rem + 2.2vw, 2.8rem); line-height: 1.12; letter-spacing: .05em; color: var(--ei-gold-200); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ei-title h2 { background: linear-gradient(180deg, #fff3cf 0%, #e8c97f 48%, #a8813d 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.ei-title p { margin: .45rem 0 0; font: italic 500 clamp(1.2rem, 1.05rem + .55vw, 1.5rem)/1.4 var(--ei-font-accent); color: #d8c49a; text-wrap: balance; }
.ei-title:not(.ei-title--row)::after { content: ""; display: block; width: 190px; height: 13px; margin: 1.15rem auto 0; background: var(--ei-diamond) center / 13px 13px no-repeat, linear-gradient(90deg, rgba(217, 181, 106, 0), rgba(217, 181, 106, .8) 34%, rgba(217, 181, 106, 0) 46%, rgba(217, 181, 106, 0) 54%, rgba(217, 181, 106, .8) 66%, rgba(217, 181, 106, 0)) center / 100% 1px no-repeat; }
.ei-title--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; max-width: none; text-align: left; padding-bottom: 1.1rem; border-bottom: 1px solid var(--ei-line); margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.ei-more { display: inline-flex; align-items: center; gap: .7rem; font: italic 600 1.2rem/1.2 var(--ei-font-accent); color: var(--ei-gold-200); text-decoration: none; white-space: nowrap; padding: .45rem 0; }
.ei-more::after { content: ""; width: 22px; height: 19px; background: url("../img/arrow.webp") center / contain no-repeat; transition: transform .2s var(--ei-ease); }
.ei-more:hover { color: var(--ei-gold-100); }
.ei-more:hover::after { transform: translateX(5px); }
.ei-list-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; margin-bottom: .4rem; border-bottom: 1px solid var(--ei-hair); }
.ei-list-head h3 { margin: 0; font-size: 1.1rem; letter-spacing: .14em; color: var(--ei-gold-100); }

/* ---------- hero: doi războinici, registrul serverului ---------- */
.ei-hero-twin { display: none; }
.ei-hero-slogan { font-family: var(--ei-font-accent); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.25rem); line-height: 1.25; color: #f6e8c6; text-shadow: 0 2px 20px #000, 0 0 3px rgba(0, 0, 0, .9); }
.ei-hero-status { border-radius: 2px; border-color: var(--ei-hair); background: rgba(6, 5, 5, .78); padding: .4rem .95rem; gap: .7rem; }
.ei-hero-status > span:last-child { font: italic 500 1.12rem/1.2 var(--ei-font-accent); }
.ei-hero-status b { font: 700 1rem var(--ei-font-display); font-style: normal; }
.ei-hero-cta { gap: 1.5rem 1.4rem; }
.ei-ledger { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); width: 100%; max-width: 1180px; margin: 0; padding: 0 16px 6px; }
.ei-ledger::before { content: ""; position: absolute; left: 16px; right: 16px; top: -7px; height: 13px; background: var(--ei-diamond) center / 13px 13px no-repeat, linear-gradient(90deg, rgba(217, 181, 106, 0), rgba(217, 181, 106, .75) 20%, rgba(217, 181, 106, .75) calc(50% - 14px), rgba(217, 181, 106, 0) calc(50% - 14px), rgba(217, 181, 106, 0) calc(50% + 14px), rgba(217, 181, 106, .75) calc(50% + 14px), rgba(217, 181, 106, .75) 80%, rgba(217, 181, 106, 0)) center / 100% 1px no-repeat; }
.ei-ledger > div { padding: 1.15rem .4rem 1.1rem; text-align: center; min-width: 0; }
.ei-ledger > div + div { border-left: 1px solid rgba(217, 181, 106, .16); }
.ei-ledger dd { margin: 0; font: 700 clamp(1.45rem, 1.05rem + 1.3vw, 2.15rem)/1.1 var(--ei-font-display); font-variant-numeric: tabular-nums; color: var(--ei-gold-200); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ei-ledger dd { background: linear-gradient(180deg, #fff3cf 0%, #e8c97f 50%, #b88f47 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.ei-ledger dt { margin-top: .1rem; font: italic 500 1.1rem/1.2 var(--ei-font-accent); color: var(--ei-text-2); }
@media (max-width: 991.98px) {
  .ei-ledger { grid-template-columns: repeat(3, 1fr); margin-top: 6px; background: linear-gradient(180deg, rgba(6, 5, 5, 0), var(--ei-bg) 40%); }
  .ei-ledger > div:nth-child(3n + 1) { border-left: 0; }
  .ei-ledger > div:nth-child(n + 4) { border-top: 1px solid rgba(217, 181, 106, .16); }
  .ei-ledger > div:last-child:nth-child(3n + 2) { grid-column: span 2; }
  .ei-ledger > div:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
  .ei-ledger > div:nth-last-child(2):nth-child(3n + 1) { grid-column: span 1; }
}
@media (max-width: 575.98px) { .ei-hero-slogan { font-size: 1.5rem; letter-spacing: 0; max-width: 18ch; } .ei-ledger dt { font-size: 1rem; } }
@media (min-width: 992px) {
  .ei-hero { height: clamp(600px, 56.25vw, 100vh); }
  .ei-hero-twin, .ei-hero-video--mirror { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
  .ei-hero-twin { display: block; -webkit-mask: url("../img/hero-matte-l.webp") 50% 0% / cover no-repeat; mask: url("../img/hero-matte-l.webp") 50% 0% / cover no-repeat; }
  .ei-hero-video--mirror { transform: scaleX(-1); -webkit-mask: url("../img/hero-matte.webp") 50% 0% / cover no-repeat; mask: url("../img/hero-matte.webp") 50% 0% / cover no-repeat; }
  .ei-hero-veil { background:
    radial-gradient(46% 30% at 50% 63%, rgba(5, 4, 4, .7) 0%, rgba(5, 4, 4, 0) 100%),
    linear-gradient(180deg, rgba(5, 4, 4, .6) 0%, rgba(5, 4, 4, 0) 15%, rgba(5, 4, 4, 0) 56%, rgba(5, 4, 4, .8) 82%, var(--ei-bg) 100%); }
  .ei-hero-content { left: 50%; top: 45.5%; width: min(40vw, 620px); max-width: none; padding: 0; }
  .ei-hero-slogan { margin-bottom: 1.6rem; text-wrap: balance; }
  .ei-ledger { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); padding-bottom: 10px; }
}
@media (min-width: 992px) and (min-aspect-ratio: 16/9) {
  .ei-hero-twin, .ei-hero-video--mirror { object-position: 50% 12%; -webkit-mask-position: 50% 12%; mask-position: 50% 12%; }
}
@media (min-width: 992px) and (max-height: 700px) { .ei-hero-content { top: 44%; } .ei-hero-slogan { font-size: 1.5rem; margin-bottom: 1.1rem; } .ei-ledger > div { padding-top: .8rem; padding-bottom: .7rem; } }

/* ---------- cele trei regate ---------- */
.ei-realms { position: relative; padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5.5rem); background: radial-gradient(60% 55% at 50% 42%, rgba(74, 10, 15, .22), rgba(74, 10, 15, 0) 100%); }
.ei-realms-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.6vw, 2.6rem); }
.ei-realm { text-align: center; min-width: 0; }
.ei-realm img { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .75)); transition: transform .35s var(--ei-ease), filter .35s; }
.ei-realm:hover img { transform: translateY(-5px); filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .85)) brightness(1.1); }
.ei-realm h3 { margin: 1.35rem 0 0; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); letter-spacing: .16em; color: var(--ei-gold-100); }
.ei-realm .ei-realm-color { margin: .05rem 0 .55rem; font: italic 600 1.22rem/1.2 var(--ei-font-accent); }
.ei-realm--shinsoo .ei-realm-color { color: var(--k-shinsoo); }
.ei-realm--chunjo .ei-realm-color { color: var(--k-chunjo); }
.ei-realm--jinno .ei-realm-color { color: var(--k-jinno); }
.ei-realm p:last-child { margin: 0 auto; max-width: 31ch; color: var(--ei-text-2); }
.ei-realms-cta { display: flex; justify-content: center; margin-top: clamp(2.2rem, 4vw, 3.2rem); }
@media (max-width: 767.98px) {
  /* pe telefon: cele trei steaguri pe un rând, fără descrieri */
  .ei-realms-grid { gap: 10px; }
  .ei-realm:hover img { transform: none; }
  .ei-realm h3 { margin-top: .8rem; font-size: .95rem; letter-spacing: .08em; }
  .ei-realm .ei-realm-color { font-size: 1.02rem; margin-bottom: 0; }
  .ei-realm p:last-child { display: none; }
}

/* ---------- noutăți ---------- */
.ei-chronicle { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.ei-lead-story { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); border: 1px solid var(--ei-hair); background: var(--ei-lacquer); box-shadow: 0 0 0 4px #090706, 0 0 0 5px rgba(217, 181, 106, .2), 0 26px 60px rgba(0, 0, 0, .55); }
.ei-lead-story-img { position: relative; display: block; min-height: 320px; background: #0b0908 var(--news-img, url("../img/scene.webp?v=2")) center / cover no-repeat; overflow: hidden; }
.ei-lead-story-img::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(11, 9, 8, 0) 60%, rgba(11, 9, 8, .85) 100%), linear-gradient(180deg, rgba(11, 9, 8, 0) 60%, rgba(11, 9, 8, .5) 100%); }
.ei-lead-story-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .65rem; padding: clamp(1.3rem, 2.6vw, 2.2rem); min-width: 0; }
.ei-lead-story h3 { margin: 0; font-size: clamp(1.35rem, 1.05rem + 1.2vw, 1.95rem); line-height: 1.2; letter-spacing: .03em; }
.ei-lead-story h3 a { color: var(--ei-gold-100); text-decoration: none; }
.ei-lead-story h3 a:hover { color: #fff; }
.ei-lead-story-body > p:not(.ei-story-meta) { margin: 0 0 .5rem; color: var(--ei-text-2); font-size: 1.08rem; }
.ei-story-meta { display: flex; align-items: baseline; gap: .9rem; margin: 0; }
.ei-story-meta span { font: italic 600 1.15rem/1.2 var(--ei-font-accent); color: var(--ei-red-300); }
.ei-story-meta time { font-size: .95rem; color: var(--ei-text-3); font-variant-numeric: tabular-nums; }
.ei-stories { list-style: none; margin: 1.6rem 0 0; padding: 0; border-top: 1px solid var(--ei-line); }
.ei-stories a { display: block; padding: 1.1rem .9rem 1.15rem .2rem; border-bottom: 1px solid var(--ei-line); color: inherit; text-decoration: none; transition: background-color .2s, padding-left .2s var(--ei-ease); }
.ei-stories a:hover { background: rgba(217, 181, 106, .05); padding-left: .9rem; }
.ei-stories h3 { margin: .15rem 0 .25rem; font-size: 1.18rem; letter-spacing: .03em; color: var(--ei-gold-100); }
.ei-stories p:not(.ei-story-meta) { margin: 0; color: var(--ei-text-2); }
@media (max-width: 767.98px) {
  .ei-lead-story { grid-template-columns: minmax(0, 1fr); }
  .ei-lead-story-img { min-height: 210px; }
  .ei-lead-story-img::after { background: linear-gradient(180deg, rgba(11, 9, 8, 0) 55%, rgba(11, 9, 8, .9) 100%); }
}

/* ---------- sala eroilor ---------- */
.ei-hall { padding: clamp(3rem, 6vw, 5.5rem) 0; background: radial-gradient(55% 40% at 50% 26%, rgba(217, 181, 106, .07), rgba(217, 181, 106, 0) 100%); }
.ei-podium { list-style: none; margin: 34px auto clamp(2.6rem, 5vw, 4.2rem); padding: 0; max-width: 1000px; display: grid; grid-template-columns: 1fr 1.16fr 1fr; align-items: end; gap: clamp(.7rem, 1.8vw, 1.6rem); }
.ei-podium-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: .15rem; min-width: 0; padding: 2.7rem .9rem 1.4rem; text-align: center; background: var(--ei-lacquer); border: 1px solid var(--ei-hair); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), 0 20px 44px rgba(0, 0, 0, .55); }
.ei-podium-step--1 { padding-top: 3.5rem; padding-bottom: 2.3rem; border-color: #e8c97f; background: radial-gradient(110% 70% at 50% 0%, rgba(232, 201, 127, .2) 0%, rgba(232, 201, 127, 0) 62%), var(--ei-lacquer); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), 0 0 0 4px #090706, 0 0 0 5px rgba(217, 181, 106, .45), 0 30px 64px rgba(0, 0, 0, .65), 0 0 60px rgba(217, 181, 106, .1); }
.ei-podium-rank { position: absolute; left: 50%; top: -27px; width: 54px; height: 54px; margin-left: -27px; display: grid; place-items: center; font: 800 1.05rem/1 var(--ei-font-display); color: #241505; z-index: 0; }
.ei-podium-rank::before { content: ""; position: absolute; top: 8px; right: 8px; bottom: 8px; left: 8px; z-index: -1; transform: rotate(45deg); background: var(--ei-foil); border: 1px solid #fff3cf; box-shadow: 0 0 0 3px #090706, 0 0 0 4px rgba(217, 181, 106, .7), 0 8px 18px rgba(0, 0, 0, .6); }
.ei-podium-step--1 .ei-podium-rank { width: 66px; height: 66px; margin-left: -33px; top: -33px; font-size: 1.3rem; }
.ei-podium-step--1 .ei-podium-rank::before { top: 10px; right: 10px; bottom: 10px; left: 10px; box-shadow: 0 0 0 3px #090706, 0 0 0 4px #e8c97f, 0 8px 18px rgba(0, 0, 0, .6), 0 0 26px rgba(232, 201, 127, .5); }
.ei-podium-step--2 .ei-podium-rank { color: #1c1c1c; }
.ei-podium-step--2 .ei-podium-rank::before { background: linear-gradient(180deg, #f4f4f4 0%, #b9bec4 55%, #7d848c 100%); border-color: #fff; box-shadow: 0 0 0 3px #090706, 0 0 0 4px rgba(200, 205, 210, .55), 0 8px 18px rgba(0, 0, 0, .6); }
.ei-podium-step--3 .ei-podium-rank { color: #241206; }
.ei-podium-step--3 .ei-podium-rank::before { background: linear-gradient(180deg, #edb07c 0%, #b9713d 55%, #804723 100%); border-color: #f6caa6; box-shadow: 0 0 0 3px #090706, 0 0 0 4px rgba(200, 130, 80, .55), 0 8px 18px rgba(0, 0, 0, .6); }
.ei-podium-step strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 clamp(1.05rem, .9rem + .7vw, 1.4rem)/1.2 var(--ei-font-display); letter-spacing: .04em; color: var(--ei-gold-100); }
.ei-podium-step--1 strong { font-size: clamp(1.2rem, 1rem + 1.1vw, 1.8rem); }
.ei-podium-meta { font: italic 500 1.1rem/1.25 var(--ei-font-accent); color: var(--ei-text-2); }
.ei-podium-level { margin-top: .7rem; display: flex; align-items: baseline; gap: .45rem; font: italic 500 1.05rem/1 var(--ei-font-accent); color: var(--ei-text-3); }
.ei-podium-level b { font: 800 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1 var(--ei-font-display); font-style: normal; color: var(--ei-gold-200); font-variant-numeric: tabular-nums; }
.ei-podium-step--1 .ei-podium-level b { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); }
/* romburile podiumului cu portretul clasei: contur auriu (1), argintiu (2), bronz (3) */
.ei-podium-step { --ei-metal: var(--ei-foil); --ei-metal-edge: #fff3cf; --ei-metal-ring: rgba(217, 181, 106, .75); --ei-metal-ink: #241505; }
.ei-podium-step--1 { --ei-metal-ring: #e8c97f; }
.ei-podium-step--2 { --ei-metal: linear-gradient(180deg, #f4f4f4 0%, #b9bec4 55%, #7d848c 100%); --ei-metal-edge: #fff; --ei-metal-ring: rgba(214, 219, 224, .7); --ei-metal-ink: #1c1c1c; }
.ei-podium-step--3 { --ei-metal: linear-gradient(180deg, #edb07c 0%, #b9713d 55%, #804723 100%); --ei-metal-edge: #f6caa6; --ei-metal-ring: rgba(214, 140, 86, .7); --ei-metal-ink: #241206; }
.ei-podium:has(.has-face) { margin-top: 70px; }
.ei-podium-step.has-face { padding-top: 3.9rem; }
.ei-podium-step--1.has-face { padding-top: 4.8rem; }
.ei-podium-rank--face { width: 84px; height: 84px; margin-left: -42px; top: -42px; }
.ei-podium-step--1 .ei-podium-rank--face { width: 104px; height: 104px; margin-left: -52px; top: -52px; }
.ei-podium .ei-podium-rank--face::before { top: 12px; right: 12px; bottom: 12px; left: 12px; background: var(--ei-metal); border: 1px solid var(--ei-metal-edge);
  box-shadow: 0 0 0 3px #090706, 0 0 0 4px var(--ei-metal-ring), 0 10px 22px rgba(0, 0, 0, .65); }
.ei-podium .ei-podium-step--1 .ei-podium-rank--face::before { top: 15px; right: 15px; bottom: 15px; left: 15px; box-shadow: 0 0 0 3px #090706, 0 0 0 4px var(--ei-metal-ring), 0 10px 22px rgba(0, 0, 0, .65), 0 0 30px rgba(232, 201, 127, .45); }
.ei-podium-face { position: absolute; top: 16px; right: 16px; bottom: 16px; left: 16px; overflow: hidden; transform: rotate(45deg); background: #120d0b; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55); }
.ei-podium-step--1 .ei-podium-face { top: 20px; right: 20px; bottom: 20px; left: 20px; }
.ei-podium-face img { position: absolute; left: -21%; top: -21%; width: 142%; height: 142%; max-width: none; object-fit: cover; transform: rotate(-45deg); }
.ei-podium-num { position: absolute; left: 50%; bottom: -9px; translate: -50% 0; z-index: 1; min-width: 28px; padding: 0 .45rem; font: 800 .7rem/19px var(--ei-font-display); letter-spacing: .06em;
  color: var(--ei-metal-ink); background: var(--ei-metal); border: 1px solid var(--ei-metal-edge); box-shadow: 0 0 0 2px #090706; }
.ei-podium-step--1 .ei-podium-num { bottom: -10px; min-width: 32px; font-size: .78rem; line-height: 21px; }
@media (min-width: 768px) {
  .ei-podium:has(.has-face) { margin-top: 86px; }
  .ei-podium-step.has-face { padding-top: 4.4rem; }
  .ei-podium-step--1.has-face { padding-top: 5.3rem; }
  .ei-podium-rank--face { width: 96px; height: 96px; margin-left: -48px; top: -48px; }
  .ei-podium-step--1 .ei-podium-rank--face { width: 120px; height: 120px; margin-left: -60px; top: -60px; }
  .ei-podium .ei-podium-rank--face::before { top: 14px; right: 14px; bottom: 14px; left: 14px; }
  .ei-podium .ei-podium-step--1 .ei-podium-rank--face::before { top: 17px; right: 17px; bottom: 17px; left: 17px; }
  .ei-podium-face { top: 18px; right: 18px; bottom: 18px; left: 18px; }
  .ei-podium-step--1 .ei-podium-face { top: 22px; right: 22px; bottom: 22px; left: 22px; }
}
@media (max-width: 575.98px) {
  .ei-podium { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; margin-top: 40px; }
  .ei-podium-step--1 { order: -1; }
  .ei-podium-step, .ei-podium-step--1 { padding: 2.4rem 1rem 1.2rem; }
  .ei-podium:has(.has-face) { gap: 3.6rem; }
  .ei-podium-step.has-face { padding-top: 3.7rem; }
  .ei-podium-step--1.has-face { padding-top: 4.4rem; }
}
/* listele: rânduri liniștite, fără cutii */
.e2-toplist { gap: 0; }
.e2-toplist li { grid-template-columns: 40px 1fr auto; padding: .72rem .3rem; border: 0; border-bottom: 1px solid var(--ei-line); border-radius: 0; background: none; }
.e2-toplist li:hover { background: rgba(217, 181, 106, .05); border-color: var(--ei-line); }
.e2-toplist .pos { width: 36px; height: 36px; font-size: 1rem; }
.e2-toplist .who small { font: italic 500 1.02rem/1.2 var(--ei-font-accent); }
.e2-toplist .val small { font: italic 500 .95rem/1.1 var(--ei-font-accent); letter-spacing: 0; text-transform: none; }

/* ---------- atuuri + comunitate ---------- */
.ei-features { padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.ei-feature p { font: italic 500 1.1rem/1.3 var(--ei-font-accent); }
.ei-community-box { border-radius: 0; }
.ei-community-box p { font: italic 500 clamp(1.15rem, 1rem + .5vw, 1.4rem)/1.4 var(--ei-font-accent); color: #d8c49a; }

/* intrarea în scenă: o singură secvență, în hero */
.reveal, .reveal-pending, .reveal-in { opacity: 1 !important; transform: none !important; animation: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .ei-hero-content > * { animation: ei-rise .9s var(--ei-ease) both; }
  .ei-hero-content > *:nth-child(2) { animation-delay: .15s; }
  .ei-hero-content > *:nth-child(3) { animation-delay: .3s; }
  .ei-hero-content > *:nth-child(4) { animation-delay: .45s; }
  .ei-ledger { animation: ei-rise-ledger 1s var(--ei-ease) .6s both; }
}
@keyframes ei-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ei-rise-ledger { from { opacity: 0; } to { opacity: 1; } }
/* coloane mai aerisite pe ecrane mari, fără să depășim marginile containerului */
@media (min-width: 1200px) { .ei-row-wide > [class*="col-"]:first-child { padding-right: 2.2rem; } .ei-row-wide > [class*="col-"]:last-child { padding-left: 2.2rem; } .ei-chronicle .ei-row-wide > [class*="col-"]:last-child { padding-left: .75rem; } }
.ei-lead-story h3, .ei-stories h3, .page-title, .ei-title h2, .ei-community-box h2 { text-wrap: balance; }
@media (max-width: 991.98px) { .ei-hero-slogan { padding: .9rem 1.1rem; background: radial-gradient(closest-side, rgba(5, 4, 4, .5) 0%, rgba(5, 4, 4, .3) 60%, rgba(5, 4, 4, 0) 100%); text-shadow: 0 2px 10px rgba(0, 0, 0, .95), 0 0 24px rgba(0, 0, 0, .8); } }

/* ---------- telefon / tabletă: filmul decupat pe războinic, topit în fundal ---------- */
@media (max-width: 991.98px) {
  .ei-hero-warrior--video {
    aspect-ratio: 770 / 880; object-fit: cover; background: transparent; filter: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%), linear-gradient(180deg, transparent 0%, #000 15%, #000 66%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 24%), linear-gradient(180deg, transparent 0%, #000 15%, #000 66%, transparent 100%);
    mask-composite: intersect;
  }
}
/* telefon / tabletă în picioare: logo sus, războinicul ÎNTREG sub el (tot cadrul filmului, de la pana coifului
   la coapse, cu sabia și halebarda), iar insigna, sloganul și butoanele stau peste jumătatea lui de jos */
@media (max-width: 991.98px) and (orientation: portrait) {
  .ei-hero { --vw: min(100vw, 600px); min-height: 0; }
  .ei-hero-content { flex: none; min-height: 0; padding-bottom: 26px; }
  .ei-hero-status { margin-top: calc(var(--vw) * .3); }
  .ei-hero-slogan { margin-top: 0; padding-top: .9rem; }
  .ei-hero-warrior--video {
    width: var(--vw); height: auto; left: 50%; right: auto; bottom: auto;
    margin-left: calc(var(--vw) * -.5);
    top: calc(var(--ei-nav-h) + 22px + min(26.95vw, 159px) - var(--vw) * .13);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 90%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 90%, transparent 100%);
  }
}
/* tabletă: cadrul e mai îngust decât ecranul, așa că marginile lui laterale se topesc în fundal */
@media (min-width: 601px) and (max-width: 991.98px) and (orientation: portrait) {
  .ei-hero-warrior--video {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 7%, #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 7%, #000 84%, transparent 100%);
    mask-composite: intersect;
  }
}
/* ==========================================================================
   Paginile interioare: câte o clasă pe pagină (portretele din PSD-urile „Toate clasele”),
   animată în EffectCraft (vânt, respirație, luciu, fulgere roșii ca în filmul de la login)
   și desenată peste imagine cu WebGL; intră o singură dată, căzând, la încărcare.
   ========================================================================== */
.stage-art-fig img, .stage-art-fig canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; }
.stage-art-fig canvas { opacity: 0; transition: opacity .55s ease; }
.stage-art-fig.is-live canvas { opacity: 1; }
.stage-art-fig.is-live-done img { visibility: hidden; }

/* cade din cer, accelerat; se turtește la aterizare, apoi se îndreaptă */
@keyframes ei-class-fall {
  0% { translate: 0 -92%; scale: .95 1.07; opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .95, .45); }
  14% { opacity: 1; }
  60% { translate: 0 0; scale: .97 1.04; animation-timing-function: cubic-bezier(.2, .8, .35, 1); }
  70% { translate: 0 2.4%; scale: 1.05 .93; animation-timing-function: cubic-bezier(.3, .6, .4, 1); }
  84% { translate: 0 -.8%; scale: .99 1.02; }
  100% { translate: 0 0; scale: 1; opacity: 1; }
}
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .stage-art-fig { animation: ei-class-fall 1.05s .1s both; }
}

/* Evenimente: calendarul ține toată lățimea, așa că clasa stă în coloana din dreapta, sub program */
.ev-class { display: none; }
@media (min-width: 992px) {
  .ev-class { display: block; margin-top: auto; pointer-events: none; }
  .ev-class .stage-art-fig { position: relative; top: auto; width: 100%; max-width: 430px; height: auto; margin: 0 auto -12px; }
}
/* ==========================================================================
   Prima pagină, v3: fulgerul din filmul de login e firul roșu al paginii.
   - hero: jarul (canvas), lumina fulgerului sincronizată cu filmul, sigla „forjată”, parallax la mouse;
   - „Cinci căi spre glorie”: alegi rasa, portretul viu e lovit de fulger;
   - cusăturile dintre secțiuni se crapă într-un fulger când apar pe ecran;
   - regatele se înclină după mouse, podiumul se ridică, comunitatea are fum.
   Mișcarea rulează mereu; lipsește doar pentru cine a cerut „mișcare redusă” în sistem.
   ========================================================================== */
:root { --ei-play: running; --ei-bolt: #ffe1d8; --ei-bloom: #ff2f22; }
.ei-still { --ei-play: paused; }

/* ---------- hero ---------- */
.ei-hero-strike { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; }
.ei-hero-strike::before, .ei-hero-strike::after { content: ""; position: absolute; inset: 0; will-change: opacity; }
/* stânga = filmul în oglindă, dreapta = filmul original; fiecare se aprinde când îi lovește fulgerul */
.ei-hero-strike::before { opacity: var(--sl, 0);
  background: radial-gradient(26% 48% at 15% 44%, rgba(255, 46, 30, .34), rgba(255, 46, 30, 0) 72%), radial-gradient(30% 18% at 44% 31%, rgba(255, 70, 46, .16), rgba(255, 70, 46, 0) 72%); }
.ei-hero-strike::after { opacity: var(--sr, 0);
  background: radial-gradient(26% 48% at 85% 44%, rgba(255, 46, 30, .36), rgba(255, 46, 30, 0) 72%), radial-gradient(30% 18% at 56% 31%, rgba(255, 70, 46, .18), rgba(255, 70, 46, 0) 72%); }
@media (max-width: 991.98px) {
  .ei-hero-strike::before { display: none; }
  .ei-hero-strike::after { background: radial-gradient(60% 34% at 56% 38%, rgba(255, 46, 30, .32), rgba(255, 46, 30, 0) 72%), radial-gradient(46% 14% at 50% 12%, rgba(255, 70, 46, .2), rgba(255, 70, 46, 0) 72%); }
}
.ei-embers { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }

/* sigla: un strat roșu, încețoșat, care se aprinde odată cu fulgerul din film */
.ei-hero-mark { position: relative; display: block; width: min(88vw, 520px); margin: 0 auto .4rem; line-height: 0; }
.ei-hero-mark .ei-hero-logo { position: relative; width: 100%; margin: 0; }
.ei-hero-logo-glow { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; will-change: opacity; transform: scale(1.03);
  filter: blur(14px) brightness(.85) sepia(1) saturate(9) hue-rotate(-38deg); }
.ei-hero-mark::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  -webkit-mask: url("../img/logo-640.webp") center / 100% 100% no-repeat; mask: url("../img/logo-640.webp") center / 100% 100% no-repeat;
  background: linear-gradient(100deg, rgba(255, 246, 214, 0) 38%, rgba(255, 246, 214, .95) 50%, rgba(255, 246, 214, 0) 62%) 150% 0 / 300% 100% no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .ei-hero-content > .ei-hero-mark { animation: ei-forge 1.25s cubic-bezier(.3, .7, .2, 1) .15s both; }
  .ei-hero-mark::after { animation: ei-sheen 1.5s ease-in-out 1.1s both; }
}
@keyframes ei-forge {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); filter: brightness(2.4) saturate(.4); }
  12% { opacity: 1; }
  70% { clip-path: inset(0 0 0 0); filter: brightness(1.4); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); filter: none; }
}
@keyframes ei-sheen { 0% { opacity: 1; background-position: 150% 0; } 100% { opacity: 1; background-position: -50% 0; } }

/* indicatorul de derulare: o scânteie care coboară pe un fir auriu (doar pe ecrane mari) */
.ei-scroll-cue { display: none; }
@media (min-width: 992px) {
  .ei-scroll-cue { display: block; position: absolute; z-index: 4; left: 50%; bottom: clamp(104px, 12vh, 128px); width: 26px; height: 54px; margin-left: -13px; }
  .ei-scroll-cue::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, rgba(232, 201, 127, 0), rgba(232, 201, 127, .7)); }
  .ei-scroll-cue::after { content: ""; position: absolute; left: 10px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: #fff1d6; box-shadow: 0 0 8px 2px rgba(255, 70, 46, .85); opacity: 0; }
  .ei-scroll-cue:focus-visible { outline: 2px solid var(--ei-gold-200); outline-offset: 4px; }
}
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .ei-scroll-cue::after { animation: ei-cue 2.2s ease-in 2s infinite; animation-play-state: var(--ei-play); }
}
@keyframes ei-cue { 0% { opacity: 0; translate: 0 0; } 20% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; translate: 0 49px; } }
@media (min-width: 992px) and (max-height: 760px) { .ei-scroll-cue { display: none; } }

/* parallax la mouse (variabile puse din imperial.js) */
@media (min-width: 992px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ei-hero-media { scale: 1.03; will-change: translate; }
}
/* la derulare, conținutul hero-ului urcă și se stinge, filmul se apropie ușor */
@supports ((animation-timeline: scroll()) and (animation-range: 0 1px)) {
  @media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
    .ei-hero-content { animation: ei-hero-out linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    .ei-hero-veil { animation: ei-veil-in linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
  }
}
@keyframes ei-hero-out { to { opacity: .1; translate: 0 -14vh; } }
@keyframes ei-veil-in { to { background-color: rgba(5, 4, 4, .55); } }

/* ---------- cusăturile dintre secțiuni ---------- */
.ei-seam { position: relative; height: 40px; max-width: 1180px; margin: 0 auto; pointer-events: none; }
.ei-seam svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.ei-seam-line { fill: none; stroke: rgba(217, 181, 106, .34); stroke-width: 1; }
.ei-seam-bolt { fill: none; stroke: var(--ei-bolt); stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0;
  filter: drop-shadow(0 0 3px var(--ei-bloom)) drop-shadow(0 0 9px rgba(255, 40, 30, .7)); }
.ei-seam-gem { position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; translate: -50% -50%; rotate: 45deg; background: var(--ei-grad-gold);
  box-shadow: 0 0 0 3px var(--ei-bg), 0 0 0 4px rgba(217, 181, 106, .6); }
@media (prefers-reduced-motion: no-preference) {
  .ei-seam.is-in .ei-seam-bolt { animation: ei-seam-crack 1.5s cubic-bezier(.2, .7, .3, 1) both; }
  .ei-seam.is-in .ei-seam-gem { animation: ei-gem-flare 1.5s ease-out both; }
}
@keyframes ei-seam-crack { 0% { opacity: 1; stroke-dashoffset: 100; } 40% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes ei-gem-flare { 0% { box-shadow: 0 0 0 3px var(--ei-bg), 0 0 0 4px rgba(217, 181, 106, .6), 0 0 0 0 rgba(255, 60, 40, 0); }
  25% { box-shadow: 0 0 0 3px var(--ei-bg), 0 0 0 4px #ffd2c4, 0 0 26px 8px rgba(255, 60, 40, .75); }
  100% { box-shadow: 0 0 0 3px var(--ei-bg), 0 0 0 4px rgba(217, 181, 106, .6), 0 0 0 0 rgba(255, 60, 40, 0); } }

/* ---------- Cinci căi spre glorie ---------- */
.ei-paths { position: relative; isolation: isolate; overflow: clip; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.ei-paths .ei-title { margin-bottom: clamp(1.2rem, 3vw, 2.2rem); }
.ei-paths-bg { position: absolute; inset: -12% 0; z-index: -1; opacity: .5;
  background: linear-gradient(180deg, var(--ei-bg) 0%, rgba(6, 5, 5, .5) 28%, rgba(6, 5, 5, .62) 72%, var(--ei-bg) 100%), url("../img/bg-pagoda.webp") center / cover no-repeat; }
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    .ei-paths { view-timeline: --ei-paths; }
    .ei-paths-bg { animation: ei-drift linear both; animation-timeline: --ei-paths; }
  }
}
@keyframes ei-drift { from { translate: 0 -7%; } to { translate: 0 7%; } }

.ei-paths-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4.5rem); max-width: 1180px; margin: 0 auto; }
.ei-paths-art { position: relative; justify-self: end; width: min(100%, 520px, calc((100vh - var(--ei-nav-h) - 120px) * 712 / 900)); min-width: min(100%, 340px); aspect-ratio: 712 / 900; }
.ei-paths-art::before { content: ""; position: absolute; inset: 14% 4% 6%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(155, 20, 29, .42), rgba(155, 20, 29, 0)); }
.ei-enso { position: absolute; z-index: 0; left: 50%; top: 42%; width: 112%; translate: -50% -50%; overflow: visible; }
.ei-enso-ring { fill: none; stroke: url(#eiEnsoInk); stroke-width: 13; stroke-linecap: round; stroke-dasharray: 91 100; stroke-dashoffset: 0; opacity: .72; transform-origin: 50% 50%; transform: rotate(-70deg); }
.ei-paths-fig { position: absolute; inset: 0; z-index: 1; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 4%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 4%, #000 84%, transparent 100%); mask-composite: intersect; }
.ei-paths-fig.is-current { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.ei-paths-fig img, .ei-paths-fig canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.ei-paths-fig canvas { opacity: 0; transition: opacity .55s ease; }
.ei-paths-fig.is-live canvas { opacity: 1; }
.ei-paths-fig.is-live-done img { visibility: hidden; }
.ei-strike { position: absolute; z-index: 3; left: 32%; top: -14%; width: 36%; height: 74%; overflow: visible; opacity: 0; pointer-events: none; }
.ei-strike path { fill: none; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; vector-effect: non-scaling-stroke; }
.ei-strike-glow { stroke: rgba(255, 46, 30, .85); stroke-width: 9; filter: blur(5px); }
.ei-strike-core { stroke: var(--ei-bolt); stroke-width: 2.4; }
@media (prefers-reduced-motion: no-preference) {
  .ei-paths-fig { translate: 0 16px; scale: .975; transition: opacity .5s ease, translate .6s var(--ei-ease), scale .6s var(--ei-ease), visibility 0s linear .6s; }
  .ei-paths-fig.is-current { translate: 0 0; scale: 1; transition: opacity .5s ease .12s, translate .7s var(--ei-ease) .12s, scale .7s var(--ei-ease) .12s; }
  .is-striking .ei-strike { animation: ei-strike-fade .8s ease-out both; }
  .is-striking .ei-strike path { animation: ei-strike-draw .2s linear both; }
  .is-striking .ei-enso-ring { animation: ei-enso-draw 1s cubic-bezier(.3, .6, .2, 1) both; }
  .is-striking .ei-paths-fig.is-current { animation: ei-fig-flash .9s ease-out both; }
}
@keyframes ei-strike-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes ei-strike-fade { 0% { opacity: 1; } 45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ei-enso-draw { from { stroke-dashoffset: 91; } to { stroke-dashoffset: 0; } }
@keyframes ei-fig-flash { 0%, 18% { filter: brightness(1.9) saturate(1.3); } 100% { filter: none; } }

.ei-paths-info { min-width: 0; max-width: 520px; }
.ei-paths-tabs { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin: 0 0 1.8rem; }
.ei-path-tab { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: .2rem; border: 0; background: none; color: var(--ei-text-3);
  font: 700 .74rem/1 var(--ei-font-display); letter-spacing: .08em; cursor: pointer; transition: color .2s; }
.ei-path-tab-face { position: relative; display: block; width: 62px; height: 62px; overflow: hidden; border-radius: 50%; background: #120d0b;
  border: 1px solid rgba(217, 181, 106, .35); box-shadow: 0 0 0 3px var(--ei-bg), 0 0 0 4px rgba(217, 181, 106, .18); transition: border-color .25s, box-shadow .25s; }
.ei-path-tab-face img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) brightness(.75); transition: filter .25s, transform .35s var(--ei-ease); }
.ei-path-tab:hover { color: var(--ei-gold-200); }
.ei-path-tab:hover .ei-path-tab-face img { filter: none; }
.ei-path-tab:focus-visible { outline: none; }
.ei-path-tab:focus-visible .ei-path-tab-face { box-shadow: 0 0 0 3px var(--ei-bg), 0 0 0 5px #fff3cf; }
.ei-path-tab[aria-selected="true"] { color: var(--ei-gold-100); }
.ei-path-tab[aria-selected="true"] .ei-path-tab-face { border-color: #fff3cf; box-shadow: 0 0 0 3px var(--ei-bg), 0 0 0 5px var(--ei-gold), 0 0 24px 2px rgba(255, 46, 30, .55); }
.ei-path-tab[aria-selected="true"] .ei-path-tab-face img { filter: none; transform: scale(1.08); }

.ei-path-panel { outline: none; }
.ei-path-panel:focus-visible { outline: 1px dashed rgba(217, 181, 106, .5); outline-offset: 8px; }
.ei-path-name { margin: 0; font: 800 clamp(2.3rem, 1.5rem + 3vw, 3.7rem)/1 var(--ei-font-display); letter-spacing: .04em; color: var(--ei-gold-100); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ei-path-name { background: linear-gradient(180deg, #fff3cf 0%, #e8c97f 50%, #a8813d 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .8)); }
}
.ei-path-tag { margin: .5rem 0 1rem; font: italic 600 clamp(1.3rem, 1.1rem + .6vw, 1.65rem)/1.2 var(--ei-font-accent); color: var(--ei-red-300); }
.ei-path-text { margin: 0 0 1.6rem; font-size: 1.12rem; line-height: 1.6; color: var(--ei-text-2); max-width: 46ch; }
.ei-path-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 0 0 1.6rem; }
.ei-path-stats > div { min-width: 0; }
.ei-path-stats dt { margin: 0 0 .4rem; font: 700 .78rem/1 var(--ei-font-display); letter-spacing: .1em; color: var(--ei-gold-300); }
.ei-path-stats dd { margin: 0; }
.ei-meter { position: relative; display: block; height: 7px; background: rgba(255, 255, 255, .07);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(20% - 3px), transparent calc(20% - 3px) 20%); mask: repeating-linear-gradient(90deg, #000 0 calc(20% - 3px), transparent calc(20% - 3px) 20%); }
.ei-meter > span { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(var(--v)); background: linear-gradient(90deg, #7d1210 0%, #e0291f 60%, #ffb8a6 100%); }
.ei-path-meta { display: grid; gap: .55rem; padding: 1rem 0 0; border-top: 1px solid var(--ei-line); }
.ei-path-meta p { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .55rem; margin: 0; }
.ei-path-meta span { font: italic 500 1.08rem/1.2 var(--ei-font-accent); color: var(--ei-text-3); margin-right: .25rem; }
.ei-path-meta b { padding: .28rem .7rem; border: 1px solid var(--ei-hair); font: 700 .8rem/1.2 var(--ei-font-display); letter-spacing: .06em; color: var(--ei-gold-200); background: rgba(6, 5, 5, .55); }
.ei-path-meta b.ei-diff--easy { color: #9fe0b0; border-color: rgba(88, 214, 141, .45); }
.ei-path-meta b.ei-diff--medium { color: var(--ei-gold-200); }
.ei-path-meta b.ei-diff--hard { color: #ffb0a6; border-color: rgba(255, 106, 92, .55); }
.ei-paths-cta { margin-top: 2rem; }
@media (prefers-reduced-motion: no-preference) {
  .ei-path-panel:not([hidden]) > * { animation: ei-panel-in .55s var(--ei-ease) both; }
  .ei-path-panel:not([hidden]) > :nth-child(2) { animation-delay: .06s; }
  .ei-path-panel:not([hidden]) > :nth-child(3) { animation-delay: .12s; }
  .ei-path-panel:not([hidden]) > :nth-child(4) { animation-delay: .18s; }
  .ei-path-panel:not([hidden]) > :nth-child(5) { animation-delay: .24s; }
  .ei-path-panel:not([hidden]) .ei-meter > span { animation: ei-meter-fill .9s cubic-bezier(.2, .8, .2, 1) .25s both; }
}
@keyframes ei-panel-in { from { opacity: 0; translate: 14px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes ei-meter-fill { from { transform: scaleX(0); } }

@media (max-width: 991.98px) {
  .ei-paths-stage { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .ei-paths-art { justify-self: center; width: min(78vw, 380px); }
  .ei-paths-info { justify-self: center; width: 100%; max-width: 560px; }
  .ei-paths-tabs { justify-content: center; gap: .4rem .5rem; margin-bottom: 1.4rem; }
  .ei-path-tab-face { width: 54px; height: 54px; }
  .ei-path-tab { font-size: .66rem; letter-spacing: .04em; }
  .ei-paths-cta .btn { width: 100%; }
}
@media (max-width: 380px) { .ei-path-tab-face { width: 48px; height: 48px; } .ei-path-stats { gap: .9rem 1.2rem; } }

/* ---------- regatele: steagul se înclină după mouse, lumina în culoarea regatului ---------- */
.ei-realm { --realm-glow: rgba(217, 181, 106, .4); }
.ei-realm--shinsoo { --realm-glow: rgba(239, 90, 78, .6); }
.ei-realm--chunjo { --realm-glow: rgba(237, 195, 74, .55); }
.ei-realm--jinno { --realm-glow: rgba(88, 166, 240, .6); }
.ei-realm-banner { position: relative; isolation: isolate; perspective: 900px; }
.ei-realm-banner::before { content: ""; position: absolute; inset: 6% 6% -16%; z-index: -1; background: radial-gradient(closest-side, var(--realm-glow), rgba(0, 0, 0, 0)); opacity: 0; transition: opacity .45s; }
.ei-realm .ei-realm-banner img { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out, filter .35s; }
.ei-realm:hover .ei-realm-banner img { transform: translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.ei-realm:hover .ei-realm-banner::before { opacity: 1; }
@media (max-width: 575.98px) { .ei-realm:hover .ei-realm-banner img { transform: none; } }

/* ---------- podiumul se ridică, iar în spatele locului I se rotesc raze ---------- */
.ei-hall { overflow-x: clip; }
.ei-podium { position: relative; isolation: isolate; }
.ei-podium::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: min(560px, 90vw); aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(232, 201, 127, .13) 0deg 5deg, rgba(232, 201, 127, 0) 5deg 15deg);
  -webkit-mask: radial-gradient(closest-side, #000 18%, rgba(0, 0, 0, 0) 100%); mask: radial-gradient(closest-side, #000 18%, rgba(0, 0, 0, 0) 100%); }
@media (prefers-reduced-motion: no-preference) {
  .ei-podium::before { animation: ei-spin 60s linear infinite; animation-play-state: var(--ei-play); }
  .ei-fx .ei-podium:not(.is-in) .ei-podium-step { opacity: 0; }
  .ei-podium.is-in .ei-podium-step { animation: ei-step-rise .85s var(--ei-ease) both; }
  .ei-podium.is-in .ei-podium-step--2 { animation-delay: .12s; }
  .ei-podium.is-in .ei-podium-step--1 { animation-delay: .3s; }
}
@keyframes ei-spin { to { rotate: 360deg; } }
@keyframes ei-step-rise { from { opacity: 0; translate: 0 46px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 991.98px) { .ei-podium::before { top: 0; width: 420px; } }

/* ---------- comunitatea: cei doi războinici în fum ---------- */
.ei-community-box { overflow: hidden; isolation: isolate; }
.ei-community-box::after { content: ""; position: absolute; inset: -40% -10%; z-index: -1; pointer-events: none; opacity: .55;
  background: radial-gradient(40% 50% at 20% 60%, rgba(155, 20, 29, .45), rgba(155, 20, 29, 0)), radial-gradient(35% 45% at 80% 40%, rgba(155, 20, 29, .35), rgba(155, 20, 29, 0)); }
@media (prefers-reduced-motion: no-preference) {
  .ei-community-box::after { animation: ei-smoke 18s ease-in-out infinite alternate; animation-play-state: var(--ei-play); }
}
@keyframes ei-smoke { from { translate: -4% 2%; scale: 1; } to { translate: 5% -3%; scale: 1.12; } }

/* pe ecrane mari sigla e chiar cea din film (vezi 20-nav-hero), deci stratul nostru nu se arată */
@media (min-width: 992px) { .ei-hero-mark { display: none; } }
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 520px) { .ei-hero-mark { width: min(46vw, 360px); } }

/* ---------- mici răspunsuri la mouse ---------- */
.ei-lead-story-img { transition: filter .4s; }
.ei-lead-story:hover .ei-lead-story-img { filter: brightness(1.12) saturate(1.1); }
.ei-feature-icon { transition: color .3s, filter .3s; }
.ei-feature:hover .ei-feature-icon { color: #fff3cf; filter: drop-shadow(0 0 10px rgba(255, 60, 40, .6)); }
/* ==========================================================================
   Meniurile în stilul războinicului: dragoni de aur pe margini, fum roșu, aur și laque negru;
   textele „se scriu cu foc” (literă cu literă) când ajung pe ecran.
   Dragonii: img/dragon-h.webp (orizontal, privește spre dreapta) și dragon-v.webp (urcă pe verticală),
   generați în Figma (fișierul „Elvarion2 – ornamente dragon”) și decupați de pe negru.
   ========================================================================== */

/* ---------- bara de sus: doi dragoni care își dispută perla, sub margine ---------- */
.ei-nav::after { opacity: 1; height: 1px; }
.ei-nav-dragons { position: absolute; left: 50%; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 2px; translate: -50% 52%; pointer-events: none; }
.ei-nav-dragon { display: block; width: auto; height: 46px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .85)); }
.ei-nav-dragon--r { transform: scaleX(-1); }
.ei-nav-pearl { position: relative; flex: none; width: 15px; height: 15px; margin: 0 -10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1e6 0%, #ff8a6e 22%, #d1242f 55%, #4a0a0f 100%);
  box-shadow: 0 0 0 2px #1a1008, 0 0 0 3px #e8c97f, 0 0 16px 4px rgba(255, 46, 30, .65); }
@media (prefers-reduced-motion: no-preference) {
  .ei-nav-pearl { animation: ei-pearl 3.2s ease-in-out infinite; }
  .ei-nav-dragon { animation: ei-dragon-sway 6s ease-in-out infinite; }
  .ei-nav-dragon--r { animation-delay: -3s; }
}
@keyframes ei-pearl { 0%, 100% { box-shadow: 0 0 0 2px #1a1008, 0 0 0 3px #e8c97f, 0 0 12px 2px rgba(255, 46, 30, .5); } 50% { box-shadow: 0 0 0 2px #1a1008, 0 0 0 3px #fff3cf, 0 0 22px 7px rgba(255, 46, 30, .8); } }
@keyframes ei-dragon-sway { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2px; } }
@media (max-width: 991.98px) {
  .ei-nav-dragon { height: 30px; }
  .ei-nav-pearl { width: 11px; height: 11px; margin: 0 -7px; }
}
@media (max-width: 380px) { .ei-nav-dragon { height: 26px; } }

/* legăturile din bară: o lamă aurie se trage sub text, iar cea activă are o flacără */
@media (min-width: 992px) {
  .ei-link::before { left: 50%; right: auto; width: 0; opacity: 1; translate: -50% 0; background: linear-gradient(90deg, rgba(232, 201, 127, 0), #fff3cf 50%, rgba(232, 201, 127, 0)); transition: width .3s var(--ei-ease); }
  .ei-link:hover::before { width: 64%; }
  .ei-link:hover { color: #fff3cf; text-shadow: 0 0 14px rgba(255, 70, 46, .45); }
  .ei-link.active { text-shadow: 0 0 12px rgba(232, 201, 127, .35); }
}

/* meniurile derulante (limbă, cont): ramă aurie cu un dragon mic pe margine */
.dropdown-menu.ei-dropdown { position: relative; margin-top: 12px !important; padding-top: 18px; border-color: var(--ei-gold-500); background: linear-gradient(180deg, #17110d 0%, #0b0807 100%); box-shadow: 0 18px 40px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(0, 0, 0, .8); }
.dropdown-menu.ei-dropdown::before { content: ""; position: absolute; top: -17px; left: 50%; width: 92px; height: 34px; translate: -50% 0; background: url("../img/dragon-h.webp") center / contain no-repeat; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .9)); pointer-events: none; }
.ei-dropdown .dropdown-item { position: relative; transition: color .2s, background-color .2s, padding-left .25s var(--ei-ease); }
.ei-dropdown .dropdown-item:hover, .ei-dropdown .dropdown-item:focus-visible { padding-left: 1.3rem; color: #fff3cf; background: linear-gradient(90deg, rgba(155, 20, 29, .35), rgba(155, 20, 29, 0)); }

/* ---------- meniul de pe telefon / tabletă ---------- */
.ei-drawer { --bs-offcanvas-width: min(92vw, 400px); --rail: 76px; overflow: hidden; border-left: 1px solid var(--ei-gold-500) !important;
  background: linear-gradient(180deg, rgba(9, 7, 6, .88) 0%, rgba(9, 7, 6, .94) 55%, rgba(9, 7, 6, .82) 100%), radial-gradient(90% 40% at 100% 0%, rgba(155, 20, 29, .45), rgba(155, 20, 29, 0) 70%), url("../img/hero-sm-poster.webp") 70% 100% / 135% auto no-repeat, #090706; }
.ei-drawer::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 0 60px rgba(0, 0, 0, .8); }
.ei-drawer > * { position: relative; z-index: 1; }
.ei-drawer-head { padding: 14px 16px 14px 18px; border-bottom: 0; background: linear-gradient(180deg, rgba(4, 3, 3, .9), rgba(4, 3, 3, .2)); }
.ei-drawer-head::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 13px; translate: 0 50%;
  background: var(--ei-diamond) center / 13px 13px no-repeat, linear-gradient(90deg, rgba(232, 201, 127, 0), #e8c97f 30%, #e8c97f 70%, rgba(232, 201, 127, 0)) center / 100% 1px no-repeat; }
.ei-drawer-close { transition: color .2s, border-color .2s, background-color .2s, rotate .3s var(--ei-ease); }
.ei-drawer-close:hover { color: #fff3cf; border-color: var(--ei-gold); background: rgba(155, 20, 29, .35); rotate: 90deg; }
/* șina și dragonul de pe marginea stângă */
.ei-drawer-rail { position: absolute !important; z-index: 1; left: calc(var(--rail) / 2); top: 78px; bottom: 26px; width: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(232, 201, 127, 0), #b88f47 8%, #e8c97f 50%, #b88f47 92%, rgba(232, 201, 127, 0)); }
.ei-drawer-rail::after { content: ""; position: absolute; left: -6px; bottom: -6px; width: 13px; height: 13px; background: var(--ei-diamond) center / contain no-repeat; }
.ei-drawer-dragon { position: absolute !important; z-index: 2; left: 4px; top: 70px; width: calc(var(--rail) - 6px); height: auto; pointer-events: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .9)) drop-shadow(0 0 14px rgba(255, 60, 30, .22)); }
.ei-drawer-body { padding: 18px 16px calc(24px + env(safe-area-inset-bottom)) calc(var(--rail) + 6px); }
.ei-drawer-menu { gap: 2px; }
.ei-drawer-menu a { position: relative; border-radius: 0; border: 0; padding-left: .7rem; transition: color .2s, background-color .2s, padding-left .25s var(--ei-ease); }
.ei-drawer-menu a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(217, 181, 106, .35), rgba(217, 181, 106, 0)); }
.ei-drawer-menu a i { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; font-size: .95rem; color: var(--ei-gold-200); border: 1px solid rgba(217, 181, 106, .45); background: rgba(6, 5, 5, .7); rotate: 45deg; }
.ei-drawer-menu a i::before { rotate: -45deg; }
.ei-drawer-menu a:hover, .ei-drawer-menu a:focus-visible { color: #fff3cf; padding-left: 1rem; background: linear-gradient(90deg, rgba(155, 20, 29, .4), rgba(155, 20, 29, 0)); border: 0; }
.ei-drawer-menu a.active { color: #fff3cf; border: 0; background: linear-gradient(90deg, rgba(209, 36, 47, .5), rgba(209, 36, 47, 0) 85%); }
.ei-drawer-menu a.active i { color: #fff3cf; border-color: #fff3cf; background: var(--ei-red-600); box-shadow: 0 0 14px rgba(255, 46, 30, .6); }
.ei-drawer-menu--sub a i { width: 26px; height: 26px; font-size: .85rem; }
.ei-drawer-label { border-top-color: rgba(217, 181, 106, .3); color: var(--ei-gold-300); }
.ei-drawer-user { background: rgba(6, 5, 5, .65); border-color: rgba(217, 181, 106, .4); border-radius: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ei-drawer.showing .ei-drawer-dragon, .ei-drawer.show .ei-drawer-dragon { animation: ei-dragon-climb .9s cubic-bezier(.2, .8, .2, 1) .08s both; }
  .ei-drawer.showing .ei-drawer-rail, .ei-drawer.show .ei-drawer-rail { animation: ei-rail-draw .8s ease-out both; }
  .ei-drawer.showing .ei-drawer-menu a, .ei-drawer.show .ei-drawer-menu a { animation: ei-item-in .5s var(--ei-ease) both; animation-delay: calc(.12s + var(--k, 0) * 55ms); }
}
@keyframes ei-dragon-climb { from { opacity: 0; translate: 0 60px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .9)) drop-shadow(0 0 30px rgba(255, 60, 30, .9)) brightness(1.6); } to { opacity: 1; translate: 0 0; } }
@keyframes ei-rail-draw { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ei-item-in { from { opacity: 0; translate: 18px 0; } to { opacity: 1; translate: 0 0; } }

/* ---------- textele „scrise cu foc”, literă cu literă ---------- */
.ei-write .ei-w { display: inline-block; white-space: nowrap; }
.ei-write.ei-grad { background: none !important; -webkit-text-fill-color: currentColor; }
.ei-write.ei-grad .ei-ch { background-image: var(--wbg); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .ei-write:not(.is-written) .ei-ch { opacity: 0; }
  .ei-write.is-written .ei-ch { animation: ei-type .55s ease-out both; animation-delay: calc(var(--i) * var(--step, 30ms)); }
  .ei-write.ei-grad.is-written .ei-ch { animation-name: ei-type-grad; }
}
@keyframes ei-type { 0% { opacity: 0; filter: blur(4px); color: #fff1d6; text-shadow: 0 0 16px #ff3b2a, 0 0 4px #ffd2c4; } 35% { opacity: 1; filter: none; color: #fff1d6; text-shadow: 0 0 12px rgba(255, 59, 42, .9); } 100% { opacity: 1; } }
@keyframes ei-type-grad { 0% { opacity: 0; filter: blur(4px) brightness(2.2); } 35% { opacity: 1; filter: brightness(1.6) drop-shadow(0 0 6px rgba(255, 59, 42, .9)); } 100% { opacity: 1; filter: none; } }
/* ==========================================================================
   Interfață modernizată (stil „războinic”, ca hero-ul): butoane de aur forjat cu luciu care trece,
   butoane de sticlă cu ramă aurie vie, insigna „online” cu puls, statistici pe plăci cu iconițe,
   pagina „Descarcă” cu pași legați de un fulger, legături de descărcare ca plăci de joc.
   ========================================================================== */

/* ---------- butonul principal: aur forjat ---------- */
.btn-e2 { overflow: hidden; isolation: isolate; border-radius: 4px; border: 1px solid #ffe6a8; color: #2a1704;
  background: linear-gradient(180deg, #fff0c4 0%, #f3cf7a 26%, #dda54b 58%, #b27b2d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(96, 52, 10, .45), 0 0 0 1px rgba(36, 20, 5, .95), 0 8px 22px rgba(0, 0, 0, .55), 0 0 26px rgba(232, 176, 82, .25);
  text-shadow: 0 1px 0 rgba(255, 240, 200, .7);
  transition: translate .2s var(--ei-ease), box-shadow .25s, filter .25s; }
.btn-e2 i { position: relative; z-index: 1; }
/* luciul care trece peste aur (înlocuiește romburile vechi) */
.btn-e2::before { content: ""; position: absolute; z-index: 0; top: -20%; bottom: -20%; left: 0; width: 38%; height: auto; margin: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .75) 50%, rgba(255, 255, 255, 0) 100%); transform: skewX(-22deg); translate: -160% 0; }
/* jarul de dedesubt: o dungă roșie care se aprinde la hover */
.btn-e2::after { content: ""; position: absolute; z-index: 0; left: 12%; right: 12%; top: auto; bottom: -1px; width: auto; height: 2px; margin: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 60, 40, 0), #ff3b2a 50%, rgba(255, 60, 40, 0)); opacity: 0; transition: opacity .25s; }
.btn-e2:hover, .btn-e2:focus-visible { color: #2a1704; translate: 0 -1px; border-color: #fff6d8;
  background: linear-gradient(180deg, #fff6d6 0%, #f8d987 26%, #e6b058 58%, #bd8634 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 0 rgba(96, 52, 10, .4), 0 0 0 1px rgba(36, 20, 5, .95), 0 12px 28px rgba(0, 0, 0, .6), 0 0 34px rgba(255, 170, 70, .45), 0 0 60px rgba(255, 50, 30, .25); }
.btn-e2:hover::after, .btn-e2:focus-visible::after { opacity: 1; }
.btn-e2:focus-visible { outline: 2px solid #fff3cf; outline-offset: 3px; }
.btn-e2:active { translate: 0 1px; filter: brightness(.95); background: linear-gradient(180deg, #e9c271 0%, #cf9a44 60%, #a8742a 100%) !important; }
.btn-e2.btn-sm { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -2px 0 rgba(96, 52, 10, .4), 0 0 0 1px rgba(36, 20, 5, .95), 0 6px 14px rgba(0, 0, 0, .5); }
.btn-e2.btn-sm::before { display: block; }
.btn-e2.btn-sm::after { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .btn-e2::before { animation: ei-btn-shine 5.5s ease-in-out infinite; }
  .btn-e2:hover::before { animation: ei-btn-shine-now .7s ease-out; }
}
@keyframes ei-btn-shine { 0%, 72% { translate: -160% 0; } 100% { translate: 360% 0; } }
@keyframes ei-btn-shine-now { from { translate: -160% 0; } to { translate: 360% 0; } }

/* ---------- butonul secundar: sticlă neagră cu ramă aurie vie ---------- */
.btn-e2-ghost { border-radius: 4px; border: 1px solid transparent; color: var(--ei-gold-100);
  background: linear-gradient(180deg, rgba(28, 21, 16, .82), rgba(9, 7, 6, .9)) padding-box,
              linear-gradient(120deg, #f6e2a8 0%, #8c6a30 30%, #d1242f 50%, #8c6a30 70%, #f6e2a8 100%) border-box;
  background-size: 100% 100%, 260% 100%; background-position: 0 0, 0% 0;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .08), 0 8px 22px rgba(0, 0, 0, .5);
  transition: translate .2s var(--ei-ease), box-shadow .25s, color .2s, background-position .9s ease; }
.btn-e2-ghost:hover, .btn-e2-ghost:focus-visible { color: #fff3cf; translate: 0 -1px; border-color: transparent; background-position: 0 0, 100% 0;
  background-image: linear-gradient(180deg, rgba(44, 24, 18, .88), rgba(14, 8, 7, .92)), linear-gradient(120deg, #f6e2a8 0%, #8c6a30 30%, #d1242f 50%, #8c6a30 70%, #f6e2a8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .1), 0 12px 26px rgba(0, 0, 0, .55), 0 0 26px rgba(255, 50, 30, .28); }
.btn-e2-ghost:focus-visible { outline: 2px solid #fff3cf; outline-offset: 3px; }
.btn-e2-ghost:active { translate: 0 1px; }
.btn-e2-ghost i { color: var(--ei-gold-200); }

/* ---------- insigna „online” din hero ---------- */
.ei-hero-status { border-radius: 999px; padding: .45rem 1.1rem .45rem .8rem; gap: .65rem; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(20, 15, 11, .82), rgba(6, 5, 5, .9)) padding-box, linear-gradient(90deg, rgba(88, 214, 141, .7), rgba(217, 181, 106, .55) 45%, rgba(217, 181, 106, .2)) border-box;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
.ei-hero-status.is-offline { background: linear-gradient(180deg, rgba(20, 15, 11, .82), rgba(6, 5, 5, .9)) padding-box, linear-gradient(90deg, rgba(255, 107, 107, .7), rgba(217, 181, 106, .3)) border-box; }
.ei-hero-status .dot { position: relative; width: 10px; height: 10px; }
.ei-hero-status.is-online .dot { animation: none; box-shadow: 0 0 10px rgba(88, 214, 141, .8); }
.ei-hero-status.is-online .dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(88, 214, 141, .7); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .ei-hero-status.is-online .dot::after { animation: ei-ripple 2s ease-out infinite; } }
@keyframes ei-ripple { from { opacity: .9; scale: .5; } to { opacity: 0; scale: 1.7; } }
.ei-hero-status strong { color: #7fe3a9; }
.ei-hero-status b { color: #fff3cf; }

/* ---------- registrul (statisticile): plăci cu iconițe ---------- */
.ei-ledger { gap: 10px; padding-left: 12px; padding-right: 12px; }
.ei-ledger::before { display: none; }
.ei-ledger > div { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ico num" "ico lab"; align-items: center; column-gap: .75rem; row-gap: 0;
  padding: .75rem .9rem; text-align: left; border-radius: 6px; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(24, 18, 13, .78), rgba(7, 6, 5, .9)) padding-box, linear-gradient(180deg, rgba(246, 226, 168, .55), rgba(217, 181, 106, .12) 60%, rgba(209, 36, 47, .35)) border-box;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
  transition: translate .25s var(--ei-ease), box-shadow .25s; }
.ei-ledger > div + div { border-left: 1px solid transparent; }
.ei-ledger > div:hover { translate: 0 -2px; box-shadow: 0 14px 28px rgba(0, 0, 0, .55), 0 0 22px rgba(255, 60, 40, .22); }
/* iconița: romb roșu (::before) + glifa Bootstrap Icons (::after), în aceeași celulă */
.ei-ledger > div::before, .ei-ledger > div::after { grid-area: ico; align-self: center; justify-self: center; }
.ei-ledger > div::before { content: ""; width: 27px; height: 27px; rotate: 45deg; border: 1px solid rgba(246, 226, 168, .7); background: linear-gradient(180deg, #9b141d, #4a0a0f); box-shadow: 0 0 14px rgba(255, 46, 30, .35); margin: 0 5px; }
.ei-ledger > div::after { content: "\f589"; position: relative; z-index: 1; font-family: bootstrap-icons; font-size: .95rem; line-height: 1; color: #fff3cf; }
.ei-ledger > .ei-stat--accounts::after { content: "\f4cf"; }
.ei-ledger > .ei-stat--characters::after { content: "\f4d2"; }
.ei-ledger > .ei-stat--guilds::after { content: "\f3cb"; }
.ei-ledger > .ei-stat--players_24h::after { content: "\f7f6"; }
.ei-ledger > .ei-stat--offline_shops::after { content: "\f543"; }
.ei-ledger > .ei-stat--uptime::after { content: "\f66b"; }
.ei-ledger dd { grid-area: num; line-height: 1.05; }
.ei-ledger dt { grid-area: lab; margin-top: .1rem; }
@media (min-width: 992px) {
  .ei-ledger { max-width: 1240px; padding-bottom: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
}
@media (max-width: 991.98px) {
  .ei-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; background: none; padding-bottom: 6px; }
  .ei-ledger > div, .ei-ledger > div:nth-child(3n + 1), .ei-ledger > div:nth-child(n + 4) { border-top: 1px solid transparent; border-left: 1px solid transparent; grid-column: auto; }
  .ei-ledger > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ei-ledger > div:last-child:nth-child(3n + 2), .ei-ledger > div:last-child:nth-child(3n + 1), .ei-ledger > div:nth-last-child(2):nth-child(3n + 1) { grid-column: auto; }
  .ei-ledger > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ei-ledger dd { font-size: 1.5rem; }
}

/* ---------- pagina „Descarcă” ---------- */
.ei-dl-hero { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 1rem; }
.ei-dl-meta { display: inline-flex; align-items: center; gap: .5rem; font: italic 500 1.1rem/1.2 var(--ei-font-accent); color: var(--ei-text-2); }
.ei-dl-meta i { color: var(--ei-gold); font-style: normal; }
/* pașii: romburi legate de un fir de aur prin care trece un fulger */
.steps-row { position: relative; }
.step { position: relative; border-left: 0 !important; padding: .6rem .5rem 1rem; }
.step-num { width: 64px; height: 64px; }
.step-num i { position: absolute; right: -6px; bottom: -4px; display: grid; place-items: center; width: 24px; height: 24px; font-size: .78rem; color: #fff3cf; background: #9b141d; border: 1px solid #f6e2a8; border-radius: 50%; box-shadow: 0 0 10px rgba(255, 46, 30, .6); font-style: normal; }
.step h3 { color: var(--ei-gold-100); }
@media (min-width: 576px) {
  .steps-row::before { content: ""; position: absolute; left: 17%; right: 17%; top: calc(.6rem + 32px); height: 1px; background: linear-gradient(90deg, rgba(232, 201, 127, 0), #e8c97f 15%, #e8c97f 85%, rgba(232, 201, 127, 0)); }
  .steps-row::after { content: ""; position: absolute; left: 17%; top: calc(.6rem + 31px); width: 16%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 60, 40, 0), #ffd2c4 60%, #fff); box-shadow: 0 0 10px #ff3b2a; opacity: 0; }
  .steps-row > * { position: relative; z-index: 1; }
}
@media (min-width: 576px) and (prefers-reduced-motion: no-preference) {
  .steps-row::after { animation: ei-step-bolt 3.6s ease-in-out infinite; }
}
@keyframes ei-step-bolt { 0% { opacity: 0; translate: 0 0; } 10% { opacity: 1; } 55% { opacity: 1; translate: 330% 0; } 62%, 100% { opacity: 0; translate: 330% 0; } }
/* legăturile de descărcare: plăci de joc */
.e2-dl-link { position: relative; overflow: hidden; isolation: isolate; border-radius: 6px; border: 1px solid transparent; min-height: 84px; padding: 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(26, 19, 14, .9), rgba(9, 7, 6, .95)) padding-box, linear-gradient(135deg, rgba(246, 226, 168, .6), rgba(217, 181, 106, .15) 50%, rgba(209, 36, 47, .45)) border-box; }
.e2-dl-link > i:first-child { display: grid; place-items: center; width: 48px; height: 48px; font-size: 1.35rem; color: #fff3cf; position: relative; z-index: 0; }
.e2-dl-link > i:first-child::after { content: ""; position: absolute; inset: 6px; z-index: -1; rotate: 45deg; border: 1px solid rgba(246, 226, 168, .75); background: linear-gradient(180deg, #9b141d, #4a0a0f); box-shadow: 0 0 16px rgba(255, 46, 30, .35); }
.e2-dl-link strong { font-family: var(--ei-font-display); letter-spacing: .06em; }
.e2-dl-link .go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ei-hair); color: var(--ei-gold-200); }
.e2-dl-link::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, rgba(255, 236, 190, 0), rgba(255, 236, 190, .12), rgba(255, 236, 190, 0)); translate: -120% 0; transition: translate .7s ease; }
.e2-dl-link:hover { translate: 0 -2px; background: linear-gradient(180deg, rgba(40, 22, 16, .92), rgba(12, 8, 7, .96)) padding-box, linear-gradient(135deg, #f6e2a8, rgba(217, 181, 106, .3) 50%, #d1242f) border-box; box-shadow: 0 14px 30px rgba(0, 0, 0, .55), 0 0 24px rgba(255, 50, 30, .2); transform: none; }
.e2-dl-link:hover::before { translate: 300% 0; }
.e2-dl-link:hover .go { color: #2a1704; background: var(--ei-grad-gold); border-color: #fff3cf; transform: none; }
/* cerințele: plăci mici cu bifă */
.e2-req { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem; }
.e2-req li { padding: .7rem .9rem .7rem 2.6rem; border-radius: 6px; border: 1px solid rgba(217, 181, 106, .2); background: rgba(10, 8, 7, .6); color: var(--ei-text); }
.e2-req li::before { left: .9rem; top: 50%; width: 18px; height: 18px; translate: 0 -50%; rotate: 0deg; transform: none; border-radius: 50%; background: #1d4a2f; border: 1px solid #58d68d;
  -webkit-mask: none; box-shadow: 0 0 10px rgba(88, 214, 141, .35); }
.e2-req li::after { content: ""; position: absolute; left: calc(.9rem + 6px); top: 50%; width: 6px; height: 10px; translate: 0 -62%; rotate: 45deg; border: solid #b8f5cf; border-width: 0 2px 2px 0; }
/* ==========================================================================
   90 – Calendarul de evenimente (ca fereastra din joc), nivel, task-uri,
        referral cu premiu, conectare Google / Discord
   ========================================================================== */

/* ---------- Calendar: luna în stânga, ziua aleasă în dreapta ---------- */
.gc {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--ei-line-strong);
  border-radius: var(--ei-radius);
  background:
    linear-gradient(180deg, rgba(217, 181, 106, .06), transparent 120px),
    var(--ei-grad-panel);
  box-shadow: var(--ei-shadow), inset 0 0 0 1px rgba(0, 0, 0, .6);
}
.gc-month, .gc-day {
  border: 1px solid var(--ei-line);
  border-radius: var(--ei-radius-sm);
  background: rgba(0, 0, 0, .35);
  padding: 12px;
  min-width: 0;
}
.gc-head {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.gc-title {
  margin: 0;
  text-align: center;
  font-family: var(--ei-font-display);
  font-size: 1.05rem;
  color: var(--ei-gold-200);
  letter-spacing: .02em;
}
.gc-arrow, .gc-today-btn {
  border: 1px solid var(--ei-line-strong);
  background: linear-gradient(180deg, #2a2119, #140f0b);
  color: var(--ei-gold-200);
  border-radius: var(--ei-radius-sm);
  height: 34px;
  line-height: 1;
}
.gc-arrow { width: 34px; display: grid; place-items: center; }
.gc-today-btn { padding: 0 14px; font-weight: 600; }
.gc-arrow:hover, .gc-today-btn:hover { border-color: var(--ei-gold); color: #fff; }
.gc-arrow:focus-visible, .gc-today-btn:focus-visible, .gc-cell:focus-visible, .gc-filter button:focus-visible {
  outline: 2px solid var(--ei-gold-300);
  outline-offset: 2px;
}
.gc-weekdays, .gc-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.gc-weekdays span {
  text-align: center;
  font-size: .82rem;
  color: var(--ei-text-2);
  padding: 4px 0;
  border: 1px solid var(--ei-line-soft);
  border-radius: 3px;
  background: rgba(255, 255, 255, .02);
  margin-bottom: 4px;
}
.gc-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(217, 181, 106, .16);
  border-radius: 3px;
  background: linear-gradient(180deg, #16110e, #0b0807);
  color: var(--ei-text-2);
  overflow: hidden;
  transition: border-color .15s var(--ei-ease), transform .15s var(--ei-ease);
}
.gc-cell:hover { border-color: var(--ei-line-strong); transform: translateY(-1px); }
.gc-cell.is-out { opacity: .35; }
.gc-cell.is-past .gc-icon { filter: grayscale(1) brightness(.55); }
.gc-cell.is-today { border-color: var(--ei-gold); box-shadow: inset 0 0 0 1px rgba(217, 181, 106, .45); }
.gc-cell.is-selected {
  border-color: var(--ei-gold-200);
  box-shadow: 0 0 0 1px var(--ei-gold-300), 0 0 14px rgba(232, 201, 127, .35);
}
.gc-num {
  position: absolute;
  top: 3px;
  left: 5px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ei-text);
  text-shadow: 0 1px 2px #000;
  z-index: 2;
}
.gc-count {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 20px;
  padding: 0 4px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: var(--ei-gold-100);
  background: #000;
  border: 1px solid var(--ei-gold-500);
  border-radius: 3px;
  z-index: 2;
}
.gc-icon {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 72%;
  max-width: 50px;
  height: auto;
  transform: translateX(-50%);
  image-rendering: auto;
}
.gc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid var(--ei-line-soft);
  border-radius: 3px;
  font-size: .82rem;
  color: var(--ei-text-2);
}
.gc-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.gc-legend-item .gc-count { position: static; }
.gc-legend-today {
  width: 16px;
  height: 16px;
  border: 1px solid var(--ei-gold);
  border-radius: 3px;
  background: #16110e;
}
.gc-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.gc-filter button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--ei-line);
  border-radius: 999px;
  background: transparent;
  color: var(--ei-text-2);
  font-size: .85rem;
}
.gc-filter button.active { border-color: var(--ei-gold); color: var(--ei-gold-100); background: rgba(217, 181, 106, .1); }
.gc-filter .dot { width: 8px; height: 8px; border-radius: 50%; }

.gc-day { display: flex; flex-direction: column; min-height: 0; }
.gc-day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--ei-line);
}
.gc-day-title { margin: 0; font-family: var(--ei-font-display); font-size: 1rem; color: var(--ei-gold-200); }
.gc-day-today { font-size: .82rem; color: var(--ei-gold-300); }
.gc-day-list {
  display: grid;
  gap: 8px;
  align-content: start;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: var(--ei-gold-600) transparent;
}
.gc-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--ei-line);
  border-radius: 3px;
  background: linear-gradient(180deg, #19130f, #0d0a08);
}
.gc-card-art {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ei-line-soft);
  border-radius: 3px;
  background: #050403;
  overflow: hidden;
}
.gc-card-art img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gc-card-dot { width: 14px; height: 14px; border-radius: 50%; }
.gc-card-title { margin: 0 0 4px; font-size: .98rem; font-weight: 700; color: var(--ei-gold-100); }
.gc-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.gc-chip {
  padding: 1px 9px;
  font-size: .8rem;
  color: var(--ei-text-2);
  border: 1px solid var(--ei-line);
  border-radius: 3px;
  background: rgba(0, 0, 0, .45);
}
.gc-card-text { margin: 4px 0 0; font-size: .86rem; color: var(--ei-text-2); }
.gc-empty { margin: 0; padding: 18px 6px; text-align: center; color: var(--ei-text-3); }
.gc-day-foot {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 8px 10px;
  font-size: .82rem;
  color: var(--ei-text-2);
  border: 1px solid var(--ei-line-soft);
  border-radius: 3px;
}
.gc-day-foot .bi { color: var(--ei-gold-300); }

@media (max-width: 991.98px) {
  .gc { grid-template-columns: 1fr; padding: 10px; }
  .gc-day-list { max-height: none; }
}
@media (max-width: 420px) {
  .gc-month, .gc-day { padding: 8px; }
  .gc-weekdays, .gc-grid { gap: 3px; }
  .gc-num { font-size: .7rem; top: 2px; left: 3px; }
  .gc-count { min-width: 16px; line-height: 14px; font-size: .62rem; top: 2px; right: 2px; padding: 0 2px; }
  .gc-head { grid-template-columns: auto 1fr auto; }
  .gc-today-btn { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .gc-cell { transition: none; }
  .gc-cell:hover { transform: none; }
}

/* ---------- Insigne și note de premiu ---------- */
.rw-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  font-size: .82rem;
  white-space: nowrap;
  color: var(--ei-text-2);
  border: 1px solid var(--ei-line);
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
}
.rw-badge--ok { color: var(--ei-ok); border-color: rgba(88, 214, 141, .4); }
.rw-badge--no { color: var(--ei-bad); border-color: rgba(255, 107, 107, .35); white-space: normal; }
.rw-note {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--ei-line);
  border-radius: var(--ei-radius);
  background: linear-gradient(90deg, rgba(217, 181, 106, .08), transparent 70%);
}
.rw-note.is-ready { border-color: var(--ei-gold); box-shadow: 0 0 22px rgba(217, 181, 106, .18); }
.rw-note-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--ei-gold-ink);
  background: var(--ei-grad-gold);
  border-radius: 50%;
}
.rw-rules { margin: 6px 0 0; padding-left: 1.1rem; color: var(--ei-text-2); font-size: .92rem; }

/* ---------- Nivel ---------- */
.lv-hero {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--ei-line);
  border-radius: var(--ei-radius);
  background: rgba(0, 0, 0, .3);
}
.lv-badge {
  flex: none;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid var(--ei-gold);
  border-radius: 10px;
  background: radial-gradient(circle at 50% 35%, #3a2a16, #120c07);
  box-shadow: 0 0 24px rgba(217, 181, 106, .2);
}
.lv-badge-num {
  transform: rotate(-45deg);
  font-family: var(--ei-font-display);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--ei-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lv-hero-body { flex: 1; min-width: 0; }
.lv-hero-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; margin-bottom: 8px; }
.lv-xp { color: var(--ei-text-2); white-space: nowrap; }
.lv-xp b { color: var(--ei-gold-200); font-size: 1.15rem; }
.lv-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--ei-line-soft);
  overflow: hidden;
}
.lv-bar span {
  display: block;
  height: 100%;
  background: var(--ei-grad-gold);
  box-shadow: 0 0 12px rgba(232, 201, 127, .5);
  border-radius: inherit;
}
.lv-earn { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lv-earn li { display: flex; gap: 10px; align-items: baseline; color: var(--ei-text-2); }
.lv-earn .bi { color: var(--ei-gold-300); }
.lv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lv-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--ei-line-soft);
  border-radius: var(--ei-radius-sm);
  background: rgba(0, 0, 0, .25);
}
.lv-item.is-reached { border-color: var(--ei-line); }
.lv-item-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ei-line);
  color: var(--ei-text-3);
  font-weight: 700;
}
.lv-item.is-reached .lv-item-num { color: var(--ei-gold-ink); background: var(--ei-grad-gold); border-color: transparent; }

/* ---------- Task-uri ---------- */
.tk-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.tk-count b { font-size: 1.3rem; color: var(--ei-gold-200); }
.tk-prize { display: inline-flex; gap: 6px; align-items: center; color: var(--ei-gold-300); }
.tk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tk-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--ei-line);
  border-radius: var(--ei-radius-sm);
  background: rgba(0, 0, 0, .3);
}
.tk-item.is-done { opacity: .78; }
.tk-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #fff;
  border-radius: 12px;
  background: #333;
}
.tk-item--instagram .tk-icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.tk-item--facebook .tk-icon { background: #1877f2; }
.tk-item--tiktok .tk-icon { background: #010101; box-shadow: inset 2px 0 0 #25f4ee, inset -2px 0 0 #fe2c55; }
.tk-item--youtube .tk-icon { background: #ff0033; }
.tk-item--discord .tk-icon { background: #5865f2; }
.tk-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tk-msg:empty { display: none; }
.tk-msg { color: var(--ei-warn); margin-top: 2px; }
@media (max-width: 575.98px) {
  .tk-item, .lv-item { grid-template-columns: 40px minmax(0, 1fr); }
  .tk-actions, .lv-item-action { grid-column: 1 / -1; justify-content: flex-start; }
  .lv-hero { flex-direction: column; align-items: stretch; text-align: center; }
  .lv-badge { margin: 6px auto 4px; }
  .lv-hero-top { flex-direction: column; align-items: center; }
}

/* ---------- Google / Discord ---------- */
.sa-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px;
  color: var(--ei-text-3);
  font-size: .85rem;
}
.sa-divider::before, .sa-divider::after { content: ""; flex: 1; height: 1px; background: var(--ei-line); }
.sa-buttons { display: grid; gap: 8px; }
.sa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--ei-radius-sm);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: filter .15s var(--ei-ease);
}
.sa-btn:hover { filter: brightness(1.08); }
.sa-btn:focus-visible { outline: 2px solid var(--ei-gold-300); outline-offset: 2px; }
.sa-btn--google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.sa-btn--google .bi { color: #4285f4; }
.sa-btn--discord { background: #5865f2; color: #fff; }
.sa-btn--discord:hover { color: #fff; }
.sa-list { display: grid; gap: 10px; }
.sa-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--ei-line);
  border-radius: var(--ei-radius-sm);
  background: rgba(0, 0, 0, .3);
}
.sa-row-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; font-size: 1.35rem; }
.sa-row-icon--google { background: #fff; color: #4285f4; }
.sa-row-icon--discord { background: #5865f2; color: #fff; }
@media (max-width: 575.98px) {
  .sa-row { grid-template-columns: 40px minmax(0, 1fr); }
  .sa-row > :last-child { grid-column: 1 / -1; }
}
