/* =============================================
   NexusAnima.gg — Shared Stylesheet
   Design: hna.hoyoverse.com inspired
   Light theme · Gold accent · Multi-page
   ============================================= */

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

:root {
  --bg-site:       #fcf9fe;
  --bg-card:       #ffffff;
  --bg-card-hover: #fdf8ff;
  --bg-alt:        #f5f0fa;
  --bg-nav:        rgba(252,249,254,0.96);
  --border:        #e8e2f0;
  --border-hover:  #db9a45;

  --gold:          #db9a45;
  --gold-hover:    #b57731;
  --gold-pressed:  #e8b86f;
  --gold-light:    #f3c682;
  --gold-bg:       #faeed5;

  --sky:           #5aabde;
  --sky-light:     #a8d8f0;
  --sky-pale:      #e0f2fc;
  --sky-bg:        #eaf6fd;

  --blue:          #3961ad;
  --blue-med:      #4a88fc;
  --blue-light:    #95bcf4;

  --green:         #29af79;
  --green-bg:      #e8f9f1;

  --purple:        #7c3aed;
  --purple-bg:     #f3f0ff;

  --text-h:        #1a1a2e;
  --text-body:     #333333;
  --text-sec:      #666677;
  --text-muted:    #99a0b0;
  --text-on-gold:  #1a1000;
  --text-on-dark:  #f0f4ff;

  --tier-s: #db9a45;
  --tier-a: #29af79;
  --tier-b: #4a88fc;
  --tier-c: #99a0b0;

  --r1: 6px; --r2: 12px; --r3: 16px;
  --r4: 20px; --r5: 28px; --r6: 40px;

  --shadow-xs: 0 1px 3px rgba(80,50,10,0.07);
  --shadow-sm: 0 2px 8px rgba(80,50,10,0.09);
  --shadow-md: 0 4px 20px rgba(80,50,10,0.11);
  --shadow-lg: 0 8px 32px rgba(80,50,10,0.13);
  --shadow-gold: 0 4px 20px rgba(219,154,69,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: Tahoma, Helvetica, Arial, sans-serif;
  background: var(--bg-site);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { color: var(--text-h); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(24px, 4vw, 42px); }
h2 { font-size: clamp(18px, 2.8vw, 28px); }
h3 { font-size: clamp(15px, 1.8vw, 19px); }
h4 { font-size: 15px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media(min-width:640px){ .container { padding: 0 28px; } }

/* ─── NAVIGATION ─────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  height: 58px;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  display: flex; align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

/* Logo */
.site-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.logo-gem {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}
.logo-words { line-height: 1.15; }
.logo-name { font-size: 14px; font-weight: 700; color: var(--text-h); display: block; }
.logo-type { font-size: 10px; color: var(--text-muted); letter-spacing: 0.07em; text-transform: uppercase; }

/* Desktop nav links */
.nav-links {
  display: none; align-items: center; gap: 2px;
  list-style: none; flex: 1; padding-left: 16px;
}
@media(min-width:768px){ .nav-links { display: flex; } }

/* Dropdown parent */
.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 12px;
  border-radius: var(--r1);
  font-size: 14px; font-weight: 500;
  color: var(--text-sec);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  border: none; background: none;
  font-family: inherit;
}
.nav-link:hover, .nav-link.active { background: rgba(219,154,69,0.08); color: var(--text-h); }
.nav-link.active { color: var(--gold-hover); font-weight: 600; }

.nav-caret { font-size: 10px; opacity: 0.5; transition: transform 0.2s; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  padding: 6px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 300;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: var(--r1);
  font-size: 13px; font-weight: 500; color: var(--text-sec);
  transition: background 0.12s, color 0.12s;
}
.dropdown-item:hover { background: var(--gold-bg); color: var(--gold-hover); }
.dropdown-icon { font-size: 16px; width: 20px; text-align: center; }

/* CTA button in nav */
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.btn-nav-cta {
  display: none;
  align-items: center; gap: 6px;
  background: var(--gold); color: var(--text-on-gold);
  padding: 6px 16px;
  border-radius: var(--r6);
  font-size: 13px; font-weight: 700;
  transition: background 0.18s, box-shadow 0.18s;
  text-decoration: none;
  white-space: nowrap;
}
@media(min-width:640px){ .btn-nav-cta { display: flex; } }
.btn-nav-cta:hover { background: var(--gold-hover); color: var(--text-on-gold); box-shadow: var(--shadow-gold); }

/* Mobile hamburger */
.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border-radius: var(--r1);
}
@media(min-width:768px){ .hamburger { display: none; } }
.hamburger span { width: 22px; height: 2px; background: var(--text-body); border-radius: 2px; transition: 0.25s; }

/* Mobile drawer */
.mobile-drawer {
  display: none; position: fixed;
  top: 58px; left: 0; right: 0; bottom: 0;
  background: rgba(252,249,254,0.98);
  z-index: 190;
  flex-direction: column;
  padding: 24px;
  gap: 4px;
  overflow-y: auto;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  display: block; padding: 12px 16px;
  border-radius: var(--r2);
  font-size: 16px; font-weight: 500; color: var(--text-h);
}
.mobile-drawer a:hover { background: var(--gold-bg); color: var(--gold-hover); }
.mobile-drawer .drawer-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  padding: 16px 16px 4px;
}

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: var(--r6);
  font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.18s;
  border: none; font-family: inherit; text-decoration: none;
  letter-spacing: 0.015em;
}
.btn-gold {
  background: var(--gold); color: var(--text-on-gold);
  box-shadow: 0 2px 10px rgba(219,154,69,0.28);
}
.btn-gold:hover { background: var(--gold-hover); color: var(--text-on-gold); box-shadow: var(--shadow-gold); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid rgba(57,97,173,0.3);
}
.btn-outline:hover { border-color: var(--blue); background: var(--sky-bg); color: var(--blue); }
.btn-ghost {
  background: rgba(255,255,255,0.7); color: var(--text-sec);
  border: 1px solid var(--border); backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: #fff; color: var(--text-h); box-shadow: var(--shadow-xs); }

/* ─── BADGES / TAGS ─────────────────────────── */
.badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 2px 10px; border-radius: var(--r6); letter-spacing: 0.04em;
}
.badge-gold   { background: var(--gold-bg);   color: var(--gold-hover); border: 1px solid rgba(219,154,69,0.25); }
.badge-blue   { background: var(--sky-bg);    color: var(--blue);       border: 1px solid rgba(74,136,252,0.2); }
.badge-green  { background: var(--green-bg);  color: #1a7a52;           border: 1px solid rgba(41,175,121,0.2); }
.badge-purple { background: var(--purple-bg); color: var(--purple);     border: 1px solid rgba(124,58,237,0.2); }
.badge-beta   { background: #fff3e0; color: #9a6000; border: 1px solid rgba(219,154,69,0.28); font-size: 10px; }
.badge-new    { background: #fff0f0; color: #c0392b; border: 1px solid rgba(192,57,43,0.2); }
.badge-soon   { background: #f5f0fa; color: var(--text-muted); border: 1px solid var(--border); }

/* ─── CARD (base) ────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.card:hover { border-color: rgba(219,154,69,0.35); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ─── ARTICLE CARDS ──────────────────────────── */
.article-card {
  display: flex; flex-direction: column;
  overflow: hidden; text-decoration: none; color: inherit;
}
.article-card:hover { color: inherit; }

.article-thumb {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--sky-pale), var(--gold-bg));
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  border-radius: var(--r3) var(--r3) 0 0;
  overflow: hidden;
}

.article-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.article-title { font-size: 15px; font-weight: 700; color: var(--text-h); line-height: 1.4; }
.article-excerpt { font-size: 13px; color: var(--text-sec); line-height: 1.55; flex: 1; }
.article-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--border); margin-top: auto; }
.article-read { font-size: 12px; font-weight: 700; color: var(--gold-hover); }

/* ─── PAGE HERO (inner pages) ────────────────── */
.page-hero {
  background: linear-gradient(160deg, #b8dff2 0%, #d0ecf8 50%, #e8f4fd 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(90,171,222,0.15);
}
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-sec); margin-bottom: 12px;
}
.page-hero .breadcrumb a { color: var(--blue); font-weight: 500; }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb-sep { color: var(--text-muted); }
.page-hero h1 { margin-bottom: 8px; }
.page-hero .sub { font-size: 15px; color: var(--text-sec); max-width: 560px; }
.page-hero .hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ─── CONTENT LAYOUT (main + sidebar) ───────── */
.content-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 40px 0;
}
@media(min-width:900px){
  .content-wrap { grid-template-columns: 1fr 300px; }
}
@media(min-width:1100px){
  .content-wrap { grid-template-columns: 1fr 320px; }
}

.content-main { min-width: 0; }
.content-sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 18px;
  box-shadow: var(--shadow-xs);
}
.sidebar-box h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.sidebar-link-list { display: flex; flex-direction: column; gap: 4px; }
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--r1);
  font-size: 13px; color: var(--text-sec);
  transition: background 0.12s, color 0.12s;
}
.sidebar-link:hover { background: var(--gold-bg); color: var(--gold-hover); }
.sidebar-link .sl-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }

/* ─── GUIDE ARTICLE BODY ─────────────────────── */
.guide-content { max-width: 720px; }
.guide-content h2 {
  font-size: 22px; margin: 36px 0 12px;
  padding-top: 36px; border-top: 1px solid var(--border);
}
.guide-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.guide-content h3 { font-size: 17px; margin: 24px 0 8px; }
.guide-content p { margin-bottom: 14px; color: var(--text-sec); line-height: 1.7; }
.guide-content ul, .guide-content ol { margin: 0 0 14px 20px; color: var(--text-sec); line-height: 1.7; }
.guide-content li { margin-bottom: 6px; }
.guide-content strong { color: var(--text-h); font-weight: 700; }
.guide-content a { color: var(--blue); font-weight: 600; }
.guide-content a:hover { color: var(--gold); }

.callout {
  border-radius: var(--r2); padding: 14px 18px;
  margin: 20px 0; font-size: 14px; line-height: 1.6;
}
.callout-gold { background: var(--gold-bg); border-left: 3px solid var(--gold); color: #5a3c00; }
.callout-blue { background: var(--sky-bg);  border-left: 3px solid var(--sky);  color: #1a3a5c; }
.callout-green{ background: var(--green-bg);border-left: 3px solid var(--green);color: #0f4d2a; }
.callout strong { color: inherit; }

/* ─── TIER TABLE ─────────────────────────────── */
.tier-table { display: flex; flex-direction: column; gap: 10px; }
.tier-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 10px 16px;
  box-shadow: var(--shadow-xs);
}
.tier-label {
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; border-radius: var(--r1);
}
.tl-s { background: var(--gold-bg);  color: var(--gold);   border: 1.5px solid rgba(219,154,69,0.3); }
.tl-a { background: var(--green-bg); color: var(--green);  border: 1.5px solid rgba(41,175,121,0.25); }
.tl-b { background: var(--sky-bg);   color: var(--blue);   border: 1.5px solid rgba(57,97,173,0.22); }
.tl-c { background: #f5f5f5;         color: var(--text-muted); border: 1.5px solid #ddd; }
.tier-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-site); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: var(--r6);
  font-size: 12px; font-weight: 600; color: var(--text-body);
  cursor: pointer; transition: all 0.12s; text-decoration: none;
}
.chip:hover { border-color: var(--gold); color: var(--gold-hover); background: var(--gold-bg); }

/* ─── ANIMA CARD GRID ────────────────────────── */
.anima-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media(min-width:480px){ .anima-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width:768px){ .anima-grid { grid-template-columns: repeat(4,1fr); } }
@media(min-width:1024px){ .anima-grid { grid-template-columns: repeat(5,1fr); } }

.anima-card {
  padding: 16px 12px; display: flex;
  flex-direction: column; align-items: center;
  text-align: center; gap: 7px; cursor: pointer;
  text-decoration: none; color: inherit;
}
.anima-card:hover { color: inherit; }
.anima-portrait {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-pale), var(--gold-bg));
  border: 2.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; position: relative;
  transition: border-color 0.18s;
}
.anima-card:hover .anima-portrait { border-color: var(--gold); }
.rar { position: absolute; bottom: 1px; right: 0; font-size: 10px; font-weight: 800; }
.rar-5 { color: #e09238; } .rar-4 { color: #7879dd; }
.anima-name { font-size: 13px; font-weight: 700; color: var(--text-h); }
.anima-elem { font-size: 11px; color: var(--text-muted); }
.tp { font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: var(--r6); }
.tp-s { background: var(--gold-bg);  color: var(--gold-hover); border: 1px solid rgba(219,154,69,0.28); }
.tp-a { background: var(--green-bg); color: #1a7a52;          border: 1px solid rgba(41,175,121,0.22); }
.tp-b { background: var(--sky-bg);   color: var(--blue);      border: 1px solid rgba(57,97,173,0.18); }

/* ─── FILTER BAR ─────────────────────────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 24px;
}
.filter-btn {
  padding: 5px 14px; border-radius: var(--r6);
  font-size: 12px; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--bg-card); color: var(--text-sec);
  transition: all 0.12s; font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold); background: var(--gold-bg); color: var(--gold-hover);
}

/* ─── SECTION EYEBROW ────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 6px;
}
.eyebrow-gold  { color: var(--gold-hover); }
.eyebrow-blue  { color: var(--blue); }
.eyebrow-green { color: var(--green); }
.eyebrow-sky   { color: var(--sky); }

/* ─── QUICK LINK CARD ────────────────────────── */
.quick-card {
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit;
  border-top: 3px solid transparent;
  transition: border-color 0.18s;
}
.quick-card:hover { color: inherit; }
.quick-card:hover { border-top-color: var(--gold); }
.quick-icon {
  width: 44px; height: 44px; border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.qi-gold   { background: var(--gold-bg);   border: 1px solid rgba(219,154,69,0.22); }
.qi-blue   { background: var(--sky-bg);    border: 1px solid rgba(74,136,252,0.2); }
.qi-green  { background: var(--green-bg);  border: 1px solid rgba(41,175,121,0.2); }
.qi-purple { background: var(--purple-bg); border: 1px solid rgba(124,58,237,0.2); }
.quick-card h3 { font-size: 15px; }
.quick-card p  { font-size: 13px; color: var(--text-sec); line-height: 1.5; }
.quick-card .go { font-size: 12px; font-weight: 700; color: var(--gold-hover); margin-top: auto; }

/* ─── FOOTER ─────────────────────────────────── */
.site-footer {
  background: #1a1a2e; color: rgba(255,255,255,0.55);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 36px; margin-bottom: 36px;
}
@media(min-width:640px){ .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-brand .logo-name { color: rgba(255,255,255,0.9); }
.footer-brand .logo-type { color: rgba(255,255,255,0.3); }
.footer-about { font-size: 13px; margin-top: 10px; line-height: 1.65; max-width: 240px; }

.footer-col h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,0.28);
}
@media(min-width:640px){ .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ─── UTILITIES ──────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media(min-width:640px){ .grid-2 { grid-template-columns: repeat(2,1fr); } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media(min-width:600px){ .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media(min-width:900px){ .grid-3 { grid-template-columns: repeat(3,1fr); } }
.grid-4 { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
@media(min-width:768px){ .grid-4 { grid-template-columns: repeat(4,1fr); } }

.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.tc { text-align: center; }
.lead { color: var(--text-sec); font-size: 15px; max-width: 580px; }
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.mt-4{ margin-top: 16px; } .mt-6{ margin-top: 24px; } .mt-8{ margin-top: 32px; }
.mb-4{ margin-bottom: 16px; } .mb-6{ margin-bottom: 24px; }
.gap-sm{ gap: 8px; } .gap-md{ gap: 16px; }

/* ─── LANGUAGE SWITCHER ──────────────────────── */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: var(--r6);
  font-size: 12px; font-weight: 700;
  border: 1.5px solid var(--border);
  background: var(--bg-card); color: var(--text-sec);
  cursor: pointer; font-family: inherit;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap; line-height: 1.5;
}
.lang-btn:hover,
.lang-switch:hover .lang-btn { border-color: var(--gold); color: var(--gold-hover); background: var(--gold-bg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r2);
  box-shadow: var(--shadow-md);
  min-width: 148px; padding: 6px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 300;
}
.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--r1);
  font-size: 13px; font-weight: 500; color: var(--text-sec);
  transition: background 0.12s, color 0.12s;
  text-decoration: none;
}
.lang-item:hover { background: var(--gold-bg); color: var(--gold-hover); }
.lang-item.lang-active { color: var(--gold-hover); font-weight: 700; background: var(--gold-bg); pointer-events: none; }

/* ─── SIDEBAR CARD ───────────────────────────── */
.sidebar-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 18px; box-shadow: var(--shadow-xs);
}
.sidebar-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
