:root {
  --bg: #0a0806;
  --bg2: #110d0a;
  --panel: #16110d;
  --panel2: #1c1611;
  --line: #2f261c;
  --line2: #43362a;
  --gold: #d6a54e;
  --gold2: #f1d38f;
  --gold3: #8c6a2f;
  --text: #e9e0d0;
  --muted: #9d917e;
  --dim: #6f6556;
  --ok: #6fbf73;
  --bad: #d9573f;
  --info: #5aa0d8;
  --radius: 6px;
  --head: 'Cinzel', Georgia, 'Times New Roman', serif;
  --body: 'Inter', 'Segoe UI', Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold2); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; letter-spacing: .02em; margin: 0 0 .6em; line-height: 1.2; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: .85rem; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ------------------------------------------------------------------ topo */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(10, 8, 6, .97), rgba(10, 8, 6, .9));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.topo .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo {
  font-family: var(--head); font-size: 1.7rem; font-weight: 900; letter-spacing: .08em;
  background: linear-gradient(180deg, #fff3cf 0%, var(--gold2) 35%, var(--gold) 65%, var(--gold3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 22px rgba(214, 165, 78, .15);
  white-space: nowrap;
}
.logo:hover { color: transparent; filter: brightness(1.15); }
.menu { display: flex; gap: 4px; flex: 1; }
.menu a {
  color: var(--text); font-family: var(--head); font-size: .86rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 8px 12px; border-radius: 4px; position: relative;
}
.menu a:hover, .menu a.ativo { color: var(--gold2); }
.menu a.ativo::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: -14px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.topo-acoes { display: flex; align-items: center; gap: 10px; }
.topo-acoes form { margin: 0; }
.pilula {
  display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 20px; padding: 4px 11px; white-space: nowrap;
}
.ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 8px var(--bad); display: inline-block; }
.ponto.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
#menu-abre { display: none; }
.menu-botao { display: none; cursor: pointer; padding: 8px; color: var(--gold2); font-size: 1.4rem; line-height: 1; }

/* ------------------------------------------------------------------ botões e formulários */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--head); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: #1d1408; background: linear-gradient(180deg, #f5d796 0%, var(--gold) 55%, #a87a32 100%);
  border: 1px solid #f7dca0; border-radius: 4px; padding: 10px 20px; cursor: pointer; white-space: nowrap;
  box-shadow: 0 2px 0 #5d421a, 0 0 18px rgba(214, 165, 78, .18);
  transition: filter .15s, transform .15s;
}
.botao:hover { color: #1d1408; filter: brightness(1.1); transform: translateY(-1px); }
.botao.grande { font-size: 1rem; padding: 14px 30px; }
.botao.fantasma {
  color: var(--gold2); background: rgba(10, 8, 6, .45); border-color: var(--gold3); box-shadow: none;
}
.botao.fantasma:hover { color: #fff; border-color: var(--gold); }
.botao.pequeno { font-size: .74rem; padding: 6px 12px; }
.botao.perigo { color: #fff; background: linear-gradient(180deg, #e0735d, #a63b28); border-color: #e98b77; box-shadow: 0 2px 0 #5b1f14; }
.botao[disabled] { opacity: .45; cursor: not-allowed; transform: none; filter: none; }
.link-botao { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }
.link-botao:hover { color: #fff; }

.form { display: grid; gap: 16px; }
.campo { display: grid; gap: 6px; align-content: start; }
.campo label { font-size: .82rem; font-weight: 600; color: var(--gold2); letter-spacing: .03em; }
.campo .ajuda { font-size: .78rem; color: var(--dim); }
input[type=text], input[type=password], input[type=email], input[type=number], select, textarea {
  width: 100%; background: #0d0a08; color: var(--text); border: 1px solid var(--line2); border-radius: 4px;
  padding: 11px 12px; font: inherit; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 165, 78, .15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--gold); }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.escondido { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.aviso { border-radius: 4px; padding: 12px 16px; margin: 0 0 18px; border: 1px solid; font-size: .92rem; }
.aviso.ok { color: #cfeccf; background: rgba(111, 191, 115, .08); border-color: rgba(111, 191, 115, .4); }
.aviso.erro { color: #f4cfc6; background: rgba(217, 87, 63, .09); border-color: rgba(217, 87, 63, .45); }
.aviso.info { color: #cfe2f2; background: rgba(90, 160, 216, .08); border-color: rgba(90, 160, 216, .4); }

/* ------------------------------------------------------------------ herói (página inicial) */
.heroi {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background: #000 url('../img/hero.jpg') 75% 30% / cover no-repeat;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.heroi::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(10, 8, 6, 1) 0%, rgba(10, 8, 6, 0) 60%),
    linear-gradient(90deg, rgba(10, 8, 6, .92) 0%, rgba(10, 8, 6, .55) 45%, rgba(10, 8, 6, .2) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 8, 6, 0) 35%);
}
.heroi .wrap { position: relative; width: 100%; }
.heroi-texto { max-width: 560px; }
.heroi .selo {
  display: inline-block; font-family: var(--head); font-size: .78rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold2); border: 1px solid var(--gold3); padding: 5px 12px; border-radius: 2px; margin-bottom: 18px;
  background: rgba(10, 8, 6, .5);
}
.heroi h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; letter-spacing: .06em; margin-bottom: 10px;
  background: linear-gradient(180deg, #fff6dc 0%, var(--gold2) 40%, var(--gold) 70%, #7a5a26 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .8));
}
.heroi .slogan { font-family: var(--head); font-size: 1.25rem; color: #f4ead6; margin-bottom: 26px; text-shadow: 0 2px 10px #000; }
.heroi .acoes { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.numeros { display: flex; gap: 34px; flex-wrap: wrap; }
.numeros div { display: grid; }
.numeros b { font-family: var(--head); font-size: 1.6rem; color: #fff; line-height: 1.1; }
.numeros span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ seções e cartões */
.secao { padding: 46px 0; }
.titulo-secao { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.titulo-secao h2 { margin: 0; }
.titulo-secao h2::before {
  content: ''; display: inline-block; width: 22px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 12px;
}
.titulo-secao a { font-size: .85rem; }
.grade { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; }
.grade3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cartao {
  background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; position: relative;
}
.cartao + .cartao { margin-top: 20px; }
.cartao h3 { font-size: 1rem; color: var(--gold2); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.cartao.destaque { border-color: var(--gold3); box-shadow: 0 0 0 1px rgba(214, 165, 78, .08), 0 10px 30px rgba(0, 0, 0, .35); }
.cabeca-pagina {
  padding: 50px 0 34px; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0%, rgba(214, 165, 78, .12), transparent 60%), var(--bg2);
}
.cabeca-pagina h1 { margin: 0 0 6px; color: #fff; }
.cabeca-pagina p { margin: 0; color: var(--muted); }

/* notícias */
.noticias { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.noticia {
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--text); transition: border-color .2s, transform .2s;
}
.noticia:hover { color: var(--text); border-color: var(--gold3); transform: translateY(-2px); }
.noticia .capa {
  aspect-ratio: 16 / 8; background: #000 url('../img/hero.jpg') center / cover; position: relative;
}
.noticia .capa img { width: 100%; height: 100%; object-fit: cover; }
.noticia .capa .cat {
  position: absolute; left: 12px; top: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(10, 8, 6, .85); color: var(--gold2); border: 1px solid var(--gold3); padding: 3px 8px; border-radius: 2px;
}
.noticia .corpo { padding: 16px 18px 18px; display: grid; gap: 6px; }
.noticia h3 { margin: 0; font-size: 1.05rem; color: #fff; text-transform: none; letter-spacing: .01em; }
.noticia p { margin: 0; color: var(--muted); font-size: .9rem; }
.noticia .data { font-size: .75rem; color: var(--dim); }
.noticias .noticia.grande { grid-column: 1 / -1; }
.noticias .noticia.grande .capa { aspect-ratio: 16 / 6; }
.vazio { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: var(--radius); }

.artigo { max-width: 780px; }
.artigo .capa-grande { border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; border: 1px solid var(--line); }
.artigo .texto p { font-size: 1.02rem; line-height: 1.75; color: #e2d8c6; white-space: pre-line; }

/* estado dos servidores */
.servidores { display: grid; gap: 10px; }
.servidor { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #0e0b08; border: 1px solid var(--line); border-radius: 4px; }
.servidor b { flex: 1; font-weight: 600; }
.servidor small { color: var(--muted); }

/* eventos */
.eventos { display: grid; gap: 8px; }
.evento { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: #0e0b08; border: 1px solid var(--line); border-radius: 4px; }
.evento .nome { flex: 1; font-weight: 600; }
.evento .quando { font-size: .78rem; color: var(--muted); }
.contagem { font-family: var(--head); font-weight: 700; color: var(--gold2); font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; }
.contagem.agora { color: var(--ok); }
.tabela-eventos .horarios { display: flex; flex-wrap: wrap; gap: 5px; }
.tabela-eventos .horarios span { font-size: .76rem; padding: 2px 7px; border: 1px solid var(--line2); border-radius: 3px; color: var(--muted); }

/* castelo */
.castelo { display: flex; gap: 14px; align-items: center; }
.castelo .escudo {
  width: 54px; height: 62px; flex: none; display: grid; place-items: center; font-family: var(--head); font-weight: 900; font-size: 1.3rem;
  color: #1d1408; background: linear-gradient(180deg, #f5d796, var(--gold) 60%, #8c6a2f);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
}

/* ------------------------------------------------------------------ tabelas e rankings */
.tabela { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tabela th {
  text-align: left; font-family: var(--head); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold2);
  padding: 10px 12px; border-bottom: 1px solid var(--line2); background: rgba(214, 165, 78, .04);
}
.tabela td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tabela tr:hover td { background: rgba(255, 255, 255, .015); }
.tabela .pos { width: 46px; font-family: var(--head); font-weight: 700; color: var(--muted); }
.tabela tr.top1 .pos { color: #ffd76a; }
.tabela tr.top2 .pos { color: #dfe4ea; }
.tabela tr.top3 .pos { color: #e3a46a; }
.tabela .valor { font-family: var(--head); font-weight: 700; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.tabela-rolagem { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.mini { width: 100%; border-collapse: collapse; font-size: .88rem; }
.mini td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.mini tr:last-child td { border-bottom: 0; }
.mini .pos { width: 26px; color: var(--muted); font-weight: 700; }
.mini .valor { text-align: right; font-weight: 700; color: #fff; }

.classe {
  display: inline-grid; place-items: center; min-width: 34px; height: 20px; padding: 0 5px; border-radius: 3px; margin-right: 8px;
  font-size: .64rem; font-weight: 800; letter-spacing: .06em; color: #fff; vertical-align: 1px;
}
.classe.dw { background: #3f5fb8; }
.classe.dk { background: #a33a2c; }
.classe.elf { background: #3f8f4e; }
.classe.mg { background: #7a4bb0; }
.classe.dl { background: #a8822f; }
.classe.su { background: #b0457f; }
.classe.rf { background: #b5612e; }
.guilda { font-size: .8rem; color: var(--muted); }
.marca { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; margin-right: 6px; image-rendering: pixelated; border: 1px solid var(--line2); }

.abas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.abas a {
  font-size: .82rem; font-weight: 600; padding: 7px 13px; border: 1px solid var(--line2); border-radius: 20px; color: var(--muted); background: var(--panel);
}
.abas a:hover { color: #fff; border-color: var(--gold3); }
.abas a.ativo { color: #1d1408; background: var(--gold); border-color: var(--gold2); }
.alternar { display: inline-flex; border: 1px solid var(--line2); border-radius: 4px; overflow: hidden; }
.alternar a { padding: 6px 14px; font-size: .82rem; color: var(--muted); }
.alternar a.ativo { background: var(--gold); color: #1d1408; font-weight: 700; }

/* ------------------------------------------------------------------ passos / chamada */
.passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: passo; }
.passo { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); position: relative; }
.passo::before {
  counter-increment: passo; content: counter(passo); position: absolute; right: 18px; top: 8px;
  font-family: var(--head); font-size: 3.4rem; font-weight: 900; color: rgba(214, 165, 78, .12);
}
.passo h3 { color: #fff; }
.faixa {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(10, 8, 6, .95), rgba(10, 8, 6, .7)), url('../img/hero.jpg') center 60% / cover;
}

/* ------------------------------------------------------------------ páginas de formulário (entrar, cadastro) */
.caixa-form { max-width: 520px; margin: 50px auto; }
.caixa-form .cartao { padding: 30px; }
.caixa-form h1 { font-size: 1.7rem; text-align: center; color: #fff; }
.caixa-form .sub { text-align: center; color: var(--muted); margin-bottom: 24px; }
.caixa-form .rodape-form { text-align: center; margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------------ painel da conta */
.conta { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; padding: 36px 0 60px; }
.lateral { align-self: start; position: sticky; top: 90px; }
.lateral .perfil { text-align: center; padding: 22px 16px; }
.avatar {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center;
  font-family: var(--head); font-size: 1.6rem; font-weight: 900; color: #1d1408;
  background: radial-gradient(circle at 35% 30%, #fbe7b6, var(--gold) 55%, #7a5a26);
  box-shadow: 0 0 0 3px var(--panel), 0 0 0 4px var(--gold3);
}
.lateral .perfil b { display: block; font-size: 1.05rem; }
.lateral nav { display: grid; margin-top: 14px; border-top: 1px solid var(--line); }
.lateral nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: var(--muted); font-weight: 600; font-size: .92rem;
  border-bottom: 1px solid var(--line); border-left: 3px solid transparent;
}
.lateral nav a:hover { color: #fff; background: rgba(255, 255, 255, .02); }
.lateral nav a.ativo { color: var(--gold2); border-left-color: var(--gold); background: rgba(214, 165, 78, .06); }
.lateral .cartao { padding: 0; overflow: hidden; }
.lateral form { padding: 14px 16px; margin: 0; }

.titulo-conta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.titulo-conta h1 { font-size: 1.6rem; margin: 0; color: #fff; }
.dados { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.dado { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.dado:nth-child(odd) { padding-right: 18px; }
.dado span { font-size: .75rem; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.dado b { font-weight: 600; }
.etiqueta { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 3px; letter-spacing: .04em; vertical-align: 1px; }
.etiqueta.ok { background: rgba(111, 191, 115, .15); color: #9fdc9f; border: 1px solid rgba(111, 191, 115, .4); }
.etiqueta.nao { background: rgba(217, 87, 63, .12); color: #f0a898; border: 1px solid rgba(217, 87, 63, .4); }
.etiqueta.ouro { background: rgba(214, 165, 78, .14); color: var(--gold2); border: 1px solid var(--gold3); }
.etiqueta.neutra { background: rgba(255, 255, 255, .05); color: var(--muted); border: 1px solid var(--line2); }

.moedas { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.moeda { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #0e0b08; }
.moeda span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.moeda b { display: block; font-family: var(--head); font-size: 1.5rem; color: var(--gold2); margin: 4px 0; }
.moeda small { color: var(--dim); font-size: .76rem; }

.personagens { display: grid; gap: 14px; }
.personagem { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.personagem > summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px;
}
.personagem > summary::-webkit-details-marker { display: none; }
.personagem[open] > summary { border-bottom: 1px solid var(--line); background: rgba(214, 165, 78, .04); }
.personagem .retrato {
  width: 48px; height: 48px; border-radius: 6px; display: grid; place-items: center; font-family: var(--head); font-weight: 900; color: #fff;
}
.personagem .retrato.dw { background: linear-gradient(135deg, #3f5fb8, #1b2a55); }
.personagem .retrato.dk { background: linear-gradient(135deg, #a33a2c, #4a1912); }
.personagem .retrato.elf { background: linear-gradient(135deg, #3f8f4e, #18391f); }
.personagem .retrato.mg { background: linear-gradient(135deg, #7a4bb0, #33204b); }
.personagem .retrato.dl { background: linear-gradient(135deg, #a8822f, #4a3913); }
.personagem .retrato.su { background: linear-gradient(135deg, #b0457f, #4a1c35); }
.personagem .retrato.rf { background: linear-gradient(135deg, #b5612e, #4c2812); }
.personagem .nome b { font-size: 1.05rem; display: block; }
.personagem .resumo { display: flex; gap: 18px; text-align: center; }
.personagem .resumo div { display: grid; }
.personagem .resumo b { font-family: var(--head); color: #fff; }
.personagem .resumo span { font-size: .7rem; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.personagem .conteudo { padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.atributos { display: grid; gap: 8px; }
.atributo { display: grid; grid-template-columns: 110px 1fr 90px; gap: 10px; align-items: center; font-size: .9rem; }
.atributo span { color: var(--muted); }
.atributo b { text-align: right; font-variant-numeric: tabular-nums; }
.atributo input { padding: 6px 8px; }
.acoes-personagem { display: grid; gap: 14px; align-content: start; }
.acao { border: 1px solid var(--line); border-radius: 4px; padding: 14px; background: #0e0b08; }
.acao h4 { font-family: var(--body); font-size: .9rem; margin: 0 0 4px; color: #fff; }
.acao p { font-size: .82rem; color: var(--muted); margin: 0 0 10px; }

.lista-log { width: 100%; border-collapse: collapse; font-size: .86rem; }
.lista-log th { text-align: left; color: var(--dim); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; padding: 8px; border-bottom: 1px solid var(--line2); }
.lista-log td { padding: 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
.lista-log td:first-child { color: var(--text); }

/* ------------------------------------------------------------------ rodapé */
.rodape { border-top: 1px solid var(--line); background: #070605; padding: 36px 0 26px; margin-top: 30px; color: var(--muted); font-size: .86rem; }
.rodape .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.rodape h4 { font-family: var(--head); color: var(--gold2); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rodape a { color: var(--muted); }
.rodape a:hover { color: #fff; }
.rodape .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: .76rem; color: var(--dim); }

.paginacao { display: flex; gap: 6px; justify-content: center; margin-top: 26px; }
.paginacao a, .paginacao span { padding: 6px 12px; border: 1px solid var(--line2); border-radius: 4px; color: var(--muted); }
.paginacao span { background: var(--gold); color: #1d1408; border-color: var(--gold2); font-weight: 700; }

.infos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.info { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.info span { font-size: .74rem; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.info b { display: block; font-family: var(--head); font-size: 1.5rem; color: var(--gold2); }

/* ------------------------------------------------------------------ telas menores */
@media (max-width: 980px) {
  .grade, .grade3, .passos, .conta, .rodape .wrap { grid-template-columns: 1fr; }
  .lateral { position: static; }
  .personagem .conteudo { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .topo .pilula { display: none; }
  .menu a { padding: 8px 9px; }
}
@media (max-width: 1100px) {
  .menu-botao { display: block; }
  .menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 12px;
  }
  .menu a.ativo::after { display: none; }
  #menu-abre:checked ~ .menu { display: flex; }
  .menu a { padding: 12px 8px; }
  .topo .wrap { gap: 12px; }
  .topo-acoes { margin-left: auto; }
}
@media (max-width: 640px) {
  .so-largo { display: none; }
  .wrap { padding: 0 16px; }
  .noticias, .duas, .dados { grid-template-columns: 1fr; }
  .dado:nth-child(odd) { padding-right: 0; }
  .heroi { min-height: 480px; }
  .numeros { gap: 20px; }
  .personagem > summary { grid-template-columns: auto minmax(0, 1fr); }
  .personagem .resumo { grid-column: 1 / -1; justify-content: space-between; }
  .atributo { grid-template-columns: 90px 1fr 70px; }
  .topo-acoes .botao.fantasma { display: none; }
  .caixa-form { margin: 24px auto; }
  .caixa-form .cartao { padding: 20px; }
}

/* ------------------------------------------------------------------ utilitários (sem style="" por causa da CSP) */
.m0 { margin: 0; }
.m0b { margin-bottom: 0; }
.mt { margin-top: 24px; }
.mt-s { margin-top: 12px; }
.grande-txt { font-size: 1.1rem; }
.grade-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.grade-2 > .cartao + .cartao { margin-top: 0; }
form.inline { display: inline-block; margin: 0 0 0 10px; vertical-align: middle; }
.rodape .logo { display: inline-block; }
@media (max-width: 980px) { .grade-2 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ blocos do painel (descrição à esquerda, conteúdo à direita) */
.bloco {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 10px;
  background: #0f0c0a; overflow: hidden; margin-bottom: 20px;
}
.bloco-lado { padding: 24px 22px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border-right: 1px solid var(--line); }
.bloco-lado h3 { display: flex; align-items: center; gap: 10px; font-family: var(--body); font-size: 1.15rem; font-weight: 600; color: #fff; text-transform: none; letter-spacing: 0; margin-bottom: 14px; }
.bloco-lado p { color: var(--muted); font-size: .9rem; margin: 0; }
.bloco-conteudo { padding: 24px; display: grid; gap: 12px; align-content: start; }
.icone { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.alerta-risco {
  display: flex; gap: 14px; align-items: flex-start; margin: -24px -24px 8px; padding: 18px 24px;
  background: linear-gradient(90deg, #5e1111, #3d0b0b); border-bottom: 1px solid #7a2020; color: #f5c9c3;
}
.alerta-risco svg { width: 26px; height: 26px; flex: none; fill: none; stroke: #ff8f84; stroke-width: 1.8; stroke-linecap: round; margin-top: 2px; }
.alerta-risco b { display: block; color: #ffb3aa; font-size: 1rem; margin-bottom: 2px; }
.alerta-risco p { margin: 0; font-size: .86rem; color: #f0b9b1; }
.linha-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: #1a1613; border-radius: 6px; color: var(--muted); }
.linha-info b { color: #fff; font-variant-numeric: tabular-nums; }
.linha-acao {
  display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid var(--line2); border-radius: 8px;
  background: #0b0908; color: #fff; font-weight: 600; font-size: 1.02rem; cursor: pointer; transition: background .15s, border-color .15s;
}
.linha-acao:hover { background: #15110e; border-color: var(--gold3); }
.linha-acao .icone { width: 24px; height: 24px; stroke: #fff; }
.linha-acao span { flex: 1; }
.linha-acao .mais { width: 14px; height: 14px; position: relative; }
.linha-acao .mais::before, .linha-acao .mais::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: #fff; }
.linha-acao .mais::after { transform: rotate(90deg); }
.modal-chave { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.modal-chave:focus-visible + .linha-acao { outline: 2px solid var(--gold); outline-offset: 2px; }

/* janela de confirmação (abre pelo checkbox, sem depender de JavaScript) */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-chave:checked ~ .modal { display: flex; }
body:has(.modal-chave:checked) { overflow: hidden; }
.modal-fundo { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); cursor: default; }
.modal-caixa {
  position: relative; width: 100%; max-width: 400px; background: #111; border: 1px solid #2a2a2a; border-radius: 10px;
  padding: 30px 32px 32px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); animation: modal-entra .18s ease-out;
}
@keyframes modal-entra { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-icone { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; display: block; margin: 0 auto 14px; }
.modal-caixa h2 {
  font-family: var(--body); font-size: 1.4rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  margin: 0; padding-bottom: 24px; border-bottom: 1px solid #2a2a2a;
}
.modal-texto { padding: 22px 0; border-bottom: 1px solid #2a2a2a; margin-bottom: 22px; }
.modal-texto p { color: #c9c9c9; font-size: .95rem; line-height: 1.55; margin: 0; }
.modal-texto p + p { margin-top: 18px; }
.modal-texto b { color: #fff; font-weight: 600; }
.modal-texto .preco { color: var(--gold); }
.modal-aviso {
  display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; margin-bottom: 22px;
  background: #5a4318; border: 1px solid #b08a3a; border-radius: 6px; color: #ffd75e; font-size: .86rem; line-height: 1.45;
}
.modal-aviso svg { width: 30px; height: 30px; flex: none; fill: none; stroke: #ffd75e; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.modal-caixa form { margin: 0 0 12px; }
.modal-comprar, .modal-cancelar {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px 16px; border-radius: 8px;
  font: 600 1.05rem var(--body); cursor: pointer; border: 0;
}
.modal-comprar { background: linear-gradient(180deg, #f1cf85, var(--gold)); color: #1d1408; }
.modal-comprar:hover { filter: brightness(1.08); }
.modal-comprar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.modal-comprar[disabled] { background: #1a1a1a; color: #4a4a4a; cursor: not-allowed; filter: none; }
.modal-cancelar { background: #232323; color: #fff; }
.modal-cancelar:hover { background: #2d2d2d; }
@media (max-width: 760px) {
  .bloco { grid-template-columns: 1fr; }
  .bloco-lado { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .bloco-conteudo { padding: 18px; }
  .alerta-risco { margin: -18px -18px 6px; padding: 16px 18px; }
}

/* Passe de Temporada (área da conta) */
.passe-barra { height: 10px; border-radius: 5px; background: #1a1613; overflow: hidden; }
.passe-barra i { display: block; height: 100%; background: linear-gradient(90deg, #2d6fe0, #7cc4ff); }
.passe-premium { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid rgba(214, 168, 70, 0.4); border-radius: 6px; background: rgba(214, 168, 70, 0.06); }
.passe-premium p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.passe-premium .modal-comprar { flex: none; width: auto; padding: 10px 18px; border: 0; border-radius: 6px; font-weight: 700; cursor: not-allowed; opacity: 0.7; }


/* ======================================================================
   Tema MuSwaY 2026 (redesign): base escura azul-marinho, dourado/bronze nos
   ornamentos e o azul-gelo do cristal da logo no brilho. Vale para todas as
   páginas; a página inicial tem o resto em inicio.css.
   ====================================================================== */
:root {
  --bg: #05070d;
  --bg2: #090d17;
  --panel: #0c1220;
  --panel2: #111a2c;
  --line: #1c2740;
  --line2: #2b3a5a;
  --text: #e6e8f0;
  --muted: #98a2b8;
  --dim: #5d6782;
  --ice: #6cc4ff;
  --ice2: #c3ebff;
  --ice-glow: rgba(108, 196, 255, .35);
  --gold-glow: rgba(214, 165, 78, .28);
}
body {
  background:
    radial-gradient(1400px 700px at 50% -200px, rgba(60, 110, 210, .14), transparent 70%),
    radial-gradient(900px 600px at 100% 40%, rgba(108, 196, 255, .05), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
::selection { background: rgba(108, 196, 255, .35); color: #fff; }

/* topo: vidro escuro, linha dourada fina embaixo */
.topo {
  background: linear-gradient(180deg, rgba(5, 7, 13, .92), rgba(5, 7, 13, .78));
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(214, 165, 78, .55), transparent) 1;
  backdrop-filter: blur(10px) saturate(1.2);
  transition: background .3s, box-shadow .3s;
}
.topo .wrap { height: 72px; }
.topo .logo { display: flex; align-items: center; }
.topo .logo img { height: 42px; width: auto; filter: drop-shadow(0 0 10px rgba(108, 196, 255, .25)); transition: filter .2s; }
.topo .logo:hover img { filter: drop-shadow(0 0 14px rgba(108, 196, 255, .55)); }
.menu a { transition: color .2s; }
.menu a:hover, .menu a.ativo { color: var(--ice2); text-shadow: 0 0 12px var(--ice-glow); }
.menu a.ativo::after { background: linear-gradient(90deg, transparent, var(--ice), transparent); box-shadow: 0 0 8px var(--ice); }
body.inicio .topo { background: linear-gradient(180deg, rgba(5, 7, 13, .75), rgba(5, 7, 13, 0)); border-image: none; backdrop-filter: none; }
body.inicio .topo.rolou { background: linear-gradient(180deg, rgba(5, 7, 13, .94), rgba(5, 7, 13, .84)); backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(0, 0, 0, .45); }
.pilula { background: rgba(10, 16, 30, .6); border-color: var(--line2); }
.ponto.on { background: #4ee08a; box-shadow: 0 0 10px #4ee08a; animation: pulsar 2s infinite; }
@keyframes pulsar { 50% { box-shadow: 0 0 2px #4ee08a; } }

/* botões: ouro com brilho; o fantasma é de gelo */
.botao {
  position: relative; overflow: hidden; border-radius: 3px;
  background: linear-gradient(180deg, #ffe7ad 0%, #e2b55e 45%, #a8772c 100%);
  box-shadow: 0 2px 0 #5d421a, 0 0 22px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.botao::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); transition: left .6s;
}
.botao:hover::after { left: 130%; }
.botao:hover { box-shadow: 0 2px 0 #5d421a, 0 0 34px rgba(214, 165, 78, .5), inset 0 1px 0 rgba(255, 255, 255, .6); }
.botao.fantasma {
  background: linear-gradient(180deg, rgba(20, 40, 70, .55), rgba(8, 16, 32, .75));
  color: var(--ice2); border: 1px solid rgba(108, 196, 255, .55);
  box-shadow: 0 0 18px rgba(108, 196, 255, .15), inset 0 0 14px rgba(108, 196, 255, .12);
}
.botao.fantasma:hover { color: #fff; border-color: var(--ice); box-shadow: 0 0 28px var(--ice-glow), inset 0 0 18px rgba(108, 196, 255, .25); }

/* cartões: painel escuro com fio dourado em cima e cantos de luz */
.cartao {
  background: linear-gradient(180deg, rgba(17, 26, 44, .92), rgba(9, 14, 25, .94));
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .03);
}
.cartao::before {
  content: ''; position: absolute; left: 16px; right: 16px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 165, 78, .7), transparent);
}
.cartao h3 { color: var(--gold2); letter-spacing: .06em; }

/* títulos de seção com ornamento: linhas finas e losango de gelo */
.titulo-secao h2 { display: flex; align-items: center; gap: 14px; }
.titulo-secao h2::before {
  width: 10px; height: 10px; margin: 0; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--ice2), var(--ice)); box-shadow: 0 0 12px var(--ice);
}
.ornado { text-align: center; margin-bottom: 34px; }
.ornado .sobre { font-family: var(--head); font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ice); }
.ornado h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: .2em 0 .25em;
  background: linear-gradient(180deg, #fff6dc 0%, var(--gold2) 40%, var(--gold) 75%, #9c7432 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .6));
}
.ornado .linha {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto; max-width: 420px;
}
.ornado .linha::before, .ornado .linha::after {
  content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold));
}
.ornado .linha::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornado .linha i {
  width: 9px; height: 9px; transform: rotate(45deg); background: var(--ice); box-shadow: 0 0 12px var(--ice);
}
.ornado p { color: var(--muted); max-width: 640px; margin: 14px auto 0; }

/* rodapé com o símbolo de marca d'água */
.rodape {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0), #03050a 40%);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(214, 165, 78, .45), transparent) 1;
}
.rodape::before {
  content: ''; position: absolute; right: -80px; top: -40px; width: 420px; height: 380px;
  background: url(/static/img/arte/simbolo.webp) center / contain no-repeat; opacity: .05; pointer-events: none;
}
.rodape .logo img { height: 46px; width: auto; }
.rodape h4 { color: var(--gold2); }
.rodape a:hover { color: var(--ice2); }

/* aparece ao rolar (inicio.js); sem JS fica visível */
.js .revelar { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .revelar { opacity: 1; transform: none; transition: none; }
  .ponto.on { animation: none; }
}
