/* ==================================================================
   Bloodlust - Tema visual "Dark Fantasy" (site publico)
   Carregado DEPOIS do bootstrap.min.css, portanto as regras abaixo
   sobrescrevem os utilitarios do Bootstrap dentro de `body.site-body`.
   ================================================================== */

:root {
  --mu-void: #04060a;
  --mu-bg: #0a0e15;
  --mu-panel: rgba(17, 22, 32, 0.88);
  --mu-panel-soft: rgba(13, 17, 25, 0.78);
  --mu-panel-deep: rgba(8, 11, 17, 0.94);

  --mu-gold: #e0b061;
  --mu-gold-bright: #f7e0a8;
  --mu-gold-deep: #8c6421;
  --mu-gold-line: rgba(224, 176, 97, 0.35);
  --mu-gold-glow: rgba(224, 176, 97, 0.22);

  --mu-arcane: #6cc4ff;
  --mu-emerald: #4fd18b;
  --mu-blood: #e05a5a;

  --mu-text: #ece4d5;
  --mu-text-dim: #a49c8c;
  --mu-line: rgba(255, 255, 255, 0.07);

  --mu-font-title: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  --mu-font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mu-radius: 14px;
  --mu-radius-sm: 10px;
  --mu-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}

/* ------------------------------------------------------------------
   Base / atmosfera
   ------------------------------------------------------------------ */
body.site-body {
  margin: 0;
  min-height: 100vh;
  color: var(--mu-text);
  font-family: var(--mu-font-body);
  background-color: var(--mu-void);
  background-image: url(../images/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* Escurece e da profundidade ao fundo sem esconder a arte original */
body.site-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 620px at 50% -10%, rgba(224, 176, 97, 0.14), transparent 70%),
    radial-gradient(900px 520px at 90% 10%, rgba(108, 196, 255, 0.09), transparent 72%),
    linear-gradient(180deg, rgba(4, 6, 10, 0.86) 0%, rgba(4, 6, 10, 0.92) 45%, rgba(3, 4, 7, 0.97) 100%);
}

/* Textura sutil de ruido/linhas para dar cara de "jogo" */
body.site-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
}

body.site-body > nav,
body.site-body > header,
body.site-body > main,
body.site-body > footer {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------------
   Tipografia
   ------------------------------------------------------------------ */
body.site-body h1,
body.site-body h2,
body.site-body h3,
body.site-body h4,
body.site-body h5,
body.site-body h6 {
  font-family: var(--mu-font-title);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mu-gold-bright);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.65), 0 0 22px var(--mu-gold-glow);
}

body.site-body a {
  color: var(--mu-gold);
  text-decoration: none;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

body.site-body a:hover {
  color: var(--mu-gold-bright);
  text-shadow: 0 0 12px var(--mu-gold-glow);
}

body.site-body hr {
  border-color: var(--mu-gold-line);
  opacity: 0.55;
}

/* ------------------------------------------------------------------
   Barra superior (login/conta) + navegacao principal
   ------------------------------------------------------------------ */
body.site-body .top-navbar {
  background: linear-gradient(180deg, rgba(6, 9, 14, 0.96) 0%, rgba(6, 9, 14, 0.82) 100%);
  border-bottom: 1px solid var(--mu-gold-line);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
  padding: 6px 0;
}

body.site-body .top-navbar .navbar-brand {
  font-family: var(--mu-font-title);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1.05rem;
  color: var(--mu-gold-bright) !important;
  text-shadow: 0 0 16px var(--mu-gold-glow);
}

body.site-body .top-navbar .nav-link {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mu-text-dim) !important;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

body.site-body .top-navbar .nav-link:hover,
body.site-body .top-navbar .nav-link:focus {
  color: var(--mu-gold-bright) !important;
  border-color: var(--mu-gold-line);
  background: rgba(224, 176, 97, 0.08);
}

body.site-body header.navbar {
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.9) 0%, rgba(9, 12, 19, 0.72) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--mu-gold-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 14px 0 !important;
  margin-bottom: 0 !important;
}

body.site-body header.navbar .nav-link {
  font-family: var(--mu-font-title);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--mu-text) !important;
  padding: 10px 22px !important;
  position: relative;
  text-transform: uppercase;
}

body.site-body header.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 3px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--mu-gold), transparent);
  transition: transform 0.25s ease;
}

body.site-body header.navbar .nav-link:hover::after,
body.site-body header.navbar .nav-link.active::after {
  transform: scaleX(1);
}

body.site-body header.navbar .nav-link:hover,
body.site-body header.navbar .nav-link.active {
  color: var(--mu-gold-bright) !important;
  text-shadow: 0 0 14px var(--mu-gold-glow);
}

/* Menu mobile */
body.site-body .offcanvas {
  background: linear-gradient(180deg, #0b0f16 0%, #070a10 100%);
  color: var(--mu-text);
  border-right: 1px solid var(--mu-gold-line);
}

body.site-body .offcanvas-header {
  border-bottom: 1px solid var(--mu-line) !important;
}

body.site-body .offcanvas-title {
  color: var(--mu-gold-bright) !important;
}

body.site-body .offcanvas .nav-link {
  color: var(--mu-text) !important;
  font-family: var(--mu-font-title);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 12px 4px;
  border-bottom: 1px solid var(--mu-line);
}

body.site-body .navbar-toggler {
  filter: invert(100%) sepia(30%) saturate(400%) hue-rotate(-15deg);
}

/* ------------------------------------------------------------------
   Botoes
   ------------------------------------------------------------------ */
body.site-body .btn {
  font-family: var(--mu-font-title);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 22px;
  border-width: 1px;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.site-body .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

body.site-body .btn:hover::before {
  left: 140%;
}

body.site-body .btn:hover {
  transform: translateY(-2px);
}

body.site-body .btn:active {
  transform: translateY(0);
}

body.site-body .btn-primary,
body.site-body .btn-success {
  color: #1c1206;
  background: linear-gradient(180deg, var(--mu-gold-bright) 0%, var(--mu-gold) 46%, var(--mu-gold-deep) 100%);
  border-color: rgba(255, 236, 190, 0.75);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.site-body .btn-primary:hover,
body.site-body .btn-primary:focus,
body.site-body .btn-success:hover,
body.site-body .btn-success:focus {
  color: #140d03;
  background: linear-gradient(180deg, #fff2cf 0%, #eec274 46%, #a3772a 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55), 0 0 24px var(--mu-gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.site-body .btn-outline-primary,
body.site-body .btn-outline-secondary,
body.site-body .btn-outline-dark {
  color: var(--mu-gold-bright);
  border-color: var(--mu-gold-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.28));
}

body.site-body .btn-outline-primary:hover,
body.site-body .btn-outline-secondary:hover,
body.site-body .btn-outline-dark:hover {
  color: #1c1206;
  background: linear-gradient(180deg, var(--mu-gold-bright), var(--mu-gold));
  border-color: var(--mu-gold-bright);
}

body.site-body .btn-outline-danger {
  color: #ffb3b3;
  border-color: rgba(224, 90, 90, 0.5);
  background: linear-gradient(180deg, rgba(224, 90, 90, 0.1), rgba(0, 0, 0, 0.28));
}

body.site-body .btn-outline-danger:hover {
  color: #fff;
  background: linear-gradient(180deg, #e05a5a, #9c2f2f);
  border-color: #ff8f8f;
}

body.site-body .btn-sm {
  padding: 6px 14px;
  font-size: 0.7rem;
}

/* ------------------------------------------------------------------
   Paineis (sobrescreve os utilitarios claros do Bootstrap)
   ------------------------------------------------------------------ */
body.site-body .bg-white,
body.site-body .bg-light,
body.site-body .p-4.bg-light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.16)),
    var(--mu-panel) !important;
  color: var(--mu-text) !important;
}

body.site-body .bg-dark {
  background-color: var(--mu-panel-deep) !important;
}

body.site-body .text-dark {
  color: var(--mu-gold-bright) !important;
}

body.site-body .text-muted {
  color: var(--mu-text-dim) !important;
}

body.site-body .border {
  border-color: var(--mu-gold-line) !important;
}

body.site-body .rounded-3,
body.site-body .rounded-4 {
  border-radius: var(--mu-radius) !important;
}

body.site-body .shadow-sm,
body.site-body .shadow,
body.site-body .shadow-lg {
  box-shadow: var(--mu-shadow) !important;
}

/* Moldura ornamentada nos paineis principais */
body.site-body main .bg-white,
body.site-body main .bg-light {
  position: relative;
  border: 1px solid var(--mu-gold-line) !important;
  background-clip: padding-box;
}

body.site-body main .bg-white::before,
body.site-body main .bg-light::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(224, 176, 97, 0.14);
  border-radius: calc(var(--mu-radius) - 6px);
  pointer-events: none;
}

/* Cantos dourados */
body.site-body main .bg-white::after,
body.site-body main .bg-light::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, var(--mu-gold) 0 12px, transparent 12px) top left / 26px 26px no-repeat,
    linear-gradient(-45deg, var(--mu-gold) 0 12px, transparent 12px) top right / 26px 26px no-repeat,
    linear-gradient(45deg, var(--mu-gold) 0 12px, transparent 12px) bottom left / 26px 26px no-repeat,
    linear-gradient(-135deg, var(--mu-gold) 0 12px, transparent 12px) bottom right / 26px 26px no-repeat;
  opacity: 0.5;
}

body.site-body .card-sub,
body.site-body .border.rounded-3 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.2));
  border-color: var(--mu-gold-line) !important;
  color: var(--mu-text);
}

/* ------------------------------------------------------------------
   Titulos de secao
   ------------------------------------------------------------------ */
body.site-body .mu-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 22px;
  font-family: var(--mu-font-title);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mu-gold-bright);
}

body.site-body .mu-section-title::before,
body.site-body .mu-section-title::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: linear-gradient(90deg, transparent, var(--mu-gold-line), transparent);
}

body.site-body .mu-section-title .mu-ornament {
  color: var(--mu-gold);
  font-size: 0.9rem;
}

/* ------------------------------------------------------------------
   Hero (topo da home)
   ------------------------------------------------------------------ */
body.site-body .mu-hero {
  position: relative;
  margin: 34px 0 10px;
  padding: 38px 28px 30px;
  text-align: center;
  border: 1px solid var(--mu-gold-line);
  border-radius: 20px;
  background:
    radial-gradient(720px 260px at 50% 0%, rgba(224, 176, 97, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(18, 23, 34, 0.94), rgba(7, 10, 16, 0.96));
  box-shadow: var(--mu-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

body.site-body .mu-hero::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(224, 176, 97, 0.16);
  border-radius: 14px;
  pointer-events: none;
}

body.site-body .mu-hero-emblem {
  width: 132px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 18px var(--mu-gold-glow));
  animation: mu-float 6s ease-in-out infinite;
}

@keyframes mu-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

body.site-body .mu-hero-title {
  margin: 14px 0 6px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.2em;
  background: linear-gradient(180deg, #fff6dd 0%, var(--mu-gold-bright) 40%, var(--mu-gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.6));
}

body.site-body .mu-hero-sub {
  color: var(--mu-text-dim);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

body.site-body .mu-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 26px;
}

body.site-body .mu-hero-actions .btn {
  min-width: 190px;
  padding: 12px 26px;
}

body.site-body .mu-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

body.site-body .mu-stat {
  padding: 12px 14px;
  text-align: center;
  border: 1px solid var(--mu-gold-line);
  border-radius: var(--mu-radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.site-body .mu-stat-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mu-text-dim);
  margin-bottom: 4px;
}

body.site-body .mu-stat-value {
  font-family: var(--mu-font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--mu-gold-bright);
  text-shadow: 0 0 16px var(--mu-gold-glow);
}

body.site-body .mu-stat-value.is-online {
  color: var(--mu-emerald);
  text-shadow: 0 0 16px rgba(79, 209, 139, 0.4);
}

/* ------------------------------------------------------------------
   Tabelas
   ------------------------------------------------------------------ */
body.site-body .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--mu-text);
  --bs-table-border-color: var(--mu-line);
  color: var(--mu-text);
  margin-bottom: 0;
  border-color: var(--mu-line);
}

body.site-body .table > :not(caption) > * > * {
  background-color: transparent;
  border-color: var(--mu-line);
  color: var(--mu-text);
  padding: 10px 12px;
  vertical-align: middle;
}

body.site-body .table > thead > tr > th {
  font-family: var(--mu-font-title);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mu-gold) !important;
  border-bottom: 1px solid var(--mu-gold-line) !important;
  background: linear-gradient(180deg, rgba(224, 176, 97, 0.1), transparent) !important;
  white-space: nowrap;
}

body.site-body .table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(255, 255, 255, 0.026) !important;
  color: var(--mu-text);
}

body.site-body .table-hover > tbody > tr:hover > *,
body.site-body .table > tbody > tr:hover > * {
  background-color: rgba(224, 176, 97, 0.09) !important;
  color: var(--mu-gold-bright);
}

body.site-body .table-bordered > :not(caption) > * {
  border-width: 1px;
  border-color: var(--mu-line);
}

body.site-body .table-responsive {
  border: 1px solid var(--mu-gold-line);
  border-radius: var(--mu-radius-sm);
  background: rgba(0, 0, 0, 0.24);
  padding: 2px;
}

/* ------------------------------------------------------------------
   Badges / chips
   ------------------------------------------------------------------ */
body.site-body .badge {
  font-family: var(--mu-font-title);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

body.site-body .text-bg-primary,
body.site-body .badge.bg-primary {
  background: linear-gradient(180deg, var(--mu-gold-bright), var(--mu-gold-deep)) !important;
  color: #1c1206 !important;
  border-color: rgba(255, 236, 190, 0.6);
}

body.site-body .badge.bg-danger {
  background: linear-gradient(180deg, #ff8f8f, #9c2f2f) !important;
  color: #fff !important;
}

body.site-body .badge.bg-success,
body.site-body .badge.bg-success {
  background: linear-gradient(180deg, #7ef0b4, #1f8a56) !important;
  color: #052a18 !important;
}

body.site-body .badge.bg-secondary {
  background: linear-gradient(180deg, #4a5464, #262d38) !important;
  color: #dfe4ec !important;
}

/* ------------------------------------------------------------------
   Formularios
   ------------------------------------------------------------------ */
body.site-body .form-control,
body.site-body .form-select {
  background: rgba(6, 9, 14, 0.85);
  border: 1px solid var(--mu-gold-line);
  color: var(--mu-text);
  border-radius: var(--mu-radius-sm);
  padding: 10px 14px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.55);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

body.site-body .form-control::placeholder {
  color: rgba(164, 156, 140, 0.65);
}

body.site-body .form-control:focus,
body.site-body .form-select:focus {
  background: rgba(6, 9, 14, 0.95);
  border-color: var(--mu-gold);
  color: var(--mu-text);
  box-shadow: 0 0 0 3px rgba(224, 176, 97, 0.16), inset 0 2px 8px rgba(0, 0, 0, 0.55);
}

body.site-body .form-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mu-text-dim);
}

body.site-body .form-check-input {
  background-color: rgba(6, 9, 14, 0.9);
  border-color: var(--mu-gold-line);
}

body.site-body .form-check-input:checked {
  background-color: var(--mu-gold);
  border-color: var(--mu-gold-bright);
}

/* ------------------------------------------------------------------
   Alertas
   ------------------------------------------------------------------ */
body.site-body .alert {
  border-radius: var(--mu-radius-sm);
  border: 1px solid var(--mu-gold-line);
  background: linear-gradient(180deg, rgba(224, 176, 97, 0.12), rgba(0, 0, 0, 0.24));
  color: var(--mu-text);
}

body.site-body .alert-danger {
  border-color: rgba(224, 90, 90, 0.6);
  background: linear-gradient(180deg, rgba(224, 90, 90, 0.16), rgba(0, 0, 0, 0.24));
  color: #ffcfcf;
}

body.site-body .alert-success {
  border-color: rgba(79, 209, 139, 0.55);
  background: linear-gradient(180deg, rgba(79, 209, 139, 0.16), rgba(0, 0, 0, 0.24));
  color: #c7ffe4;
}

body.site-body .alert-info {
  border-color: rgba(108, 196, 255, 0.5);
  background: linear-gradient(180deg, rgba(108, 196, 255, 0.14), rgba(0, 0, 0, 0.24));
  color: #d6efff;
}

/* ------------------------------------------------------------------
   Noticias
   ------------------------------------------------------------------ */
body.site-body .news-item {
  position: relative;
  border: 1px solid var(--mu-gold-line) !important;
  border-radius: var(--mu-radius) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.26)) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

body.site-body .news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--mu-gold-bright), var(--mu-gold-deep));
  opacity: 0.85;
}

body.site-body .news-item:hover {
  transform: translateY(-3px);
  border-color: var(--mu-gold) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55), 0 0 24px var(--mu-gold-glow);
}

body.site-body .news-title {
  font-family: var(--mu-font-title);
  color: var(--mu-gold-bright) !important;
  letter-spacing: 0.05em;
}

body.site-body .news-description,
body.site-body .news-content {
  color: var(--mu-text-dim) !important;
  line-height: 1.65;
}

body.site-body .news-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0.75rem auto;
  border-radius: var(--mu-radius-sm);
  border: 1px solid var(--mu-gold-line);
}

body.site-body .news-content .center {
  text-align: center;
}

body.site-body .news-content .img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

body.site-body .news-body {
  display: block;
}

body.site-body .news-body--thumb {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 16px;
  align-items: center;
}

body.site-body .news-thumb img,
body.site-body .news-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--mu-radius-sm);
  border: 1px solid var(--mu-gold-line);
}

body.site-body .news-banner img {
  max-height: 320px;
  object-fit: contain;
  background-color: #0b0f16;
}

@media (max-width: 768px) {
  body.site-body .news-body--thumb {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------
   Rodape
   ------------------------------------------------------------------ */
body.site-body footer {
  margin-top: 48px;
  padding: 28px 20px 22px;
  text-align: center;
  color: var(--mu-text-dim);
  background: linear-gradient(180deg, rgba(4, 6, 10, 0.4) 0%, rgba(4, 6, 10, 0.95) 100%);
  border-top: 1px solid var(--mu-gold-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.site-body footer a {
  color: var(--mu-text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.site-body footer a:hover {
  color: var(--mu-gold-bright);
  text-decoration: none;
}

body.site-body .footer-logo img {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7));
}

/* ------------------------------------------------------------------
   Icones de classe
   ------------------------------------------------------------------ */
body.site-body .class-icon {
  width: 26px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 6px;
  border: 1px solid var(--mu-gold-line);
  background: rgba(0, 0, 0, 0.4);
  padding: 1px;
}

/* ------------------------------------------------------------------
   Perfil do personagem (equipamento / inventario / bau)
   ------------------------------------------------------------------ */
body.site-body .class-icon-lg {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--mu-gold-line);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
}

body.site-body .profile-stat {
  border: 1px solid var(--mu-gold-line);
  border-radius: var(--mu-radius-sm);
  padding: 10px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.3));
  height: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.site-body .profile-stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mu-text-dim);
}

body.site-body .profile-stat-value {
  font-family: var(--mu-font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mu-gold-bright);
}

/* ------------------------------------------------------------------
   Painel do inventario / bau — layout identico ao cliente do jogo
   (moldura 237x539, equipamento 200x186, celulas de 25px)
   ------------------------------------------------------------------ */
body.site-body .mu-panel-scroll {
  overflow: auto;
  max-width: 100%;
}

body.site-body .mu-panel {
  position: relative;
  margin: 0 auto;
  background-image: url(/assets/inventory/Inventory_Back.jpg);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}

body.site-body .mu-panel--warehouse {
  background-image: url(/assets/inventory/Warehouse_Back.jpg);
}

body.site-body .mu-overlay {
  position: absolute;
  z-index: 0;
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

body.site-body .mu-overlay--equip {
  background-image: url(/assets/inventory/Character_Equipment.jpg);
}

body.site-body .mu-overlay--bag {
  background-image: url(/assets/inventory/Item_Boxs_8x8.jpg);
}

body.site-body .mu-overlay--warehouse {
  background-image: url(/assets/inventory/Item_Boxs.jpg);
}

body.site-body .mu-equip-slot {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.site-body .mu-equip-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

body.site-body .mu-panel .mu-item {
  z-index: 1;
}

body.site-body .mu-grid-scroll {
  overflow: auto;
  padding-bottom: 4px;
}

body.site-body .mu-grid {
  box-sizing: content-box;
  position: relative;
  margin: 0 auto;
  background: #0d0a07;
  border: 2px solid #6b5233;
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.7), inset 0 0 26px rgba(0, 0, 0, 0.85);
}

body.site-body .mu-cell {
  position: absolute;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

body.site-body .mu-item {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: help;
}

body.site-body .mu-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

body.site-body .mu-item-level {
  position: absolute;
  right: 1px;
  bottom: 0;
  font-size: 0.62rem;
  font-weight: 700;
  color: #ffd76a;
  text-shadow: 0 0 2px #000, 0 0 2px #000;
  pointer-events: none;
}

/* ------------------------------------------------------------------
   Status dos servidores
   ------------------------------------------------------------------ */
body.site-body .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--mu-gold-line);
  font-family: var(--mu-font-title);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.site-body .status-badge.is-up {
  border-color: rgba(79, 209, 139, 0.6);
  background: linear-gradient(180deg, rgba(79, 209, 139, 0.18), rgba(0, 0, 0, 0.3));
  color: #c7ffe4;
}

body.site-body .status-badge.is-down {
  border-color: rgba(224, 90, 90, 0.65);
  background: linear-gradient(180deg, rgba(224, 90, 90, 0.2), rgba(0, 0, 0, 0.3));
  color: #ffcfcf;
}

body.site-body .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b7280;
  display: inline-block;
  flex: 0 0 auto;
}

body.site-body .is-up > .status-dot,
body.site-body .is-up .status-dot {
  background: var(--mu-emerald);
  box-shadow: 0 0 10px rgba(79, 209, 139, 0.85);
  animation: mu-pulse 1.8s ease-in-out infinite;
}

body.site-body .is-down > .status-dot,
body.site-body .is-down .status-dot {
  background: #e05a5a;
  box-shadow: 0 0 10px rgba(224, 90, 90, 0.85);
}

@keyframes mu-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

body.site-body .status-card {
  border: 1px solid var(--mu-gold-line);
  border-radius: var(--mu-radius-sm);
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.28));
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.site-body .status-card.is-up { border-color: rgba(79, 209, 139, 0.45); }
body.site-body .status-card.is-down { border-color: rgba(224, 90, 90, 0.5); }

body.site-body .status-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mu-font-title);
  letter-spacing: 0.06em;
  color: var(--mu-gold-bright);
  margin-bottom: 10px;
}

body.site-body .status-card-body {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

body.site-body .status-port {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mu-text-dim);
}

body.site-body .status-state {
  font-family: var(--mu-font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--mu-text-dim);
}

body.site-body .is-up .status-state { color: var(--mu-emerald); }
body.site-body .is-down .status-state { color: #ff8f8f; }

body.site-body .status-big {
  font-family: var(--mu-font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--mu-gold-bright);
  text-shadow: 0 0 16px var(--mu-gold-glow);
}

body.site-body .status-big small {
  font-size: 0.8rem;
  color: var(--mu-text-dim);
  text-shadow: none;
}

body.site-body .mu-stat-value.is-offline {
  color: #ff8f8f;
  text-shadow: 0 0 16px rgba(224, 90, 90, 0.4);
}

body.site-body .mu-stat-value .status-dot {
  margin-right: 6px;
  vertical-align: middle;
}

/* ------------------------------------------------------------------
   Cards de download (Launcher / Cliente / Patches)
   ------------------------------------------------------------------ */
body.site-body .download-card {
  position: relative;
  border: 1px solid var(--mu-gold-line);
  border-radius: var(--mu-radius);
  padding: 30px 22px 22px;
  background: linear-gradient(180deg, rgba(20, 26, 38, 0.85), rgba(10, 14, 22, 0.92));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.site-body .download-card:hover {
  border-color: var(--mu-gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

body.site-body .download-card--featured {
  border-color: var(--mu-gold);
  box-shadow: 0 0 0 1px var(--mu-gold-line), 0 16px 40px rgba(0, 0, 0, 0.55);
}

body.site-body .download-card .download-icon {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--mu-gold);
  margin-bottom: 12px;
  text-shadow: 0 0 18px var(--mu-gold-glow);
}

body.site-body .download-card h5 {
  margin-bottom: 6px;
}

body.site-body .download-card p {
  flex-grow: 1;
}

body.site-body .download-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--mu-gold-bright), var(--mu-gold));
  color: #1a1206;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

/* ------------------------------------------------------------------
   Nitidez das sprites de item (pixel-art) em todo o site
   As imagens originais tem 25px por celula; sem isso o navegador
   aplica suavizacao (bilinear) e elas ficam borradas.
   ------------------------------------------------------------------ */
body.site-body .mu-item img,
body.site-body .equip-slot-box img,
body.site-body .shop-item-img img,
body.site-body .inventory-item img,
body.site-body .equip-item img,
body.site-body .class-icon,
body.site-body .class-icon-lg {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* ------------------------------------------------------------------
   Perfil da conta (hero + cards de personagem)
   ------------------------------------------------------------------ */
.profile-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 26px 28px;
  background: var(--mu-panel);
  border: 1px solid var(--mu-gold-line);
  border-radius: var(--mu-radius);
  box-shadow: var(--mu-shadow);
  overflow: hidden;
}

.profile-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 150% at 0% 0%, var(--mu-gold-glow), transparent 55%);
}

.profile-hero-avatar {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 42px;
  color: var(--mu-gold-bright);
  background: linear-gradient(180deg, #131a26, #0a0e15);
  border: 2px solid var(--mu-gold-line);
  box-shadow: 0 0 0 6px rgba(224, 176, 97, 0.06), inset 0 0 26px rgba(224, 176, 97, 0.10);
}

.profile-hero-main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 200px;
}

.profile-hero-kicker {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mu-gold);
  margin-bottom: 4px;
}

.profile-hero-name {
  font-family: var(--mu-font-title);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.05;
  margin: 0 0 8px;
  color: var(--mu-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  color: var(--mu-text-dim);
  font-size: 0.9rem;
}

.profile-hero-meta i {
  color: var(--mu-gold);
  margin-right: 7px;
}

.profile-hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-stat {
  min-width: 92px;
  text-align: center;
  padding: 12px 14px;
  border-radius: var(--mu-radius-sm);
  background: var(--mu-panel-deep);
  border: 1px solid var(--mu-line);
}

.profile-stat-value {
  display: block;
  font-family: var(--mu-font-title);
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--mu-gold-bright);
}

.profile-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mu-text-dim);
}

.profile-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Cards de personagem */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.char-card {
  background: var(--mu-panel);
  border: 1px solid var(--mu-line);
  border-radius: var(--mu-radius);
  padding: 18px;
  box-shadow: var(--mu-shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.char-card:hover {
  border-color: var(--mu-gold-line);
  transform: translateY(-2px);
}

.char-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.char-card-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  border-radius: var(--mu-radius-sm);
  background: radial-gradient(circle at 50% 30%, #1a2331, #0a0e15);
  border: 1px solid var(--mu-gold-line);
}

.char-card-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.char-card-head {
  flex: 1 1 auto;
  min-width: 0;
}

.char-card-name {
  font-family: var(--mu-font-title);
  font-size: 1.2rem;
  margin: 0;
  color: var(--mu-gold-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.char-card-class {
  color: var(--mu-text-dim);
  font-size: 0.85rem;
}

.char-card-level {
  text-align: center;
  padding-left: 12px;
  border-left: 1px solid var(--mu-line);
}

.char-card-level span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mu-text-dim);
}

.char-card-level strong {
  font-family: var(--mu-font-title);
  font-size: 1.5rem;
  color: var(--mu-gold);
}

.char-card-meta {
  margin-top: 12px;
  color: var(--mu-text-dim);
  font-size: 0.9rem;
}

.char-card-meta i {
  color: var(--mu-gold);
  margin-right: 7px;
}

.char-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.char-card-actions .btn {
  flex: 1 1 auto;
}

.char-card-more {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.profile-empty {
  padding: 28px;
  text-align: center;
  color: var(--mu-text-dim);
  background: var(--mu-panel-soft);
  border: 1px dashed var(--mu-line);
  border-radius: var(--mu-radius);
}

@media (max-width: 575.98px) {
  .profile-hero {
    padding: 20px;
    gap: 16px;
  }
  .profile-hero-stats {
    width: 100%;
  }
  .profile-stat {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* ------------------------------------------------------------------
   Top 10 (lista estilo placar)
   ------------------------------------------------------------------ */
body.site-body .mu-top-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.site-body .mu-top-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--mu-line);
  border-left: 3px solid transparent;
  border-radius: var(--mu-radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

body.site-body .mu-top-item:hover {
  border-color: var(--mu-gold-line);
  border-left-color: var(--mu-gold);
  background: linear-gradient(180deg, rgba(224, 176, 97, 0.14), rgba(0, 0, 0, 0.28));
  transform: translateX(4px);
}

body.site-body .mu-top-rank {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mu-gold-line);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--mu-font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mu-text-dim);
}

/* 1o, 2o e 3o lugar */
body.site-body .mu-top-item:nth-child(1) {
  border-left-color: #f7e0a8;
}
body.site-body .mu-top-item:nth-child(2) {
  border-left-color: #cfd6dd;
}
body.site-body .mu-top-item:nth-child(3) {
  border-left-color: #c9803f;
}

body.site-body .mu-top-item:nth-child(1) .mu-top-rank {
  color: #2a1d05;
  background: linear-gradient(180deg, #f7e0a8, #d9a63f);
  border-color: #f7e0a8;
  box-shadow: 0 0 14px rgba(224, 176, 97, 0.55);
}

body.site-body .mu-top-item:nth-child(2) .mu-top-rank {
  color: #23262b;
  background: linear-gradient(180deg, #eef1f4, #b9c1c9);
  border-color: #eef1f4;
}

body.site-body .mu-top-item:nth-child(3) .mu-top-rank {
  color: #2b1a10;
  background: linear-gradient(180deg, #e8b083, #b87333);
  border-color: #e8b083;
}

body.site-body .mu-top-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1rem;
  font-weight: 600;
  color: var(--mu-text);
}

body.site-body .mu-top-item:hover .mu-top-name {
  color: var(--mu-gold-bright);
}

body.site-body .mu-top-stats {
  flex: 0 0 auto;
  display: flex;
  gap: 18px;
  text-align: right;
}

body.site-body .mu-top-stat {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

body.site-body .mu-top-stat b {
  font-family: var(--mu-font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--mu-gold-bright);
}

body.site-body .mu-top-stat small {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mu-text-dim);
}

body.site-body .mu-top-empty {
  padding: 18px;
  text-align: center;
  color: var(--mu-text-dim);
  border: 1px dashed var(--mu-line);
  border-radius: var(--mu-radius-sm);
}

@media (max-width: 575.98px) {
  body.site-body .mu-top-item {
    gap: 8px;
    padding: 8px 10px;
  }
  body.site-body .mu-top-rank {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }
  body.site-body .mu-top-name {
    font-size: 0.9rem;
  }
  body.site-body .mu-top-stats {
    gap: 10px;
  }
  body.site-body .mu-top-stat b {
    font-size: 0.88rem;
  }
  body.site-body .mu-top-stat small {
    display: none;
  }
}

/* ------------------------------------------------------------------
   Celular
   Ajustes que faltavam: o grid de personagens usa minmax(320px), que
   estoura numa tela de 320px; o emblema do hero e os botoes ficam
   grandes demais; e as estatisticas ficam apertadas em duas colunas.
   ------------------------------------------------------------------ */
@media (max-width: 575.98px) {
  body.site-body .char-grid { grid-template-columns: 1fr; }

  body.site-body .mu-hero-emblem { width: 96px; }

  body.site-body .mu-hero-actions { gap: 8px; }
  body.site-body .mu-hero-actions .btn {
    min-width: 0; flex: 1 1 150px; padding: 11px 18px;
  }

  body.site-body .mu-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  }

  body.site-body .news-body--thumb { gap: 12px; }

  .profile-hero-stats { gap: 8px; }
  .profile-stat { padding: 10px 8px; min-width: 78px; }
  .profile-stat-value { font-size: 1.05rem; }

  body.site-body .mu-item-grid { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
}

@media (max-width: 400px) {
  body.site-body .mu-stat-row { grid-template-columns: 1fr; }
  .profile-stat { min-width: 68px; }
}
