/* Variáveis de Cores e Configurações Gerais */
:root {
    --bg-color: #08050c; /* Roxo ultra escuro (vazio místico) */
    --text-color: #f3f0f7; /* Branco arcano/pergaminho limpo */
    --accent-color: #9d4edd; /* Roxo alquímico vibrante (cor de runa ativa) */
    --accent-hover: #c77dff; /* Brilho de feitiço expandido */
    --nav-bg: rgba(13, 9, 20, 0.75); /* Fluido translúcido escuro */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, .nav-links a, .btn {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* Navegação (Menu) */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--nav-bg);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(157, 78, 221, 0.15); /* Linha sutil de energia roxa */
    transition: all 0.3s ease; /* Transição suave para o efeito do JS */
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Seção Hero (Principal) */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Gradiente atualizado para fundir perfeitamente com a névoa roxa do fundo */
    background: linear-gradient(to bottom, rgba(13, 9, 20, 0.35), rgba(13, 9, 20, 1)), 
                url('https://spkigaming.com/assets/images/bg.png') no-repeat center center/cover;
    padding: 0 20px;
}

.hero h1 {
    font-size: 5rem;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.9);
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #d1c9db; /* Branco envelhecido com aura lilás */
    max-width: 600px;
}

/* Botões */
.btn-container {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.6); /* Brilho mágico de mana */
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Informações do Servidor */
.info-section {
    padding: 80px 50px;
    background-color: var(--bg-color);
    text-align: center;
}

.info-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

.info-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.info-card {
    background: #0e0a16; /* Roxo escuro enigmático */
    padding: 40px;
    border-top: 3px solid var(--accent-color);
    width: 300px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.info-card p {
    font-size: 1rem;
    color: #a89cb8; /* Prata com pigmento violeta */
}

/* Rodapé */
footer {
    background-color: #030205; /* Quase o breu da noite, mas roxo */
    padding: 30px;
    text-align: center;
    border-top: 1px solid #1f172e;
}

footer p {
    color: #5c4f6e; /* Inscrição sutil e desgastada */
    font-size: 0.9rem;
}

/* Responsividade (Para Celulares) */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
    .btn-container { flex-direction: column; }
    nav { padding: 20px; }
}

/* ============================================================
   ADIÇÃO: PÁGINA DE DOWNLOADS
   ============================================================ */

/* Hero menor para páginas internas */
.internal-hero {
    height: 50vh !important;
    background-image: linear-gradient(to bottom, rgba(13, 9, 20, 0.5), rgba(13, 9, 20, 1)), 
                      url('https://spkigaming.com/assets/images/bg.png') !important;
}

.download-page-content {
    max-width: 1100px;
    margin: -60px auto 100px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Grid de Cards */
.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 60px;
}

.download-card {
    background: #0c0812; /* Roxo sutilmente mais claro que o fundo */
    padding: 40px;
    border: 1px solid #241a35;
    border-bottom: 4px solid #36274f;
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: #553b75; /* Iluminação da borda */
}

.download-card.featured {
    border-bottom-color: var(--accent-color);
}

.download-card h3 {
    font-size: 1.8rem;
    margin: 15px 0;
}

.download-card p {
    color: #9285a6;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    min-height: 50px;
}

.tag {
    background: var(--accent-color);
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    font-weight: bold;
    border-radius: 2px;
}

/* Botões dentro do card */
.dl-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dl-actions .btn {
    padding: 12px;
    font-size: 1rem;
    text-align: center;
}

/* Tabela de Requisitos */
.specs-section {
    background: #0a070f;
    padding: 40px;
    border: 1px solid #1f172e;
    text-align: center;
}

.specs-section h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.specs-table table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
}

.specs-table td {
    padding: 15px;
    border-bottom: 1px solid #1f172e;
    text-align: left;
    color: #a498b5;
}

.specs-table td:first-child {
    font-family: 'Oswald';
    color: var(--accent-color);
    width: 30%;
}
/* Ajustes Mobile */
@media (max-width: 768px) {
    .download-grid { grid-template-columns: 1fr; }
    .internal-hero h1 { font-size: 3rem; }
    .download-page-content { margin-top: -30px; }
}

/* ============================================================
   ADIÇÃO: PÁGINA DE LOGIN
   ============================================================ */

.login-container {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px; 
    background: linear-gradient(rgba(13, 9, 20, 0.85), rgba(13, 9, 20, 0.85)), 
                url('https://spkigaming.com/assets/images/bg.png') no-repeat center center/cover;
}

.login-box {
    background: #0c0812;
    width: 100%;
    max-width: 450px;
    padding: 50px;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-family: 'Oswald';
    font-size: 2rem;
    letter-spacing: 2px;
}

.login-header p {
    color: #7d6f91;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Formulário */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-family: 'Oswald';
    font-size: 0.85rem;
    color: #a498b5;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    background: #110c18; /* Input com profundidade cósmica */
    border: 1px solid #342749;
    color: #fff;
    font-family: 'Roboto';
    transition: 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #251c36; /* Fundo do input focado em roxo arcano */
}

/* Opções e Checkbox */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 30px;
    color: #a498b5; /* Texto cinza-lilás suave */
}

.forgot-pw {
    color: var(--accent-color);
    text-decoration: none;
}

.forgot-pw:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    cursor: pointer;
    border: none;
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #7d6f91; /* Texto secundário em tom místico discreto */
}

.login-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.login-footer a:hover {
    color: var(--accent-color);
}

/* Responsivo */
@media (max-width: 480px) {
    .login-box { padding: 30px 20px; }
}

/* ============================================================
   ADIÇÃO: RODAPÉ (FOOTER) - NILHEIM PROJECT
   ============================================================ */

.nilheim-footer {
    background-color: #030205; /* Roxo quase negro cósmico */
    border-top: 1px solid #1f172e; /* Linha roxa bem escura */
    padding: 60px 20px 20px; 
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-brand h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
}

.footer-brand span {
    color: var(--accent-color);
}

.footer-brand p {
    color: #827496; /* Descrição em prata envelhecido violeta */
}

/* Redes Sociais */
.footer-social {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

.social-btn img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    /* Ícones frios e acinzentados por padrão */
    filter: grayscale(100%) brightness(0.6);
    transition: all 0.3s ease;
}

.social-btn:hover img {
    /* Remove o cinza e adiciona um brilho místico roxo (mana effect) */
    filter: grayscale(0%) brightness(1) drop-shadow(0 0 10px rgba(157, 78, 221, 0.7));
    transform: scale(1.1) translateY(-3px);
}

/* Área do Player de Áudio */
.footer-player {
    width: 100%;
    max-width: 400px;
    margin-top: 10px;
}

/* Linha inferior (Direitos) */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #170e24;
    color: #5c4f6e; /* Texto sombrio e místico para o copyright */
    font-size: 0.85rem;
    line-height: 1.5;
}

.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--nav-bg);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(157, 78, 221, 0.15); /* Linha estelar sutil */
}

/* ============================================================
   ADIÇÃO: PÁGINA DE REGISTRO
   ============================================================ */

.register-container {
    max-width: 1200px;
    margin: -80px auto 100px; 
    padding: 0 20px;
    flex: 1; 
}

.register-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.register-card {
    background: #0c0812; /* Fundo interno dos cards em roxo escuro */
    border: 1px solid #241a35;
    padding: 30px;
    border-top: 3px solid #36274f; /* Borda superior discreta */
    transition: 0.3s;
}

.register-card:hover {
    border-top-color: var(--accent-color); /* Brilha roxo vibrante no hover */
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.step-num {
    background: var(--accent-color);
    color: #fff;
    font-family: 'Oswald';
    padding: 2px 8px;
    font-size: 14px;
    font-weight: bold;
}

.register-card h3 {
    font-size: 1.4rem;
    letter-spacing: 1px;
}

/* Checkbox Customizado */
.terms-box {
    margin: 20px 0;
}

.check-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #9285a6;
}

.check-container a {
    color: var(--accent-color);
    text-decoration: none;
}

.check-container input {
    margin-top: 4px;
}

/* Botão e Rodapé do Card */
.btn-full {
    width: 100%;
    border: none;
    cursor: pointer;
}

.disclaimer {
    font-size: 0.8rem;
    color: #6a5d7a; /* Texto de aviso em tom ametista envelhecido */
    margin-bottom: 15px;
}

.footer-note {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: #5c4f6e;
    margin-top: 15px;
    font-style: italic;
}

/* Mensagens de Feedback */
.msg-box {
    background: #110c18; /* Fundo da mensagem estilo pergaminho sombrio */
    border: 1px solid var(--accent-color);
    color: #fff;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Roboto';
}

/* Responsividade */
@media (max-width: 992px) {
    .register-grid { grid-template-columns: 1fr; }
    .register-container { margin-top: 20px; }
}

/* ============================================================
   ADIÇÃO: PÁGINA DE REGRAS
   ============================================================ */

.rules-page-container {
    max-width: 900px;
    margin: -100px auto 100px;
    padding: 0 20px;
    flex: 1;
}

.rules-box {
    background: #08050c; /* Fundo roxo ultra escuro místico */
    border: 1px solid #1f172e; /* Borda roxa sutil */
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    position: relative;
}

.rules-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #231932;
    padding-bottom: 30px;
}

.rules-header h2 {
    font-size: 2.5rem;
    letter-spacing: 3px;
    color: var(--text-color);
}

.rules-header p {
    color: #827496; /* Prata envelhecido violeta */
    font-size: 0.9rem;
}

/* Lista de Itens */
.rule-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    transition: 0.3s;
}

.rule-number {
    font-family: 'Oswald';
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: bold;
    border: 2px solid var(--accent-color);
    min-width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.rule-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #f3f0f7; /* Branco arcano suave */
}

.rule-text p {
    font-size: 0.95rem;
    color: #a498b5; /* Texto cinza-lilás limpo */
    line-height: 1.6;
}

.rule-text b {
    color: var(--accent-color);
}

/* Rodapé das Regras */
.rules-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #231932;
    text-align: center;
}

.alert-text {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.update-text {
    color: #5c4f6e; /* Inscrição apagada de atualização */
    font-size: 0.8rem;
    margin-bottom: 30px;
}

.rules-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .rules-box { padding: 30px 20px; }
    .rule-item { flex-direction: column; gap: 15px; }
    .rules-actions { flex-direction: column; }
    .rules-page-container { margin-top: -30px; }
}


/* ============================================================
   ADIÇÃO: PÁGINA DE VOTOS
   ============================================================ */

.vote-container {
    max-width: 900px;
    margin: -80px auto 100px;
    padding: 0 20px;
    flex: 1;
}

.vote-box {
    background: #0c0812; /* Fundo dos cards principais */
    border: 1px solid #241a35;
    border-top: 4px solid var(--accent-color);
    padding: 50px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    text-align: center;
    position: relative;
}

/* Mostrador de Pontos em Destaque */
.points-display {
    background: #050308; /* Fundo profundo para ressaltar os pontos */
    border: 1px solid #2a1e3d;
    display: inline-block;
    padding: 20px 40px;
    margin-bottom: 40px;
    border-radius: 4px;
}

.points-display h3 {
    font-size: 1rem;
    color: #9285a6;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.points-number {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    color: var(--accent-color);
    font-weight: bold;
    text-shadow: 0 0 15px rgba(157, 78, 221, 0.4); /* Aura de energia mágica roxa */
    line-height: 1;
}

.vote-header {
    margin-bottom: 40px;
}

.vote-header h2 {
    font-size: 2rem;
    letter-spacing: 2px;
}

.vote-header p {
    color: #a498b5;
}

/* Grid dos Sites de Votação */
.vote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.vote-card {
    background: #110c18; /* Fundo interno dos mini-cards */
    padding: 30px 20px;
    border: 1px solid #2d2042;
    transition: 0.3s ease;
}

.vote-card:hover {
    border-color: #553b75; /* Iluminação rúnica ao passar o mouse */
}

.vote-card h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    height: 30px; 
}

/* Botões específicos para a página de Voto */
.btn-disabled {
    background-color: #241a35; /* Botão desativado integrado à paleta sombria */
    color: #5c4f6e;
    border: 2px solid #241a35;
    cursor: not-allowed;
    font-family: 'Oswald', sans-serif;
    padding: 15px 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.timer {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #e2afff; /* Tom lilás/rosa mágico brilhante para contagem regressiva */
    font-weight: bold;
    font-family: 'Roboto', monospace;
}

/* Regras de Rodapé */
.vote-footer {
    border-top: 1px solid #231932;
    padding-top: 30px;
    text-align: left;
    display: inline-block;
    color: #7d6f91;
    font-size: 0.85rem;
}

.vote-footer strong {
    color: var(--accent-color);
}

.vote-footer p {
    margin-bottom: 5px;
}

/* Responsividade */
@media (max-width: 768px) {
    .vote-grid { grid-template-columns: 1fr; }
    .vote-box { padding: 30px 20px; }
}
/* ============================================================
   CORREÇÃO: BOTÕES DA PÁGINA DE VOTOS
   ============================================================ */

/* Força os botões (especialmente a tag <a>) a se comportarem como blocos uniformes */
.vote-card .btn-block {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    padding: 15px 20px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

/* Estilo do botão ativo (Roxo Arcano) */
.vote-card .btn-primary {
    background-color: var(--accent-color, #9d4edd);
    color: #fff;
    border: 2px solid var(--accent-color, #9d4edd);
    transition: 0.3s ease;
}

.vote-card .btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color, #9d4edd);
}

/* Garante que os botões desativados fiquem do mesmo tamanho */
.vote-card .btn-disabled {
    padding: 15px 20px;
}
.user-logged span {
    color: var(--accent-color, #9d4edd);
    font-weight: bold;
    text-transform: uppercase;
}

/* ============================================================
   PAINEL COMPACTO (ESTILO DIRETO)
   ============================================================ */

.panel-compact {
    max-width: 900px;
    margin: 20px auto;
}

/* Topo Minimalista */
.panel-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 15px;
    background: #0c0812; /* Fundo místico profundo */
    border-bottom: 2px solid var(--accent-color);
    margin-bottom: 20px;
    margin-top: 100px;
}

.panel-header-mini h1 { font-size: 1.4rem; margin: 0; }
.logout-link { font-size: 0.7rem; color: #827496; text-decoration: none; text-transform: uppercase; }

.mini-stats { display: flex; gap: 15px; }
.stat-box { text-align: right; }
.stat-box small { display: block; font-size: 0.6rem; color: var(--accent-color); font-weight: bold; }
.stat-box span { font-family: 'Oswald'; font-size: 1.1rem; color: #fff; }

/* Grid e Cards menores */
.compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.card-mini {
    background: #110c18; /* Ametista escuro */
    border: 1px solid #2d2042;
    padding: 12px;
}

.card-head {
    font-family: 'Oswald';
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 1px solid #36274f;
    padding-bottom: 8px;
    margin-bottom: 12px;
    color: #d1c9db;
}

/* Lista de Personagens Slim */
.char-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #241a35;
}

.c-info strong { font-size: 0.85rem; display: block; color: #f3f0f7; }
.c-info small { font-size: 0.7rem; color: #a498b5; }

.c-actions a {
    text-decoration: none;
    margin-left: 8px;
    font-size: 1rem;
    opacity: 0.6;
    transition: 0.2s;
}

.c-actions a:hover { opacity: 1; }
/* Transmutação de cor para tons de roxo/magenta mágicos */
.c-actions a.active { 
    filter: sepia(1) saturate(5) hue-rotate(250deg) drop-shadow(0 0 3px rgba(157, 78, 221, 0.6)); 
}

/* Form Slim */
.form-mini .mini-input { margin-bottom: 10px; }
.form-mini label { display: block; font-size: 0.65rem; color: #827496; text-transform: uppercase; margin-bottom: 3px; }
.form-mini input {
    width: 100%;
    background: #050308; /* Fundo abissal */
    border: 1px solid #241a35;
    padding: 8px;
    color: #fff;
    font-size: 0.8rem;
}

.accent-border input { border-color: #3b2355; }

.btn-mini {
    width: 100%;
    padding: 8px;
    background: var(--accent-color);
    border: none;
    color: #fff;
    font-family: 'Oswald';
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .compact-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   PÁGINA DE DOAÇÕES (DONATE)
   ============================================================ */

.donate-container {
    max-width: 900px;
    margin: -40px auto 60px;
    padding: 0 20px;
    flex: 1;
}

.donate-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0c0812;
    border: 1px solid #241a35;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.donate-info-bar a {
    color: #a498b5;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Oswald';
    transition: 0.2s;
}

.donate-info-bar a:hover {
    color: var(--accent-color);
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.donate-card {
    background: #110c18;
    border: 1px solid #2d2042;
    padding: 25px;
    border-top: 3px solid var(--accent-color);
}

/* Grid de Botões de Valor */
.amounts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.btn-pix {
    background: #08050c;
    border: 1px solid #241a35;
    color: #d1c9db;
    font-family: 'Oswald', sans-serif;
    padding: 12px 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-pix:hover, .btn-pix:focus {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    outline: none;
}

/* Área do PIX */
.donate-placeholder {
    text-align: center;
    padding: 60px 20px;
    border: 1px dashed #36274f;
    color: #827496;
    margin-top: 20px;
}

.donate-placeholder p {
    font-family: 'Oswald';
    font-size: 1.2rem;
    color: #a498b5;
}

/* QR Code (Fundo deve permanecer branco/claro para garantir a leitura do celular) */
#pixBlock {
    text-align: center;
    margin-top: 20px;
    animation: fadeIn 0.5s ease forwards;
}

.qr-box {
    background: #fff; 
    padding: 15px;
    display: inline-block;
    border-radius: 4px;
    margin: 15px 0;
    border: 2px solid #2d2042; /* Borda mística, miolo liso para o escâner */
}

.qr-box img {
    display: block;
    width: 180px;
    height: 180px;
    background: #eee;
}

/* Texto Payload Copia e Cola */
.payload-box {
    background: #050308;
    border: 1px solid #241a35;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
    text-align: left;
}

.payload-box small {
    display: block;
    color: #827496;
    margin-bottom: 5px;
    font-family: 'Oswald';
    text-transform: uppercase;
}

#pixPayload {
    color: var(--accent-color); 
    font-family: monospace;
    font-size: 0.85rem;
    display: block;
    word-break: break-all;
    cursor: pointer;
    transition: 0.2s;
}

#pixPayload:hover {
    color: #f3f0f7;
}

/* Responsivo */
@media (max-width: 768px) {
    .donate-grid { grid-template-columns: 1fr; }
    .amounts-grid { grid-template-columns: repeat(3, 1fr); }
    .donate-info-bar { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
    .amounts-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   WIKI PAGE - COMPÊNDIO ARCANDO
   ============================================================ */

.wiki-page {
    max-width: 1180px;
    margin: 110px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.wiki-hero {
    /* Névoa roxa integrando-se ao fundo estrelado */
    background: linear-gradient(to bottom, rgba(13, 9, 20, 0.25), rgba(13, 9, 20, 0.95)),
                url('https://spkigaming.com/assets/images/bg.png') no-repeat center center/cover;
    border: 1px solid #1f172e;
    padding: 40px 30px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.wiki-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.wiki-hero p {
    color: #a498b5;
    font-size: 0.95rem;
}

.wiki-accent {
    color: var(--accent-color);
}

/* Busca */
.wiki-search {
    margin-bottom: 25px;
}

.wiki-search form {
    display: flex;
    gap: 8px;
    background: #0c0812;
    border: 1px solid #241a35;
    padding: 10px;
}

.wiki-search input {
    flex: 1;
    background: #050308;
    border: 1px solid #2d2042;
    color: #f3f0f7;
    padding: 12px 14px;
    font-family: 'Roboto', sans-serif;
    outline: none;
}

.wiki-search input:focus {
    border-color: var(--accent-color);
}

.wiki-search button {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 0 24px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
}

.wiki-search button:hover {
    background: var(--accent-hover);
}

/* Layout principal */
.wiki-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

/* Sidebar */
.wiki-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
    z-index: 1;
}

.wiki-panel {
    background: #0c0812;
    border: 1px solid #241a35;
    padding: 14px;
    overflow: hidden;
}

.wiki-panel-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d1c9db;
    font-size: 0.9rem;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #2d2042;
}

.wiki-categories {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: fit-content; 
    margin-right: auto; 
}

.wiki-category-link {
    display: block;
    padding: 9px 10px;
    color: #a498b5;
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid transparent;
    border-bottom: 1px solid #241a35;
    transition: 0.2s;
    background: transparent;
}

.wiki-category-link:hover {
    background: #110c18;
    color: #f3f0f7;
    border-color: #36274f;
    padding-left: 14px;
}

.wiki-category-link.is-active {
    background: #231836; /* Foco vibrante com leve preenchimento */
    color: var(--accent-color);
    border-color: #4a336e;
    padding-left: 14px;
}

/* Conteúdo */
.wiki-content {
    min-width: 0;
}

.wiki-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.wiki-item {
    background: #0e0a16;
    border: 1px solid #2d2042;
    padding: 10px;
    text-align: center;
    transition: 0.25s;
    overflow: hidden;
}

.wiki-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.wiki-item-image {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050308;
    margin-bottom: 10px;
    border: 1px solid #241a35;
}

.wiki-item-image img {
    max-width: 64px;
    max-height: 64px;
    image-rendering: auto;
}

.wiki-item-name {
    display: block;
    font-size: 0.88rem;
    color: #f3f0f7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.wiki-item-meta {
    display: block;
    font-size: 0.7rem;
    color: #827496;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Estado vazio */
.wiki-empty {
    grid-column: 1 / -1;
    background: #0c0812;
    border: 1px solid #241a35;
    padding: 40px 20px;
    text-align: center;
    color: #827496;
}

/* Paginação */
.wiki-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #241a35;
}

.wiki-pagination-info {
    font-size: 0.85rem;
    color: #827496;
}

.wiki-page-btn {
    display: inline-block;
    text-decoration: none;
    background: #0c0812;
    border: 1px solid #2d2042;
    color: #d1c9db;
    padding: 10px 16px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.2s;
}

.wiki-page-btn:hover {
    border-color: var(--accent-color);
    color: #fff;
    background: #110c18;
}

/* Responsivo */
@media (max-width: 900px) {
    .wiki-shell {
        grid-template-columns: 1fr;
    }

    .wiki-sidebar {
        position: relative;
        top: 0;
        order: 2;
    }

    .wiki-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .wiki-page {
        margin-top: 95px;
    }

    .wiki-hero h1 {
        font-size: 2.2rem;
    }

    .wiki-search form {
        flex-direction: column;
    }

    .wiki-search button {
        height: 44px;
    }
}

/* SUBMENU WIKI */
.wiki-group {
    border: 1px solid #241a35;
    margin-bottom: 5px;
    background: #0a070f;
}

.wiki-group > summary {
    padding: 10px;
    cursor: pointer;
    font-family: 'Oswald';
    color: #d1c9db;
    border-bottom: 1px solid #241a35;
}

.wiki-group[open] > summary {
    color: var(--accent-color);
}

.wiki-subgroup {
    margin-left: 10px;
}

.wiki-subgroup > summary {
    padding: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    color: #a498b5;
}

.wiki-subgroup a {
    padding-left: 20px;
}