/* =============================================================
   WIKI — MERGED STYLESHEET
   Covers: index, comandos, começando, construção, itens,
           boss, mundos
   ============================================================= */


/* ── LAYOUT ── */

.wiki-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}


/* ── SIDEBAR ── */

.wiki-sidebar {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px;
  position: sticky;
  top: 86px;
}
.wiki-sidebar h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 14px;
}
.wiki-sidebar ul { list-style: none; padding: 0; }
.wiki-sidebar ul li { margin-bottom: 2px; }
.wiki-sidebar ul li a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s, background 0.2s;
}
.wiki-sidebar ul li a:hover,
.wiki-sidebar ul li a.active {
  color: var(--gold);
  background: rgba(240,180,41,0.08);
}
.wiki-sidebar .sidebar-sep {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 14px 0;
}
.wiki-sidebar .back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.wiki-sidebar .back-link:hover { color: var(--gold); }


/* ── CONTENT TYPOGRAPHY ── */

.wiki-content h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.wiki-content h1 i { color: var(--gold); margin-right: 10px; }

.wiki-content .breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.wiki-content .breadcrumb a { color: var(--gold); }
.wiki-content .breadcrumb a:hover { text-decoration: underline; }

.wiki-content h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(240,180,41,0.15);
}
.wiki-content h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
}
.wiki-content p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.wiki-content p b,
.wiki-content li b { color: var(--text); }

.wiki-content ul,
.wiki-content ol {
  color: var(--muted);
  padding-left: 22px;
  margin-bottom: 16px;
  line-height: 1.9;
  font-size: 0.95rem;
}
.wiki-content a { color: var(--gold); }
.wiki-content a:hover { text-decoration: underline; }


/* ── WIKI HERO (index) ── */

.wiki-hero {
  background:
    linear-gradient(160deg, rgba(13,13,15,0.88) 0%, rgba(13,13,20,0.95) 100%),
    url('/assets/img/New2-Background-mobiles.png') center/cover no-repeat;
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(240,180,41,0.2);
}
.wiki-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(240,180,41,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.wiki-hero .wiki-icon {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 18px;
  filter: drop-shadow(0 0 20px rgba(240,180,41,0.5));
}
.wiki-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.wiki-hero h1 span { color: var(--gold); }
.wiki-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}


/* ── SEARCH BAR (index) ── */

.wiki-search-wrap {
  max-width: 560px;
  margin: 32px auto 0;
  position: relative;
}
.wiki-search-wrap input {
  width: 100%;
  background: rgba(22,22,31,0.95);
  border: 1.5px solid rgba(240,180,41,0.3);
  border-radius: 10px;
  padding: 14px 50px 14px 20px;
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  transition: border-color 0.25s ease;
}
.wiki-search-wrap input::placeholder { color: var(--muted); }
.wiki-search-wrap input:focus { outline: none; border-color: var(--gold); }
.wiki-search-wrap .search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1rem;
  pointer-events: none;
}


/* ── WIKI STATS (index) ── */

.wiki-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.wiki-stat { text-align: center; }
.wiki-stat .num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.wiki-stat .lbl {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ── CATEGORY GRID (index) ── */

.wiki-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.wiki-cat-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.wiki-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border-color: rgba(240,180,41,0.3);
}
.wiki-cat-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.wiki-cat-card .cat-body h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.wiki-cat-card .cat-body p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}
.wiki-cat-card .cat-body .tag-count {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(240,180,41,0.12);
  color: var(--gold);
  border: 1px solid rgba(240,180,41,0.2);
}


/* ── ICON COLOR VARIANTS ── */

.icon-gold   { background: rgba(240,180,41,0.15);  color: var(--gold); }
.icon-blue   { background: rgba(66,153,225,0.15);  color: #63b3ed; }
.icon-green  { background: rgba(56,161,105,0.15);  color: #68d391; }
.icon-red    { background: rgba(229,62,62,0.15);   color: #fc8181; }
.icon-purple { background: rgba(128,90,213,0.15);  color: #b794f4; }
.icon-cyan   { background: rgba(0,188,212,0.15);   color: #4dd0e1; }


/* ── TIPS BANNER (index) ── */

.tips-banner {
  background: linear-gradient(135deg, var(--dark3) 0%, var(--dark2) 100%);
  border: 1px solid rgba(240,180,41,0.15);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.tips-banner i { color: var(--gold); font-size: 1.6rem; flex-shrink: 0; }
.tips-banner p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.tips-banner p b { color: var(--text); }


/* ── RECENT ARTICLES (index) ── */

.article-list { list-style: none; padding: 0; }
.article-list li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}
.article-list li:last-child { border-bottom: none; }
.article-list li i { color: var(--gold); font-size: 0.9rem; width: 18px; }
.article-list li a { color: var(--text); font-size: 0.92rem; transition: color 0.2s; }
.article-list li a:hover { color: var(--gold); }
.article-list li .badge { margin-left: auto; }


/* ── BADGES ── */

.badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-novo      { background: rgba(56,161,105,0.2);  color: #68d391;     border: 1px solid rgba(56,161,105,0.3); }
.badge-popular   { background: rgba(240,180,41,0.15); color: var(--gold); border: 1px solid rgba(240,180,41,0.25); }
.badge-essencial { background: rgba(229,62,62,0.15);  color: #fc8181;     border: 1px solid rgba(229,62,62,0.25); }


/* ── INFO BOX ──
   ⚠ CONFLICT RESOLVED: "itens" omitted .info-box.success and .info-box.danger;
   "começando", "construção" and "mundos" defined them — unified here.         */

.info-box {
  background: rgba(66,153,225,0.08);
  border: 1px solid rgba(66,153,225,0.25);
  border-left: 4px solid #4299e1;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.info-box.warning {
  background: rgba(240,180,41,0.08);
  border-color: rgba(240,180,41,0.25);
  border-left-color: var(--gold);
}
.info-box.success {
  background: rgba(56,161,105,0.08);
  border-color: rgba(56,161,105,0.25);
  border-left-color: #38a169;
}
.info-box.danger {
  background: rgba(229,62,62,0.08);
  border-color: rgba(229,62,62,0.25);
  border-left-color: #e53e3e;
}
.info-box i { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.info-box.warning i { color: var(--gold); }
.info-box.danger i  { color: #fc8181; }
.info-box p { margin: 0; font-size: 0.9rem; }


/* ── CODE BLOCK (começando) ── */

.code-block {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 16px 20px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--gold);
  margin: 16px 0;
  overflow-x: auto;
}


/* ── STEP LIST (começando) ── */

.step-list { list-style: none; padding: 0; counter-reset: steps; }
.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.step-list li::before {
  content: counter(steps);
  min-width: 34px;
  height: 34px;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.step-list li div { color: var(--muted); font-size: 0.93rem; line-height: 1.7; }
.step-list li div b { color: var(--text); }


/* ── COMMANDS TABLE (comandos) ── */

.cmd-table { width: 100%; border-collapse: collapse; margin: 16px 0 32px; }
.cmd-table th {
  background: var(--dark3);
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid rgba(240,180,41,0.2);
}
.cmd-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 0.9rem;
  vertical-align: top;
}
.cmd-table tr:last-child td { border-bottom: none; }
.cmd-table tr:hover td { background: rgba(240,180,41,0.04); }
.cmd-table .cmd {
  color: var(--gold);
  font-family: 'Courier New', monospace;
  font-size: 0.88rem;
  white-space: nowrap;
}
.cmd-table .perm {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  width: 100%;
}
.perm-todos    { background: rgba(56,161,105,0.15);  color: #68d391;     border: 1px solid rgba(56,161,105,0.25); }
.perm-vip      { background: rgba(240,180,41,0.15);  color: var(--gold); border: 1px solid rgba(240,180,41,0.25); }
.perm-vip-plus { background: rgba(128,90,213,0.15);  color: #b794f4;     border: 1px solid rgba(128,90,213,0.25); }
.perm-staff    { background: rgba(229,62,62,0.15);   color: #fc8181;     border: 1px solid rgba(229,62,62,0.25); }


/* ── CMD LIST (construção) ── */

.cmd-list { list-style: none; padding: 0; }
.cmd-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cmd-list li:last-child { border-bottom: none; }
.cmd-list li code {
  color: var(--gold);
  font-family: 'Courier New', monospace;
  background: var(--dark3);
  padding: 2px 7px;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}


/* ── BUILD GRID (construção) ── */

.build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
  margin: 16px 0 32px;
}
.build-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 22px;
  transition: transform 0.25s, border-color 0.25s;
}
.build-card:hover { transform: translateY(-3px); border-color: rgba(240,180,41,0.25); }
.build-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.build-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.build-card p  { color: var(--muted); font-size: 0.83rem; line-height: 1.6; margin: 0; }


/* ── DIFFICULTY BADGES (construção) ── */

.dificuldade {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 10px;
}
.d-facil  { background: rgba(56,161,105,0.15); color: #68d391;     border: 1px solid rgba(56,161,105,0.3); }
.d-medio  { background: rgba(240,180,41,0.15); color: var(--gold); border: 1px solid rgba(240,180,41,0.3); }
.d-dificil{ background: rgba(229,62,62,0.15);  color: #fc8181;     border: 1px solid rgba(229,62,62,0.3); }


/* ── RULE LIST (construção) ── */

.rule-list { list-style: none; padding: 0; }
.rule-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--muted);
}
.rule-list li:last-child { border-bottom: none; }
.rule-list li i { color: var(--gold); margin-top: 2px; flex-shrink: 0; width: 16px; }
.rule-list li b { color: var(--text); }


/* ── PROTECTION BOX (construção) ── */

.protecao-box {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px;
  margin: 20px 0;
}
.protecao-box h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 14px;
}


/* ── ITEM RARITY BADGES (itens) ── */

.item-rarity {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 10px;
}
.r-comum   { background: rgba(200,200,200,0.10); color: #ccc;        border: 1px solid rgba(200,200,200,0.20); }
.r-incomum { background: rgba(56,161,105,0.15);  color: #68d391;     border: 1px solid rgba(56,161,105,0.30); }
.r-raro    { background: rgba(66,153,225,0.15);  color: #63b3ed;     border: 1px solid rgba(66,153,225,0.30); }
.r-epico   { background: rgba(128,90,213,0.15);  color: #b794f4;     border: 1px solid rgba(128,90,213,0.30); }
.r-lendario{ background: rgba(240,180,41,0.15);  color: var(--gold); border: 1px solid rgba(240,180,41,0.30); }


/* ── RARITY TABLE (itens) ── */

.rarity-table { width: 100%; border-collapse: collapse; margin: 16px 0 32px; font-size: 0.88rem; }
.rarity-table th {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--gold);
  padding: 10px 14px;
  border-bottom: 2px solid rgba(240,180,41,0.2);
  text-align: left;
}
.rarity-table td {
  padding: 13px 14px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
  line-height: 1.6;
}
.rarity-table tr:hover td { background: rgba(255,255,255,0.02); }


/* ── ITEM GRID & CARDS (itens) ── */

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  margin: 16px 0 32px;
}
.item-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 22px;
  transition: transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.item-card:hover { transform: translateY(-3px); border-color: rgba(240,180,41,0.25); }
.item-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.item-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.65; margin: 0; flex: 1; }
.item-stats {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.item-stats span { color: var(--gold); font-weight: 600; }


/* ── ENCHANTMENTS (itens) ── */

.ench-list { list-style: none; padding: 0; }
.ench-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.ench-list li:last-child { border-bottom: none; }
.ench-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(240,180,41,0.10);
  border: 1px solid rgba(240,180,41,0.20);
  color: var(--gold);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ench-list li b { color: var(--text); }


/* ── BOSS CARD (boss) ── */

.boss-card {
  background: var(--card-bg);
  border: 1px solid rgba(229,62,62,0.2);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.boss-card:hover {
  border-color: rgba(229,62,62,0.4);
  box-shadow: 0 8px 32px rgba(229,62,62,0.08);
}
.boss-icon {
  width: 64px;
  height: 64px;
  background: rgba(229,62,62,0.12);
  border: 1px solid rgba(229,62,62,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fc8181;
  flex-shrink: 0;
}
.boss-card .boss-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.boss-card .boss-header h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.diff-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.diff-facil   { background: rgba(56,161,105,0.15);  color: #68d391;     border: 1px solid rgba(56,161,105,0.3); }
.diff-medio   { background: rgba(240,180,41,0.15);  color: var(--gold); border: 1px solid rgba(240,180,41,0.3); }
.diff-dificil { background: rgba(229,62,62,0.15);   color: #fc8181;     border: 1px solid rgba(229,62,62,0.3); }
.diff-lendario{ background: rgba(128,90,213,0.15);  color: #b794f4;     border: 1px solid rgba(128,90,213,0.3); }
.boss-card p { margin: 0 0 10px; font-size: 0.9rem; }
.boss-drops { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.drop-tag {
  background: rgba(240,180,41,0.1);
  color: var(--gold);
  border: 1px solid rgba(240,180,41,0.2);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}
.boss-stats { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.boss-stat { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.boss-stat i { color: var(--gold); }


/* ── BIOME GRID (mundos) ── */

.biome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin: 16px 0 32px;
}
.biome-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 22px;
  transition: transform 0.25s, border-color 0.25s;
}
.biome-card:hover { transform: translateY(-3px); border-color: rgba(240,180,41,0.25); }
.biome-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.biome-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.biome-card p  { color: var(--muted); font-size: 0.83rem; line-height: 1.6; margin: 0 0 12px; }
.biome-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
}
.tag-overworld { background: rgba(56,161,105,0.15);  color: #68d391;     border: 1px solid rgba(56,161,105,0.3); }
.tag-nether    { background: rgba(229,62,62,0.15);   color: #fc8181;     border: 1px solid rgba(229,62,62,0.3); }
.tag-end       { background: rgba(128,90,213,0.15);  color: #b794f4;     border: 1px solid rgba(128,90,213,0.3); }
.tag-custom    { background: rgba(240,180,41,0.15);  color: var(--gold); border: 1px solid rgba(240,180,41,0.3); }


/* ── WORLD TABLE (mundos) ── */

.world-table { width: 100%; border-collapse: collapse; margin: 16px 0 32px; font-size: 0.88rem; }
.world-table th {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--gold);
  padding: 10px 14px;
  border-bottom: 2px solid rgba(240,180,41,0.2);
  text-align: left;
}
.world-table td {
  padding: 12px 14px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}
.world-table tr:hover td { background: rgba(255,255,255,0.02); }
.world-table td b { color: var(--text); }


/* ── TABLE WRAP (shared) ── */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }


/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .wiki-layout { grid-template-columns: 1fr; }
  .wiki-sidebar { position: static; }
  .boss-card { grid-template-columns: 1fr; }
  .table-wrap table { font-size: 0.78rem; }
  .table-wrap th,
  .table-wrap td { padding: 8px 10px; }
  .wiki-content h1 { font-size: 1.6rem; }
  .container { padding: 0 24px; }
}
@media (max-width: 768px) {
  .wiki-categories { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .cmd-table { font-size: 0.78rem; width: 100%; }
  .cmd-table th,
  .cmd-table td { padding: 8px 10px; }
  .cmd-table .cmd { white-space: normal; word-break: break-all; }
  .perm-col { display: none; }
}
