/* IconyX — desktop
   Palco fixo de 1920×2558 (dimensão do PSD), centralizado. Cada bloco usa as
   coordenadas do layers-desktop.json. Abaixo de 1280px o palco recebe zoom
   para degradar até 1024px sem cortar a coluna útil (x 403–1517). */

.page-desktop { overflow-x: hidden; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 50;
  padding: 10px 14px; background: var(--c-gold); color: #000; font-weight: 700;
}
.skip-link:focus { top: 8px; }

.stage-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}
.stage {
  position: relative;
  flex: none;
  width: 1920px;
  height: 2558px;
  overflow: hidden;
}
.stage__bg, .stage__bg img {
  position: absolute; inset: 0;
  width: 1920px; height: 2558px;
  pointer-events: none; user-select: none;
}
.stage > *:not(.stage__bg) { position: absolute; }
.stage main { position: static; }
.stage main > * { position: absolute; }

/* degradação por zoom do palco (sem cortar arte nem efeito):
   <1600px → 0.85 (mostra x 113–1807 em 1440)   <1280px → 0.75 (mostra x 277–1643 em 1024) */
@media (max-width: 1599px) { .stage { zoom: .85; } }
@media (max-width: 1279px) { .stage { zoom: .75; } }

/* ============ TOPO ============ */
.topo { inset: 0 auto auto 0; width: 1920px; height: 800px; }

.logo {
  position: absolute; left: 808px; top: 250px; width: 320px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .85));
}
.logo img { width: 100%; height: auto; }
.logo a { display: block; }

.redes { position: absolute; left: 560px; top: 265px; }
.redes ul { display: grid; grid-auto-rows: 35.75px; }
.redes a {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; color: #8a8a8a;
  transition: color .15s, transform .15s;
}
.redes svg { width: 22px; height: 22px; fill: currentColor; }
.redes a:hover, .redes a:focus-visible { color: var(--c-gold); transform: scale(1.1); }

.acoes { position: absolute; left: 483px; top: 432px; width: 180px; }
.btn-fogo {
  display: block; width: 180px; height: 180px; overflow: hidden;
  border-radius: 50%;
  mask-image: radial-gradient(closest-side, #000 68%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side, #000 68%, transparent 100%);
  opacity: .82;
  filter: brightness(.9);
  transition: opacity .25s ease, filter .25s ease;
}
.btn-fogo--cadastro { margin-top: -22px; }
.btn-fogo img { width: 100%; height: 100%; object-fit: cover; }
.btn-fogo picture { display: block; width: 100%; height: 100%; }
.btn-fogo:hover, .btn-fogo:focus-visible { opacity: 1; filter: brightness(1.3) saturate(1.15); }
.btn-fogo:active { filter: brightness(1.05) saturate(1.05); }
@media (prefers-reduced-motion: reduce) { .btn-fogo { transition: none; } }
.btn-fogo:focus-visible { outline-offset: -3px; }

/* ============ VÍDEO ============ */
.video { left: 648px; top: 505px; width: 596px; height: 368px; }
.video__moldura { position: relative; width: 596px; height: 368px; }
.video__moldura picture, .video__moldura img { position: absolute; inset: 0; }
.video__tela { position: absolute; left: 14px; top: 15px; width: 571px; height: 319px; }

/* ============ SOBRE ============ */
.sobre { left: 1264px; top: 408px; width: 218px; }
.sobre__titulo { font-size: 20px; margin-left: 8px; white-space: nowrap; }
.sobre__box {
  position: relative; isolation: isolate;
  margin-top: 9px; width: 197px; padding: 14px 12px 16px;
}
/* Véu de textura: no PSD a camada está a 50% de opacidade e a borda de baixo
   se dissolve na pedra, em vez de terminar num retângulo. */
.sobre__box::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url('/assets/img/shared/textura-sobre.webp') center / cover no-repeat;
  opacity: .5;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .6);
  -webkit-mask-image: linear-gradient(#000 74%, transparent 100%);
  mask-image: linear-gradient(#000 74%, transparent 100%);
}
.sobre__ativos-label { font-size: 11.3px; letter-spacing: .04em; line-height: 12px; padding-top: 0; }
.barra {
  position: relative; margin: 1px 0 0 -3px; width: 173px; height: 24px;
  background: var(--c-bar-empty);
  border: 1px solid #0a0a0a;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .05);
}
.barra__fill {
  position: absolute; left: 1px; top: 2px; bottom: 2px;
  background: linear-gradient(90deg, var(--c-bar-fill-l), var(--c-bar-fill-r));
}
.barra__num { position: absolute; right: 7px; top: 0; line-height: 22px; font-size: 11.2px; letter-spacing: .04em; }
.sobre__lista { margin: 7px 0 0 1px; font-size: 13.2px; line-height: 26px; letter-spacing: .08em; white-space: nowrap; }
.sobre__lista b { font-weight: 400; color: var(--c-gold); }
.c-blue { color: var(--c-blue-soft); font-weight: 400; }
.c-red { color: var(--c-red-soft); font-weight: 400; }
.c-green { color: var(--c-green-soft); font-weight: 400; }

/* ============ LOGIN ============ */
.login { left: 1303px; top: 779px; width: 136px; }
.login__titulo { font-size: 20px; text-align: center; margin-left: 1px; }
.login__form { margin-top: 9px; display: grid; gap: 10px; }
.login .input-dark { height: 28px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.login__btn { width: 85px; height: 32px; margin: -8px auto 0; font-size: 15.7px; font-weight: 400; }
/* Erro do login e estado logado ("minha conta"). Claude Code 26/10/2026. Cabe nos 230px até .links. */
.login__erro { font-size: 10.5px; line-height: 1.35; color: #ff8a7a; text-align: center; }
.login__conta { margin-top: 9px; display: grid; gap: 8px; text-align: center; }
.login__ola { font-size: 11px; letter-spacing: .06em; line-height: 1.3; overflow-wrap: anywhere; }
.login__ola b { font-weight: 400; color: var(--c-gold); }
.login__vip { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-faint); }
.login__acao { width: 100%; height: 28px; margin-top: 2px; font-family: var(--ff-display); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.login__sair {
  background: none; border: 0; padding: 2px 0; cursor: pointer;
  font: inherit; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-text-faint); text-decoration: underline; text-underline-offset: 3px;
}
.login__sair:hover, .login__sair:focus-visible { color: var(--c-text); }
/* "Esqueci a senha", logo abaixo do botão de login. Claude Code 29/10/2026. */
.login__esqueci {
  display: block; margin: 7px auto 0; padding: 2px 0;
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-text-faint); text-decoration: underline; text-underline-offset: 3px;
}
.login__esqueci:hover, .login__esqueci:focus-visible { color: var(--c-gold); }

/* ============ LINKS ============ */
.links { left: 1278px; top: 1009px; width: 222px; }
.links__titulo { font-size: 20px; text-align: center; margin-left: 1px; }
.links__lista { margin-top: 20px; display: grid; grid-auto-rows: 47.6px; }
.links__lista .btn-red {
  width: 222px; height: 46px;
  font-family: var(--ff-display); font-weight: 700; font-size: 20px;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1;
}

/* ============ ANÚNCIOS ============ */
.anuncios { left: 628px; top: 889px; width: 545px; }
.anuncios__titulo { font-size: 28.4px; margin-left: 28px; }
.anuncios__lista { margin-top: 46px; }
.anuncios__titulo a { color: inherit; }                         /* leva a /noticias (Claude Code 29/10/2026) */
.anuncios__vazio { padding: 12px 2px; font-size: 14px; color: var(--c-text-faint); }
.noticia {
  position: relative; height: 44.5px; padding: 5px 40px 0 2px;
  border-bottom: 1px solid var(--c-line-2);
  box-shadow: 0 1px 0 var(--c-line);
}
.noticia__cat { font-size: 14.1px; font-weight: 700; text-transform: uppercase; line-height: 16px; letter-spacing: .01em; }
.noticia__tag { color: var(--c-teal); }
.noticia__fecha { color: var(--c-red-hot); }
.noticia__resumo { font-size: 13.3px; line-height: 14px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* titulo longo: uma linha so (Claude Code 29/10/2026) */
.noticia__data { position: absolute; right: 44px; top: 5px; font-size: 14.1px; line-height: 16px; color: var(--c-orange); font-weight: 400; }
.noticia__mais {
  position: absolute; right: 0; top: 0; width: 24px; height: 25px;
  font-size: 21.3px; font-weight: 400; line-height: 1;
  background: var(--c-plus); border-color: #1a0d0c;
}

/* ============ IXFC ============ */
.ixfc { left: 583px; top: 1234px; width: 660px; height: 313px; }  /* 1234 -> 1547, fim da 2a fileira */
.ixfc__titulo { position: absolute; left: 75px; top: 15px; font-size: 28.4px; }
.ixfc__top { position: absolute; left: 0; top: 101px; width: 141px; }
.ixfc__top-titulo { font-size: 14px; text-align: center; text-shadow: 0 0 6px rgba(255, 255, 255, .45); white-space: nowrap; }
.card { position: absolute; left: var(--x); top: var(--y); width: 101px; height: 104px; }
.card picture { position: absolute; left: -7px; top: -5px; width: 115px; height: 110px; }
.card img { width: 100%; height: 100%; max-width: none; }
.card__nome {
  position: absolute; left: 7px; top: 85px; width: 87px; height: 19px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 300; line-height: 1; white-space: nowrap; overflow: hidden;
  background: linear-gradient(#8d2f21, var(--c-namebar));
  border: 1px solid #3a120c;
  text-shadow: 0 1px 1px #000;
}
.card--top { position: relative; left: auto; top: auto; margin-top: 12px; width: 141px; height: 144px; }
.card--top picture { left: -21px; top: -16px; width: 182px; height: 173px; }
.card--top .card__nome {
  left: 10.5px; top: 119px; width: 120px; height: 25px; font-size: 14.5px;
  background: linear-gradient(#b8843f, var(--c-namebar-top) 60%, #7e5324);
  border-color: #4d3110;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 10px rgba(255, 190, 90, .25);
}
.ixfc__lista { position: absolute; left: -583px; top: -1234px; }

/* ============ RANKING ============ */
.ranking { left: 634px; top: 1610px; width: 560px; height: 190px; }
.ranking__titulo { font-size: 28.4px; }
.ranking__abas { position: absolute; left: 18px; top: 59px; display: grid; grid-auto-rows: 31.7px; }
.aba {
  width: 115px; height: 26px; color: #fff;
  font-size: 14.4px; letter-spacing: .04em;
  background: linear-gradient(var(--c-tab-top), var(--c-tab-bot));
  border: 1px solid var(--c-tab-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 3px rgba(0, 0, 0, .6);
  transition: filter .15s;
}
.aba:hover { filter: brightness(1.2); }
.aba[aria-selected="true"] { filter: brightness(1.15) saturate(1.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 8px rgba(220, 80, 50, .5); }
.ranking__lista { position: absolute; left: 147px; top: 46px; display: flex; gap: 4px; }
.rank {
  position: relative; width: 100px; height: 135px;
  background: rgba(46, 47, 47, .24);
  border: 1px solid #3a3b3b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
  text-align: center;
}
.rank__img {
  position: absolute; left: 2px; top: 2px; width: 94px; height: 93px; overflow: hidden;
  background: #180f10; border: 1px solid #454646;
}
.rank__img img { width: 100%; height: 100%; object-fit: cover; }
.rank__nome { position: absolute; left: 0; right: 0; top: 98px; font-size: 10.5px; font-weight: 700; color: var(--c-orange); line-height: 1.2; }
.rank__meta { position: absolute; left: 0; right: 0; top: 110px; font-size: 10px; letter-spacing: .15em; color: var(--c-text-muted); line-height: 1.2; }
.rank__rr { position: absolute; left: 0; right: 0; top: 121px; font-size: 10px; letter-spacing: .15em; color: var(--c-violet); line-height: 1.2; }
.rank__rr--longo { letter-spacing: .02em; white-space: nowrap; } /* "Crimson Bastion" cabe no card de 100px */
.ranking__lista[hidden] { display: none; }

/* ============ DISCORD ============ */
.discord { left: 629px; top: 1829px; width: 350px; height: 430px; }
.discord__widget { display: block; width: 100%; height: 100%; border: 0; }

/* ============ CASTLE SIEGE ============ */
.castle { left: 1168px; top: 1650px; width: 455px; height: 733px; }
.castle__estatua { position: absolute; left: 0; top: 0; width: 455px; height: 733px; pointer-events: none; }
.castle__emblema {
  position: absolute; left: 180px; top: 237px; width: 93px; height: 92px;
  background: #0d0d0d; border: 1px solid #4c4c4c; box-shadow: 0 0 10px rgba(255, 255, 255, .15);
}
/* emblema da guild dona, como no jogo: brilho atras (mascara pintada) e a imagem na cor (Claude Code 15/11/2026) */
.castle__emblema-img, .rank__img .rank__emblema-img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.castle__brilho, .rank__brilho {
  position: absolute; inset: calc(6% - 3.5%); opacity: .5; background: var(--brilho-cor);
  -webkit-mask: var(--brilho-img) center / contain no-repeat; mask: var(--brilho-img) center / contain no-repeat;
}
.castle__donos {
  position: absolute; left: 183px; top: 332px; width: 88px; height: 107px;
  background: #171717; border: 1px solid #2c2c2c;
  text-align: center; padding-top: 10px;
}
.castle__donos dt { font-size: 10.1px; line-height: 1; margin-bottom: 14px; }
.castle__guild { font-size: 10.1px; font-weight: 700; color: var(--c-orange); line-height: 1; }
.castle__sub { font-size: 10px; line-height: 1; margin: 5px 0 6px; }
.castle__proximo { position: absolute; left: 135px; top: 441px; width: 188px; text-align: center; }
.castle__proximo .t-glyphic { display: block; font-size: 10px; line-height: 1; }
.castle__quando { display: block; font-size: 10px; font-weight: 700; color: var(--c-orange); line-height: 1; margin-top: 3px; }

/* ============ RODAPÉ ============ */
.rodape { left: 660px; top: 2322px; width: 600px; text-align: center; }
.rodape__texto { font-size: 10px; line-height: 14px; letter-spacing: .12em; color: var(--c-text-dim); }
.rodape__texto b { font-weight: 400; }
.rodape__credito { margin-top: 4px; font-size: 9px; letter-spacing: .15em; color: var(--c-text-faint); }
.rodape__credito b { font-weight: 400; }
.rodape__versao { margin-top: 10px; font-size: 11px; letter-spacing: .1em; }
.rodape__versao a { color: var(--c-text-faint); text-decoration: underline; text-underline-offset: 3px; }
.rodape__versao a:hover { color: var(--c-gold); }

/* ---------- idioma (Claude Code 04/11/2026) ---------- */
.idiomas { position: absolute; left: 1255px; top: 265px; display: flex; gap: 2px; }
.idiomas a {
  display: block; min-width: 32px; padding: 3px 5px; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: #8a8a8a; border: 1px solid #333;
}
.idiomas a:hover, .idiomas a:focus-visible { color: var(--c-gold); }
.idiomas a[aria-current="true"] { color: #0e0e0e; background: var(--c-gold); border-color: var(--c-gold); }
.btn-fogo { position: relative; }
.btn-fogo__rotulo {
  position: absolute; left: 44%; top: 37%; transform: translate(-50%, -50%);
  font-family: var(--ff-display); font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
}
