/* ============================================================================
 * MU ONLINE — GRIMDARK FANTASY & CLASSIC MUWEB (WEBZEN / DALDEGAM / EFFECTWEB)
 * Pedra Esculpida, Bronze Oxidado, Ferro Forjado, Sangue Seco & Pergaminho
 * Tipografia Clássica, Skeuomorfismo Gótico & Layout Clássico de 3 Colunas
 * ============================================================================ */

:root {
  --abyss-black: #040303;
  --obsidian-bg: #090807;
  --stone-dark: #110e0c;
  --stone-mid: #1a1512;
  --bronze-dark: #3d2d18;
  --bronze-mid: #7a5c32;
  --bronze-light: #b8924a;
  --gold-ancient: #d4af37;
  --gold-pale: #f3e2b3;
  --blood-dark: #380606;
  --blood-crimson: #7a1111;
  --blood-bright: #b91c1c;
  --blood-glow: #dc2626;
  --soul-arcane: #3b82f6;
  --soul-ice: #7dd3fc;
  --parchment-light: #e6dac6;
  --parchment-mid: #b8a68e;
  --parchment-dim: #7d6e5b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--abyss-black);
  color: var(--parchment-light);
}

body {
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  background-color: var(--abyss-black);
  color: var(--parchment-light);
  /* Textura densa de pedra escura, fuligem de forja e vinheta abissal */
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(122, 92, 50, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(56, 6, 6, 0.22) 0%, transparent 60%),
    repeating-radial-gradient(
      circle at 20% 30%,
      rgba(255, 240, 200, 0.008) 0,
      rgba(0, 0, 0, 0.025) 3px,
      transparent 6px
    ),
    linear-gradient(180deg, #040303 0%, #0a0807 40%, #070505 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Vinheta pesada de tela inteira estilo Path of Exile / Diablo II */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 160px 40px rgba(0, 0, 0, 0.92);
  z-index: 45;
}

/* ============================================================================
 * TIPOGRAFIA ENTALHADA EM PEDRA / METAL (CINZEL / UNIFRAKTUR / GARAMOND)
 * ============================================================================ */
.font-engraved {
  font-family: 'Cinzel', Georgia, serif;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 4px #000000, 0 0 10px rgba(0, 0, 0, 0.95);
}

.font-gothic-crest {
  font-family: 'UnifrakturCook', 'Cinzel Decorative', serif;
  text-shadow: 0 4px 12px #000000;
}

.font-tome {
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
}

/* Texto Metálico em Bronze/Ouro Envelhecido */
.text-poe-gold {
  background: linear-gradient(
    180deg,
    #fff6d6 0%,
    #e2c178 28%,
    #b88d3d 55%,
    #70511e 78%,
    #c69f53 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 18px rgba(184, 146, 74, 0.25));
}

.text-poe-crimson {
  background: linear-gradient(
    180deg,
    #fca5a5 0%,
    #dc2626 40%,
    #7f1d1d 85%,
    #991b1b 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.95));
}

/* ============================================================================
 * BARRA DE MENU CLÁSSICA DE MU ONLINE (EFEITO VITRO / GLASSMORPHISM SOMBRIO)
 * ============================================================================ */
.mu-nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    180deg,
    rgba(10, 8, 6, 0.72) 0%,
    rgba(6, 5, 4, 0.56) 60%,
    rgba(4, 3, 3, 0.68) 100%
  );
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  border-bottom: 1px solid rgba(184, 146, 74, 0.38);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 244, 214, 0.14),
    inset 0 -1px 0 rgba(122, 92, 50, 0.22);
}

.mu-nav-bar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(184, 146, 74, 0.35) 20%,
    rgba(212, 175, 55, 0.9) 50%,
    rgba(184, 146, 74, 0.35) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.mu-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.6rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.mu-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  padding: 0.35rem 0;
}

.mu-nav-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(12, 9, 6, 0.65) 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-ancient);
  font-size: 0.85rem;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2), inset 0 0 8px rgba(212, 175, 55, 0.15);
}

.mu-nav-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.mu-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d6c5ad;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.mu-nav-item::after {
  content: '';
  position: absolute;
  bottom: 0.2rem;
  left: 20%;
  right: 20%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: scaleX(0.35);
}

.mu-nav-item:hover {
  color: #fff6d6;
  background: rgba(212, 175, 55, 0.09);
  border-color: rgba(212, 175, 55, 0.25);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.8), 0 2px 4px #000000;
  box-shadow: inset 0 0 14px rgba(212, 175, 55, 0.12);
}

.mu-nav-item:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.mu-nav-sep {
  color: rgba(184, 146, 74, 0.45);
  font-size: 0.65rem;
  user-select: none;
  pointer-events: none;
}

.mu-nav-icon {
  font-size: 0.82rem;
  color: var(--bronze-light);
  transition: transform 0.2s ease, color 0.2s ease;
}

.mu-nav-item:hover .mu-nav-icon {
  color: var(--gold-ancient);
  transform: scale(1.12);
}

/* ============================================================================
 * HERO BANNER GRIMDARK (ARTE CONCEITUAL + MOLDURA DE PEDRA)
 * ============================================================================ */
.poe-hero {
  position: relative;
  background-color: #050404;
  background-image:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.15) 0%, rgba(4, 3, 3, 0.78) 78%, #040303 100%),
    linear-gradient(180deg, rgba(4, 3, 3, 0.65) 0%, rgba(4, 3, 3, 0.18) 38%, rgba(4, 3, 3, 0.85) 88%, #040303 100%),
    url('../assets/hero-grimdark.jpg');
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  border-bottom: 2px solid #4a371c;
  box-shadow: inset 0 -70px 100px #040303;
}

/* ============================================================================
 * PAINÉIS E MOLDURAS DE PEDRA & BRONZE OXIDADO (SKEUOMÓRFICO CLÁSSICO)
 * ============================================================================ */
.poe-frame {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(61, 45, 24, 0.18) 0%, transparent 65%),
    linear-gradient(180deg, #130f0c 0%, #0a0807 45%, #060504 100%);
  border: 1px solid #4a371c;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.95),
    inset 0 0 0 1px #050404,
    inset 0 0 0 3px #2b2013,
    inset 0 0 0 4px rgba(184, 146, 74, 0.22),
    inset 0 0 45px rgba(0, 0, 0, 0.92);
}

/* Placa Superior Rebitada dos Painéis */
.poe-plaque-header {
  position: relative;
  background: linear-gradient(180deg, #221b14 0%, #130f0b 52%, #0b0806 100%);
  border-bottom: 2px solid #594324;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(243, 226, 179, 0.2);
  padding: 0.85rem 1.25rem;
}

.poe-plaque-header::before,
.poe-plaque-header::after {
  content: '❖';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #8c6d3b;
  font-size: 0.75rem;
  text-shadow: 0 2px 3px #000;
}
.poe-plaque-header::before {
  left: 0.75rem;
}
.poe-plaque-header::after {
  right: 0.75rem;
}

/* Cantoneiras Góticas Esculpidas em Bronze (4 Cantos) */
.poe-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 10;
}

.poe-corner-tl {
  top: -2px;
  left: -2px;
  border-top: 3px solid var(--bronze-light);
  border-left: 3px solid var(--bronze-light);
}
.poe-corner-tr {
  top: -2px;
  right: -2px;
  border-top: 3px solid var(--bronze-light);
  border-right: 3px solid var(--bronze-light);
}
.poe-corner-bl {
  bottom: -2px;
  left: -2px;
  border-bottom: 3px solid var(--bronze-light);
  border-left: 3px solid var(--bronze-light);
}
.poe-corner-br {
  bottom: -2px;
  right: -2px;
  border-bottom: 3px solid var(--bronze-light);
  border-right: 3px solid var(--bronze-light);
}

/* ============================================================================
 * LINHAS TÉCNICAS ZEBRA (CONFIGURAÇÕES DO SERVIDOR ESTILO MUWEB)
 * ============================================================================ */
.mu-zebra-table {
  width: 100%;
  border-collapse: collapse;
}

.mu-zebra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid rgba(122, 92, 50, 0.22);
  transition: background-color 0.2s ease;
}

.mu-zebra-row:nth-child(odd) {
  background-color: rgba(18, 14, 11, 0.75);
}

.mu-zebra-row:nth-child(even) {
  background-color: rgba(8, 6, 5, 0.85);
}

.mu-zebra-row:hover {
  background-color: rgba(61, 45, 24, 0.45);
}

/* Barra de Carga / Capacidade do Servidor */
.mu-load-bar-track {
  width: 100%;
  height: 9px;
  background: #050403;
  border: 1px solid #4a371c;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.mu-load-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #d4af37 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================================
 * CARTÕES DE EVENTOS REGRESSIVOS (EVENT TIMER CLÁSSICO DE MU)
 * ============================================================================ */
.mu-event-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: rgba(10, 8, 6, 0.85);
  border: 1px solid rgba(122, 92, 50, 0.3);
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.mu-event-card:hover {
  border-color: var(--bronze-light);
  background: rgba(22, 17, 12, 0.95);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.7);
}

.mu-event-timer {
  font-family: 'Cinzel', monospace, serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.2rem 0.6rem;
  background: #050403;
  border: 1px solid #594324;
  color: var(--gold-pale);
  letter-spacing: 0.08em;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.9);
  min-width: 82px;
  text-align: center;
}

.mu-event-timer.timer-urgent {
  color: #fca5a5;
  border-color: #b91c1c;
  background: rgba(69, 10, 10, 0.5);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.4), inset 0 2px 6px rgba(0, 0, 0, 0.9);
  animation: muPulseGlow 1.2s infinite ease-in-out;
}

@keyframes muPulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ============================================================================
 * BANNER MONUMENTAL DE DOWNLOAD PARA SIDEBAR
 * ============================================================================ */
.mu-download-banner {
  position: relative;
  display: block;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 146, 74, 0.22) 0%, transparent 70%),
    linear-gradient(180deg, #322315 0%, #1c140c 50%, #0d0a07 100%);
  border: 2px solid #b8924a;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 240, 200, 0.35),
    inset 0 0 20px rgba(0, 0, 0, 0.85);
  padding: 1.15rem 1rem;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
}

.mu-download-banner:hover {
  border-color: #f3e2b3;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.98),
    0 0 28px rgba(212, 175, 55, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.mu-download-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 240, 200, 0.22), transparent);
  transform: skewX(-25deg);
  animation: muShimmer 4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes muShimmer {
  0% { left: -120%; }
  30% { left: 140%; }
  100% { left: 140%; }
}

/* ============================================================================
 * CARD CTA DE REGISTRO RÁPIDO (SIDEBAR DIREITA)
 * ============================================================================ */
.mu-cta-card {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(185, 28, 28, 0.25) 0%, transparent 70%),
    linear-gradient(180deg, #241313 0%, #140909 50%, #090404 100%);
  border: 1px solid #7a1111;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(254, 202, 202, 0.25),
    inset 0 0 25px rgba(56, 6, 6, 0.85);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.25s ease;
}

.mu-cta-card:hover {
  border-color: #b91c1c;
  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.98),
    0 0 22px rgba(185, 28, 28, 0.4),
    inset 0 1px 0 rgba(254, 202, 202, 0.35);
  transform: translateY(-1px);
}

/* ============================================================================
 * RANKING DO REINO (TOP LEVEL / TOP RESETS - MUWEB CLÁSSICO)
 * ============================================================================ */
.mu-rank-tab {
  flex: 1;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.6rem;
  background: #090806;
  border: 1px solid #3d2d18;
  color: var(--parchment-dim);
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.mu-rank-tab:hover {
  color: var(--parchment-light);
  border-color: var(--bronze-light);
}

.mu-rank-tab.active {
  background: linear-gradient(180deg, #2b2014 0%, #140f09 100%);
  border-color: var(--bronze-light);
  color: var(--gold-pale);
  box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.25);
}

.mu-rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(122, 92, 50, 0.2);
  transition: background-color 0.2s ease;
}

.mu-rank-row:nth-child(odd) {
  background-color: rgba(18, 14, 11, 0.75);
}

.mu-rank-row:nth-child(even) {
  background-color: rgba(8, 6, 5, 0.85);
}

.mu-rank-row:hover {
  background-color: rgba(61, 45, 24, 0.45);
}

.mu-rank-pos {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 2px;
  margin-right: 0.5rem;
  shrink: 0;
}

.mu-rank-pos-1 {
  background: linear-gradient(180deg, #78350f, #451a03);
  border: 1px solid #d4af37;
  color: #fef08a;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.mu-rank-pos-2 {
  background: linear-gradient(180deg, #334155, #1e293b);
  border: 1px solid #94a3b8;
  color: #f1f5f9;
  box-shadow: 0 0 6px rgba(148, 163, 184, 0.3);
}

.mu-rank-pos-3 {
  background: linear-gradient(180deg, #451a03, #270e02);
  border: 1px solid #b8924a;
  color: #fed7aa;
  box-shadow: 0 0 6px rgba(184, 146, 74, 0.3);
}

.mu-rank-pos-other {
  background: #060504;
  border: 1px solid #2b2014;
  color: var(--parchment-dim);
}

.mu-class-badge {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  background: rgba(30, 24, 16, 0.85);
  border: 1px solid rgba(122, 92, 50, 0.4);
  color: var(--bronze-light);
  margin-left: 0.35rem;
}

/* ============================================================================
 * TRONO DE CASTLE SIEGE (VALLEY OF LOREN WIDGET)
 * ============================================================================ */
.mu-castle-card {
  position: relative;
  background:
    radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.15) 0%, transparent 70%),
    linear-gradient(180deg, #18130f 0%, #0d0a07 60%, #070504 100%);
  border: 1px solid #7a5c32;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.95);
  padding: 1rem;
  text-align: center;
}

.mu-castle-crest {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.75rem auto;
  background: #050403;
  border: 2px solid #b8924a;
  box-shadow:
    0 0 18px rgba(212, 175, 55, 0.3),
    inset 0 0 12px rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

/* ============================================================================
 * ABAS E TABELAS CLÁSSICAS DE BOSSES & MASTERY
 * ============================================================================ */
.mu-tab-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  background: #090806;
  border: 1px solid #3d2d18;
  color: var(--parchment-dim);
  transition: all 0.2s ease;
  cursor: pointer;
}

.mu-tab-btn:hover {
  color: var(--parchment-light);
  border-color: var(--bronze-light);
}

.mu-tab-btn.active {
  background: linear-gradient(180deg, #2b2014 0%, #140f09 100%);
  border-color: var(--bronze-light);
  color: var(--gold-pale);
  box-shadow: inset 0 0 12px rgba(212, 175, 55, 0.2), 0 2px 6px #000;
}

.mu-boss-tier-badge {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border: 1px solid;
  display: inline-block;
}

.mu-boss-tier-solo {
  background: rgba(30, 41, 59, 0.6);
  border-color: #64748b;
  color: #cbd5e1;
}

.mu-boss-tier-trio {
  background: rgba(59, 35, 12, 0.6);
  border-color: #b8924a;
  color: #fde68a;
}

.mu-boss-tier-raid {
  background: rgba(69, 10, 10, 0.65);
  border-color: #ef4444;
  color: #fca5a5;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

/* ============================================================================
 * BOTÕES PESADOS DE PLACA METÁLICA / PEDRA
 * ============================================================================ */
.poe-btn-crimson {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f7e8c8;
  text-shadow: 0 2px 4px #000000, 0 0 8px rgba(0, 0, 0, 0.9);
  background:
    linear-gradient(180deg, #871919 0%, #590c0c 48%, #360505 52%, #4d0a0a 100%);
  border: 2px solid #b8924a;
  outline: 1px solid #1a120b;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.95),
    0 0 18px rgba(153, 27, 27, 0.4),
    inset 0 1px 0 rgba(255, 220, 180, 0.35),
    inset 0 0 0 2px rgba(40, 10, 10, 0.85);
  transition: all 0.2s ease;
  cursor: pointer;
}

.poe-btn-crimson:hover:not(:disabled) {
  color: #ffffff;
  border-color: #f3e2b3;
  background:
    linear-gradient(180deg, #a82020 0%, #731010 48%, #470707 52%, #690e0e 100%);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.95),
    0 0 28px rgba(220, 38, 38, 0.65),
    inset 0 1px 1px rgba(255, 240, 200, 0.55);
  transform: translateY(-1px);
}

.poe-btn-crimson:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.6);
}

/* Botão de Bronze/Ferro Antigo */
.poe-btn-bronze {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-pale);
  text-shadow: 0 2px 4px #000000;
  background:
    linear-gradient(180deg, #2b2218 0%, #17120c 48%, #0d0a07 52%, #1c150e 100%);
  border: 2px solid #7a5c32;
  outline: 1px solid #080605;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(243, 226, 179, 0.25),
    inset 0 0 15px rgba(0, 0, 0, 0.85);
  transition: all 0.2s ease;
  cursor: pointer;
}

.poe-btn-bronze:hover {
  color: #ffffff;
  border-color: #d4af37;
  background:
    linear-gradient(180deg, #3b2e20 0%, #241b12 48%, #140f0a 52%, #291f14 100%);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(212, 175, 55, 0.35),
    inset 0 1px 1px rgba(255, 240, 200, 0.4);
  transform: translateY(-1px);
}

/* ============================================================================
 * INPUTS ENTALHADOS EM OBSIDIANA (FORMULÁRIO DE PACTO / REGISTRO)
 * ============================================================================ */
.poe-input {
  width: 100%;
  background: #050403;
  border: 1px solid #4a371c;
  color: var(--gold-pale);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  padding: 0.65rem 0.85rem 0.65rem 2.45rem;
  box-shadow:
    inset 0 4px 14px rgba(0, 0, 0, 0.98),
    inset 0 0 0 1px rgba(0, 0, 0, 0.9),
    0 1px 0 rgba(243, 226, 179, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.poe-input::placeholder {
  color: #594d3f;
  font-style: italic;
  font-size: 0.95rem;
}

.poe-input:focus {
  outline: none;
  border-color: #b8924a;
  box-shadow:
    inset 0 4px 14px rgba(0, 0, 0, 0.98),
    0 0 14px rgba(184, 146, 74, 0.28);
}

.poe-input.input-valid {
  border-color: #8c6d3b;
  box-shadow:
    inset 0 4px 14px rgba(0, 0, 0, 0.98),
    0 0 12px rgba(212, 175, 55, 0.25);
}

.poe-input.input-invalid {
  border-color: #991b1b;
  box-shadow:
    inset 0 4px 14px rgba(0, 0, 0, 0.98),
    0 0 14px rgba(185, 28, 28, 0.4);
}

/* ============================================================================
 * SELOS DOS PATCH NOTES ([UPDATE], [EVENTO], [MANUTENÇÃO])
 * ============================================================================ */
.poe-seal {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 0.18rem 0.55rem;
  text-transform: uppercase;
  border: 1px solid;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.85);
}

.poe-seal-update {
  background: linear-gradient(180deg, #1b2838 0%, #0d1520 100%);
  border-color: #4a76a8;
  color: #93c5fd;
}

.poe-seal-evento {
  background: linear-gradient(180deg, #33240f 0%, #1a1105 100%);
  border-color: #b8924a;
  color: #fde68a;
}

.poe-seal-manutencao {
  background: linear-gradient(180deg, #420c0c 0%, #210404 100%);
  border-color: #991b1b;
  color: #fca5a5;
}

/* Divisor Gótico */
.poe-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 1rem 0;
}

.poe-divider::before,
.poe-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6e5227, transparent);
}

/* Brasas Flutuantes de Forja */
@keyframes poeEmberRise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.85;
  }
  80% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-160px) translateX(28px) scale(0.3);
    opacity: 0;
  }
}

.poe-ember {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #fde68a 0%, #ea580c 60%, #7f1d1d 100%);
  box-shadow: 0 0 10px #ea580c;
  pointer-events: none;
  animation: poeEmberRise 7s infinite ease-in;
}

/* Animação Suave para o Card Modal */
@keyframes muModalZoomIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.mu-modal-card {
  animation: muModalZoomIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Scrollbar em Bronze Oxidado */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #050403;
  border-left: 1px solid #261c10;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3d2d18, #1f160b);
  border: 1px solid #7a5c32;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7a5c32, #3d2d18);
}

/* ============================================================================
 * PAINEL CENTRAL MAIS CLARO E ESPAÇOSO (COLUNA DO MEIO)
 * ============================================================================ */
.poe-frame.mu-center-panel-light {
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.2) 0%, transparent 70%),
    linear-gradient(180deg, #35291d 0%, #2f2419 50%, #2a2016 100%);
  border: 1px solid #9a7642;
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px #1a130d,
    inset 0 0 0 3px #574129,
    inset 0 0 0 4px rgba(212, 175, 55, 0.36),
    inset 0 1px 40px rgba(212, 175, 55, 0.1);
}

.poe-frame.mu-center-panel-light .poe-plaque-header {
  background: linear-gradient(180deg, #463625 0%, #33271b 55%, #281e14 100%);
  border-bottom: 2px solid #9a7642;
}

.poe-frame.mu-center-panel-light .mu-tab-btn {
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  padding: 0.7rem 1.45rem;
  background: #1f1811;
  border: 1px solid #6e532e;
  color: #e6dac6;
}

.poe-frame.mu-center-panel-light .mu-tab-btn:hover {
  color: #fff6d6;
  background: #2f2419;
  border-color: #d4af37;
}

.poe-frame.mu-center-panel-light .mu-tab-btn.active {
  background: linear-gradient(180deg, #4d3a24 0%, #2e2215 100%);
  border-color: #d4af37;
  color: #f3e2b3;
  box-shadow: inset 0 0 16px rgba(212, 175, 55, 0.32), 0 4px 12px rgba(0, 0, 0, 0.7);
}


/* ============================================================================
 * PAINEL CENTRAL DO JOGADOR: CAIXAS, CONTADORES, RESUMO E RARIDADE DE ITENS
 * ============================================================================ */
.mu-center-panel-light .mu-center-box {
  background: linear-gradient(180deg, #3f3122 0%, #2e2318 100%);
  border: 1px solid #8a683a;
  box-shadow:
    inset 0 1px 0 rgba(243, 226, 179, 0.16),
    0 6px 18px rgba(0, 0, 0, 0.45);
}

/* Contadores nas abas da nav central */
.mu-tab-count {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  background: #120d09;
  border: 1px solid #7a5c32;
  color: #f3e2b3;
  border-radius: 2px;
}
.mu-tab-btn.active .mu-tab-count {
  background: #d4af37;
  border-color: #f3e2b3;
  color: #1a120a;
}

/* Faixa de Resumo Rápido do Guerreiro */
.mu-summary-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1rem 0.75rem;
  background: linear-gradient(180deg, #3f3122 0%, #2b2117 100%);
  border: 1px solid #8a683a;
  border-top: 2px solid #d4af37;
  box-shadow: inset 0 1px 0 rgba(243, 226, 179, 0.14), 0 6px 16px rgba(0, 0, 0, 0.45);
}
.mu-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  font-size: 1.2rem;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, #1a130d 75%);
  border: 1px solid #b8924a;
}
.mu-summary-label {
  font-family: 'Cinzel', serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cbb894;
}
.mu-summary-value {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #f3e2b3;
  line-height: 1.2;
}
.mu-summary-value small {
  font-size: 0.72rem;
  font-weight: 600;
  color: #b8a68e;
}

/* Card de item com borda lateral por raridade */
.mu-item-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.15rem 1rem 1.35rem;
  background: linear-gradient(180deg, #3f3122 0%, #221a12 100%);
  border: 1px solid #8a683a;
  border-left: 4px solid #8a683a;
  box-shadow: inset 0 1px 0 rgba(243, 226, 179, 0.14), 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
@media (min-width: 640px) {
  .mu-item-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.mu-item-card:hover {
  transform: translateY(-1px);
  border-color: #d4af37;
}
.mu-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  font-size: 1.15rem;
  background: #1a130d;
  border: 1px solid #8a683a;
}

.mu-item-card.mu-rarity-gold {
  border-left-color: #d4af37;
  box-shadow: inset 0 1px 0 rgba(243, 226, 179, 0.14), 0 0 16px rgba(212, 175, 55, 0.22);
}
.mu-item-card.mu-rarity-gold .mu-item-icon { border-color: #d4af37; }

.mu-item-card.mu-rarity-exc {
  border-left-color: #10b981;
  box-shadow: inset 0 1px 0 rgba(243, 226, 179, 0.12), 0 0 16px rgba(16, 185, 129, 0.24);
}
.mu-item-card.mu-rarity-exc .mu-item-icon { border-color: #10b981; }

.mu-item-card.mu-rarity-anc {
  border-left-color: #60a5fa;
  box-shadow: inset 0 1px 0 rgba(243, 226, 179, 0.12), 0 0 16px rgba(96, 165, 250, 0.26);
}
.mu-item-card.mu-rarity-anc .mu-item-icon { border-color: #60a5fa; }

/* Slot vazio (tracejado discreto) */
.mu-slot-empty {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background:
    repeating-linear-gradient(135deg, rgba(138, 104, 58, 0.08) 0 8px, transparent 8px 16px),
    #261d14;
  border: 1px dashed #7a5c32;
  color: #cbb894;
}
.mu-slot-empty .mu-item-icon {
  background: transparent;
  border-style: dashed;
  opacity: 0.6;
  filter: grayscale(0.6);
}

/* Legenda de raridade */
.mu-rarity-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbb894;
}
.mu-rarity-legend i {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.35rem;
  vertical-align: -1px;
}
