/* ============================================================
   MUONLINE X — TEMPLATE PREMIUM
   ------------------------------------------------------------
   ALTERAÇÃO RÁPIDA DO TEMA:
   Edite as variáveis abaixo para mudar cores, largura e sombras.
   ============================================================ */

:root {
  --bg: #050706;
  --bg-deep: #020403;
  --bg-soft: #09100d;
  --surface: #0b110f;
  --surface-2: #0e1713;
  --text: #f1eee4;
  --text-soft: #c2c1ba;
  --muted: #858b85;
  --gold: #c99b42;
  --gold-light: #f2d681;
  --gold-bright: #ffe9a3;
  --gold-dark: #6d4a18;
  --emerald: #087c69;
  --emerald-light: #22c4a8;
  --emerald-dark: #03443b;
  --red: #a53b25;
  --line: rgba(218, 174, 78, 0.22);
  --line-strong: rgba(236, 195, 103, 0.48);
  --glass: rgba(7, 11, 9, 0.72);
  --header-height: 78px;
  --container: 1220px;
  --shadow-lg: 0 35px 90px rgba(0, 0, 0, 0.58);
  --shadow-gold: 0 18px 50px rgba(167, 118, 28, 0.18);
}

/* Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--gold-dark) var(--bg-deep);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 9%, rgba(14, 105, 91, 0.11), transparent 26%),
    linear-gradient(180deg, #050806 0%, #030504 100%);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.65;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

/* Cursor customizado do tema (mesmo estilo do demo.morpheusmuweb.com) */
html,
body {
  cursor: url("../images/elementos/cursor.png") 4 4, auto !important;
}

a,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
label[for],
select,
[role="button"],
[data-ajax],
.btn,
.class-option,
.market-category,
.market-pill {
  cursor: url("../images/elementos/cursor-hover.png") 6 4, pointer !important;
}

::selection {
  color: #151006;
  background: var(--gold-light);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--bg-deep);
  border-radius: 10px;
  background: linear-gradient(var(--gold-light), var(--gold-dark));
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

/* Efeitos globais */
.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("../images/mux/noise.svg");
  mix-blend-mode: screen;
}

.cursor-light {
  position: fixed;
  z-index: 998;
  width: 460px;
  height: 460px;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(14, 142, 119, 0.065),
    rgba(14, 142, 119, 0.02) 38%,
    transparent 70%
  );
  transition: opacity 0.25s;
}

body:hover .cursor-light {
  opacity: 1;
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1200;
  height: 2px;
  background: transparent;
}

.page-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--emerald-light), var(--gold-light));
  box-shadow: 0 0 16px rgba(238, 201, 105, 0.5);
}

/* Tipografia */
h1,
h2,
h3,
h4,
strong,
.brand,
.btn {
  font-family: "Cinzel", Georgia, serif;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

h2 span,
h1 span {
  display: block;
  color: var(--gold-light);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: 126px 0;
}

.section-intro {
  max-width: 920px;
  margin-bottom: 64px;
}

.section-intro.centered {
  margin-inline: auto;
  text-align: center;
}

.section-intro.centered > p:last-child {
  max-width: 710px;
  margin: 24px auto 0;
  color: var(--muted);
}

.section-intro-split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 90px;
}

.section-copy {
  padding-bottom: 8px;
  border-left: 1px solid var(--line);
  padding-left: 34px;
}

.section-copy p {
  color: var(--muted);
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.section-head-row {
  margin-bottom: 58px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.section-head-row > p {
  max-width: 440px;
  margin-bottom: 8px;
  color: var(--muted);
}

/* Announcement */
.announcement {
  position: relative;
  z-index: 120;
  height: 34px;
  display: flex;
  align-items: center;
  color: #d8d4c7;
  background:
    linear-gradient(90deg, rgba(5, 82, 70, 0.2), transparent 24%, transparent 76%, rgba(5, 82, 70, 0.2)),
    #030504;
  border-bottom: 1px solid rgba(207, 164, 67, 0.13);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.announcement p,
.announcement a {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.announcement p {
  display: flex;
  align-items: center;
  gap: 11px;
}

.announcement p b {
  color: var(--gold);
}

.announcement a {
  color: var(--gold-light);
}

.live-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #36d69c;
  box-shadow: 0 0 0 4px rgba(54, 214, 156, 0.08), 0 0 15px rgba(54, 214, 156, 0.7);
  animation: livePulse 2s infinite;
}

/* Header */
.site-header {
  position: fixed;
  top: 34px;
  right: 0;
  left: 0;
  z-index: 110;
  height: var(--header-height);
  transition: 0.35s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  opacity: 0.6;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(221, 178, 82, 0.06) 15%,
      rgba(221, 178, 82, 0.28) 50%,
      rgba(221, 178, 82, 0.06) 85%,
      transparent
    );
}

.site-header.scrolled {
  top: 0;
  height: 68px;
  background: rgba(3, 6, 4, 0.91);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand img {
  width: 158px;
  transition: 0.25s;
}

.site-header.scrolled .brand img {
  width: 138px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(19px, 2.4vw, 35px);
}

.main-nav a {
  position: relative;
  padding: 29px 0 26px;
  color: rgba(235, 233, 224, 0.78);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.site-header.scrolled .main-nav a {
  padding-block: 23px 20px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 18px;
  left: 50%;
  height: 1px;
  background: var(--gold-light);
  box-shadow: 0 0 10px var(--gold);
  transition: 0.25s;
}

.main-nav a:hover {
  color: var(--gold-light);
}

.main-nav a:hover::after {
  right: 0;
  left: 0;
}

/* "Premium" com o mesmo brilho dourado pulsante do #1 do ranking
   (Html Template/index.html, .rank .top1 .top-animate) */
.main-nav a.nav-premium {
  color: #fff;
  animation: navPremiumGlow 2s infinite linear;
}

.main-nav a.nav-premium:hover {
  color: #fff;
}

@keyframes navPremiumGlow {
  0%, 100% {
    text-shadow: 0 0 0 var(--gold-light);
  }
  50% {
    text-shadow: 0 0 14px var(--gold-light);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.login-link {
  color: #adafa8;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.25s;
}

.login-link:hover {
  color: var(--gold-light);
}

/* Mesmo efeito de hover do botão "Criar conta" (.header-play) ao lado */
.login-link.btn-image:hover {
  filter: brightness(1.14);
  transform: translateY(-2px);
}

.header-play {
  padding: 11px 18px;
  color: #151006;
  background: linear-gradient(180deg, #f5dc86 0%, #bf8d32 55%, #7b5118 100%);
  clip-path: polygon(
    9px 0,
    calc(100% - 9px) 0,
    100% 50%,
    calc(100% - 9px) 100%,
    9px 100%,
    0 50%
  );
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold);
  transition: 0.25s;
}

.header-play:hover {
  filter: brightness(1.14);
  transform: translateY(-2px);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid var(--line);
  background: rgba(3, 6, 5, 0.68);
}

.menu-toggle i {
  width: 20px;
  height: 1px;
  display: block;
  margin: 5px auto;
  background: var(--gold-light);
  transition: 0.25s;
}

/* Botões */
.btn {
  position: relative;
  min-width: 216px;
  min-height: 56px;
  padding: 15px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  overflow: hidden;
  border: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: 0.28s ease;
  clip-path: polygon(
    13px 0,
    calc(100% - 13px) 0,
    100% 50%,
    calc(100% - 13px) 100%,
    13px 100%,
    0 50%
  );
}

.btn:hover {
  transform: translateY(-4px);
}

.btn-gold {
  color: #171107;
  background:
    linear-gradient(
      180deg,
      var(--gold-bright) 0%,
      #d8a84d 41%,
      #9a681e 72%,
      #6d4513 100%
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 205, 0.5),
    inset 0 -6px 14px rgba(59, 33, 2, 0.34),
    0 18px 42px rgba(130, 87, 19, 0.28);
}

.btn-gold:hover {
  filter: brightness(1.1);
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 205, 0.7),
    0 22px 55px rgba(184, 130, 31, 0.34);
}

.btn-shine {
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -40%;
  width: 30%;
  transform: rotate(18deg);
  background: rgba(255, 255, 255, 0.24);
  filter: blur(2px);
  animation: buttonShine 4s ease-in-out infinite;
}

.btn-ghost {
  border: 1px solid rgba(227, 191, 108, 0.42);
  color: #e9e4d5;
  background:
    linear-gradient(180deg, rgba(15, 20, 17, 0.72), rgba(4, 7, 5, 0.72));
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.015);
}

.btn-ghost:hover {
  border-color: var(--gold-light);
  background: rgba(14, 19, 16, 0.88);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.play-symbol {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  padding-left: 2px;
  border: 1px solid rgba(241, 215, 146, 0.45);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 0.55rem;
}

/* Rótulo em duas linhas dos botões do hero (Jogue agora / Cadastre-se) */
.btn-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
}

.btn-lines strong {
  font-size: 0.78rem;
}

.btn-lines small {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

/* Selo "Novo" brilhando em cima do botão "Jogue agora" */
/* Wrapper só pra tirar o selo de dentro do .btn — o clip-path do
   hexágono recorta qualquer filho dele, inclusive um badge posicionado
   pra fora com top negativo, então o selo precisa ficar fora do .btn. */
.btn-wrap {
  position: relative;
  display: inline-flex;
}

.btn-new-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, #ff5b47, #c81e1e);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: newBadgePulse 1.6s ease-in-out infinite;
  z-index: 2;
}

@keyframes newBadgePulse {
  0%, 100% {
    box-shadow: 0 0 6px rgba(255, 60, 40, 0.5);
  }
  50% {
    box-shadow: 0 0 16px rgba(255, 90, 70, 0.95);
  }
}

/* Botões-imagem (teste): troca o visual desenhado em CSS (gradiente +
   clip-path hexagonal) por uma arte pronta em PNG. min-width/min-height
   do .btn original são zerados aqui pra não brigar com o tamanho fixo
   definido mais abaixo pro <img>. */
.btn-image {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  clip-path: none;
  overflow: visible;
  flex-direction: column;
  gap: 6px;
}

.btn-image:hover {
  background: none;
  border-color: transparent;
  box-shadow: none;
}

/* Largura+altura fixas pra imagens com proporção diferente
   (jogar/criar/entrar) renderem todas com o mesmo "tamanho de botão".
   object-fit: contain mantinha a proporção original de cada arte, mas
   como as telas têm proporções diferentes entre si (ex.: 280x107 vs
   270x117), isso deixava uma sobra vazia nas laterais da imagem mais
   estreita — na prática ela ficava menor que a outra. fill estica pra
   preencher o box inteiro (distorção mínima, as proporções são bem
   parecidas), garantindo o mesmo tamanho visual pra todas. */
.btn-image img {
  display: block;
  object-fit: fill;
  max-width: 100%;
}

/* Largura calculada na proporção média entre as 2 artes (jogar
   280x107 e criar 270x117), pra dividir a distorção do fill igual
   entre as duas em vez de uma esticar quase nada e a outra esticar
   bem mais */
.hero-actions .btn-image img {
  width: 246px;
  height: 100px;
}

/* Arte do "Criar conta" tem moldura mais fina/plana que a do "Jogar
   agora" (menos dourado, sem gemas), então mesmo com a mesma caixa
   ela parece menor — aumenta só essa em ~15% pra equilibrar o peso
   visual dos dois botões */
.hero-actions .btn-ghost.btn-image img {
  width: 283px;
  height: 115px;
}

/* Base pro "Entrar" (só ele usa esse tamanho agora, já que o "Criar
   conta" tem override próprio maior logo abaixo) */
.header-actions .btn-image img {
  width: 117px;
  height: 43px;
}

/* Mesmo ajuste do hero: a arte do "Criar conta" tem moldura mais
   fina que a do "Entrar", então precisa de um pouco mais de tamanho
   pra não parecer menor mesmo com a caixa igual */
.header-actions .header-play.btn-image img {
  width: 168px;
  height: 62px;
}

/* Sendo mais alto que o "Entrar", ficava um pouco mais baixo dentro
   da linha (align-items:center); sobe um pouco pra alinhar melhor */
.header-actions .header-play.btn-image {
  position: relative;
  top: -3px;
}

/* Legenda que sobra do texto original (a chamada principal já vem
   desenhada dentro da própria imagem do botão) */
.btn-image-caption {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
}

@media (max-width: 720px) {
  .hero-actions .btn-image img {
    width: 197px;
    height: 80px;
  }

  .hero-actions .btn-ghost.btn-image img {
    width: 227px;
    height: 92px;
  }
}

.btn-outline-small {
  min-width: 188px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
  background: rgba(5, 9, 7, 0.42);
}

/* Hero */
.hero {
  min-height: 930px;
  height: max(100vh, 930px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
}

.hero-art {
  position: absolute;
  inset: -5%;
  z-index: -6;
  overflow: hidden;
  will-change: transform;
  animation: heroBreath 18s ease-in-out infinite alternate;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 4, 3, 0.94) 0%, rgba(2, 4, 3, 0.24) 35%, rgba(2, 4, 3, 0.18) 62%, rgba(2, 4, 3, 0.84) 100%),
    linear-gradient(180deg, rgba(2, 4, 3, 0.58), transparent 28%, transparent 68%, #050706 100%);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(circle at 22% 43%, rgba(8, 145, 119, 0.22), transparent 25%),
    radial-gradient(circle at 76% 42%, rgba(157, 54, 29, 0.18), transparent 27%),
    linear-gradient(180deg, transparent 48%, rgba(2, 4, 3, 0.32));
  mix-blend-mode: screen;
  animation: atmosphereMove 10s ease-in-out infinite alternate;
}

.hero-radial {
  position: absolute;
  left: 52%;
  top: 50%;
  z-index: -4;
  width: 760px;
  height: 760px;
  transform: translate(-50%, -50%);
  opacity: 0.14;
  background:
    url("../images/mux/arcane-rings.svg") center / contain no-repeat;
  animation: slowRotate 48s linear infinite;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 70px;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-chip {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 7px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(226, 189, 102, 0.18);
  color: #bcbeb8;
  background: rgba(3, 7, 5, 0.45);
  backdrop-filter: blur(8px);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-chip i {
  width: 1px;
  height: 12px;
  background: var(--line);
}

.hero-logo-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto 22px;
}

.hero-logo {
  display: block;
  width: clamp(540px, 62vw, 780px);
  margin: 0;
  filter:
    drop-shadow(0 16px 32px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 22px rgba(15, 107, 92, 0.14));
}

.hero-logo-glow {
  position: absolute;
  left: 79.5%;
  top: 47.4%;
  width: 4.5%;
  height: 14%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(226, 255, 250, 0.95) 0%, var(--emerald-light) 45%, rgba(34, 196, 168, 0) 75%);
  filter: blur(3px);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: logoGemPulse 2.4s ease-in-out infinite;
}

@keyframes logoGemPulse {
  0%, 100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.85);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.25);
  }
}

.hero-kicker {
  margin-bottom: 14px;
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0 auto 23px;
  font-size: clamp(2.8rem, 5.4vw, 5.8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.72);
}

.hero h1 span {
  margin-top: 7px;
  font-weight: 800;
  /* mesmo brilho dourado pulsante do link "Premium" no menu */
  animation: navPremiumGlow 2s infinite linear;
}

.hero-description {
  max-width: 690px;
  margin: 0 auto 33px;
  color: #b6b9b4;
  font-size: 0.96rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-proof {
  margin: 34px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.player-faces {
  display: flex;
  padding-left: 12px;
}

.player-faces span {
  width: 38px;
  height: 38px;
  margin-left: -12px;
  display: grid;
  place-items: center;
  border: 2px solid #07100c;
  border-radius: 50%;
  color: #f0d98e;
  background:
    radial-gradient(circle at 40% 30%, #214d43, #08110e 70%);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.56rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

.hero-proof strong {
  display: block;
  color: #e9e6dc;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-proof small {
  display: block;
  color: #727973;
  font-size: 0.66rem;
}

/* Server console */
.server-console {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid rgba(222, 180, 84, 0.25);
  background:
    linear-gradient(180deg, rgba(11, 18, 15, 0.84), rgba(4, 8, 6, 0.9));
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.018),
    var(--shadow-lg);
}

.server-console::before,
.server-console::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  pointer-events: none;
}

.server-console::before {
  inset: 8px auto auto 8px;
  border-top: 1px solid var(--gold-light);
  border-left: 1px solid var(--gold-light);
}

.server-console::after {
  inset: auto 8px 8px auto;
  border-right: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.console-head small {
  display: block;
  margin-bottom: 3px;
  color: #767d77;
  font-size: 0.59rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-head strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.online-label {
  padding: 6px 9px;
  border: 1px solid rgba(54, 214, 156, 0.2);
  color: #58dfa9;
  background: rgba(18, 133, 91, 0.08);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.console-orbit {
  height: 235px;
  position: relative;
  display: grid;
  place-items: center;
}

.console-orbit img {
  width: 128px;
  position: relative;
  z-index: 2;
  filter:
    drop-shadow(0 15px 26px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 24px rgba(18, 174, 144, 0.28));
  animation: crystalFloat 4s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(67, 213, 184, 0.18);
  border-radius: 50%;
}

.orbit-ring-a {
  width: 190px;
  height: 190px;
  border-style: dashed;
  animation: slowRotate 16s linear infinite;
}

.orbit-ring-b {
  width: 150px;
  height: 150px;
  border-color: rgba(227, 184, 82, 0.2);
  animation: slowRotateReverse 13s linear infinite;
}

.crystal-pulse {
  position: absolute;
  width: 120px;
  height: 35px;
  bottom: 39px;
  border-radius: 50%;
  background: rgba(23, 174, 145, 0.2);
  filter: blur(13px);
  animation: pulseShadow 3s infinite;
}

.console-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.console-stats > div {
  min-height: 74px;
  padding: 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.console-stats small {
  display: block;
  color: #707871;
  font-size: 0.57rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.console-stats strong {
  color: #eee9dc;
  font-size: 1rem;
}

.console-stats em {
  color: var(--gold-light);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.65rem;
  font-style: normal;
}

.console-next {
  margin-top: 20px;
}

.console-next > span {
  display: block;
  margin-bottom: 8px;
  color: #6e756f;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.console-next > div {
  padding: 12px 13px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.console-next img {
  width: 28px;
}

.console-next strong {
  font-size: 0.75rem;
}

.console-next time {
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
}

/* Hero side */
.hero-side {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(210, 205, 190, 0.36);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-side i {
  width: 1px;
  height: 65px;
  background: linear-gradient(transparent, var(--gold-dark), transparent);
}

.hero-side-left {
  left: 20px;
  transform: translateY(-50%) rotate(180deg);
}

/* Ticker de chat do servidor (visual, mensagens simuladas via JS) */
.hero-chat-feed {
  position: absolute;
  right: 40px;
  bottom: 130px;
  z-index: 2;
  width: 360px;
  max-width: 34vw;
  padding: 12px 16px 14px;
}

.hero-chat-feed-head {
  margin-bottom: 8px;
  color: rgba(210, 205, 190, 0.4);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-chat-feed-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 168px;
  justify-content: flex-end;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%);
  mask-image: linear-gradient(to bottom, transparent, black 30%);
}

.hero-chat-line {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(200, 205, 198, 0.55);
  font-size: 0.68rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
  animation: heroChatIn 0.4s ease forwards;
}

.hero-chat-line.is-highlight {
  color: #f2d681;
  font-weight: 700;
}

.hero-chat-tag {
  margin-right: 4px;
  color: rgba(122, 170, 158, 0.75);
}

.hero-chat-name {
  margin-right: 3px;
  color: var(--gold-light);
  font-weight: 700;
}

@keyframes heroChatIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-chat-feed {
    display: none;
  }
}

.scroll-down {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #858c86;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scroll-down span {
  width: 26px;
  height: 42px;
  position: relative;
  border: 1px solid rgba(229, 190, 100, 0.34);
  border-radius: 20px;
}

.scroll-down span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 7px;
  border-radius: 3px;
  transform: translateX(-50%);
  background: var(--gold-light);
  animation: scrollMouse 1.8s infinite;
}

.hero-platforms-label {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #9aa39c;
}

.hero-platforms-label a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: 0.25s;
}

.hero-platforms-label a:hover {
  color: var(--gold-bright);
}

.hero-platforms {
  margin: 14px 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Ícones de plataforma (Windows/Mac/Google Play/Android). Margem
   fixa em px (em vez de só o gap do container) pra garantir que
   nunca fiquem colados, independente do tamanho da tela. */
.platform-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  margin: 6px 8px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 9, 0.6);
  color: #d7dbd6;
  transition: 0.2s;
}

.platform-icon svg {
  width: 21px;
  height: 21px;
}

.platform-icon:hover {
  border-color: var(--line-strong);
  color: var(--gold-light);
}

/* Métricas */
.metric-bar {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(218, 174, 78, 0.15);
  border-bottom: 1px solid rgba(218, 174, 78, 0.15);
  background:
    linear-gradient(90deg, transparent, rgba(11, 85, 73, 0.08), transparent),
    rgba(5, 9, 7, 0.88);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  min-height: 122px;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-right: 1px solid var(--line);
}

.metric-item:first-child {
  border-left: 1px solid var(--line);
}

.metric-item > span {
  color: rgba(238, 207, 125, 0.38);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
}

.metric-item strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.35rem;
}

.metric-item small {
  display: block;
  color: #747b75;
  font-size: 0.65rem;
}

/* Universo / cinema */
.universe {
  background:
    radial-gradient(circle at 80% 10%, rgba(8, 118, 101, 0.12), transparent 26%);
}

.cinema-card {
  height: min(660px, 58vw);
  min-height: 440px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #080b09;
  box-shadow: var(--shadow-lg);
}

.cinema-card::before,
.cinema-card::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 80px;
  height: 80px;
  pointer-events: none;
}

.cinema-card::before {
  top: 10px;
  left: 10px;
  border-top: 1px solid var(--gold-light);
  border-left: 1px solid var(--gold-light);
}

.cinema-card::after {
  right: 10px;
  bottom: 10px;
  border-right: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.cinema-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1.1s ease;
}

.cinema-card:hover > img {
  transform: scale(1.035);
}

.cinema-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 46%, rgba(3, 5, 4, 0.94) 100%),
    linear-gradient(90deg, rgba(3, 5, 4, 0.4), transparent 45%);
}

.cinema-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(245, 218, 141, 0.65);
  border-radius: 50%;
  color: #1a1207;
  background:
    radial-gradient(circle at 40% 30%, #f9e392, #b77e25 64%, #65400e);
  box-shadow:
    0 0 0 12px rgba(4, 8, 6, 0.38),
    0 0 0 13px rgba(236, 195, 103, 0.12),
    0 22px 55px rgba(0, 0, 0, 0.55);
  transition: 0.28s;
}

.cinema-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow:
    0 0 0 17px rgba(230, 190, 99, 0.08),
    0 24px 65px rgba(0, 0, 0, 0.62);
}

.cinema-play span {
  padding-left: 5px;
  font-size: 1.2rem;
}

.cinema-caption {
  position: absolute;
  left: 42px;
  bottom: 37px;
  z-index: 2;
}

.cinema-caption small {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-light);
  font-size: 0.61rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cinema-caption strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 3rem);
  text-transform: uppercase;
}

.cinema-caption p {
  margin: 3px 0 0;
  color: #949b95;
  font-size: 0.75rem;
}

.cinema-badge {
  position: absolute;
  right: 35px;
  bottom: 35px;
  z-index: 2;
  min-width: 95px;
  padding: 12px;
  text-align: center;
  border: 1px solid var(--line-strong);
  background: rgba(5, 8, 6, 0.66);
  backdrop-filter: blur(12px);
}

.cinema-badge span {
  display: block;
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.cinema-badge small {
  color: #777f78;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Notícias */
.news {
  padding-top: 72px;
}

.minimal-link {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(237, 199, 109, 0.4);
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 24px;
}

.news-featured {
  min-height: 590px;
  display: grid;
  grid-template-rows: 350px 1fr;
  border: 1px solid var(--line);
  background: rgba(8, 12, 10, 0.82);
  transition: 0.35s;
}

.news-featured:hover,
.news-small:hover {
  border-color: var(--line-strong);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.news-image {
  position: relative;
  overflow: hidden;
}

.news-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 8, 6, 0.75));
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.8s;
}

.news-featured:hover .news-image img {
  transform: scale(1.035);
}

.news-image span,
.news-small > div > span {
  color: var(--gold-light);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.news-image span {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  background: rgba(4, 7, 5, 0.72);
}

.news-body {
  padding: 28px 30px 31px;
}

.news-body time,
.news-small time {
  display: block;
  margin-bottom: 8px;
  color: #69706b;
  font-size: 0.57rem;
  letter-spacing: 0.08em;
}

.news-body h3 {
  margin-bottom: 13px;
  font-size: clamp(1.4rem, 2.4vw, 2.15rem);
  text-transform: uppercase;
}

.news-body p {
  color: var(--muted);
  font-size: 0.82rem;
}

.news-body a,
.news-small a {
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-small {
  min-height: 181px;
  padding: 14px;
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(8, 12, 10, 0.68);
  transition: 0.3s;
}

.news-small > img {
  width: 100%;
  height: 151px;
  object-fit: cover;
}

.news-small h3 {
  margin: 4px 0 12px;
  font-size: 1rem;
  line-height: 1.25;
  text-transform: uppercase;
}

/* Recursos bento */
.features {
  background:
    radial-gradient(circle at 50% 42%, rgba(6, 107, 91, 0.12), transparent 38%),
    linear-gradient(180deg, transparent, rgba(6, 11, 9, 0.48), transparent);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 235px;
  gap: 18px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #09100d;
  transition: 0.35s;
}

.bento-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.3);
}

.bento-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.9s;
}

.bento-card:hover > img {
  transform: scale(1.04);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 5, 4, 0.03) 20%, rgba(3, 5, 4, 0.92) 100%),
    linear-gradient(90deg, rgba(3, 5, 4, 0.82), transparent 75%);
}

.bento-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 26px 28px;
}

.bento-number {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: rgba(237, 202, 117, 0.18);
  font-family: "Cinzel", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.bento-content .eyebrow {
  margin-bottom: 7px;
}

.bento-content h3 {
  margin-bottom: 8px;
  font-size: 1.42rem;
  text-transform: uppercase;
}

.bento-content p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 0;
  color: #969d97;
  font-size: 0.77rem;
}

.bento-content a {
  display: inline-block;
  margin-top: 15px;
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bento-large {
  grid-column: span 7;
  grid-row: span 2;
}

.bento-market {
  grid-column: span 5;
  grid-row: span 1;
}

.bento-progression {
  grid-column: span 5;
  grid-row: span 1;
  background:
    radial-gradient(circle at 75% 30%, rgba(11, 117, 100, 0.18), transparent 34%),
    linear-gradient(135deg, #0d1713, #070b09);
}

.bento-castle {
  grid-column: span 6;
  grid-row: span 2;
}

.bento-security {
  grid-column: span 6;
  grid-row: span 2;
  background:
    radial-gradient(circle at 65% 35%, rgba(201, 155, 66, 0.1), transparent 35%),
    linear-gradient(135deg, #0d1713, #070a09);
}

.progression-visual {
  position: absolute;
  top: 20px;
  right: 12px;
  width: 220px;
  height: 160px;
}

.progression-visual i {
  position: absolute;
  top: 75px;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.orb {
  position: absolute;
  top: 52px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(240, 209, 126, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #2bc2a8, #074c42 60%, #031b17);
  box-shadow: 0 0 25px rgba(25, 190, 160, 0.16);
}

.orb-a {
  left: 12px;
  transform: scale(0.62);
}

.orb-b {
  left: 84px;
  transform: scale(0.82);
}

.orb-c {
  right: 10px;
}

.mini-progress {
  width: min(330px, 100%);
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.mini-progress span {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 9px;
}

.mini-progress b {
  color: #777e78;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
}

.mini-progress i {
  height: 3px;
  background:
    linear-gradient(
      90deg,
      var(--gold-light) var(--fill),
      rgba(255, 255, 255, 0.07) var(--fill)
    );
}

.security-core {
  position: absolute;
  left: 52%;
  top: 42%;
  width: 300px;
  height: 300px;
  transform: translate(-10%, -50%);
  display: grid;
  place-items: center;
}

.security-core span {
  position: absolute;
  border: 1px solid rgba(229, 190, 101, 0.13);
  border-radius: 50%;
  animation: slowRotate 16s linear infinite;
}

.security-core span:nth-child(1) {
  width: 250px;
  height: 250px;
  border-style: dashed;
}

.security-core span:nth-child(2) {
  width: 188px;
  height: 188px;
  border-color: rgba(42, 196, 168, 0.13);
  animation-direction: reverse;
}

.security-core span:nth-child(3) {
  width: 120px;
  height: 120px;
}

.security-core img {
  width: 72px;
  filter: drop-shadow(0 0 24px rgba(216, 170, 71, 0.18));
}

/* Classes */
.classes {
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(5, 8, 6, 0.55) 22%, rgba(5, 8, 6, 0.55) 78%, var(--bg) 100%),
    url("../images/mux/images/bg_001.jpg") center / cover no-repeat;
}

.classes-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(7, 107, 91, 0.09);
  filter: blur(120px);
  pointer-events: none;
}

.classes .container {
  position: relative;
  z-index: 2;
}

.class-showcase {
  position: relative;
  min-height: 700px;
  display: grid;
  grid-template-columns: 290px minmax(330px, 1fr) 355px;
  align-items: stretch;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 8, 6, 0.88), rgba(10, 17, 14, 0.58), rgba(5, 8, 6, 0.9));
  box-shadow: var(--shadow-lg);
}

/* Pedras flutuando nas laterais da seção */
.classes-rock {
  position: absolute;
  top: 22%;
  z-index: 1;
  width: min(260px, 15vw);
  mix-blend-mode: multiply;
  opacity: 0.9;
  pointer-events: none;
  animation: classRockFloat 11s ease-in-out infinite;
}

.classes-rock-left {
  left: 1%;
}

.classes-rock-right {
  top: 40%;
  right: 1%;
  animation-name: classRockFloatMirror;
  animation-delay: -5.5s;
}

@keyframes classRockFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-34px);
  }
}

@keyframes classRockFloatMirror {
  0%, 100% {
    transform: scaleX(-1) translateY(0);
  }
  50% {
    transform: scaleX(-1) translateY(-34px);
  }
}

.class-selector {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  background: rgba(5, 8, 6, 0.58);
}

.class-option {
  min-height: 82px;
  padding: 16px 22px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgba(218, 174, 78, 0.11);
  text-align: left;
  background: transparent;
  transition: 0.25s;
}

.class-option > span {
  color: rgba(238, 203, 120, 0.3);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.62rem;
}

.class-option strong {
  display: block;
  color: #bfc2bc;
  font-size: 0.76rem;
  text-transform: uppercase;
  transition: 0.25s;
}

.class-option small {
  display: block;
  color: #5f6761;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.class-option:hover,
.class-option.active {
  padding-left: 28px;
  background:
    linear-gradient(90deg, rgba(203, 155, 60, 0.13), transparent);
}

.class-option.active {
  box-shadow: inset 2px 0 var(--gold-light);
}

.class-option:hover strong,
.class-option.active strong {
  color: var(--gold-light);
}

.class-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: center;
  background-image: url("../images/mux/images/bg-personagem.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.class-visual::after {
  content: "";
  position: absolute;
  inset: auto 10% 0;
  height: 22%;
  background: radial-gradient(ellipse, rgba(16, 177, 147, 0.26), transparent 68%);
  filter: blur(18px);
}

.class-visual > img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  object-fit: contain;
  object-position: bottom center;
  transform: scale(1.75);
  transform-origin: bottom center;
  filter:
    drop-shadow(0 24px 36px rgba(0, 0, 0, 0.72))
    saturate(0.95);
  transition: opacity 0.22s, transform 0.35s;
}

.class-visual.changing > img {
  opacity: 0;
  transform: translateY(18px) scale(1.72);
}

.class-watermark {
  position: absolute;
  left: 50%;
  top: 47%;
  z-index: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
  color: rgba(236, 210, 142, 0.045);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(5rem, 8vw, 9rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.class-aura {
  position: absolute;
  left: 50%;
  top: 49%;
  z-index: 0;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(21, 182, 153, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 70px rgba(16, 143, 122, 0.09),
    inset 0 0 65px rgba(16, 143, 122, 0.06);
}

.class-symbol {
  position: absolute;
  right: 25px;
  top: 24px;
  color: rgba(237, 203, 119, 0.25);
  font-size: 2rem;
}

.class-details {
  position: relative;
  z-index: 3;
  padding: 58px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 8, 6, 0.38), rgba(5, 8, 6, 0.86));
}

.class-details h3 {
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 2.6vw, 3.4rem);
  line-height: 1.02;
  text-transform: uppercase;
  overflow-wrap: break-word;
  hyphens: auto;
}

.class-details > p:not(.eyebrow) {
  color: #959c96;
  font-size: 0.8rem;
}

.class-tags {
  margin: 15px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.class-tags span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: #b7b9b3;
  background: rgba(255, 255, 255, 0.018);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.class-stats {
  margin-bottom: 31px;
  display: grid;
  gap: 15px;
}

.class-stats > div {
  display: grid;
  grid-template-columns: 72px 1fr 26px;
  align-items: center;
  gap: 10px;
}

.class-population {
  margin-bottom: 22px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.class-population strong {
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
}

.class-population span {
  color: #8c938d;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.class-stats span,
.class-stats em {
  color: #747b75;
  font-size: 0.58rem;
  font-style: normal;
  text-transform: uppercase;
}

.class-stats b {
  height: 3px;
  display: block;
  background: rgba(255, 255, 255, 0.07);
}

.class-stats i {
  height: 100%;
  display: block;
  width: var(--value);
  background: linear-gradient(90deg, var(--emerald-light), var(--gold-light));
  box-shadow: 0 0 12px rgba(227, 187, 94, 0.2);
  transition: width 0.55s ease;
}

/* Castle */
.castle {
  min-height: 860px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.castle-art {
  position: absolute;
  inset: -5%;
  background: url("../images/mux/castle-premium.svg") center / cover no-repeat;
  will-change: transform;
}

.castle-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 4, 0.95) 0%, rgba(3, 5, 4, 0.75) 43%, rgba(3, 5, 4, 0.26) 78%, rgba(3, 5, 4, 0.6) 100%),
    linear-gradient(
      180deg,
      #050706 0%,
      rgba(5, 7, 6, 0.92) 8%,
      rgba(5, 7, 6, 0.6) 18%,
      rgba(5, 7, 6, 0.22) 30%,
      transparent 42%,
      transparent 76%,
      rgba(5, 7, 6, 0.55) 90%,
      #050706 100%
    );
}

.castle-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 470px;
  align-items: center;
  gap: 85px;
}

.castle-content {
  max-width: 700px;
}

.castle-content h2 {
  margin-bottom: 22px;
  font-size: clamp(4.5rem, 8vw, 8rem);
  line-height: 0.82;
}

.castle-content p:not(.eyebrow) {
  max-width: 660px;
  color: #aeb3ad;
}

.castle-features {
  margin: 27px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
}

.castle-features span {
  color: #c0c2bc;
  font-size: 0.69rem;
}

.castle-features i {
  margin-right: 8px;
  color: var(--gold-light);
  font-size: 0.5rem;
}

.siege-card {
  position: relative;
  padding: 35px;
  border: 1px solid rgba(230, 190, 99, 0.4);
  background:
    linear-gradient(180deg, rgba(11, 18, 15, 0.9), rgba(4, 7, 5, 0.94));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.siege-card::before,
.siege-card::after {
  content: "";
  position: absolute;
  width: 65px;
  height: 65px;
}

.siege-card::before {
  left: 9px;
  top: 9px;
  border-top: 1px solid var(--gold-light);
  border-left: 1px solid var(--gold-light);
}

.siege-card::after {
  right: 9px;
  bottom: 9px;
  border-right: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.siege-card-top {
  text-align: center;
}

.siege-card-top span {
  display: block;
  margin-bottom: 5px;
  color: #7b827c;
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.siege-card-top strong {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.countdown {
  margin: 30px 0;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.countdown > i {
  width: 1px;
  height: 32px;
  background: var(--line);
}

.countdown > div {
  text-align: center;
}

.countdown strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.65rem;
}

.countdown span {
  color: #6f766f;
  font-size: 0.55rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.current-owner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.owner-emblem {
  width: 78px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.owner-emblem img {
  width: 58px;
}

.current-owner small,
.current-owner span {
  display: block;
}

.current-owner small {
  color: #707871;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.current-owner strong {
  display: block;
  margin: 2px 0;
  color: var(--gold-light);
  font-size: 1.4rem;
}

.current-owner span {
  color: #7d847e;
  font-size: 0.65rem;
}

.siege-prize {
  margin-top: 27px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.siege-prize span {
  color: #777e78;
  font-size: 0.61rem;
  text-transform: uppercase;
}

.siege-prize strong {
  color: var(--gold-light);
  font-size: 0.9rem;
}

/* Discord */
.discord {
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(3, 5, 4, 0.3) 14%, rgba(3, 5, 4, 0.3) 35%, rgba(3, 5, 4, 0.92) 88%, var(--bg) 100%),
    radial-gradient(circle at 15% 45%, rgba(88, 101, 242, 0.12), transparent 30%),
    url("../images/mux/images/discord.png") center / cover no-repeat;
}

.discord-glow {
  position: absolute;
  left: 12%;
  top: 50%;
  z-index: 0;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.12);
  filter: blur(130px);
  pointer-events: none;
}

.discord-glow-right {
  left: auto;
  right: 8%;
}

.discord-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 460px;
  align-items: center;
  gap: 75px;
}

.discord-content {
  max-width: 620px;
}

.discord-title-row {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.discord-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(88, 101, 242, 0.4);
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.04));
  color: #8d97ff;
}

.discord-icon svg {
  width: 28px;
  height: 28px;
}

.discord-title-row h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
}

.discord-title-row h2 span {
  color: #8d97ff;
}

.discord-content > p:not(.eyebrow) {
  max-width: 560px;
  color: #fff;
}

.discord-stats {
  margin: 28px 0 32px;
  display: flex;
  gap: 14px;
}

.discord-stats > div {
  flex: 1;
  padding: 18px 14px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--surface);
}

.discord-stats strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.5rem;
  color: var(--gold-light);
}

.discord-stats span {
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-discord {
  color: #fff;
  background: linear-gradient(180deg, #7d8aff 0%, #5865f2 55%, #4752c4 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 18px 42px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  filter: brightness(1.1);
}

.btn-discord svg {
  width: 18px;
  height: 18px;
}

.discord-card {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11, 18, 15, 0.9), rgba(4, 7, 5, 0.94));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.discord-card-head {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.discord-card-head img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.discord-card-head strong {
  display: block;
  font-size: 0.85rem;
}

.discord-card-head span {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.63rem;
}

.discord-card-head span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 8px var(--emerald-light);
}

.discord-card-body {
  padding: 18px 22px 24px;
}

.discord-card-body > p {
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.6;
}

.discord-card-meta {
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
}

.discord-card-meta > div {
  flex: 1;
  padding: 14px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--surface);
}

.discord-card-meta strong {
  display: block;
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.2rem;
}

.discord-card-meta span {
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discord-card-join {
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: linear-gradient(180deg, #7d8aff 0%, #5865f2 55%, #4752c4 100%);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: 0.25s;
}

.discord-card-join:hover {
  filter: brightness(1.1);
}

/* CTA final */
.final-cta {
  min-height: 820px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.final-art {
  position: absolute;
  inset: 0;
  background: url("../images/mux/images/hero-bg3.png") center / cover no-repeat;
  animation: heroBreath 20s ease-in-out infinite alternate;
}

.final-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(7, 120, 100, 0.11), rgba(3, 5, 4, 0.84) 72%),
    linear-gradient(180deg, var(--bg) 0%, transparent 26%, transparent 79%, #030504 100%);
}

.final-content {
  position: relative;
  max-width: 850px;
  text-align: center;
}

.final-content h2 {
  font-size: clamp(2.8rem, 5.7vw, 5.8rem);
}

.final-content > p:not(.eyebrow) {
  max-width: 700px;
  margin: 23px auto 30px;
  color: #9ca29c;
}

.final-content .hero-actions {
  justify-content: center;
}

.download-meta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #fff;
  font-size: 0.61rem;
}

.download-meta i {
  width: 1px;
  height: 14px;
  background: var(--line);
}

/* Footer */
.site-footer {
  padding: 52px 0 26px;
  border-top: 1px solid var(--line);
  background: #020403;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.72fr);
  gap: 45px;
}

.footer-brand > img {
  width: 170px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 320px;
  color: #6c746d;
  font-size: 0.7rem;
}

.social-links {
  margin-top: 23px;
  display: flex;
  gap: 8px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold-light);
  transition: 0.25s;
}

.social-links a svg {
  width: 16px;
  height: 16px;
  transition: 0.25s;
}

.social-links a:hover {
  border-color: var(--gold-light);
  color: #171006;
  background: var(--gold-light);
}

.footer-column h4 {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 9px 0;
  color: #747c75;
  font-size: 0.68rem;
  transition: 0.25s;
}

.footer-column a:hover {
  color: var(--gold-light);
}

/* Barra horizontal com status do servidor + staff, abaixo das
   colunas (antes era uma coluna própria à direita, deixando o
   rodapé bem mais alto) */
.footer-status {
  margin-top: 20px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.footer-status-live {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.footer-status-live strong {
  color: #c8cbc4;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.65rem;
}

.footer-status-sep {
  color: var(--line);
}

.footer-status-count {
  color: #535b54;
  font-size: 0.58rem;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: #4e554f;
  font-size: 0.68rem;
}

.footer-bottom p {
  margin: 0;
}

/* Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
}

.video-modal.open {
  display: grid;
}

.modal-frame {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  background: #060907;
  box-shadow: var(--shadow-lg);
}

.modal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-close {
  position: fixed;
  right: 30px;
  top: 24px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 2.5rem;
}

/* Botão topo */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: 46px;
  height: 46px;
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--line);
  color: var(--gold-light);
  background: rgba(4, 8, 6, 0.84);
  backdrop-filter: blur(12px);
  transition: 0.25s;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animações */
@keyframes livePulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(54, 214, 156, 0.07), 0 0 13px rgba(54, 214, 156, 0.55);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(54, 214, 156, 0.02), 0 0 20px rgba(54, 214, 156, 0.8);
  }
}

@keyframes heroBreath {
  from { transform: scale(1.015); }
  to { transform: scale(1.065); }
}

@keyframes atmosphereMove {
  from { transform: translate3d(-1.5%, 0, 0) scale(1); }
  to { transform: translate3d(1.5%, -1%, 0) scale(1.04); }
}

@keyframes slowRotate {
  to { transform: rotate(360deg); }
}

@keyframes slowRotateReverse {
  to { transform: rotate(-360deg); }
}

@keyframes crystalFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-11px) rotate(1deg); }
}

@keyframes pulseShadow {
  0%, 100% { transform: scale(0.85); opacity: 0.48; }
  50% { transform: scale(1.1); opacity: 0.75; }
}

@keyframes scrollMouse {
  0% { transform: translate(-50%, 0); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translate(-50%, 17px); opacity: 0; }
}

@keyframes buttonShine {
  0%, 58% { left: -40%; }
  78%, 100% { left: 125%; }
}

/* Responsividade */
@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 170px 1fr auto;
  }

  .main-nav {
    gap: 17px;
  }

  .login-link {
    display: none;
  }

  .hero-layout {
    gap: 45px;
  }

  .class-showcase {
    grid-template-columns: 245px minmax(300px, 1fr) 330px;
  }

  .footer-main {
    grid-template-columns: 1.3fr repeat(3, 0.75fr);
  }
}

@media (max-width: 980px) {
  .announcement {
    display: none;
  }

  .site-header,
  .site-header.scrolled {
    top: 0;
    height: 68px;
    background: rgba(3, 6, 4, 0.92);
    backdrop-filter: blur(16px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: fixed;
    inset: 68px 0 0;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    background:
      radial-gradient(circle at 50% 35%, rgba(8, 112, 95, 0.13), transparent 35%),
      rgba(3, 6, 4, 0.98);
    transform: translateX(100%);
    transition: 0.35s;
  }

  body.menu-open .main-nav {
    transform: translateX(0);
  }

  .main-nav a,
  .site-header.scrolled .main-nav a {
    padding: 10px;
    font-size: 0.85rem;
  }

  .main-nav a::after {
    bottom: 0;
  }

  .header-play {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  body.menu-open .menu-toggle i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.menu-open .menu-toggle i:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    height: auto;
    padding: 135px 0 105px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 800px;
  }

  .server-console {
    max-width: 520px;
  }

  .hero-side {
    display: none;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-item:nth-child(2) {
    border-right: 0;
  }

  .metric-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-intro-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-copy {
    max-width: 760px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-small {
    min-height: 360px;
    display: block;
  }

  .news-small > img {
    height: 190px;
    margin-bottom: 18px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 330px;
  }

  .bento-card {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .bento-large,
  .bento-castle,
  .bento-security {
    min-height: 450px;
  }

  .class-showcase {
    grid-template-columns: 210px 1fr;
  }

  .class-details {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .castle-layout {
    grid-template-columns: 1fr;
  }

  .siege-card {
    max-width: 550px;
  }

  .discord-layout {
    grid-template-columns: 1fr;
  }

  .discord-card {
    max-width: 550px;
    margin: 0 auto;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 86px 0;
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .hero {
    padding-top: 115px;
  }

  .hero-logo {
    width: 260px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .hero-description {
    font-size: 0.84rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .btn-wrap {
    width: 100%;
  }

  .hero-proof {
    align-items: flex-start;
  }

  .server-console {
    padding: 20px;
  }

  .console-orbit {
    height: 190px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-item,
  .metric-item:first-child,
  .metric-item:nth-child(2) {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-head-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .cinema-card {
    min-height: 400px;
    height: 105vw;
  }

  .cinema-caption {
    left: 24px;
    bottom: 24px;
  }

  .cinema-badge {
    display: none;
  }

  .cinema-play {
    width: 72px;
    height: 72px;
  }

  .news-featured {
    grid-template-rows: 255px 1fr;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .news-small {
    min-height: auto;
    display: grid;
    grid-template-columns: 120px 1fr;
  }

  .news-small > img {
    height: 135px;
    margin-bottom: 0;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-card {
    min-height: 390px;
  }

  .bento-market,
  .bento-progression {
    min-height: 330px;
  }

  .progression-visual {
    opacity: 0.55;
  }

  .security-core {
    left: 38%;
    opacity: 0.7;
  }

  .classes-rock {
    display: none;
  }

  .class-showcase {
    display: block;
  }

  .class-selector {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .class-option {
    min-width: 185px;
    min-height: 72px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .class-option:hover,
  .class-option.active {
    padding-left: 22px;
    box-shadow: inset 0 -2px var(--gold-light);
  }

  .class-visual {
    min-height: 510px;
  }

  .class-details {
    padding: 38px 25px;
  }

  .castle {
    min-height: 1050px;
  }

  .castle-content h2 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .castle-features {
    flex-direction: column;
  }

  .siege-card {
    padding: 27px 20px;
  }

  .countdown strong {
    font-size: 1.2rem;
  }

  .discord-title-row {
    align-items: flex-start;
  }

  .discord-stats {
    flex-direction: column;
  }

  .download-meta {
    flex-wrap: wrap;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cursor-light {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}



/* ============================================================
   CENTRAL DA PÁGINA INICIAL
   Notícias/Avisos • Castle Siege • Market • Ranking
   ============================================================ */
.home-portal {
  overflow: hidden;
  padding-top: 112px;
  background:
    linear-gradient(180deg, rgba(5, 8, 6, 0.16), rgba(7, 13, 10, 0.58), rgba(5, 8, 6, 0.04));
}

.portal-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(135px);
}

.portal-glow-a {
  left: -390px;
  top: 80px;
  background: rgba(5, 128, 107, 0.13);
}

.portal-glow-b {
  right: -420px;
  bottom: -90px;
  background: rgba(177, 117, 27, 0.08);
}

.portal-heading > p {
  max-width: 470px;
}

.portal-heading h2 span {
  display: block;
  color: var(--gold-light);
}

.portal-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.portal-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(13, 20, 17, 0.88), rgba(5, 9, 7, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.014),
    0 24px 58px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

.portal-panel:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.018),
    0 30px 70px rgba(0, 0, 0, 0.4);
}

.portal-panel::before,
.portal-panel::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  z-index: 4;
  pointer-events: none;
}

.portal-panel::before {
  top: 7px;
  left: 7px;
  border-top: 1px solid rgba(237, 199, 107, 0.38);
  border-left: 1px solid rgba(237, 199, 107, 0.38);
}

.portal-panel::after {
  right: 7px;
  bottom: 7px;
  border-right: 1px solid rgba(237, 199, 107, 0.22);
  border-bottom: 1px solid rgba(237, 199, 107, 0.22);
}

.portal-feed {
  grid-column: span 7;
  min-height: 478px;
  padding: 30px;
}

.portal-siege {
  grid-column: span 5;
  min-height: 478px;
}

.portal-market {
  grid-column: span 8;
  min-height: 430px;
  padding: 30px;
}

.portal-ranking {
  grid-column: span 4;
  min-height: 430px;
  padding: 30px;
}

.portal-panel-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
}

.portal-panel-head small {
  display: block;
  margin-bottom: 5px;
  color: #717a73;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-panel-head h3 {
  margin: 0;
  font-size: 1.32rem;
  text-transform: uppercase;
}

.portal-panel-head > a {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(237, 200, 111, 0.28);
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.portal-panel-head-light small {
  color: rgba(223, 226, 219, 0.62);
}

.portal-panel-head-light > a {
  color: #fff1bd;
}

.portal-tabs {
  position: relative;
  z-index: 3;
  margin-top: 24px;
  display: flex;
  border-bottom: 1px solid var(--line);
}

.portal-tabs button {
  min-width: 112px;
  padding: 0 3px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid transparent;
  color: #737b74;
  background: transparent;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-tabs button.active {
  border-bottom-color: var(--gold-light);
  color: var(--gold-light);
}

.notice-count {
  min-width: 19px;
  height: 19px;
  padding-inline: 5px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #181107;
  background: var(--gold-light);
  font-size: 0.5rem;
}

.home-feed {
  position: relative;
  z-index: 3;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Mesmo layout dos cards de /posts (views/plugins/Posts/partials/post.phtml
   e assets/css/custom-page.css .posts-row): ícone por tipo, data, selo,
   título, prévia e arte de fundo suave. Cores literais (não var(--cp-*))
   porque aquelas tokens só existem dentro de .char-profile, e este widget
   fica na home, fora desse escopo. */

/* custom-page.css já define esta regra, mas esse arquivo só carrega nas
   páginas internas (partial custons/custom-page) — a home usa mux.css, daí
   precisar dela aqui também para o ícone renderizar (senão cai no texto
   literal do nome do ícone em vez do glifo). */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
}

.home-feed-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 118px;
  overflow: hidden;
  padding: 16px 22px;
  border: 1px solid #2f3a33;
  background: #0a0d0d;
  transition: 0.2s;
}

.home-feed-item:hover {
  border-color: #8a6d3b;
}

.home-feed-art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-feed-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-feed-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 16, 15, 0.97) 45%, rgba(4, 16, 15, 0.55) 75%, rgba(4, 16, 15, 0.15));
}

.home-feed-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(63, 214, 189, 0.5);
  background: radial-gradient(circle at 40% 35%, rgba(63, 214, 189, 0.15), rgba(4, 16, 15, 0.9));
  box-shadow: 0 0 16px rgba(63, 214, 189, 0.2);
  color: #3fd6bd;
}

.home-feed-icon .material-symbols-outlined {
  font-size: 22px;
}

.home-feed-date {
  position: relative;
  z-index: 1;
  flex: none;
  width: 54px;
  text-align: center;
}

.home-feed-date strong {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #f0e6c8;
}

.home-feed-date span {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #d9b871;
}

.home-feed-date small {
  display: block;
  font-size: 0.6rem;
  color: #7e969a;
}

.home-feed-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.home-feed-tag {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 12px;
  border: 1px solid rgba(63, 214, 189, 0.5);
  background: rgba(18, 58, 51, 0.55);
  color: #7fe8d6;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
}

.home-feed-copy strong {
  display: block;
  color: #e8dcbb;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-feed-copy p {
  margin: 4px 0 0;
  max-width: 380px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: #9db4b6;
  font-size: 0.68rem;
  line-height: 1.5;
}

.home-feed-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  transform: rotate(45deg);
  border: 1px solid #8a6d3b;
  background: rgba(4, 16, 15, 0.85);
  color: #d9b871;
  font-size: 0.85rem;
  transition: 0.2s;
}

.home-feed-arrow > * {
  transform: rotate(-45deg);
}

.home-feed-item:hover .home-feed-arrow {
  border-color: #3fd6bd;
  color: #3fd6bd;
}

.portal-siege-art,
.portal-siege-shade {
  position: absolute;
  inset: 0;
}

.portal-siege-art {
  background: url("../images/mux/castle-premium.svg") 62% center / cover no-repeat;
  transition: transform 0.8s ease;
}

.portal-siege:hover .portal-siege-art {
  transform: scale(1.045);
}

.portal-siege-shade {
  background:
    linear-gradient(180deg, rgba(3, 5, 4, 0.38), rgba(3, 5, 4, 0.86)),
    linear-gradient(90deg, rgba(3, 5, 4, 0.86), rgba(3, 5, 4, 0.22));
}

.portal-panel-content {
  position: relative;
  z-index: 3;
  min-height: 478px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.portal-owner {
  margin-top: auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(237, 199, 107, 0.22);
}

.portal-owner img {
  width: 68px;
  height: 78px;
  object-fit: contain;
}

.portal-owner small,
.portal-owner span {
  display: block;
}

.portal-owner small {
  color: #929991;
  font-size: 0.54rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portal-owner strong {
  display: block;
  margin: 2px 0;
  color: var(--gold-light);
  font-size: 1.35rem;
}

.portal-owner span {
  color: #969d96;
  font-size: 0.61rem;
}

.mini-countdown {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(237, 199, 107, 0.22);
  background: rgba(2, 4, 3, 0.2);
}

.mini-countdown > i {
  width: 1px;
  height: 26px;
  background: rgba(237, 199, 107, 0.2);
}

.mini-countdown > div {
  text-align: center;
}

.mini-countdown strong {
  display: block;
  color: #fff0bd;
  font-size: 1.12rem;
}

.mini-countdown span {
  color: #899089;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-siege-bottom {
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #a3aaa3;
  font-size: 0.6rem;
}

.portal-siege-bottom strong {
  color: var(--gold-light);
  font-size: 0.66rem;
}

.market-preview-grid {
  /* .mk-card (mesmo card da página /market/items) espera estas
     variáveis, normalmente definidas em .mk (raiz daquela página) —
     redeclaradas aqui pra herdar corretamente fora daquele escopo */
  --mk-teal: #22c4a8;
  --mk-line: rgba(34, 196, 168, 0.16);
  --mk-panel: rgba(6, 12, 10, 0.72);
  position: relative;
  z-index: 3;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}

/* No preview da home o botão de comprar fica ABAIXO do preço (na
   página /market/items o .mk-card-foot original continua lado a
   lado) — sobrescrito só aqui, escopado ao grid da home */
.market-preview-grid .mk-card-foot {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.market-preview-grid .mk-cart {
  width: 100%;
  height: 34px;
}

.market-preview-item {
  min-width: 0;
  padding: 15px 13px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(218, 174, 78, 0.15);
  background:
    radial-gradient(circle at 50% 24%, rgba(13, 119, 101, 0.1), transparent 43%),
    rgba(255, 255, 255, 0.014);
  transition: 0.28s;
}

.market-preview-item:hover {
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 50% 24%, rgba(17, 151, 126, 0.15), transparent 43%),
    rgba(255, 255, 255, 0.02);
}

/* Mesma textura de fundo da área do item na página do Market
   (.mk-card-visual) — aqui não há uma div própria pra imagem, então
   entra via ::before cobrindo só a altura da imagem (150px + padding) */
.market-preview-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 62%, rgba(34, 196, 168, 0.14), transparent 52%),
    url("../images/mux/images/bg-item.png") center 30% / cover no-repeat;
}

.market-preview-item > img {
  width: 100%;
  height: 150px;
  position: relative;
  z-index: 1;
  object-fit: contain;
  filter:
    drop-shadow(0 15px 20px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 18px rgba(19, 146, 123, 0.12));
  transition: transform 0.28s ease;
}

.market-preview-item:hover > img {
  transform: translateY(-5px) scale(1.03);
}

.item-level {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 6px;
  border: 1px solid rgba(238, 201, 111, 0.24);
  color: var(--gold-light);
  background: rgba(3, 6, 4, 0.65);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.52rem;
}

.market-preview-item > div {
  position: relative;
  z-index: 1;
  min-height: 48px;
}

.market-preview-item strong,
.market-preview-item small {
  display: block;
}

.market-preview-item strong {
  overflow: hidden;
  color: #dddacf;
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-preview-item small {
  margin-top: 3px;
  overflow: hidden;
  color: #6f7770;
  font-size: 0.52rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-preview-item > b {
  display: block;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(218, 174, 78, 0.12);
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.62rem;
}

.portal-ranking-list {
  position: relative;
  z-index: 3;
  margin-top: 22px;
}

.portal-rank {
  min-height: 72px;
  display: grid;
  grid-template-columns: 30px 42px 1fr auto;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid rgba(218, 174, 78, 0.11);
}

.portal-rank:last-child {
  border-bottom: 0;
}

.portal-rank.champion {
  margin-bottom: 4px;
  padding-inline: 8px;
  border: 1px solid rgba(238, 199, 104, 0.22);
  background:
    linear-gradient(90deg, rgba(190, 138, 39, 0.08), transparent);
}

.portal-rank-position {
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.62rem;
}

.portal-rank-avatar {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
  color: var(--gold-light);
  background:
    radial-gradient(circle at 35% 28%, #1f6153, #07100d 72%);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.52rem;
  font-weight: 800;
}

.portal-rank-avatar img,
.portal-rank-avatar svg,
.portal-rank-avatar canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-rank strong,
.portal-rank small {
  display: block;
}

.portal-rank strong {
  font-size: 0.7rem;
}

.portal-rank small {
  margin-top: 2px;
  color: #707871;
  font-size: 0.51rem;
}

.portal-rank > b {
  color: var(--gold-light);
  font-size: 0.6rem;
}

/* ============================================================
   MARKET COMPLETO
   ============================================================ */
.market-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 35%, rgba(7, 120, 101, 0.11), transparent 32%),
    linear-gradient(180deg, transparent, rgba(6, 11, 9, 0.48), transparent);
}

.market-section-glow {
  position: absolute;
  left: -320px;
  bottom: -260px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(187, 128, 28, 0.055);
  filter: blur(130px);
}

.market-toolbar {
  margin-bottom: 24px;
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid var(--line);
  background: rgba(6, 10, 8, 0.7);
}

.market-filters {
  display: flex;
  overflow-x: auto;
}

.market-filters button {
  min-width: 108px;
  padding: 10px 15px;
  border: 0;
  color: #747c75;
  background: transparent;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.market-filters button.active {
  color: #171006;
  background: linear-gradient(#f0d47c, #9d6a20);
}

.market-account-link {
  padding-right: 10px;
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.market-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(13, 20, 17, 0.86), rgba(5, 8, 6, 0.95));
  transition: 0.32s;
}

.market-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.36);
}

.market-card-visual {
  height: 240px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 40%, rgba(14, 133, 111, 0.15), transparent 45%),
    linear-gradient(180deg, rgba(12, 20, 16, 0.8), rgba(5, 8, 6, 0.96));
}

.market-card-visual::before {
  content: "";
  position: absolute;
  width: 165px;
  height: 165px;
  border: 1px solid rgba(236, 199, 111, 0.08);
  border-radius: 50%;
}

.market-card-visual::after {
  content: "";
  position: absolute;
  width: 215px;
  height: 215px;
  border: 1px dashed rgba(28, 186, 155, 0.08);
  border-radius: 50%;
  animation: slowRotate 24s linear infinite;
}

.market-card-visual img {
  width: 88%;
  height: 88%;
  position: relative;
  z-index: 2;
  object-fit: contain;
  filter:
    drop-shadow(0 20px 24px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 22px rgba(15, 154, 128, 0.13));
  transition: transform 0.35s;
}

.market-card:hover .market-card-visual img {
  transform: translateY(-6px) scale(1.04);
}

.market-card-level,
.market-card-type {
  position: absolute;
  top: 13px;
  z-index: 3;
  padding: 5px 7px;
  border: 1px solid var(--line);
  background: rgba(3, 6, 4, 0.72);
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
}

.market-card-level {
  right: 13px;
  color: var(--gold-light);
}

.market-card-type {
  left: 13px;
  color: #8e978f;
}

.market-card-body {
  padding: 20px;
}

.market-card-name {
  min-height: 44px;
  margin-bottom: 10px;
}

.market-card-name h3 {
  margin: 0;
  color: #e7e3d7;
  font-size: 0.85rem;
  line-height: 1.28;
  text-transform: uppercase;
}

.market-card-name span {
  color: #6e766f;
  font-size: 0.55rem;
}

.market-options {
  min-height: 62px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
}

.market-options span {
  padding: 5px 7px;
  border: 1px solid rgba(218, 174, 78, 0.13);
  color: #8f968f;
  background: rgba(255, 255, 255, 0.014);
  font-size: 0.5rem;
}

.market-seller {
  margin-top: 17px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(218, 174, 78, 0.11);
}

.market-seller span {
  color: #626b63;
  font-size: 0.52rem;
}

.market-seller b {
  color: #c1c4be;
  font-size: 0.57rem;
}

.market-card-footer {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
}

.market-price small {
  display: block;
  color: #656e66;
  font-size: 0.48rem;
  text-transform: uppercase;
}

.market-price strong {
  color: var(--gold-light);
  font-size: 0.76rem;
}

.market-buy {
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  color: #171006;
  background: linear-gradient(#efd47d, #9c691f);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.54rem;
  font-weight: 800;
  text-transform: uppercase;
}

.market-callout {
  margin-top: 24px;
  padding: 22px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(9, 103, 87, 0.09), rgba(255, 255, 255, 0.01));
}

.market-callout > div {
  display: flex;
  align-items: center;
  gap: 17px;
}

.market-callout-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-dark);
  color: var(--gold-light);
  transform: rotate(45deg);
}

.market-callout strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.market-callout p {
  margin: 4px 0 0;
  color: #777f78;
  font-size: 0.63rem;
}

/* Responsividade das novas áreas */
@media (max-width: 1050px) {
  .portal-feed,
  .portal-siege,
  .portal-market,
  .portal-ranking {
    grid-column: span 12;
  }

  .portal-feed,
  .portal-siege {
    min-height: 450px;
  }

  .portal-ranking {
    min-height: auto;
  }

  .market-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .portal-feed,
  .portal-market,
  .portal-ranking {
    padding: 23px 18px;
  }

  .portal-panel-content {
    padding: 23px 18px;
  }

  .portal-panel-head {
    gap: 12px;
  }

  .portal-panel-head > a {
    font-size: 0;
  }

  .portal-panel-head > a span {
    font-size: 0.8rem;
  }

  .home-feed-item {
    gap: 14px;
    padding: 14px 16px;
  }

  .home-feed-icon {
    width: 46px;
    height: 46px;
  }

  .home-feed-icon .material-symbols-outlined {
    font-size: 18px;
  }

  .home-feed-date {
    width: 42px;
  }

  .home-feed-date strong {
    font-size: 1.15rem;
  }

  .home-feed-copy p {
    display: none;
  }

  .home-feed-arrow {
    width: 28px;
    height: 28px;
  }

  .market-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portal-market {
    min-height: auto;
  }

  .market-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-toolbar,
  .market-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .market-account-link {
    padding: 5px 10px 8px;
  }

  .market-callout .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .market-preview-grid,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .market-preview-item > img {
    height: 180px;
  }

  .portal-rank {
    grid-template-columns: 27px 38px 1fr;
  }

  .portal-rank > b {
    display: none;
  }

  .mini-countdown strong {
    font-size: 0.95rem;
  }
}

/* ============================================================
   Adaptações Morpheus MuWeb (MuXTheme)
   ------------------------------------------------------------
   Estilos extras para integrar o template ao sistema:
   páginas internas, seletor de idiomas e status do servidor.
   ============================================================ */

/* Páginas internas: compensa o header fixo e aplica o fundo escuro */
.page-shell {
  min-height: 60vh;
  padding: calc(34px + var(--header-height) + 48px) 0 90px;
}

.page-shell h1,
.page-shell h2,
.page-shell h3,
.page-shell h4 {
  font-family: "Cinzel", serif;
  color: var(--text);
}

.page-shell a {
  color: var(--gold-light);
}

.page-shell input,
.page-shell select,
.page-shell textarea {
  color: var(--text);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

.page-shell input:focus,
.page-shell select:focus,
.page-shell textarea:focus {
  outline: none;
  border-color: var(--line-strong);
}

.page-shell button,
.page-shell .btn,
.page-shell input[type="submit"] {
  color: #151006;
  font-weight: 700;
  border: none;
  background: linear-gradient(180deg, #f5dc86 0%, #bf8d32 55%, #7b5118 100%);
}

.page-shell table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
}

.page-shell table th,
.page-shell table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.page-shell table th {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--surface-2);
}

/* Link do total de jogadores no console do hero */
.console-stats strong a {
  color: inherit;
}

/* Seletor de idiomas no header */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch a {
  display: inline-flex;
  opacity: 0.5;
  transition: 0.25s;
}

.lang-switch a img {
  height: 15px;
  width: auto;
  display: block;
}

.lang-switch a.active,
.lang-switch a:hover {
  opacity: 1;
}

/* Status offline do servidor */
.live-dot.off {
  background: #e2543a;
  box-shadow: 0 0 0 4px rgba(226, 84, 58, 0.08), 0 0 15px rgba(226, 84, 58, 0.7);
  animation: none;
}

.online-label.offline {
  color: #ff7b62;
}

/* Páginas de erro e manutenção */
.error-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0;
  text-align: center;
}

.error-page-image {
  width: min(100%, 460px);
  margin: 0 auto 10px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

.error-page h1 {
  margin: 18px 0;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
}

.error-page h1 span {
  display: block;
  color: var(--gold-light);
}

.error-page > p {
  color: var(--text-soft);
  margin-bottom: 30px;
}

.error-page .hero-actions {
  justify-content: center;
}

/* Dropdown de idiomas (substitui a fileira de bandeiras) */
.lang-switch {
  position: relative;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 9, 0.6);
  transition: 0.25s;
}

.lang-current:hover {
  border-color: var(--line-strong);
}

.lang-current img {
  height: 15px;
  width: auto;
  display: block;
}

.lang-caret {
  color: var(--gold-light);
  font-size: 0.6rem;
  transition: 0.25s;
}

.lang-switch.open .lang-caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 130;
  min-width: 175px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.25s;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
}

.lang-switch.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  opacity: 1;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: 0.2s;
}

.lang-menu a:hover {
  color: var(--gold-light);
  background: rgba(218, 174, 78, 0.08);
}

.lang-menu a.active {
  color: var(--gold-light);
}

.lang-menu a img {
  height: 14px;
  width: auto;
}

/* Notificações/mensagens (mesmo padrão visual do seletor de idioma) */
.header-notifications {
  position: relative;
}

.notif-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 9, 0.6);
  color: var(--text-soft);
  cursor: pointer;
  transition: 0.25s;
}

.notif-toggle:hover {
  border-color: var(--line-strong);
  color: var(--gold-light);
}

.notif-toggle svg {
  width: 17px;
  height: 17px;
}

.notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #2a0d06;
  background: #e2543a;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
}

.notif-badge:empty {
  display: none;
}

.notif-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 130;
  width: 320px;
  max-height: 420px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.25s;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  color: var(--text-soft);
  font-size: 0.78rem;
}

.header-notifications.open .notif-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Conteúdo de dentro do .notif-menu vem pronto do core (plugin Message,
   views/plugins/Message/list.phtml) com classes Bootstrap puras
   (.list-group/.list-group-item/.active) — sem isso, cai no azul/branco
   padrão do Bootstrap em vez do visual escuro do tema. */
.notif-menu .list-group {
  display: flex;
  flex-direction: column;
}

.notif-menu .list-group-item {
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
}

.notif-menu .list-group-item:last-child {
  border-bottom: 0;
}

.notif-menu .list-group-item.active {
  background: var(--surface-2);
}

.notif-menu .list-group-item h5 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.notif-menu .list-group-item h6 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.notif-menu .list-group-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.notif-menu .list-group-item a {
  color: var(--gold-light);
}

.notif-menu a.list-group-item {
  transition: 0.2s;
}

.notif-menu a.list-group-item:hover {
  background: rgba(242, 214, 129, 0.08);
}

/* Menu da conta (username no cabeçalho) — mesmo padrão visual/JS do
   seletor de idioma e do sino de notificações acima. Reúne saldo (moedas +
   carteiras) e os serviços do painel (user()->getAvaliableServices()), pra
   não depender do link direto pra "/panel" (que dá erro 500 no core sem
   uma ação específica). */
.header-account {
  position: relative;
}

.account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 9, 0.6);
  color: #adafa8;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s;
}

.account-toggle:hover {
  border-color: var(--line-strong);
  color: var(--gold-light);
}

.account-caret {
  color: var(--gold-light);
  font-size: 0.6rem;
  transition: 0.25s;
}

.header-account.open .account-caret {
  transform: rotate(180deg);
}

.account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 130;
  width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.25s;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  color: var(--text-soft);
  font-size: 0.78rem;
}

.header-account.open .account-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.account-menu-stats {
  padding: 6px 4px;
  border-bottom: 1px solid var(--line);
}

.account-menu-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  font-size: 0.72rem;
}

.account-menu-stat span {
  color: var(--text-soft);
}

.account-menu-stat b {
  color: var(--gold-light);
  font-weight: 700;
}

/* Tipo de conta (Free/VIP/Beta/Staff) + tempo restante/botão de compra */
.account-menu-vip {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.account-menu-vip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-menu-vip-row span {
  color: var(--text-soft);
  font-size: 0.72rem;
}

.account-menu-vip-badge {
  padding: 2px 8px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-menu-vip-badge.account-menu-vip-vip {
  border-color: #ff9d47;
  color: #ff9d47;
}

.account-menu-vip-badge.account-menu-vip-beta,
.account-menu-vip-badge.account-menu-vip-staff {
  border-color: var(--gold-light);
  color: var(--gold-light);
  animation: navPremiumGlow 2s infinite linear;
}

.account-menu-vip-buy {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  text-align: center;
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: 0.2s;
}

.account-menu-vip-buy:hover {
  background: rgba(218, 174, 78, 0.12);
}

.account-menu-vip-expire {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.68rem;
}

/* Carteira "Crédito" em destaque, separada do resto das moedas */
.account-menu-featured {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(218, 174, 78, 0.08);
}

.account-menu-featured span {
  color: var(--text-soft);
  font-size: 0.72rem;
}

.account-menu-featured b {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
}

.account-menu-services {
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid var(--line);
}

.account-menu-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  transition: 0.2s;
}

.account-menu-services a:hover {
  color: var(--gold-light);
  background: rgba(218, 174, 78, 0.08);
}

.account-menu-badge {
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #2a0d06;
  background: #e2543a;
  font-size: 0.56rem;
  font-weight: 800;
}

.account-menu-logout {
  display: block;
  padding: 11px 12px;
  color: #e2543a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  transition: 0.2s;
}

.account-menu-logout:hover {
  background: rgba(226, 84, 58, 0.1);
}

/* Painel Destaques (banner rotativo no lugar do Castle Siege) */
.portal-highlights {
  grid-column: span 5;
  min-height: 478px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.portal-highlights .portal-panel-head {
  margin-bottom: 18px;
}

.mux-slider {
  position: relative;
  flex: 1;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.mux-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.mux-slide.active {
  opacity: 1;
  z-index: 1;
}

.mux-slide > a {
  display: block;
  width: 100%;
  height: 100%;
}

.mux-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mux-slide-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 44px 18px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, transparent, rgba(3, 5, 4, 0.92));
}

.mux-slide-caption strong {
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  color: var(--text);
}

.mux-slide-caption a {
  flex: 0 0 auto;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.mux-slider-dots {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.mux-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  transition: 0.25s;
}

.mux-slider-dots button.active {
  background: var(--gold-light);
}

.home-feed-empty,
.market-preview-empty {
  color: var(--muted);
  font-size: 0.8rem;
  padding: 18px 0;
}

/* Logo do servidor no header: limita a altura para não estourar o cabeçalho */
.brand img {
  width: auto;
  max-width: 158px;
  max-height: 52px;
}

.site-header.scrolled .brand img {
  width: auto;
  max-height: 46px;
}

/* Painéis de categoria do feed (atributo hidden precisa vencer o display do tema) */
.home-feed[hidden] {
  display: none;
}

/* Logo do servidor contida na faixa do header (altura fixa, nunca sobrepõe o hero) */
.site-header .brand {
  display: flex;
  align-items: center;
  height: var(--header-height);
  flex-shrink: 0;
}

.site-header .brand img {
  width: auto;
  height: 48px;
  max-width: 158px;
  max-height: 48px;
  object-fit: contain;
}

.site-header.scrolled .brand img {
  width: auto;
  height: 42px;
  max-height: 42px;
}

/* Botão de status do servidor (console do hero recolhido) */
.server-status-area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.server-status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: 0.25s;
}

.server-status-toggle:hover {
  border-color: var(--line-strong);
}

.status-caret {
  font-style: normal;
  transition: 0.25s;
}

.server-status-area.open .status-caret {
  transform: rotate(180deg);
}

.server-console[hidden] {
  display: none;
}

.server-status-area .server-console {
  width: 100%;
}

/* Itens do market 10% menores */
.market-preview-item > img {
  height: 135px;
}

/* Nomes linkáveis da guild e do GM mantêm a cor dourada e ganham brilho no hover */
.siege-card .current-owner strong a,
.siege-card .siege-gm strong a {
  color: inherit;
  transition: 0.25s;
}

.siege-card .current-owner strong a:hover,
.siege-card .siege-gm strong a:hover {
  color: var(--gold-bright);
  text-shadow: 0 0 12px rgba(242, 214, 129, 0.35);
}

/* Arte de fundo da seção Castle Siege (substitui o castle-premium.svg) */
.castle-art {
  background: url("../images/mux/images/siege-bg.png") center / cover no-repeat;
}

/* Logo real da guild dentro do emblema do card do Castle Siege */
.owner-emblem img,
.owner-emblem svg,
.owner-emblem canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

/* Moldura do emblema quadrada para a logo real da guild (remove a sobra inferior) */
.siege-card .owner-emblem {
  height: 78px;
}

/* Página real do Market (/market/items) */
.page-shell .market-section {
  padding: 30px 0 10px;
}

/* Filtros de categoria como links (mesmo visual dos botões do template) */
.market-filters a {
  min-width: 108px;
  padding: 10px 15px;
  display: inline-block;
  text-align: center;
  color: #747c75;
  background: transparent;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 0.2s;
}

.market-filters a.active {
  color: #171006;
  background: linear-gradient(#f0d47c, #9d6a20);
}

/* Busca do market */
.market-search {
  display: flex;
  gap: 8px;
  align-items: center;
}

.market-search input {
  min-width: 220px;
  padding: 11px 14px;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.78rem;
}

.market-search input:focus {
  outline: none;
  border-color: var(--line-strong);
}

.market-search .market-buy {
  border: 0;
}

/* Imagens reais dos itens dentro dos cards */
.market-card-visual img {
  object-fit: contain;
}

/* Paginação (saída bs5 do Morpheus estilizada no padrão MuX) */
.page-shell .pagination {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  list-style: none;
}

.page-shell .pagination .page-link {
  display: block;
  padding: 9px 15px;
  color: var(--gold-light);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.72rem;
  font-weight: 700;
  transition: 0.2s;
}

.page-shell .pagination .page-link:hover {
  border-color: var(--line-strong);
}

.page-shell .pagination .page-item.active .page-link {
  color: #171006;
  background: linear-gradient(#f0d47c, #9d6a20);
  border-color: transparent;
}

.page-shell .pagination .page-item.disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   Tooltip de itens (Tippy.js — .tippy-tooltip / .item-info)
   Reskin da caixa e da tipografia no padrão dourado/escuro do
   tema. As cores semânticas dos atributos (.is-excellent,
   .is-luck, .is-ancient etc.) são do próprio jogo e continuam
   como estão — só a "moldura" do tooltip muda aqui.
   ============================================================ */
.tippy-tooltip {
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(14, 22, 18, 0.98), rgba(4, 7, 5, 0.99));
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  font-family: "Manrope", Arial, sans-serif;
}

.tippy-arrow,
.tippy-roundarrow {
  display: none;
}

.tippy-content {
  padding: 0;
}

.item-info {
  min-width: 190px;
  text-align: left;
}

.item-info .name {
  margin: -2px 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.item-info .serial,
.item-info .durability {
  color: var(--muted);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.02em;
}

.item-info .durability {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.item-info .option,
.item-info .luck,
.item-info .ancient,
.item-info .excellent,
.item-info .excellent-socket,
.item-info .basic-options,
.item-info .pentagram,
.item-info .socket,
.item-info .mastery,
.item-info .harmonies,
.item-info .can-equip,
.item-info .description,
.item-info .refine {
  margin-top: 5px;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
}

/* ============================================================
   MARKET V2 (/market/items) — layout do mockup marketbase
   ============================================================ */
.mk {
  --mk-teal: #22c4a8;
  --mk-line: rgba(34, 196, 168, 0.16);
  --mk-panel: rgba(6, 12, 10, 0.72);
  /* O .background_cover (mesma peça das páginas de cadastro/notícias) é
     position:absolute e precisa ancorar no topo da PÁGINA, não da seção.
     Como .section define position:relative e .market-section esconde
     overflow com gradiente próprio, os três são neutralizados aqui. */
  position: static;
  overflow: visible;
  background: none;
}

/* Cabeçalho */
.mk-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}

.mk-sell {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid rgba(34, 196, 168, 0.55);
  color: #d9fff6;
  background: rgba(34, 196, 168, 0.07);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  animation: mkSellPulse 2.8s ease-in-out infinite;
  transition: border-color 0.2s, background 0.2s;
}

.mk-sell:hover {
  border-color: var(--mk-teal);
  background: rgba(34, 196, 168, 0.12);
  animation-play-state: paused;
  box-shadow: 0 0 18px rgba(34, 196, 168, 0.35);
}

@keyframes mkSellPulse {
  0%, 100% {
    box-shadow: 0 0 6px rgba(34, 196, 168, 0.16);
  }
  50% {
    box-shadow: 0 0 16px rgba(34, 196, 168, 0.4);
  }
}

.mk-sell i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-style: normal;
}

.mk-sell i img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mk-title {
  text-align: center;
}

.mk-title h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mk-title p {
  margin: 2px 0 0;
  color: var(--text-soft);
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.mk-clear {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  background: rgba(5, 9, 7, 0.6);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: 0.2s;
}

.mk-clear:hover {
  border-color: var(--line-strong);
  color: var(--gold-light);
}

/* Busca */
.mk-search {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.mk-search-box {
  flex: 1;
  position: relative;
  display: flex;
}

.mk-search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #6b736c;
  pointer-events: none;
}

.mk-search-box input {
  flex: 1;
  padding: 15px 16px 15px 44px;
  color: var(--text);
  border: 1px solid var(--mk-line);
  background: var(--mk-panel);
  font-size: 0.8rem;
}

.mk-search-box input:focus {
  outline: none;
  border-color: var(--mk-teal);
}

.mk-search-btn {
  min-width: 150px;
  border: 1px solid rgba(34, 196, 168, 0.5);
  color: #d9fff6;
  background:
    linear-gradient(180deg, rgba(34, 196, 168, 0.28), rgba(8, 60, 50, 0.55));
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(34, 196, 168, 0.18);
  transition: 0.2s;
}

.mk-search-btn:hover {
  box-shadow: 0 0 30px rgba(34, 196, 168, 0.32);
}

/* Classes */
.mk-classes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 20px;
  margin-bottom: 16px;
  border: 1px solid var(--mk-line);
  background: var(--mk-panel);
}

.mk-panel-title {
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mk-class-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border: 1px solid rgba(34, 196, 168, 0.45) !important;
  color: #d9fff6 !important;
  background: rgba(34, 196, 168, 0.08) !important;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.2s;
}

.mk-class-all i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-style: normal;
}

.mk-class-all i img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mk-class-all.active,
.mk-class-all:hover {
  border-color: var(--mk-teal);
  box-shadow: 0 0 18px rgba(34, 196, 168, 0.28);
}

.mk-class-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 8px;
}

.mk-class {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 14px;
  border: 1px solid transparent !important;
  background: transparent !important;
  transition: 0.2s;
}

.mk-class img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
  transition: 0.2s;
}

.mk-class b {
  color: var(--text-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.mk-class small {
  color: #6d756e;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-class:hover img,
.mk-class.active img {
  transform: scale(1.1);
  filter:
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 12px rgba(34, 196, 168, 0.5));
}

.mk-class.active {
  border-color: rgba(34, 196, 168, 0.4) !important;
  background: rgba(34, 196, 168, 0.06) !important;
}

.mk-class.active b {
  color: var(--mk-teal);
}

/* Painéis de filtros */
.mk-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.mk-panel {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--mk-line);
  background: var(--mk-panel);
}

.mk-panel .mk-panel-title {
  text-align: center;
}

.mk-panel-types {
  grid-row: span 2;
}

.mk-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.mk-type {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 2px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  transition: 0.2s;
}

.mk-type img {
  width: 96%;
  height: 96%;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
  transition: 0.2s;
}

.mk-type:hover,
.mk-type.active {
  border-color: var(--mk-teal);
}

.mk-type:hover img,
.mk-type.active img {
  transform: scale(1.12);
  filter:
    drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 9px rgba(34, 196, 168, 0.5));
}

.mk-type span {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 6;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
  background: rgba(4, 7, 5, 0.97);
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: 0.16s;
}

.mk-type:hover span {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mk-type-all {
  padding: 10px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  text-align: center;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.2s;
}

.mk-type-all:hover,
.mk-type-all.active {
  border-color: var(--mk-teal);
  color: var(--mk-teal);
}

/* Lista com visual de checkbox (raridade, moeda, extras) */
.mk-checks {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mk-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: #9aa39b;
  font-size: 0.68rem;
  text-align: left;
  cursor: pointer;
  transition: 0.2s;
}

.mk-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mk-check i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(154, 163, 155, 0.5);
  background: rgba(4, 8, 6, 0.8);
  font-style: normal;
  transition: 0.2s;
}

.mk-check:hover {
  color: var(--text-soft);
}

.mk-check.active i::before,
.mk-check input:checked + i::before {
  content: "\2713";
  color: #071410;
  font-size: 0.62rem;
  font-weight: 800;
}

.mk-check.active i,
.mk-check input:checked + i {
  border-color: var(--mk-teal);
  background: var(--mk-teal);
}

.mk-check.active,
.mk-check:has(input:checked) {
  color: var(--text);
}

/* Raridade: cada opção usa a mesma cor da tag correspondente no card
   (mk-badge-*), sempre visível — não só quando marcada. Selector com
   "button" para vencer .mk-checks-white .mk-check (mesma especificidade
   em classes, mas essa regra some mais tag). */
.mk-checks-white button.mk-check-normal { color: #a9b1aa; }
.mk-checks-white button.mk-check-excellent { color: #4ee07f; }
.mk-checks-white button.mk-check-ancient { color: #37d6da; }

.mk-checks-white button.mk-check-normal:hover { color: #cfd4cf; }
.mk-checks-white button.mk-check-excellent:hover { color: #7cf0a3; }
.mk-checks-white button.mk-check-ancient:hover { color: #7fe6e9; }

/* Campos numéricos e select */
.mk-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mk-field span {
  color: #79817a;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-field input,
.mk-select {
  padding: 10px 12px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(4, 8, 6, 0.8);
  font-size: 0.74rem;
}

.mk-field input:focus,
.mk-select:focus {
  outline: none;
  border-color: var(--mk-teal);
}

.mk-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background:
    linear-gradient(45deg, transparent 48%, #8b937f 50%, transparent 55%) calc(100% - 16px) 55% / 8px 8px no-repeat,
    linear-gradient(-45deg, transparent 48%, #8b937f 50%, transparent 55%) calc(100% - 10px) 55% / 8px 8px no-repeat,
    rgba(4, 8, 6, 0.8);
}

.mk-select option {
  color: var(--text);
  background: #0b110f;
}

.mk-empty {
  color: #6d756e;
}

/* Barra de resultados */
.mk-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  margin-bottom: 16px;
  border: 1px solid var(--mk-line);
  background: var(--mk-panel);
  color: var(--text-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mk-results b {
  color: var(--mk-teal);
}

/* Grid de cards */
.mk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 14px;
}

.mk-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--mk-line);
  background: linear-gradient(180deg, rgba(10, 18, 15, 0.9), rgba(4, 8, 6, 0.96));
  transition: 0.28s;
}

.mk-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 196, 168, 0.45);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}

.mk-card-visual {
  height: 190px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--mk-line);
  background:
    radial-gradient(circle at 50% 62%, rgba(34, 196, 168, 0.14), transparent 52%),
    url("../images/mux/images/bg-item.png") center 30% / cover no-repeat;
}

.mk-glow {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  z-index: 1;
  filter: blur(26px);
  background: rgba(34, 196, 168, 0.2);
}

.mk-card-excellent .mk-glow { background: rgba(78, 224, 127, 0.26); }
.mk-card-ancient .mk-glow { background: rgba(55, 214, 218, 0.26); }
.mk-card-normal .mk-glow { background: rgba(190, 196, 190, 0.12); }

.mk-item-img {
  max-width: 58%;
  max-height: 64%;
  position: relative;
  z-index: 2;
  object-fit: contain;
  filter:
    drop-shadow(0 14px 20px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 9px rgba(226, 255, 248, 0.14))
    drop-shadow(0 0 22px rgba(34, 196, 168, 0.2));
  transition: transform 0.3s;
}

.mk-card:hover .mk-item-img {
  transform: translateY(-5px) scale(1.05);
}

.mk-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  padding: 4px 9px;
  border: 1px solid var(--line);
  background: rgba(3, 6, 4, 0.8);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-badge-excellent { border-color: rgba(78, 224, 127, 0.55); color: #4ee07f; }
.mk-badge-ancient { border-color: rgba(55, 214, 218, 0.55); color: #37d6da; }
.mk-badge-normal { border-color: rgba(154, 163, 155, 0.4); color: #a9b1aa; }

.mk-card-body {
  flex: 1;
  padding: 15px 16px 12px;
}

.mk-card-body h3 {
  margin: 0 0 9px;
  color: #ece8dc;
  font-size: 0.8rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.mk-stats {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mk-stats li {
  color: #8b938c;
  font-size: 0.63rem;
}

.mk-stat-expire {
  color: #e0a95c !important;
}

.mk-opts {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.mk-opts span {
  font-size: 0.62rem;
  font-weight: 700;
}

.mk-opt-luck { color: #4ee07f; }
.mk-opt-skill { color: #7cc4f2; }

.mk-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-top: 1px solid var(--mk-line);
  background: rgba(255, 255, 255, 0.012);
}

.mk-price {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.mk-price img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.mk-price b {
  color: var(--gold-light);
  font-size: 0.78rem;
  white-space: nowrap;
}

.mk-price small {
  color: #79817a;
  font-size: 0.55rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.mk-cart {
  flex-shrink: 0;
  width: 38px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 196, 168, 0.5);
  color: #d9fff6;
  background:
    linear-gradient(180deg, rgba(34, 196, 168, 0.26), rgba(8, 60, 50, 0.55));
  transition: 0.2s;
}

.mk-cart svg {
  width: 16px;
  height: 16px;
}

.mk-cart:hover {
  box-shadow: 0 0 16px rgba(34, 196, 168, 0.35);
}

/* Responsivo */
@media (max-width: 1100px) {
  .mk-panels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .mk-head {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .mk-sell,
  .mk-clear {
    justify-self: center;
  }

  .mk-search {
    flex-direction: column;
  }

  .mk-search-btn {
    padding: 13px;
  }

  .mk-panels {
    grid-template-columns: 1fr;
  }

  .mk-classes {
    justify-content: center;
  }
}

/* Toggle "Filtros avançados" + recolher */
.mk-advanced-toggle {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--mk-line);
  color: var(--gold-light);
  background: var(--mk-panel);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.2s;
}

.mk-advanced-toggle:hover {
  border-color: var(--mk-teal);
}

.mk-advanced-toggle svg {
  width: 15px;
  height: 15px;
}

.mk-advanced-arrow {
  font-style: normal;
  transition: transform 0.2s;
}

.mk-advanced-toggle[aria-expanded="true"] .mk-advanced-arrow {
  transform: rotate(180deg);
}

.mk-advanced {
  margin-bottom: 16px;
}

.mk-advanced[hidden] {
  display: none;
}

/* Raridade em branco para dar mais destaque */
.mk-checks-white .mk-check {
  color: #f4f6f4;
}

.mk-checks-white .mk-check:hover {
  color: #ffffff;
}

/* ============================================================
   SweetAlert2 (pop-ups de confirmação) — tema escuro/dourado global.
   Cobre tanto os pop-ups que a gente dispara via JS (mux.js,
   .js-confirm-buy, com cores passadas inline no Swal.fire) quanto os
   que o core dispara sozinho com as cores padrão da lib (ex.: o aviso
   de troca de plano VIP ao comprar um pacote que rebaixaria o VIP
   atual) — sem isso, esses pop-ups do core ficam brancos, destoando do
   resto do site. !important porque o SweetAlert2 injeta seu próprio
   <style> em runtime, depois do nosso CSS no DOM.
   ============================================================ */
.swal2-popup {
  background: var(--surface-2) !important;
  border: 1px solid var(--gold-dark);
  border-radius: 0 !important;
  color: var(--text) !important;
}

.swal2-title {
  font-family: "Cinzel", Georgia, serif !important;
  color: var(--gold-light) !important;
  text-transform: uppercase;
}

.swal2-html-container {
  color: var(--text-soft) !important;
}

.swal2-icon.swal2-warning {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.swal2-icon.swal2-question {
  border-color: var(--emerald-light) !important;
  color: var(--emerald-light) !important;
}

.swal2-icon.swal2-success {
  border-color: var(--emerald-light) !important;
  color: var(--emerald-light) !important;
}

.swal2-icon.swal2-error {
  border-color: var(--red) !important;
  color: var(--red) !important;
}

.swal2-styled.swal2-confirm {
  background: linear-gradient(180deg, var(--gold-bright) 0%, #d8a84d 41%, #9a681e 72%, var(--gold-dark) 100%) !important;
  border-radius: 0 !important;
  color: #171006 !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: none !important;
}

.swal2-styled.swal2-cancel {
  background: var(--bg-soft) !important;
  border: 1px solid var(--line-strong);
  border-radius: 0 !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

/* Anti-inspeção: bloqueia seleção de texto e arraste de imagens (ver
   protect.js para os bloqueios de clique direito/atalhos). Campos de
   formulário ficam de fora para não travar copiar/colar de login,
   senha, cupom etc. */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea,
[contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

