/* Stilurile ghidurilor, copiate din site (src/styles/pages/guides.css + guide-blocks.css). */
/* ── Guides (/guides/:slug): acordeon stanga + continut dreapta ── */
.gd-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: .75rem; align-items: start; }
@media (max-width: 900px) { .gd-layout { grid-template-columns: 1fr; } }

.gd-empty {
  border-radius: 1rem; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.35);
  padding: 2.5rem 1rem; text-align: center; color: rgba(255,255,255,.55);
}

.gd-nav {
  display: flex; flex-direction: column; gap: .5rem; position: sticky; top: 1rem; padding: .75rem;
  border-radius: 1rem; border: 1px solid transparent;
  background:
    /* fara background-attachment: fixed — animatia de intrare (transform) il strica si
       culoarea "sare" din visiniu in alta dupa animatie. */
    linear-gradient(90deg, rgba(190, 65, 40, 0.09) 0%, rgba(214, 160, 72, 0.05) 100%) padding-box,
    linear-gradient(180deg, rgba(22, 19, 22, 0.95), rgba(12, 11, 15, 0.96)) padding-box,
    linear-gradient(90deg, rgba(200, 85, 55, 0.38) 0%, rgba(214, 160, 72, 0.30) 100%) border-box;
  box-shadow: 0 0 0 1px rgba(0,0,0,.55), 0 24px 60px -24px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,225,160,.06);
}

@media (max-width: 900px) { .gd-nav { position: static; } }

.gd-cat {
  border-radius: .85rem; overflow: hidden; border: 1px solid rgba(0,0,0,.6);
  background: linear-gradient(180deg, rgba(28,23,24,.95), rgba(14,12,15,.96));
  box-shadow: 0 8px 20px -14px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,225,160,.05);
  transition: border-color .2s ease;
}
.gd-cat.is-active, .gd-cat:hover { border-color: rgba(214,160,72,.35); }

.gd-cat__head {
  width: 100%; display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem;
  text-align: left; cursor: pointer; background: none; border: 0; color: inherit;
}
.gd-cat__icon {
  flex: none; width: 38px; height: 38px; border-radius: .6rem; display: grid; place-items: center;
  color: #f0c060; background: radial-gradient(circle at 30% 25%, rgba(240,192,96,.22), rgba(120,60,30,.18));
  border: 1px solid rgba(240,192,96,.22);
}
.gd-cat__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gd-cat__title { color: #f3e6cc; font-weight: 700; font-size: .92rem; line-height: 1.2; }
.gd-cat__sub {
  margin-top: 2px; color: rgba(201,168,118,.65); font-size: .66rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gd-cat__chev { flex: none; color: rgba(255,255,255,.45); transition: transform .2s ease; }
.gd-cat.is-open .gd-cat__chev { transform: rotate(180deg); color: #f0c060; }

.gd-cat__pages {
  list-style: none; margin: 0; padding: .3rem .55rem .6rem;
  border-top: 1px solid rgba(255,255,255,.05); display: flex; flex-direction: column; gap: 2px;
}
.gd-link {
  display: block; padding: .45rem .7rem .45rem 1.1rem; border-radius: .5rem; position: relative;
  color: rgba(255,255,255,.62); font-size: .85rem; transition: background .15s, color .15s;
}
.gd-link::before {
  content: ""; position: absolute; left: .45rem; top: 50%; width: 4px; height: 4px; margin-top: -2px;
  border-radius: 50%; background: rgba(201,168,118,.45);
}
.gd-link:hover { color: #fff; background: rgba(255,255,255,.04); }
.gd-link.is-active { color: #f0c060; background: rgba(240,192,96,.09); font-weight: 600; }
.gd-link.is-active::before { background: #f0c060; box-shadow: 0 0 6px rgba(240,192,96,.8); }

.gd-card {
  border-radius: 1rem; border: 1px solid transparent; overflow: hidden; min-height: 520px;
  background:
    linear-gradient(90deg, rgba(214, 160, 72, 0.05) 0%, rgba(150, 70, 230, 0.13) 100%) padding-box,
    linear-gradient(180deg, rgba(22, 19, 22, 0.95), rgba(12, 11, 15, 0.96)) padding-box,
    linear-gradient(90deg, rgba(214, 160, 72, 0.30) 0%, rgba(165, 95, 245, 0.6) 100%) border-box;
  box-shadow: 0 0 0 1px rgba(0,0,0,.55), 0 24px 60px -24px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,225,160,.06);
  transition: opacity .2s ease;
}
.gd-card.is-fetching { opacity: .6; }
.gd-card--loading { min-height: 320px; }
.gd-card--empty { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 3rem 1rem; color: rgba(255,255,255,.5); }
.gd-card__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.4rem; border-bottom: 1px solid rgba(214,160,72,.15); background: rgba(0,0,0,.2);
}
.gd-card__title { margin: 0; color: #f0c060; font-size: 1.25rem; font-weight: 800; letter-spacing: .02em; }
.gd-card__date { color: rgba(255,255,255,.4); font-size: .72rem; }
.gd-card__banner { display: block; width: 100%; max-height: 340px; object-fit: cover; border-bottom: 1px solid rgba(0,0,0,.6); }

.gd-content { padding: 1.25rem 1.4rem 1.6rem; color: rgba(255,255,255,.78); line-height: 1.7; }

/* Stiluri implicite pentru HTML-ul din AdminCP (specificitate 0 → clasele/inline-urile lor castiga) */
.gd-content.custom-page-html :where(h1, h2, h3, h4) { color: #f0c060; font-weight: 700; margin: 1.2em 0 .5em; line-height: 1.25; }
.gd-content.custom-page-html :where(h1) { font-size: 1.6rem; }
.gd-content.custom-page-html :where(h2) { font-size: 1.3rem; }
.gd-content.custom-page-html :where(h3) { font-size: 1.1rem; }
.gd-content.custom-page-html :where(p) { margin: .6em 0; }
.gd-content.custom-page-html :where(a) { color: #c9a876; text-decoration: underline; }
.gd-content.custom-page-html :where(b, strong) { color: #fff; }
.gd-content.custom-page-html :where(ul, ol) { margin: .6em 0; padding-left: 1.4em; }
.gd-content.custom-page-html :where(ul) { list-style: disc; }
.gd-content.custom-page-html :where(ol) { list-style: decimal; }
.gd-content.custom-page-html :where(img) { max-width: 100%; height: auto; border-radius: .6rem; }
.gd-content :where(table) {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 1em 0; font-size: .9rem;
  border: 1px solid rgba(214,160,72,.18); border-radius: .7rem; overflow: hidden;
}
.gd-content :where(th) {
  text-align: left; padding: .6rem .85rem; color: #f0c060; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(214,160,72,.08); border-bottom: 1px solid rgba(214,160,72,.18);
}
.gd-content :where(td) { padding: .55rem .85rem; border-top: 1px solid rgba(255,255,255,.05); }
.gd-content :where(tbody tr:nth-child(even) td) { background: rgba(255,255,255,.02); }
.gd-content :where(tbody tr:hover td) { background: rgba(240,192,96,.05); }

/* Icon SVG inline (AdminCP → Guides): se scaleaza in cutie; fill/stroke="currentColor" ia auriul */
.gd-svg-icon { display: inline-grid; place-items: center; line-height: 0; }
.gd-svg-icon svg { width: 100%; height: 100%; display: block; }

/* Icon propriu (SVG / imagine): fara cutia patrata, mai mare */
.gd-cat__icon--custom {
  width: 48px; height: 48px; border: 0; border-radius: 0; background: none;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.6));
}
.gd-cat__icon--custom img, .gd-cat__icon--custom .gd-svg-icon { width: 48px !important; height: 48px !important; }

/* Schimbarea ghidului / paginii legale: doar continutul apare lin, meniul ramane pe loc */
.gd-fade { animation: gd-fade-in .28s ease-out both; }
@keyframes gd-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gd-fade { animation: none; } }

/* ---------- Preloader ghiduri (prima incarcare, pana vin imaginile) ---------- */
.gd-card { position: relative; }
.gd-card--loading, .gd-card.is-preloading { min-height: 520px; }
.gd-card.is-preloading > :not(.gd-preloader) { opacity: 0; pointer-events: none; }
.gd-preloader {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center;
  animation: gd-pre-in .25s ease-out both;
}
.gd-preloader__ring, .gd-preloader__core { grid-area: 1 / 1; border-radius: 50%; }
.gd-preloader__ring {
  width: 54px; height: 54px;
  border: 3px solid rgba(214,160,72,.14); border-top-color: #f0c060; border-right-color: rgba(165,95,245,.75);
  box-shadow: 0 0 22px rgba(240,192,96,.18);
  animation: gd-pre-spin .9s linear infinite;
}
.gd-preloader__core {
  width: 12px; height: 12px; background: #f0c060; box-shadow: 0 0 14px rgba(240,192,96,.9);
  animation: gd-pre-pulse 1.2s ease-in-out infinite;
}
@keyframes gd-pre-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes gd-pre-spin { to { transform: rotate(360deg); } }
@keyframes gd-pre-pulse { 0%,100% { transform: scale(.7); opacity: .6; } 50% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gd-preloader__ring, .gd-preloader__core { animation-duration: 2.4s; } }

/* ──────────────────────────────────────────────────────────────────────────
   Blocuri pentru continutul ghidurilor (HTML scris in AdminCP → Guides).
   In HTML-ul ghidului se folosesc DOAR aceste clase — fara <style> sau inline.

   g-hero        banner cu titlu + imagine (g-hero__kicker, __title, __text, __img)
   g-tags/g-tag  etichete mici
   g-grid        grila de carduri (g-grid--2, g-grid--3)
   g-card        card simplu (g-card__title, g-card__sub, g-card__badge)
   g-box         cutie (g-box--good, --bad, --info) cu g-box__title
   g-tip         caseta aurie de sfat
   g-title       subtitlu de sectiune cu linie
   g-hl          text evidentiat auriu
   ────────────────────────────────────────────────────────────────────────── */

.gd-content .g-hero {
  position: relative; display: flex; align-items: center; min-height: 220px; overflow: hidden;
  margin-bottom: 1.5rem; border-radius: 16px; border: 1px solid rgba(214,160,72,.2);
  background:
    radial-gradient(120% 140% at 85% 30%, rgba(190,65,40,.28), transparent 55%),
    linear-gradient(135deg, rgba(30,22,20,.95), rgba(12,11,15,.95));
}
.gd-content .g-hero__body { position: relative; z-index: 2; max-width: 60%; padding: 1.75rem; }
.gd-content .g-hero__kicker { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #c9a876; }
.gd-content .g-hero__title {
  margin: .35rem 0 .5rem; font-size: 2.1rem; font-weight: 900; line-height: 1.05;
  background: linear-gradient(180deg, #fff3c4, #f0c060 55%, #b9822f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gd-content .g-hero__text { margin: 0; line-height: 1.6; }
.gd-content .g-hero__img {
  position: absolute; right: 0; bottom: 0; z-index: 1; height: 100%; max-height: 260px; border-radius: 0;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.8));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}

.gd-content .g-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .9rem; }
.gd-content .g-tag {
  padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #f3e6cc;
  background: rgba(240,192,96,.10); border: 1px solid rgba(240,192,96,.28);
}

.gd-content .g-title { display: flex; align-items: center; gap: .65rem; margin: 1.75rem 0 .75rem; }
.gd-content .g-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(214,160,72,.25), transparent); }

.gd-content .g-grid { display: grid; gap: .65rem; margin: .75rem 0; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.gd-content .g-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gd-content .g-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gd-content .g-card { position: relative; padding: .85rem 1rem; border-radius: 12px; border: 1px solid rgba(214,160,72,.18); background: rgba(0,0,0,.3); }
.gd-content .g-card__title { display: block; color: #fff; font-weight: 700; }
.gd-content .g-card__sub { font-size: .78rem; color: rgba(255,255,255,.5); }
.gd-content .g-card__badge { position: absolute; top: .6rem; right: .75rem; font-size: 10px; font-weight: 800; color: #f0c060; opacity: .85; }

.gd-content .g-box { padding: .9rem 1rem; border-radius: 12px; border: 1px solid rgba(214,160,72,.18); background: rgba(0,0,0,.25); }
.gd-content .g-box__title { display: block; margin-bottom: .35rem; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #f0c060; }
.gd-content .g-box ul { margin: 0; }
.gd-content .g-box--good { border-color: rgba(52,211,153,.3); background: rgba(52,211,153,.06); }
.gd-content .g-box--good .g-box__title { color: #6ee7b7; }
.gd-content .g-box--bad { border-color: rgba(248,113,113,.3); background: rgba(248,113,113,.06); }
.gd-content .g-box--bad .g-box__title { color: #fca5a5; }
.gd-content .g-box--info { border-color: rgba(96,165,250,.3); background: rgba(96,165,250,.06); }
.gd-content .g-box--info .g-box__title { color: #93c5fd; }

.gd-content .g-tip { margin: 1.25rem 0 0; padding: .8rem 1rem; border-radius: 12px; border: 1px solid rgba(240,192,96,.35); background: rgba(240,192,96,.08); }
.gd-content .g-tip b:first-child { color: #f0c060; }

.gd-content .g-hl { color: #f0c060; font-weight: 700; }

@media (max-width: 700px) {
  .gd-content .g-hero__body { max-width: 100%; padding: 1.25rem; }
  .gd-content .g-hero__img { opacity: .35; }
  .gd-content .g-hero__title { font-size: 1.65rem; }
  .gd-content .g-grid--2, .gd-content .g-grid--3 { grid-template-columns: 1fr; }
}

/* Ghidurile cu banner (g-hero) au deja titlul in banner → ascundem bara de titlu de deasupra */
.gd-card:has(.g-hero) .gd-card__head { display: none; }

/* ── Pachete VIP (g-vip): carduri cu imagine sus, lista de beneficii, pret jos ──
   <div class="g-vip"> <div class="g-vip__card [g-vip__card--best]"> … </div> </div> */
.gd-content .g-vip { display: grid; gap: .9rem; margin: 1rem 0; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.gd-content .g-vip__card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px;
  border: 1px solid rgba(214,160,72,.18); background: linear-gradient(180deg, rgba(24,20,22,.95), rgba(12,11,15,.95));
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.9); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gd-content .g-vip__card:hover { transform: translateY(-3px); border-color: rgba(240,192,96,.45); box-shadow: 0 18px 36px -16px rgba(240,192,96,.25); }
.gd-content .g-vip__card--best { border-color: rgba(240,192,96,.5); box-shadow: 0 0 0 1px rgba(240,192,96,.15), 0 18px 36px -16px rgba(240,192,96,.3); }
.gd-content .g-vip__ribbon {
  position: absolute; top: 10px; right: 10px; z-index: 2; padding: 2px 9px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #1a1206; background: linear-gradient(180deg, #f3d488, #c9952f);
}
.gd-content .g-vip__media {
  display: grid; place-items: center; height: 140px;
  background: radial-gradient(60% 70% at 50% 55%, rgba(240,150,60,.18), transparent 70%), rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.gd-content .g-vip__media img { max-height: 110px; width: auto; border-radius: 0; filter: drop-shadow(0 8px 16px rgba(0,0,0,.7)); }
.gd-content .g-vip__name { margin: 1rem 0 .4rem; text-align: center; font-size: .95rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #f0a040; }
.gd-content .g-vip__list { list-style: none !important; margin: 0; padding: 0 1rem !important; flex: 1; }
.gd-content .g-vip__list li {
  display: flex; justify-content: space-between; gap: .75rem; padding: .42rem 0;
  font-size: .82rem; border-bottom: 1px dashed rgba(255,255,255,.06);
}
.gd-content .g-vip__list li:last-child { border-bottom: 0; }
.gd-content .g-vip__list li span { color: rgba(255,255,255,.55); }
.gd-content .g-vip__list li b { color: #6ee7a0; font-weight: 700; white-space: nowrap; }
.gd-content .g-vip__list li.is-off b { color: rgba(255,255,255,.35); }
.gd-content .g-vip__price {
  margin: .75rem 1rem 1rem; padding: .55rem; border-radius: 10px; text-align: center;
  font-size: .95rem; font-weight: 900; letter-spacing: .04em; color: #ff6b5b;
  background: rgba(255,90,70,.08); border: 1px solid rgba(255,90,70,.25);
}

/* ── Tabel comparativ VIP (g-vtable): header cu imagine, nume si pret per pachet ──
   <table class="g-vtable"> … <th class="g-vtable__pkg [is-best]"> … </th> … <td class="is-on|is-off"> */
.gd-content .g-vtable {
  width: 100%; margin: 1rem 0; border-collapse: separate; border-spacing: 0; table-layout: fixed;
  border: 1px solid rgba(214,160,72,.22); border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, rgba(24,20,22,.95), rgba(12,11,15,.95));
}
.gd-content .g-vtable th, .gd-content .g-vtable td { text-align: center; vertical-align: middle; }
.gd-content .g-vtable thead th {
  padding: 1rem .5rem .9rem; border-bottom: 1px solid rgba(214,160,72,.25);
  background: radial-gradient(70% 80% at 50% 30%, rgba(240,150,60,.16), transparent 70%), rgba(0,0,0,.35);
  text-transform: none; letter-spacing: normal;
}
.gd-content .g-vtable thead th:first-child {
  text-align: left; padding-left: 1.1rem; width: 30%;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #c9a876;
}
.gd-content .g-vtable__pkg img { display: block; margin: 0 auto .5rem; height: 64px; width: auto; border-radius: 0; filter: drop-shadow(0 6px 12px rgba(0,0,0,.7)); }
.gd-content .g-vtable__name { display: block; font-size: .85rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #f0a040; }
.gd-content .g-vtable__price {
  display: inline-block; margin-top: .45rem; padding: 2px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 800; color: #ff7b6b; background: rgba(255,90,70,.1); border: 1px solid rgba(255,90,70,.3);
}
.gd-content .g-vtable__pkg.is-best { background: radial-gradient(70% 80% at 50% 30%, rgba(240,192,96,.28), transparent 70%), rgba(240,192,96,.06); }
.gd-content .g-vtable__pkg.is-best .g-vtable__name { color: #f0c060; }
.gd-content .g-vtable__ribbon {
  display: inline-block; margin-bottom: .35rem; padding: 1px 8px; border-radius: 999px;
  font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #1a1206;
  background: linear-gradient(180deg, #f3d488, #c9952f);
}
.gd-content .g-vtable tbody td { padding: .6rem .5rem; font-size: .85rem; border-top: 1px solid rgba(255,255,255,.05); }
.gd-content .g-vtable tbody td:first-child { text-align: left; padding-left: 1.1rem; color: rgba(255,255,255,.7); font-weight: 600; }
.gd-content .g-vtable tbody tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.gd-content .g-vtable tbody tr:hover td { background: rgba(240,192,96,.06); }
.gd-content .g-vtable td.is-on { color: #6ee7a0; font-weight: 700; }
.gd-content .g-vtable td.is-off { color: rgba(255,255,255,.35); }
.gd-content .g-vtable td.is-best-col, .gd-content .g-vtable tbody tr:nth-child(even) td.is-best-col { background: rgba(240,192,96,.05); }
@media (max-width: 640px) {
  .gd-content .g-vtable { table-layout: auto; font-size: .78rem; }
  .gd-content .g-vtable__pkg img { height: 40px; }
  .gd-content .g-vtable thead th:first-child { width: auto; }
}
/* numele si preturile pachetelor pe aceeasi linie, chiar daca unul are ribbon */
.gd-content .g-vtable thead th.g-vtable__pkg { vertical-align: bottom; }
/* coloana "Default" (fara VIP): nume gri, pret verde */
.gd-content .g-vtable__pkg.is-default .g-vtable__name { color: rgba(255,255,255,.7); }
.gd-content .g-vtable__price--free { color: #6ee7a0; background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.3); }
.gd-content .g-vtable td.is-default-col { color: rgba(255,255,255,.6); }

/* ── Tab-uri fara JavaScript (g-stages) ─────────────────────────────────────
   Bara: <a class="g-stages__tab g-stages__tab--1" href="#stage-1">Stage 1</a> ...
   Panouri: <section class="g-stage" id="stage-1"> ... </section>
   Merge prin :target (link-ul #stage-N); fara hash se vede Stage 1. Suporta 1–8 tab-uri. */
.gd-content .g-stages__bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%;
  margin: 1rem auto 1.5rem; padding: 5px; border-radius: 14px; border: 1px solid rgba(214,160,72,.18);
  background: linear-gradient(180deg, rgba(10,9,12,.85), rgba(20,16,18,.85));
  box-shadow: inset 0 1px 0 rgba(255,225,160,.05), 0 10px 24px -16px rgba(0,0,0,.9);
}
.gd-content .g-stages__tab {
  position: relative; display: inline-flex; align-items: center; padding: .55rem 1.1rem; border-radius: 10px;
  border: 1px solid transparent; white-space: nowrap; text-decoration: none !important;
  font-size: .8rem; font-weight: 700; letter-spacing: .03em; color: rgba(255,255,255,.55) !important;
  transition: color .15s, background .15s, border-color .15s;
}
.gd-content .g-stages__tab:hover { color: #f3e6cc !important; background: rgba(255,255,255,.04); }
.gd-content .g-stage { display: none; scroll-margin-top: 110px; }
.gd-content .g-stage:target { display: block; animation: gd-fade-in .25s ease-out both; }
/* fara tab ales → primul panou */
.gd-content .g-stages:not(:has(.g-stage:target)) .g-stage:first-of-type { display: block; }
.gd-content .g-stages:not(:has(.g-stage:target)) .g-stages__tab--1,
.gd-content .g-stages:has(#stage-1:target) .g-stages__tab--1,
.gd-content .g-stages:has(#stage-2:target) .g-stages__tab--2,
.gd-content .g-stages:has(#stage-3:target) .g-stages__tab--3,
.gd-content .g-stages:has(#stage-4:target) .g-stages__tab--4,
.gd-content .g-stages:has(#stage-5:target) .g-stages__tab--5,
.gd-content .g-stages:has(#stage-6:target) .g-stages__tab--6,
.gd-content .g-stages:has(#stage-7:target) .g-stages__tab--7,
.gd-content .g-stages:has(#stage-8:target) .g-stages__tab--8 {
  color: #f0c060 !important; border-color: rgba(240,192,96,.35);
  background: linear-gradient(180deg, rgba(240,192,96,.16), rgba(240,192,96,.04));
  box-shadow: inset 0 1px 0 rgba(255,225,160,.12), 0 0 14px -4px rgba(240,192,96,.35);
}
.gd-content .g-stages:not(:has(.g-stage:target)) .g-stages__tab--1::after,
.gd-content .g-stages:has(#stage-1:target) .g-stages__tab--1::after,
.gd-content .g-stages:has(#stage-2:target) .g-stages__tab--2::after,
.gd-content .g-stages:has(#stage-3:target) .g-stages__tab--3::after,
.gd-content .g-stages:has(#stage-4:target) .g-stages__tab--4::after,
.gd-content .g-stages:has(#stage-5:target) .g-stages__tab--5::after,
.gd-content .g-stages:has(#stage-6:target) .g-stages__tab--6::after,
.gd-content .g-stages:has(#stage-7:target) .g-stages__tab--7::after,
.gd-content .g-stages:has(#stage-8:target) .g-stages__tab--8::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #f0c060, transparent);
}
@media (max-width: 640px) {
  .gd-content .g-stages__bar { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .gd-content .g-stages__tab { justify-content: center; }
}

/* Lista de monstri / invazii: grupuri cu titlu + rand "nume · harta · numar" */
.gd-content .g-mobs { display: grid; gap: .65rem; margin: .75rem 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gd-content .g-mobs__group { padding: .8rem 1rem; border-radius: 12px; border: 1px solid rgba(214,160,72,.18); background: rgba(0,0,0,.28); }
.gd-content .g-mobs__title { display: block; margin-bottom: .45rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #f0c060; }
.gd-content .g-mobs__row { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; font-size: .85rem; border-top: 1px dashed rgba(255,255,255,.06); }
.gd-content .g-mobs__row:first-of-type { border-top: 0; }
.gd-content .g-mobs__name { flex: 1; color: #fff; font-weight: 600; }
.gd-content .g-mobs__map { color: rgba(255,255,255,.5); font-size: .78rem; }
.gd-content .g-mobs__count { min-width: 2.4rem; text-align: center; padding: 1px 8px; border-radius: 999px; font-size: .75rem; font-weight: 800; color: #6ee7a0; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.25); }

/* ── Carduri de monstri cu imagine (g-monsters) ──
   <div class="g-monsters"><div class="g-monster [g-monster--d1..d4]"> media + nume + chips </div></div> */
.gd-content .g-monsters { display: grid; gap: .75rem; margin: 1rem 0; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); }
.gd-content .g-monster {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px;
  border: 1px solid rgba(214,160,72,.18); background: linear-gradient(180deg, rgba(24,20,22,.95), rgba(12,11,15,.95));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gd-content .g-monster:hover { transform: translateY(-3px); border-color: rgba(240,192,96,.45); box-shadow: 0 16px 30px -16px rgba(240,192,96,.3); }
.gd-content .g-monster__media {
  display: grid; place-items: center; height: 130px; padding: .5rem;
  background: radial-gradient(55% 60% at 50% 60%, rgba(190,65,40,.22), transparent 70%), rgba(0,0,0,.3);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.gd-content .g-monster__media img {
  max-height: 115px; max-width: 100%; width: auto; border-radius: 0;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.8)); transition: transform .25s ease;
}
.gd-content .g-monster:hover .g-monster__media img { transform: scale(1.08); }
.gd-content .g-monster__body { padding: .6rem .7rem .75rem; text-align: center; }
.gd-content .g-monster__name { display: block; color: #fff; font-weight: 800; font-size: .88rem; line-height: 1.2; }
.gd-content .g-monster__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: .45rem; }
.gd-content .g-monster__chip {
  padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 700; color: #f3e6cc;
  background: rgba(240,192,96,.10); border: 1px solid rgba(240,192,96,.25);
}
.gd-content .g-monster__chip--hp { color: #fca5a5; background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.25); }
/* bara de dificultate jos (d1 usor → d4 greu) */
.gd-content .g-monster::after { content: ""; height: 3px; margin-top: auto; background: #34d399; }
.gd-content .g-monster--d2::after { background: #a3e635; }
.gd-content .g-monster--d3::after { background: #f59e0b; }
.gd-content .g-monster--d4::after { background: #ef4444; }

/* Harta mare (g-map) */
.gd-content .g-map { margin: 1rem 0; padding: 1rem; border-radius: 16px; text-align: center;
  border: 1px solid rgba(214,160,72,.18); background: radial-gradient(60% 60% at 50% 50%, rgba(60,120,180,.12), transparent 70%), rgba(0,0,0,.3); }
.gd-content .g-map img { max-width: 100%; max-height: 520px; width: auto; border-radius: 0; filter: drop-shadow(0 18px 30px rgba(0,0,0,.8)); }
.gd-content .g-map figcaption { margin-top: .5rem; font-size: .78rem; color: rgba(255,255,255,.45); }

/* ── Portrete de clasa in rama aurie (g-classes) ──
   <div class="g-classes"><div class="g-class"><div class="g-class__frame">
     <div class="g-class__media"><img></div><div class="g-class__body">…</div></div></div></div> */
.gd-content .g-classes { display: grid; gap: 1rem; margin: 1rem 0; grid-template-columns: repeat(auto-fill, minmax(170px, 190px)); justify-content: start; }
.gd-content .g-class {
  position: relative; padding: 2px; border-radius: 16px;
  background: linear-gradient(160deg, #f6dc94 0%, #9a6a28 30%, #3a2814 55%, #b9822f 80%, #f3d488 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.7), 0 16px 34px -18px rgba(0,0,0,.95);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gd-content .g-class:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(0,0,0,.7), 0 0 22px -4px rgba(240,192,96,.45), 0 20px 40px -18px rgba(0,0,0,.95); }
/* ornamente in colturi */
.gd-content .g-class::before, .gd-content .g-class::after {
  content: ""; position: absolute; z-index: 2; width: 12px; height: 12px; top: -4px; transform: rotate(45deg);
  background: linear-gradient(135deg, #fff1c2, #c9952f); border: 1px solid rgba(0,0,0,.6); box-shadow: 0 0 8px rgba(240,192,96,.6);
}
.gd-content .g-class::before { left: 50%; margin-left: -6px; }
.gd-content .g-class::after { top: auto; bottom: -4px; left: 50%; margin-left: -6px; }
.gd-content .g-class__frame {
  position: relative; height: 100%; overflow: hidden; border-radius: 14px;
  background: radial-gradient(70% 55% at 50% 38%, rgba(240,150,60,.22), transparent 70%), linear-gradient(180deg, #1a1416, #0b0a0d);
  box-shadow: inset 0 0 0 1px rgba(255,225,160,.12), inset 0 0 30px rgba(0,0,0,.8);
}
.gd-content .g-class__media { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 150px; padding-top: .6rem; }
.gd-content .g-class__media::after {
  content: ""; position: absolute; left: 15%; right: 15%; bottom: 6px; height: 14px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240,192,96,.35), transparent);
}
.gd-content .g-class__media img {
  position: relative; z-index: 1; max-height: 140px; width: auto; max-width: 100%; border-radius: 0;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.85)); transition: transform .3s ease;
}
.gd-content .g-class:hover .g-class__media img { transform: scale(1.05); }
.gd-content .g-class__body { padding: .7rem .8rem .9rem; text-align: center; border-top: 1px solid rgba(240,192,96,.18); background: rgba(0,0,0,.35); }
.gd-content .g-class__name {
  display: block; font-size: .76rem; font-weight: 900; letter-spacing: .03em; white-space: nowrap; text-transform: uppercase;
  background: linear-gradient(180deg, #fff3c4, #f0c060 55%, #b9822f); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gd-content .g-class__evo { display: block; margin-top: .15rem; font-size: .78rem; color: rgba(255,255,255,.55); }
.gd-content .g-class__evo b { color: #f3e6cc; }
.gd-content .g-class__item {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .55rem; padding: 3px 10px 3px 4px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; color: #f3e6cc; background: rgba(240,192,96,.10); border: 1px solid rgba(240,192,96,.28);
}
.gd-content .g-class__item img { width: 22px; height: 22px; object-fit: contain; border-radius: 0; }

/* ── Seturi Ancient cu tooltip ca in joc (g-ancients) ──
   <div class="g-ancients"><div class="g-ancient" tabindex="0">
     <div class="g-ancient__media"><img></div><b class="g-ancient__name">…</b>
     <div class="g-ancient__parts"><img>…</div>
     <div class="g-ancient__tip">…</div></div></div> */
.gd-content .g-ancients { display: grid; gap: 1rem; margin: 1rem 0; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); }
.gd-content .g-ancient {
  position: relative; display: flex; flex-direction: column; align-items: center; padding: .8rem .6rem .9rem; border-radius: 14px;
  background: linear-gradient(180deg, #0b0a0d 0%, #000 62%, #141d2a 62%, #111926 100%);
  border: 1px solid rgba(240,192,96,.18); cursor: help; outline: none; transition: border-color .2s, transform .2s;
}
.gd-content .g-ancient:hover, .gd-content .g-ancient:focus-within { border-color: rgba(240,192,96,.55); transform: translateY(-3px); z-index: 20; }
.gd-content .g-ancient__name { order: -1; margin-bottom: .4rem; font-size: .85rem; font-weight: 800; color: #f0c060; text-align: center; }
.gd-content .g-ancient__media { display: flex; align-items: flex-end; justify-content: center; height: 200px; width: 100%; }
.gd-content .g-ancient__media img { max-height: 195px; max-width: 100%; width: auto; border-radius: 0; filter: drop-shadow(0 8px 14px rgba(0,0,0,.9)); }
.gd-content .g-ancient__parts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 1.2rem; min-height: 44px; padding: 0 .2rem; }
.gd-content .g-ancient__parts img { width: 46px; height: 46px; object-fit: cover; border-radius: 0; }
.gd-content .g-ancient__tip {
  position: absolute; left: 50%; top: 40px; width: 330px; margin-left: -165px; padding: .9rem .8rem; border-radius: 12px; text-align: center;
  background: rgba(10,22,38,.97); border: 1px solid rgba(120,160,220,.25); box-shadow: 0 18px 40px -10px rgba(0,0,0,.9);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; pointer-events: none;
}
.gd-content .g-ancient:hover .g-ancient__tip, .gd-content .g-ancient:focus-within .g-ancient__tip { opacity: 1; visibility: visible; transform: none; }
.gd-content .g-ancient__tip-title { display: block; font-weight: 800; color: #4ade80; margin-bottom: .45rem; }
.gd-content .g-ancient__tip-head { display: block; margin: .55rem 0 .2rem; font-size: .8rem; font-weight: 800; color: #f0c060; }
.gd-content .g-ancient__tip-parts { display: block; font-size: .78rem; color: #fff; line-height: 1.45; }
.gd-content .g-ancient__tip ul { list-style: none; margin: 0; padding: 0; }
.gd-content .g-ancient__tip li { margin: 0; padding: 0; font-size: .8rem; font-weight: 700; color: #4ade80; line-height: 1.5; }
.gd-content .g-ancient__tip li::before { content: none; }
@media (hover: none) {
  .gd-content .g-ancient { cursor: pointer; }
  .gd-content .g-ancient:hover, .gd-content .g-ancient:focus-within { transform: none; }
  /* pe telefon: apasi pe set -> popup in mijlocul ecranului, fundalul se intuneca */
  .gd-content .g-ancient__tip {
    position: fixed; left: 50%; top: 50%; width: min(92vw, 380px); max-height: 80vh; overflow-y: auto;
    margin: 0; transform: translate(-50%, -46%); z-index: 1000;
    box-shadow: 0 0 0 100vmax rgba(0,0,0,.65), 0 18px 40px -10px rgba(0,0,0,.9);
  }
  /* pe telefon :hover apare si la scroll -> popup-ul se deschide DOAR la tap (focus), nu la hover */
  .gd-content .g-ancient:hover .g-ancient__tip { opacity: 0; visibility: hidden; }
  .gd-content .g-ancient:hover { border-color: rgba(240,192,96,.18); }
  .gd-content .g-ancient:focus-within { border-color: rgba(240,192,96,.55); }
  .gd-content .g-ancient:focus-within .g-ancient__tip { opacity: 1; visibility: visible; transform: translate(-50%, -50%); pointer-events: auto; }
}
/* tooltip-ul de la seturi trebuie sa iasa peste marginea cardului de ghid */
@media (hover: hover) { .gd-card:has(.g-ancients) { overflow: visible !important; } }
.gd-content .g-ancient:hover, .gd-content .g-ancient:focus-within { z-index: 50 !important; }
.gd-content .g-ancient__tip { z-index: 60; }
.gd-content .g-ancient__tip li { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .gd-content .g-ancients { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .gd-content .g-ancient__media { height: 170px; }
  .gd-content .g-ancient__media img { max-height: 165px; }
  .gd-content .g-ancient__parts img { width: 38px; height: 38px; }
}
/* pe telefon continutul ghidului nu are voie sa fie mai lat decat ecranul; tabelele late fac scroll */
.gd-main { min-width: 0; }
@media (max-width: 560px) {
  .gd-content table { display: block; max-width: 100%; overflow-x: auto; }
}
/* animatia gd-fade lasa un transform pe card -> popup-ul "fixed" n-ar mai fi in mijlocul ecranului */
@media (hover: none) { .gd-card:has(.g-ancients) { transform: none !important; } }

/* ── Tab-uri cu portret de clasa (g-stages--classes) ──
   <a class="g-stages__tab g-stages__tab--1" href="#stage-1"><img src="/assets/class/small/dk.png" alt="">Dark Knight</a> */
.gd-content .g-stages--classes .g-stages__bar { gap: 8px; padding: 8px; }
.gd-content .g-stages--classes .g-stages__tab {
  flex-direction: column; justify-content: flex-end; gap: .4rem; width: 108px; padding: .6rem .4rem .55rem;
  white-space: normal; text-align: center; line-height: 1.2; font-size: .74rem;
}
.gd-content .g-stages--classes .g-stages__tab img {
  width: 72px; height: 64px; object-fit: contain; border-radius: 0; margin: 0;
  filter: grayscale(.6) brightness(.75); transition: filter .2s, transform .2s;
}
.gd-content .g-stages--classes .g-stages__tab:hover img { filter: none; transform: translateY(-2px); }
.gd-content .g-stages--classes:not(:has(.g-stage:target)) .g-stages__tab--1 img,
.gd-content .g-stages--classes:has(#stage-1:target) .g-stages__tab--1 img,
.gd-content .g-stages--classes:has(#stage-2:target) .g-stages__tab--2 img,
.gd-content .g-stages--classes:has(#stage-3:target) .g-stages__tab--3 img,
.gd-content .g-stages--classes:has(#stage-4:target) .g-stages__tab--4 img,
.gd-content .g-stages--classes:has(#stage-5:target) .g-stages__tab--5 img,
.gd-content .g-stages--classes:has(#stage-6:target) .g-stages__tab--6 img,
.gd-content .g-stages--classes:has(#stage-7:target) .g-stages__tab--7 img { filter: drop-shadow(0 0 8px rgba(240,192,96,.45)); }
@media (max-width: 640px) {
  .gd-content .g-stages--classes .g-stages__bar { display: flex; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; }
  .gd-content .g-stages--classes .g-stages__tab { flex: 0 0 92px; width: 92px; }
  .gd-content .g-stages--classes .g-stages__tab img { width: 60px; height: 54px; }
}
@media (hover: none) { .gd-content .g-stages--classes .g-stage:target { animation: none; } }
/* tab-uri de clasa: doar iconita, mici, toate pe un rand */
.gd-content .g-stages--classes .g-stages__bar { display: flex !important; flex-wrap: nowrap; gap: 6px; padding: 6px; width: fit-content; max-width: 100%; overflow-x: auto; }
.gd-content .g-stages--classes .g-stages__tab { flex: 0 0 auto; width: auto; padding: 5px; gap: 0; }
.gd-content .g-stages--classes .g-stages__tab img { width: 52px; height: 46px; }
@media (max-width: 640px) {
  .gd-content .g-stages--classes .g-stages__bar { width: 100%; justify-content: flex-start; }
  .gd-content .g-stages--classes .g-stages__bar { gap: 3px; padding: 4px; }
  .gd-content .g-stages--classes .g-stages__tab { flex: 1 1 0; min-width: 0; width: auto; padding: 3px; }
  .gd-content .g-stages--classes .g-stages__tab img { width: 100%; max-width: 40px; height: 34px; }
}

/* ── Evolutie de seturi (g-evo) si vitrina mare (g-show) ──
   <div class="g-evo"><div class="g-evo__step g-el--fire"><img><b>Fire</b><span>1 GR</span></div>…</div>
   <div class="g-show g-el--fire"><div class="g-show__from"><img><b>…</b></div><span class="g-show__arrow"></span><div class="g-show__to"><img><b>…</b></div></div> */
.gd-content .g-el--fire  { --el: 239, 68, 48; }
.gd-content .g-el--water { --el: 56, 152, 236; }
.gd-content .g-el--wind  { --el: 74, 222, 128; }
.gd-content .g-el--earth { --el: 202, 150, 72; }
.gd-content .g-el--dark  { --el: 168, 85, 247; }
.gd-content .g-el--light { --el: 250, 230, 140; }
.gd-content .g-evo { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.4rem; margin: 1.2rem 0; }
.gd-content .g-evo__step {
  position: relative; display: flex; flex-direction: column; align-items: center; padding: .9rem .4rem .8rem; border-radius: 16px; text-align: center;
  background: radial-gradient(ellipse at 50% 38%, rgba(var(--el), .32), rgba(var(--el), .06) 55%, transparent 75%), linear-gradient(180deg, #121014, #08070a);
  border: 1px solid rgba(var(--el), .35); box-shadow: 0 0 22px -10px rgba(var(--el), .7);
}
.gd-content .g-evo__step img { width: 100%; max-width: 150px; height: 150px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 10px 14px rgba(0,0,0,.85)); }
.gd-content .g-evo__step b { margin-top: .4rem; font-size: .85rem; font-weight: 800; color: rgb(var(--el)); }
.gd-content .g-evo__step span { font-size: .72rem; color: rgba(255,255,255,.55); }
.gd-content .g-evo__step:not(:last-child)::after {
  content: "›"; position: absolute; right: -1.15rem; top: 42%; font-size: 1.8rem; font-weight: 900; line-height: 1; color: #f0c060; text-shadow: 0 0 10px rgba(240,192,96,.6);
}
@media (max-width: 900px) { .gd-content .g-evo { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gd-content .g-evo__step:nth-child(3n)::after { content: none; } }
@media (max-width: 560px) { .gd-content .g-evo { gap: 1rem; } .gd-content .g-evo__step img { height: 100px; } .gd-content .g-evo__step:not(:last-child)::after { right: -.85rem; font-size: 1.3rem; } }

.gd-content .g-show {
  display: grid; grid-template-columns: 1fr auto 1.6fr; align-items: center; gap: 1rem; margin: 1rem 0 1.4rem; padding: 1.4rem; border-radius: 20px;
  background: radial-gradient(ellipse at 72% 45%, rgba(var(--el), .38), rgba(var(--el), .08) 50%, transparent 72%), linear-gradient(160deg, #141017, #070608);
  border: 1px solid rgba(var(--el), .4); box-shadow: inset 0 0 60px -30px rgba(var(--el), .8), 0 20px 40px -24px rgba(0,0,0,.9);
}
.gd-content .g-show__from, .gd-content .g-show__to { display: flex; flex-direction: column; align-items: center; text-align: center; }
.gd-content .g-show__from img { width: 100%; max-width: 170px; height: 170px; object-fit: contain; border-radius: 0; opacity: .85; filter: drop-shadow(0 8px 12px rgba(0,0,0,.8)); }
.gd-content .g-show__to img { width: 100%; max-width: 300px; height: 300px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 0 24px rgba(var(--el), .55)) drop-shadow(0 14px 18px rgba(0,0,0,.9)); }
.gd-content .g-show b { margin-top: .5rem; font-size: 1rem; font-weight: 800; color: rgb(var(--el)); }
.gd-content .g-show small { font-size: .75rem; color: rgba(255,255,255,.55); }
.gd-content .g-show__arrow { font-size: 2.6rem; font-weight: 900; color: #f0c060; text-shadow: 0 0 14px rgba(240,192,96,.7); }
.gd-content .g-show__arrow::before { content: "➜"; }
@media (max-width: 560px) {
  .gd-content .g-show { grid-template-columns: 1fr; padding: 1rem; }
  .gd-content .g-show__arrow { transform: rotate(90deg); }
  .gd-content .g-show__from img { height: 120px; }
  .gd-content .g-show__to img { height: 220px; }
}
/* vitrina cu 3 parti: set anterior + cristal -> set nou */
.gd-content .g-show--combo { grid-template-columns: 1.1fr auto .8fr auto 1.5fr; }
.gd-content .g-show--combo .g-show__from img { max-width: 190px; height: 210px; opacity: 1; }
.gd-content .g-show__gem { display: flex; flex-direction: column; align-items: center; text-align: center; }
.gd-content .g-show__gem img { width: 100%; max-width: 110px; height: 110px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 0 16px rgba(var(--el), .7)); }
.gd-content .g-show__plus { font-size: 2.2rem; font-weight: 900; color: #f0c060; text-shadow: 0 0 12px rgba(240,192,96,.6); }
.gd-content .g-show__plus::before { content: "+"; }
.gd-content .g-evo--7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.gd-content .g-el--base { --el: 200, 200, 210; }
@media (max-width: 900px) { .gd-content .g-evo--7 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gd-content .g-evo--7 .g-evo__step:nth-child(3n)::after { content: "›"; } .gd-content .g-evo--7 .g-evo__step:nth-child(4n)::after { content: none; } }
@media (max-width: 560px) {
  .gd-content .g-show--combo { grid-template-columns: 1fr auto 1fr; }
  .gd-content .g-show--combo .g-show__arrow { grid-column: 1 / -1; justify-self: center; }
  .gd-content .g-show--combo .g-show__to { grid-column: 1 / -1; }
  .gd-content .g-show--combo .g-show__from img { height: 130px; }
  .gd-content .g-show__gem img { height: 80px; }
  .gd-content .g-evo--7 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gd-content .g-evo--7 .g-evo__step:nth-child(4n)::after { content: "›"; }
  .gd-content .g-evo--7 .g-evo__step:nth-child(3n)::after { content: none; }
}
.gd-content .g-el--frost { --el: 186, 230, 253; }
.gd-content .g-el--gold  { --el: 245, 190, 60; }
.gd-content .g-evo--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .gd-content .g-evo--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gd-content .g-evo--4 .g-evo__step:nth-child(3n)::after { content: "›"; } .gd-content .g-evo--4 .g-evo__step:nth-child(2n)::after { content: none; } }
.gd-content .g-evo--4 .g-evo__step img { max-width: 220px; }

/* ── Tab-uri cu React (widget-uri din ghid, ex. Boxes) ── */
.gd-content .g-stages--js .g-stages__tab { background: none; cursor: pointer; font-family: inherit; }
.gd-content .g-stages--js .g-stages__tab.is-active {
  color: #f0c060 !important; border-color: rgba(240,192,96,.35);
  background: linear-gradient(180deg, rgba(240,192,96,.16), rgba(240,192,96,.04));
  box-shadow: inset 0 1px 0 rgba(255,225,160,.12), 0 0 14px -4px rgba(240,192,96,.35);
}
.gd-content .g-stages--js .g-stages__tab.is-active::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #f0c060, transparent);
}

/* ── Cutii (g-lootbox) ── */
.gd-content .g-lootboxes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); margin: 1rem 0; }
.gd-content .g-lootbox {
  padding: 1rem; border-radius: 14px; border: 1px solid rgba(240,192,96,.18);
  background: linear-gradient(180deg, rgba(20,16,18,.9), rgba(10,9,12,.9));
}
.gd-content .g-lootbox__head { display: flex; align-items: center; gap: .8rem; margin-bottom: .7rem; }
.gd-content .g-lootbox__head img { width: 56px; height: 56px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 0 10px rgba(240,192,96,.35)); }
.gd-content .g-lootbox__name { display: block; font-size: 1rem; font-weight: 800; color: #f0c060; }
.gd-content .g-lootbox__note { display: block; font-size: .78rem; color: rgba(255,255,255,.55); }
.gd-content .g-lootbox__group { margin-top: .55rem; }
.gd-content .g-lootbox__label { display: block; margin-bottom: .3rem; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.gd-content .g-lootbox__group .g-tags { margin: 0; }
.gd-content .g-lootbox__row-name { display: inline-flex; align-items: center; gap: .5rem; }
.gd-content .g-lootbox__row-name img { width: 34px; height: 34px; object-fit: contain; border-radius: 0; }
@media (max-width: 560px) { .gd-content .g-lootboxes { grid-template-columns: 1fr; } }

/* PVP-inspired local guide theme: charcoal, white and electric yellow. */
:root { color-scheme:dark; --guide-yellow:#f0d317; --guide-bg:#101014; --guide-line:#29292f; }
html { scroll-behavior:smooth; scroll-padding-top:24px; }
body { margin:0; background:var(--guide-bg); color:#f5f5f7; font-family:Geist,Arial,sans-serif; }
a { text-decoration:none; } button,input { font:inherit; }
[hidden],.gd-cat__pages[hidden] { display:none !important; }
:focus-visible { outline:2px solid var(--guide-yellow); outline-offset:4px; }
.skip-link { position:fixed; top:-100px; left:20px; z-index:30; padding:12px; background:var(--guide-yellow); color:#111; }
.skip-link:focus { top:12px; }
.site-header { border-bottom:1px solid var(--guide-line); background:#101014; }
.site-header__inner { max-width:1400px; margin:auto; padding:22px 40px; display:flex; align-items:center; gap:50px; }
.site-brand { display:inline-flex; align-items:center; gap:7px; font-size:26px; font-weight:900; letter-spacing:-1.5px; color:#fff; white-space:nowrap; }
.site-brand span { font-size:14px; font-weight:600; letter-spacing:2px; margin-left:6px; }.site-brand i { width:6px; height:6px; background:var(--guide-yellow); margin:12px 0 0 1px; }
.site-links { display:flex; gap:32px; font-size:13px; font-weight:600; color:#909098; }.site-links a:hover,.site-links a[aria-current] { color:#fff; }
.header-action { margin-left:auto; background:var(--guide-yellow); color:#141414; padding:11px 17px; border-radius:5px; font-size:12px; font-weight:800; }.header-action span { padding-left:15px; }.header-action:hover { background:#ffe649; }
.guide-strip { min-height:38px; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px; padding:8px 20px; color:#a3c9ba; background:linear-gradient(90deg,#162622,#19252b); font-size:10px; font-weight:700; letter-spacing:1.4px; }.status-dot { width:5px; height:5px; border-radius:50%; background:#82cfb0; }.strip-detail { font-weight:400; color:#8da99e; letter-spacing:0; margin-left:10px; }
.site-main { max-width:1400px; padding:0 40px 45px; margin:auto; }
.guide-intro { min-height:310px; display:flex; align-items:center; position:relative; overflow:hidden; border-bottom:1px solid var(--guide-line); }
.intro-copy { position:relative; z-index:2; padding:36px 0; }.eyebrow { font-size:9px; font-weight:700; letter-spacing:2.5px; color:#9c9ca6; }.guide-intro h1 { font-size:clamp(38px,4.7vw,66px); line-height:1.02; font-weight:800; letter-spacing:-2.8px; margin:15px 0 16px; }.guide-intro h1 span { color:var(--guide-yellow); }.guide-intro p { color:#9c9ca6; font-size:13px; line-height:1.7; margin:0; }
.intro-stats { display:flex; align-items:center; gap:23px; margin-top:24px; font-size:11px; color:#85858e; }.intro-stats b { color:#e8e8ec; margin-right:4px; }.intro-stat-last { border-left:1px solid #39393e; padding-left:23px; }
.intro-character { position:absolute; z-index:1; right:9%; bottom:-55px; width:330px; height:360px; object-fit:contain; filter:drop-shadow(0 0 35px #56768825); mask-image:linear-gradient(#000 65%,transparent 100%); }.intro-watermark { position:absolute; right:0; top:7px; font-size:220px; font-weight:900; line-height:1.4; letter-spacing:-18px; color:#19191e; }
.library-heading { display:flex; align-items:center; justify-content:space-between; padding:28px 0 19px; font-size:10px; font-weight:700; letter-spacing:1.8px; }.library-heading span:last-child { color:#777781; font-size:11px; font-weight:400; letter-spacing:0; }
.gd-layout { grid-template-columns:260px minmax(0,1fr); gap:28px; }.gd-nav { background:#151519; border:1px solid var(--guide-line); border-radius:8px; box-shadow:none; padding:16px 10px 10px; gap:3px; max-height:calc(100vh - 32px); overflow-y:auto; scrollbar-width:thin; }
.guide-search { display:flex; align-items:center; gap:8px; background:#101014; border:1px solid #333339; border-radius:5px; padding:9px 10px; margin:0 3px 19px; }.guide-search>span { font-size:22px; line-height:1; color:#a4a4ae; }.guide-search input { width:100%; min-width:0; background:transparent; border:0; color:#fff; font-size:12px; outline:0; }.guide-search:focus-within { border-color:var(--guide-yellow); }.guide-search kbd { font-size:10px; color:#777; border:1px solid #333; border-radius:3px; padding:0 4px; }.nav-label { margin:0 13px 12px; color:#72727e; font-size:9px; letter-spacing:1.5px; font-weight:700; }#search-empty { padding:15px; color:#aaa; font-size:12px; }
.gd-cat { border:0; background:transparent; border-radius:5px; box-shadow:none; }.gd-cat__head { padding:11px 10px; gap:10px; }.gd-cat__title { color:#b8b8c0; font-size:12px; font-weight:600; }.gd-cat__sub { display:none; }.gd-cat__icon,.gd-cat__icon.gd-cat__icon--custom { width:24px; height:24px; border:0; background:none; filter:grayscale(1); opacity:.65; }.gd-cat__icon img { width:24px; height:24px; object-fit:contain; }.gd-cat.is-open .gd-cat__title { color:white; }.gd-cat__chev { width:12px; }.gd-cat.is-open .gd-cat__chev { color:#999; }.gd-cat__pages { border:0; padding:0 5px 10px 16px; }.gd-link { font-size:12px; padding:9px 12px 9px 17px; border-radius:4px; }.gd-link.is-active { color:var(--guide-yellow); background:#f0d31710; }.gd-link.is-active:before { background:var(--guide-yellow); box-shadow:none; }.gd-link:before { width:3px; height:3px; background:#5f5f67; }.gd-cat__head:hover { background:#ffffff04; }
.guide-breadcrumb { font-size:10px; color:#a0a0aa; margin:0 0 14px; }.guide-breadcrumb span { margin:0 10px; color:#555; }.gd-card { border:1px solid var(--guide-line); background:#151519; border-radius:8px; box-shadow:none; }.gd-card__head { background:transparent; border-color:var(--guide-line); }.gd-card__title { color:#fff; }.gd-content { padding:24px; font-size:13px; color:#b8b8c2; }.gd-content .g-hero { background:radial-gradient(ellipse at 100% 0%,#34322555,transparent 65%),#1b1b1f; border:1px solid #323238; border-radius:6px; min-height:220px; }.gd-content .g-hero__body { max-width:70%; padding:24px; }.gd-content .g-hero__title { background:none; color:#fff; font-size:30px; letter-spacing:-1px; line-height:1.1; }.gd-content .g-hero__kicker { color:var(--guide-yellow); font-size:9px; }.gd-content .g-hero__text { font-size:12px; color:#ababB4; }.gd-content .g-hero__img { width:32%; height:85%; object-fit:contain; opacity:.75; right:8px; bottom:10px; }.gd-content .g-tag { border-color:#42423f; background:#ffffff05; color:#ceced2; font-size:9px; border-radius:4px; }.gd-content .g-title { color:#f2f2f5; font-size:16px; margin-top:27px; }.gd-content .g-title:after { background:#303036; }.gd-content .g-card { background:#1b1b20; border-color:#303037; border-radius:5px; padding:15px; }.gd-content .g-card__sub { color:#94949f; font-size:11px; }.gd-content .g-card__title { font-size:15px; }.gd-content .g-card__badge { color:var(--guide-yellow); }.gd-content .g-tip { border-color:#c9b32055; background:#f0d31707; border-radius:5px; }.gd-content .g-box { border-radius:5px; }.gd-content.custom-page-html :where(h1,h2,h3,h4) { color:#f2f2f5; }.gd-content.custom-page-html :where(a) { color:#e7cd46; }
.site-footer { max-width:1320px; margin:auto; padding:25px 0; border-top:1px solid var(--guide-line); display:flex; justify-content:space-between; align-items:center; gap:20px; color:#777782; font-size:11px; }.site-footer .site-brand { font-size:20px; }.site-footer .site-brand span { font-size:10px; }
@media(min-width:1500px) { .guide-intro { min-height:350px; }.intro-character { width:400px; height:420px; } }
@media(max-width:900px) { .site-header__inner { padding:20px 24px; gap:30px; }.site-main { padding:0 24px 35px; }.gd-layout { grid-template-columns:220px minmax(0,1fr); gap:18px; }.gd-nav { position:sticky; }.gd-content { padding:16px; }.intro-character { right:0; opacity:.8; }.gd-content .g-hero__body { max-width:100%; }.gd-content .g-hero__img { opacity:.15; width:55%; }.site-footer { margin:0 24px; } }
@media(max-width:650px) { .site-header__inner { padding:17px 18px; gap:16px; }.site-brand { font-size:22px; }.site-brand span { font-size:11px; }.site-links { display:none; }.header-action { font-size:10px; padding:9px 11px; }.header-action span { padding-left:5px; }.strip-detail { display:none; }.guide-strip { font-size:8px; }.site-main { padding:0 16px 30px; }.guide-intro { min-height:290px; }.guide-intro h1 { font-size:43px; letter-spacing:-2px; }.intro-copy { padding:30px 0; }.intro-character { right:-105px; width:280px; opacity:.3; }.intro-watermark { font-size:160px; }.eyebrow { font-size:8px; }.intro-stat-last { display:none; }.library-heading span:last-child { display:none; }.gd-layout { grid-template-columns:1fr; }.gd-nav { position:static; max-height:330px; }.gd-content .g-hero__title { font-size:28px; }.gd-content .g-hero__body { padding:20px; }.gd-content .g-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.site-footer { margin:0 16px; flex-wrap:wrap; }.site-footer>span { display:none; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }*,*:before,*:after { animation:none!important; transition:none!important; } }

.gd-nav > * { flex-shrink: 0; }

/* Original PVP.MD brand asset. */
.site-brand img { width:76px; height:34px; object-fit:contain; }
.site-footer .site-brand img { width:60px; height:28px; }
.gd-content .g-hero__img[src*="pvp-logo"] { height:70px; top:50%; bottom:auto; transform:translateY(-50%); right:20px; opacity:.9; mask-image:none; -webkit-mask-image:none; filter:none; }
@media(max-width:900px) { .gd-content .g-hero__img[src*="pvp-logo"] { opacity:.12; width:40%; } }
@media(max-width:650px) { .site-brand img { width:58px; height:28px; } }

/* Iteme Excellent / Ancient în listele de drop: fără fundal, doar numele colorat discret (ca în joc) */
.g-monster.mu-excellent .g-monster__name { color: #9fd8a8; }
.g-monster.mu-ancient .g-monster__name { color: #a9c6ef; }

/* Meniu de limbă EN / RU / RO (dreapta sus) */
.lang-menu { position:relative; margin-left:auto; }
.lang-menu__btn { display:flex; align-items:center; gap:12px; padding:11px 16px; border:0; border-radius:12px; background:#1c1c21; color:#fff; font:600 15px/1 inherit; letter-spacing:.02em; cursor:pointer; transition:background .15s; }
.lang-menu__btn:hover, .lang-menu.is-open .lang-menu__btn { background:#26262c; }
.lang-menu__btn:focus-visible, .lang-menu__list button:focus-visible { outline:2px solid var(--guide-yellow, #f0c060); outline-offset:2px; }
.lang-menu__chev { color:#c9c9cf; transition:transform .15s; }
.lang-menu.is-open .lang-menu__chev { transform:rotate(180deg); }
.lang-menu__list { position:absolute; right:0; top:calc(100% + 10px); z-index:60; min-width:200px; margin:0; padding:8px; list-style:none; background:#1f1f24; border:1px solid rgba(255,255,255,.12); border-radius:14px; box-shadow:0 18px 40px rgba(0,0,0,.55); }
.lang-menu__list[hidden] { display:none; }
.lang-menu__list button { display:flex; align-items:center; gap:18px; width:100%; padding:13px 16px; border:0; border-radius:9px; background:transparent; color:#ececf0; font:500 15px/1.2 inherit; text-align:left; cursor:pointer; }
.lang-menu__list button:hover { background:rgba(255,255,255,.06); }
.lang-menu__list button.is-active { background:rgba(255,255,255,.08); color:#fff; }
.lang-flag { display:inline-flex; flex:none; width:22px; height:15px; border-radius:3px; overflow:hidden; box-shadow:0 0 0 1px rgba(255,255,255,.12); }
.lang-flag svg { width:100%; height:100%; display:block; }
@media(max-width:650px) { .lang-menu__btn { padding:9px 11px; gap:8px; font-size:13px; } .lang-menu__list { min-width:170px; } }
