html {
    scroll-behavior: smooth;
}
.rmsg { display: table; width: 360px; margin: 0 auto 20px auto; padding: 10px; background: #108c00; border-radius: 5px; text-align: center; color: #fff; font-size: 14px; }
.rmsg.error { background-color: #b30000 !important; }
.rmsg.warn { background-color: #fffca1 !important; color: #000 !important; }
#alerta { visibility: hidden; position: fixed; display: table; z-index: 1001; margin: 0 auto; padding: 25px 30px; color: #5a5a5a; font-size: 15px; background: #f7f7f7; border-radius: 6px; }
#alerta .ok { display: table; width: 100%; }
#alerta .ok > div { font-size: 12px; font-weight: bold; cursor: pointer; display: table; float: right; margin: 15px 0 0 0; padding: 5px 0; text-align: center; width: 60px; text-transform: uppercase; color: #fff; background: #ac0f0f; border: 1px solid #ac0f0f; box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset; border-radius: 4px; }
#alerta .ok > div:hover { background: #d21818; border-color: #d21818; }
#alerta .ok.sucesso > div { background: #0dbb00; border: 1px solid #0dbb00; }
#alerta .ok.sucesso > div:hover { background: #0a8c00; border: 1px solid #0a8c00; }
#backblack { height: 100%; width: 100%; position: fixed; top: 0; left: 0; background: #000; opacity: 0.8; z-index: 1000; }
input.default.sucesso { background: #0dbb00 !important; border-color: #0dbb00 !important; color: #fff !important; }

@font-face {
	src: url("../fonts/beaufortforlol-medium.otf");
	font-family: "Beaufort";
	font-weight: 500;
}

@font-face {
	src: url("../fonts/beaufortforlol-bold.otf");
	font-family: "Beaufort";
	font-weight: 700;
}

@font-face {
	src: url("../fonts/Roboto-Regular.ttf");
	font-family: "Roboto";
	font-weight: 300;
}

@font-face {
	src: url("../fonts/Roboto-Medium.ttf");
	font-family: "Roboto";
	font-weight: 500;
}


body {
	margin: 0;
	font-family: "Beaufort";
	font-weight: 500;
}

.background {
    background-image: url("../images/bg.png");
    background-position-x: 50%;
    background-repeat: no-repeat;
    background-color: #111; /* Garante o fundo escuro atrás da imagem */
    min-width: 1240px;
}

.container {
	width: 1240px;
	margin: 0 auto;
	padding-top: 28px;
}

.header {
	display: flex;
}

.nav {
	padding-top: 32px;
	padding-left:30%; /* coloca o main menu mais no meio */
}

.nav__item {
	margin-right: 35px;
	font-size: 18px;
	text-transform: uppercase;
	color: #000;
/*    color: #fff;    	*/
	text-decoration: none;
}

.nav__item--active {
	color: #ffcc00; /* Já deixei dourado para combinar */
	padding-bottom: 5px; /* Reduzi o espaço. O balão vai ficar fininho! */
	border-bottom: 2px solid #ffcc00;
}
.login-form {
    max-width: 400px; 
    margin: 0 auto; 
    padding: 20px; 
}

.login-block-title {
    text-align: center; 
    margin-bottom: 1px; 
}

.login-in, .password-in {
    margin-bottom: 1px; 
}

input[type="text"], input[type="password"], input[type="text"] {
    width: 100%; 
    padding: 10px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    box-sizing: border-box; 
}

input[type="text"]::placeholder, 
input[type="password"]::placeholder {
    color: #aaa; 
}

.login-button {
    display: flex; 
    justify-content: center; 
}

.green-button {
    background-color: #28a745; 
    color: white; 
    border: none; 
    border-radius: 4px; 
    padding: 10px 20px; 
    cursor: pointer; 
    transition: background-color 0.3s; 
}

.green-button:hover {
    background-color: #218838; 
}

.login {
	background-image: url("../images/login-background.png");
	color: #54200e;
	font-size: 20px;
	text-transform: uppercase;
	margin-left: auto;
	padding: 30px 15px 30px 20px;
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.06em;
	text-decoration: none;
	border-radius: 15px;
	overflow: hidden; 
}

.login-box {
    display: none;
	background-image: url("../images/discussion-background.png");
    position: absolute;
    width: 300px;
	margin-top: 10px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    animation: slide-down 0.3s ease-out;
}

@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-form label {
    margin-bottom: 5px;
	color: white;
    font-weight: bold;
}

.login-form input {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-form button {
    background-image: url("../images/login-background.png");
    color: #54200e;
	font-size: 20px;
	text-transform: uppercase;
    border: none;
    cursor: pointer;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-form button:hover {
    transform: translateY(2px); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.login-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.login-form button:hover {
    background-color: #6e2d12;
}


.main {
	padding: 138px 134px 150px 134px;
}

.main__background {
    background-image: url("/images/wolf.png");
    background-size: contain; 
	justify-content: center;
    background-repeat: no-repeat; 
    height: 400px;
	width: 900px;
    max-width: 100%; 
    max-height: 100%;
	margin-top: 100px;
    z-index: -1; /* Coloca atrás de outros elementos */
}

.start {
	display: flex;
	
}

.start__button {
	background-image: url("../images/start-background.png");
	color: #54200e;
	padding: 55px 38px;
	text-align: center;
	text-decoration: none;
}

.start__button-caption {
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.start__button-desc {
	font-family: "Roboto";
	font-weight: 500;
	font-size: 18px;
	text-transform: uppercase;
	margin-top: 3px;
	margin-left: 8px;
	letter-spacing: 0.24em;
}

.info {
	display: flex;
	flex: 1;
	margin-left: 3px;
	background-image: url("../images/info-background.png");
}

.info__box {
	padding-right: 55px;
	border-right: 1px solid #616060;
    text-decoration: none;
}

.info__box:last-child {
	border-right: none;
}

.info__icon {
	width: 108px;
	height: 115px;
	display: inline-block;
	margin-top: 36px;
	margin-left: 10px;
}

.info__text {
	display: inline-block;
	vertical-align: top;
	padding: 60px 0px;
	color: #fff;
}

.info__caption {
	font-size: 24px;
	text-transform: uppercase;
}

.info__desc {
	font-family: "Roboto";
	font-size: 14px;
	margin-top: 4px;
	font-weight: 100;
	color: #f0eae7;
}

.status {
	width: 185px;
	padding-right: 0;
	position: relative;
}

.status__rate {
	font-size: 32px;
	color: #fff;
	text-align: center;
	margin-top: 35%;
	/*margin-top: 62px;*/
}

.status__chronicle {
	font-family: "Roboto";
	color: #f0eae7;
	font-size: 14px;
	text-align: center;
}

/* =======================================================
   NOVO SLIDER WARPLUS (ESTRUTURA + VISUAL)
   ======================================================= */

.war-slider-container {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    background-color: #000;

    /* REMOVIDO: Bordas amarelas retiradas para não vazar */
    border: none;
    
    /* ADICIONADO: Arredonda os cantos do container e das barras */
    border-radius: 15px; 

    /* Mantivemos a sombra para dar profundidade, mas sem cor de borda */
    box-shadow: 0 10px 40px rgba(0,0,0,0.9);
}

/* --- BARRA DO TOPO E BARRA DA BASE --- */
.war-slider-container::before,
.war-slider-container::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 12px; /* Altura da textura */

    /* A imagem da textura */
    background-image: url('../images/news-all-button-background.png');
    background-repeat: repeat-x; /* Repete na horizontal */
    background-size: auto 100%; /* Garante que preencha a altura */

    z-index: 20; /* Fica acima de tudo */
    pointer-events: none; /* Garante que não atrapalhe cliques */
}

/* Posiciona a barra do topo */
.war-slider-container::before {
    top: 0;
}

/* Posiciona a barra de baixo */
.war-slider-container::after {
    bottom: 0;
}

/* Estilo de cada Slide */
.war-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    
    /* Imagem */
    background-size: auto 100%;
    background-position: center top;
    background-repeat: no-repeat;
    
    /* Transição (Fade) */
    opacity: 0; 
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

/* Slide Ativo */
.war-slide.active {
    opacity: 1;
    z-index: 2;
}

/* --- CONTEÚDO (TEXTOS) --- */
.war-content {
    position: relative;
    z-index: 3;
    height: 100%;
    text-align: left;
    padding: 50px 0 0 100px; /* Posição do texto */
    box-sizing: border-box;
}

.war-content h2 {
    font-family: "Beaufort", sans-serif;
    font-size: 46px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 3px 10px #000;
    margin: 0 0 5px 0;
    
    /* Animação de entrada */
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.war-content h2 span { color: #ffd200; }

.war-content p {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    color: #ddd;
    text-shadow: 0 2px 5px #000;
    margin: 0 0 20px 0;
    
    /* Animação com atraso */
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.2s;
}

/* --- BOTÃO PREMIUM (DOURADO) --- */
.war-btn {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    
    /* Estilo Dourado */
    background: linear-gradient(to bottom, #ffcc00, #d4a000);
    color: #000;
    padding: 12px 35px;
    border-radius: 4px;
    border: 1px solid #fff;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
    
    /* Animação de entrada */
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.3s ease, opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.war-btn:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 25px rgba(255, 255, 255, 1);
    transform: scale(1.05);
    cursor: pointer;
}

/* Ativa as animações quando o slide aparece */
.war-slide.active h2,
.war-slide.active p,
.war-slide.active .war-btn {
    transform: translateX(0);
    opacity: 1;
}

/* --- NAVEGAÇÃO (BOLINHAS E SETAS) --- */
.war-nav {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding-left: 100px;
    align-items: center;
    
    /* Z-index alto para ficar visível, MAS... */
    z-index: 10; 
    box-sizing: border-box;
    
    /* O TRUQUE MÁGICO: */
    /* Isso diz: "Se clicar no vazio, deixe passar para o botão de baixo" */
    pointer-events: none; 
}

/* Mas precisamos reativar o clique nas setas e bolinhas */
.war-prev, .war-next, .war-dots {
    pointer-events: auto; 
}

.war-prev, .war-next {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 24px;
    cursor: pointer;
    margin: 0 10px;
    transition: color 0.3s;
}

.war-prev:hover, .war-next:hover { color: #ffd200; }

.war-dots { display: flex; align-items: center; }

.war-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.war-dot.active {
    background: #ffd200;
    border-color: #ffd200;
    box-shadow: 0 0 8px #ffd200;
}

/* --- REFORÇO NO BOTÃO --- */
.war-btn {
    /* Forçamos o botão a ter prioridade de clique também */
    position: relative; 
    z-index: 20; 
    pointer-events: auto;
}

/* =======================================================
   SEÇÃO DE DESTAQUES - FINAL (ALINHADO + TEXTO VISÍVEL)
   ======================================================= */

.news {
    margin-top: 40px;
    padding-bottom: 55px;
    border-bottom: 1px solid #1e1e1e;
    text-align: center;
}

.news__posts {
    width: 100%;
    max-width: 1300px;
    display: flex;
    justify-content: center; /* Centraliza o bloco */
    gap: 0;
    padding: 30px 0;
    margin: 0 auto;
    
    /* REMOVIDO: O padding-left que jogava tudo pra direita. */
    /* Agora o alinhamento deve ficar perfeito no centro */
}

/* O CARD */
.news__post {
    width: 308px;
    height: 380px;
    position: relative;
    cursor: pointer;
    
    background-color: #000;
    background-size: cover !important;
    background-position: center;
    background-repeat: no-repeat;
    
    /* CORTE DIAGONAL */
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
    
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

/* UNIÃO DOS CARDS (Margem Negativa) */
.news__post + .news__post {
    margin-left: -46px; /* Puxa para a esquerda para encaixar */
}

/* HOVER: EXPANDE E SOBREPÕE */
.news__post:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); /* Vira retângulo */
    transform: scale(1.08);
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.9)) drop-shadow(0 0 15px rgba(255, 204, 0, 0.5));
    z-index: 100; /* Traz para frente */
}

/* DEGRADÊ DE FUNDO */
.news__post::after {
    content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    transition: height 0.4s ease; pointer-events: none;
    z-index: 2; /* Fica acima da imagem, mas abaixo do texto */
}
.news__post:hover::after { height: 95%; } /* Sobe quase até o topo no hover */

/* CONTEÚDO (TEXTO) */
.news__content {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 25px 35px;
    box-sizing: border-box; 
    text-align: left; 
    z-index: 10; /* Texto sempre no topo! */
}

/* DATA */
.news__date {
    position: absolute; top: 15px; right: 25px;
    background-image: url("../images/news-date.png");
    width: 72px; height: 74px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5)); 
    z-index: 10; /* Data também no topo */
    transition: all 0.4s;
}

.news__date-day { color: #ffd200; padding-top: 16px; text-align: center; font-size: 20px; font-weight: bold; text-shadow: 1px 1px 0 #000; }
.news__date-month { font-family: "Roboto"; font-size: 10px; text-align: center; text-transform: uppercase; color: #fff; }

/* TÍTULO */
.news__caption {
    font-size: 22px; font-family: "Beaufort", sans-serif; font-weight: 700;
    color: #ffffff; text-shadow: 0 2px 4px #000, 0 0 5px rgba(0,0,0,0.8);
    text-transform: uppercase; margin-bottom: 5px; transition: color 0.3s;
}
.news__post:hover .news__caption { color: #ffcc00; text-shadow: 0 0 15px rgba(255, 204, 0, 0.6); }

/* DESCRIÇÃO - CORREÇÃO DE VISIBILIDADE */
.news__desc {
    font-family: "Roboto", sans-serif; 
    color: #ffffff; /* Branco puro */
    text-shadow: 0 1px 2px #000;
    font-size: 14px; line-height: 1.4;
    
    /* Configuração para esconder/mostrar */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    
    /* Transição rápida para aparecer logo */
    transition: all 0.4s ease-in-out;
}

.news__post:hover .news__desc {
    max-height: 200px; /* Altura suficiente para o texto */
    opacity: 1;
    margin-top: 10px;
    /* Garantia extra de visibilidade */
    visibility: visible;
}

.news__link { display: none; }

/* BOTÃO VER TODAS */
.news__all {
    display: block; background-image: url("../images/news-all-button-background.png");
    width: 100%; max-width: 1300px; margin: 40px auto 0;
    text-align: center; text-transform: uppercase; text-decoration: none;
    font-size: 18px; padding: 15px 0px; letter-spacing: 0.1em; color: #8a8a8a;
    transition: all 0.3s; border-radius: 15px;
}
.news__all:hover { color: #ffcc00; filter: brightness(1.2); }

.discussion {
	background-image: url("../images/discussion-background.png");
	display: inline-block;
	width: 306px;
	padding-bottom: 36px;
}

.discussion__header {
	width: 306px;
	border-bottom: 1px solid #302e2e;
}

.discussion__icon {
	background-image: url("../images/info-icon.png");
	width: 90px;
	height: 88px;
	background-size: 100%;
	margin-left: 15px;
	margin-top: 15px;
	margin-right: -12px;
	display: inline-block;
}

.discussion__text {
	display: inline-block;
	vertical-align: top;
}

.discussion__caption {
	font-size: 24px;
	text-transform: uppercase;
	color: #fff;
	margin-top: 30px;
}

.discussion__desc {
	font-family: "Roboto";
	font-size: 12px;
	margin-top: 4px;
	margin-left: 2px;
	color: #999999;
}

.discussion__container {
	font-family: "Roboto";
	padding: 0px 40px 4px 40px;
	margin-top: 30px;
	font-weight: 100;
}

.discussion__topic {
	font-size: 15px;
	color: #c2c2c2;
	display: block;
	text-decoration: none;
	line-height: 20px;
}

.discussion__date {
	font-size: 13px;
	color: #7c7c7c;
	margin-top: 8px;
	display: inline-block;
	vertical-align: top;
}

.discussion__author {
	display: inline-block;
	margin-top: 8px;
	vertical-align: top;
	font-size: 13px;
	color: #e8b422;
	text-decoration: none;
}

.footer-background {
	background-image: url("../images/footer-background.png");
	background-position-y: 110%;
	background-position-x: 50%;
	background-color: #111;
	border-top: 1px solid #1e1e1e;
	min-width: 1240px;
}

.footer {
	font-family: "Roboto";
	padding-top: 12px;
	padding-bottom: 26px;
}

.footer__info {
	width: 400px;
	display: inline-block;
	margin-right: 30px;
}

.footer__logo {
	background-image: url("../images/footer-logo.png");
	background-repeat: no-repeat;
	width: 205px;
	height: 45px;
}

.footer__copyright {
	font-size: 10px;
	color: #474646;
	margin-top: 10px;
	line-height: 16px;
}

.footer__section {
	display: inline-block;
	vertical-align: top;
	margin-left: 100px;
	margin-top: 6px;
}

.footer__link {
	display: block;
	color: #58534b;
	text-transform: uppercase;
	font-size: 14px;
	margin-bottom: 15px;
}

.footer__socials-items {
	display: inline-block;
	vertical-align: top;
	float: right;
	margin-top: 4px;
}

.footer__social-item {
	display: inline-block;
	font-size: 24px;
	margin-left: 5px;
	color: #443d37;
}

/**/

.progress {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: #29d;
	box-shadow: 0 0 3px #29d;
}

.text {
	position: absolute;
	top: 50%;
	left: 50%;
	color: #000;
	border: none;
	width: 100px;
	height: 100px;
	margin-top: -50px;
	margin-left: -50px;
	text-align: center;
	line-height: 100px;
	display: none;
}

.round-progress {
	fill: none;
	stroke: #ffb515;
	stroke-width: 4;
	stroke-dasharray: 1000;
}

.svg {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100px;
	height: 100px;
	margin-top: -50px;
	margin-left: -50px;
	transform: rotate(-90deg);
}


.info-section h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 20px;
}

.info-section p {
    font-size: 18px;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
}


.inauguration {
    font-family: 'Cinzel', serif; 
    font-size: 4em; 
    color: #ffffff; 
    margin-bottom: 10px; 
    padding-left: 20px; 
}

.counter {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    font-family: 'Arial', sans-serif;
    font-size: 3em;
    color: #ffffff;
    margin-top: 20px;
    padding-left: 20px; 
}

.countdown__item {
    margin: 0 15px;
}

.countdown__label {
    display: block;
    font-size: 0.5em;
    color: #ccc;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
    color: #000;
}

.input-icon img, .input-icon i {
    position: absolute;
    left: 10px; 
    top: 8px; 
    pointer-events: none; 
}

input[type="text"], input[type="password"] {
    padding-left: 35px; 
    height: 40px; 
}

.captcha {
    position: relative;
}

.captcha .desc {
    padding-left: 30px; 
}

.captcha-refresh {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 1; 
}


.info-section {
    padding: 20px;
	margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.6); 
    color: #fff; 
    border-radius: 10px; 
}

.commands {
    margin: 10px 0;
}

.note {
    color: #ccc;
    font-size: 14px;
}

.download-boxes {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.download-box {
    background-color: rgba(34, 34, 34, 0.7);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
	color: white;
    flex: 1;
    margin: 0 10px;
}

.download-box h3 {
    margin-bottom: 10px;
}

.download-button {
    display: inline-block;
    padding: 10px 20px;
	background-image: url("../images/login-background.png");
	color: #54200e;
    border-radius: 5px;
    text-decoration: none;
}


.download-header {
    text-align: center; 
    margin-bottom: 20px;
}

.download-title {
    font-size: 2rem; 
    font-weight: bold;
    color: #ffffff; 
}


.downloadline {
    background-color: rgba(0, 0, 0, 0.5);
	margin-top: 10px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
	color: white;
    flex: 1;
}


.register-box {
    display: none;
    background-image: url("../images/discussion-background.png");
    position: absolute;
    width: 400px;
    margin-top: 10px;
	color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    animation: slide-down 0.3s ease-out;
}

@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-submit .submit-button {
    padding: 12px 30px;
    background-image: url("../images/login-background.png");
    color: #54200e;
    font-size: 20px;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: auto; 
    display: block;
    margin: 20px auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
}

.form-submit .submit-button:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}



.register-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffffff;
}

.register-box input, .register-box select {
    margin-bottom: 15px;
    padding: 10px;
    width: 100%; 
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}


.register-box .formpadrao.captcha .desc {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px; 
    padding: 0; 
    margin: 0;
}

.register-box .formpadrao.captcha img {
    margin-left: 0; 
}

.register-box .formpadrao.captcha a {
    margin-right: 0; 
}

.register-box .captchaImage {
    height: auto;
    display: inline-block;
    margin-left: 0; 
}

.icon-input {
    position: relative;
    height: 40px; 
    margin-bottom: 15px; 
}

.icon-input i {
    position: absolute;
    left: 10px; 
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px; 
    color: #333; 
}

.icon-input input {
    padding-left: 40px; 
    height: 100%; 
    width: 100%;
    box-sizing: border-box;
}

.register-box label {
    display: block;
    margin-bottom: 5px; 
}

.register-box input {
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 40px; 
}

.register-box .formpadrao {
    margin-bottom: 20px; 
}

input[type="text"], input[type="password"], input[type="email"], input[type="submit"] {
    padding-left: 35px; 
    height: 40px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    width: 100%;
    box-sizing: border-box; 
    margin-bottom: 10px; 
}

/* --- NOVO EFEITO DE ZOOM NO MENU --- */
.nav__item {
    display: inline-block !important; /* Permite que o texto cresça */
    transition: transform 0.3s ease, text-shadow 0.3s ease; /* Faz a animação ser suave */
}

.nav__item:hover {
    transform: scale(1.15); /* Aumenta o tamanho em 15% quando passa o mouse */
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.8); /* Adiciona um brilho dourado */
    color: #fff; /* Garante que a cor fique branca/brilhante */
}

/* =======================================================
   CORREÇÃO FINAL: CENTRALIZADO NO PC + COMPLETO NO CELULAR
   ======================================================= */
html, body {
    width: 100%;
    min-width: 1240px;
    margin: 0;
    padding: 0;
    overflow-x: auto;

    /* AQUI ESTÁ A MUDANÇA: Preto Puro */
    background-color: #000000 !important; 
    
    /* Garante que não tenha imagem repetindo se houver resquício */
    background-image: none; 
}

/* O Fundo agora estica para preencher telas grandes de PC */
.background, .footer-background {
    width: 100% !important;
    min-width: 1240px !important;
    background-size: cover !important; /* Cobre tudo */
    background-position: center top !important; /* Centraliza a imagem */
    background-repeat: no-repeat !important;
}

/* Garante que o conteúdo fique no meio da tela no PC */
.container {
    width: 1240px !important;
    margin: 0 auto !important; /* A mágica que centraliza */
}

/* --- ACABAMENTO DO RODAPÉ (FOOTER) --- */
.footer__social-item {
    color: #6e6e6e; /* Cor original cinza */
    font-size: 28px; /* Tamanho do ícone */
    margin: 0 15px; /* Espaço entre os ícones */
    transition: all 0.3s ease; /* Animação suave */
}

.footer__social-item:hover {
    color: #ffcc00; /* Fica DOURADO ao passar o mouse */
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.6); /* Brilho */
    transform: scale(1.2); /* Aumenta um pouquinho */
}

.footer__copyright {
    color: #888;
    font-size: 11px;
    margin-top: 15px;
    opacity: 0.8;
}

/* =======================================================
   CORREÇÃO DA CAIXA DE LOGIN (Obrigar a ficar no lugar)
   ======================================================= */
#login-box {
    position: absolute !important; 
    right: 0 !important;
    left: auto !important;
    
    /* Mudei de 50px para 45px para acompanhar o botão */
    top: 45px !important; 
    
    /* O resto continua igual... */
    z-index: 9999 !important;
    width: 300px !important;
    background: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid #444 !important;
    border-top: 3px solid #ffcc00 !important;
    border-radius: 0 0 10px 10px !important;
    padding: 20px !important;
}

/* =======================================================
   ESTILO DO BOTÃO DE LOGIN (VISUAL PREMIUM)
   ======================================================= */
#login-button {
    /* Mudei o top de 15px para 6px */
    position: absolute !important;
    right: 0 !important;
    top: 6px !important; /* <--- O SEGREDINHO AQUI */

    /* O resto continua igual... */
    background: linear-gradient(to bottom, #ffcc00, #d4a000);
    color: #000 !important;
    font-weight: bold !important;
    font-size: 13px !important;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 8px 25px !important;
    border-radius: 4px;
    border: 1px solid #fff;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
    display: flex !important;
    align-items: center;
    transition: all 0.3s ease;
}

/* Efeito ao passar o mouse */
#login-button:hover {
    background: #fff !important; /* Fica branco */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8); /* Brilho forte */
    transform: scale(1.05); /* Aumenta um pouquinho */
    cursor: pointer;
}

/* =======================================================
   1. REGRA EXCLUSIVA DA HOME (PROTEGIDA)
   ======================================================= */
/* Sem classe no body = Home */
.server-divider {
    position: relative;
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    /* Cálculo original da Home */
    margin-top: calc(23vw - 570px);
    margin-bottom: 40px;
}

/* =======================================================
   2. REGRAS PARA PÁGINAS INTERNAS (DOWNLOAD, INFO)
   ======================================================= */
   
/* TRAVA O HEADER EM COLUNA */
body.interna-page .header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 0px !important;
    position: relative !important;
    z-index: 100 !important;
}

/* CENTRALIZA O MENU */
body.interna-page .nav {
    display: inline-flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 101 !important;
}

/* A FÓRMULA MÁGICA (Sincronizada com o Index) */
body.interna-page .server-divider {
    /* Mudamos de 120px para 126px.
       Isso faz a logo subir 4 pixels (aprox. 1mm).
       Se precisar descer em vez de subir, mude para 116px.
    */
    margin-top: calc(23vw - 126px) !important;
    
    margin-bottom: 20px !important;
    height: 300px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transform: none !important;
    z-index: 50 !important;
}

/* VISUAL DA LOGO */
.divider-logo {
    width: 260px;
    height: 260px;
    background-image: url("../images/logo_solo.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 15px rgba(255, 204, 0, 0.4));
    animation: logoPulse 3s infinite ease-in-out;
}

.divider-logo::after {
    content: "";
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 120px;
    background-image: url("../images/warplus_texto.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 20;
}

/* EMPURRA O CONTEÚDO DE BAIXO */
body.interna-page .downloadline,
body.interna-page .main {
    margin-top: -40px !important; /* Puxa o bloco para cima (mais perto da logo) */
    position: relative;
    z-index: 60; /* Aumentei o Z-Index para garantir que fique clicável */
    display: block !important;
    padding-top: 30px !important; /* Espaço interno para o novo título não colar no teto */
}

/* LIMPEZA GERAL */
body.interna-page .main__background { display: none !important; }

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* =======================================================
   ESTILO DA NOVA BARRA DE TÍTULO (ACABAMENTO PREMIUM)
   ======================================================= */

/* A Barra Sólida no Topo */
.box-header-bar {
    background: rgba(0, 0, 0, 0.6); /* Mais escuro que o balão */
    border-bottom: 2px solid #ffcc00; /* Linha dourada de separação */
    
    /* O Pulo do Gato: Margens negativas para encostar nas bordas */
    margin: -20px -20px 30px -20px; 
    
    padding: 20px 0; /* Altura da barra */
    border-radius: 8px 8px 0 0; /* Arredonda só em cima */
    text-align: center;
}

/* O Texto dentro da Barra */
.box-header-bar {
    background: #1c1c1c; 
    border-bottom: 2px solid #ffcc00; /* Apenas a linha dourada embaixo */
    
    /* Margens para encostar nas bordas da caixa pai */
    margin: -20px -20px 30px -20px; 
    padding: 20px 0;
    
    text-align: center;
    position: relative;
    z-index: 70;
}

/* Ajuste fino para o texto de baixo não colar na barra */
body.interna-page .downloadline,
body.interna-page .info-section {
    background-color: #1c1c1c !important; /* Cinza Grafite */
    
    /* Borda Completa (Topo, Baixo, Lados) */
    border: 1px solid #333 !important;
    
    box-shadow: 0 0 50px rgba(0,0,0,1);
    
    /* AQUI ESTÁ A CORREÇÃO: Arredonda os 4 cantos */
    border-radius: 10px !important; 
    
    margin-top: -40px !important;
    position: relative;
    z-index: 60;
    display: block !important;
    
    /* Garante que a barra de título dentro respeite o arredondamento */
    overflow: hidden; 
}

/* =======================================================
   2. ESTILO DO BALÃO DA HOME (NOVO)
   ======================================================= */
.home-content-box {
    background-color: #1c1c1c;
    border: 1px solid #333;
    box-shadow: 0 0 50px rgba(0,0,0,1);
    border-radius: 10px;
    
    /* Visible para o efeito das notícias */
    overflow: visible; 
    
    position: relative;
    z-index: 10;
    
    /* MUDANÇA: Margem zero para colar no rodapé */
    margin-bottom: 0px; 
    
    padding-bottom: 20px;
}

/* =======================================================
   NOVO MENU GLASS (Navegação com Efeito de Vidro)
   ======================================================= */

/* O Container do Menu */
.glass-nav {
  position: relative;
  display: inline-flex;
  
  /* MUDANÇA: Fundo Preto com transparência (Vidro Escuro) */
  background: rgba(0, 0, 0, 0.8); 
  
  border-radius: 50px;
  backdrop-filter: blur(10px);
  
  /* Borda sutil para definir o contorno */
  border: 1px solid rgba(255, 255, 255, 0.15);
  
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.8), /* Sombra forte no chão */
    inset 0 1px 1px rgba(255, 255, 255, 0.1); /* Brilho interno sutil */
  
  padding: 5px;
  overflow: hidden;
  z-index: 101;
  margin: 0 auto;
}

/* Os Links (Botões) */
.glass-nav a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 12px 20px;
  
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  
  /* MUDANÇA: Texto Branco Brilhante */
  color: #ffffff; 
  text-shadow: 0 1px 2px rgba(0,0,0,0.8); /* Sombra na letra para leitura */
  
  position: relative;
  z-index: 2;
  transition: color 0.3s ease-in-out;
}

/* Hover simples */
.glass-nav a:hover {
  color: #ffcc00; /* Fica dourado ao passar o mouse */
}

/* O GLIDER (A luz dourada) */
.glass-glider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  width: calc((100% - 10px) / 4);
  border-radius: 50px;
  z-index: 1;
  
  /* Ouro Intenso */
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.6);
    
  transition: transform 0.5s cubic-bezier(0.37, 1.95, 0.66, 0.56);
}

/* --- LÓGICA DE POSIÇÃO --- */
/* Nota: Mantive a cor do texto ATIVO como PRETO (#000) 
   para garantir leitura em cima do Dourado brilhante */

.glass-nav.pos-0 .glass-glider { transform: translateX(0%); }
.glass-nav.pos-0 a:nth-child(1) { color: #000; text-shadow: none; } 

.glass-nav.pos-1 .glass-glider { transform: translateX(100%); }
.glass-nav.pos-1 a:nth-child(2) { color: #000; text-shadow: none; }

.glass-nav.pos-2 .glass-glider { transform: translateX(200%); }
.glass-nav.pos-2 a:nth-child(3) { color: #000; text-shadow: none; }

.glass-nav.pos-3 .glass-glider { transform: translateX(300%); }
.glass-nav.pos-3 a:nth-child(4) { color: #000; text-shadow: none; }

/* =======================================================
   AJUSTE DE FONTE: TÍTULO DOWNLOAD (IGUALAR AO INFO)
   ======================================================= */
.download-title {
    /* Troquei para Cinzel (Serifada e mais larga) */
    font-family: 'Cinzel', serif !important; 
    
    /* Aumentei para 42px (era 36px ou 2rem) */
    font-size: 42px !important; 
    
    /* Dourado Oficial */
    color: #ffcc00 !important; 
    
    font-weight: 700;
    text-transform: uppercase;
    
    /* Sombra e espaçamento */
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    margin: 0;
    line-height: 1;
    letter-spacing: 1px;
}

/* =======================================================
   ESTILO DOS CARDS DE INFORMAÇÃO (INFO GRID)
   ======================================================= */

/* O Container que segura os cartões */
.info-grid {
    display: flex;
    flex-wrap: wrap; /* Permite quebrar linha */
    gap: 25px; /* Espaço entre os cartões */
    justify-content: center;
    padding: 20px 0;
    margin-bottom: 30px;
}

/* O Cartão Individual */
.war-card {
    background: rgba(20, 20, 20, 0.85); /* Fundo escuro */
    border: 1px solid #333;
    border-radius: 15px;
    width: 45%; /* Ocupa quase metade da tela (2 por linha) */
    min-width: 350px; /* Não deixa ficar muito pequeno no celular */
    overflow: hidden; /* Garante que a imagem não saia da borda */
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

/* Efeito ao passar o mouse (Hover) */
.war-card:hover {
    transform: translateY(-5px) scale(1.02); /* Sobe e cresce levemente */
    border-color: #ffcc00; /* Borda fica dourada */
    box-shadow: 0 10px 25px rgba(0,0,0,0.8), 0 0 15px rgba(255, 204, 0, 0.2); /* Brilho */
}

/* A Imagem no topo do cartão */
.war-card-img {
    width: 100%;
    height: 140px; /* Altura fixa para alinhar */
    object-fit: cover; /* Corta a imagem para preencher sem esticar */
    border-bottom: 2px solid #ffcc00;
}

/* O Título dentro do cartão */
.war-card-header {
    background: linear-gradient(to bottom, #1a1a1a, #000);
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.war-card-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #ffcc00;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

/* O Corpo do texto (Lista) */
.war-card-body {
    padding: 20px;
    flex-grow: 1; /* Faz o corpo esticar para alinhar alturas */
}

.war-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.war-card li {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #ccc;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.war-card li:last-child {
    border-bottom: none;
}

.war-card li i, .war-card li span.bullet {
    color: #ffcc00;
    margin-right: 10px;
    font-weight: bold;
    min-width: 15px; /* Alinhamento do ícone */
}

/* Tabela de Rates (Dentro do primeiro card) */
.rates-grid {
    display: flex;
    justify-content: space-around;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #333;
}
.rate-item { text-align: center; }
.rate-val { font-size: 18px; color: #ffcc00; font-weight: bold; }
.rate-lbl { font-size: 10px; color: #888; text-transform: uppercase; }

/* Responsivo para celular (fica 1 por linha) */
@media (max-width: 800px) {
    .war-card { width: 100%; }
}

/* =======================================================
   AJUSTES FINAIS: CARD GERAL LARGO & MOEDAS
   ======================================================= */

/* Classe para deixar o primeiro card ocupando a linha toda */
.war-card.full-width {
    width: 100%;
    max-width: 1000px; /* Limita para não ficar infinito em telas gigantes */
}

/* Faz a lista do card largo ficar em 2 colunas */
.war-card.full-width .war-card-body ul {
    display: flex;
    flex-wrap: wrap;
}

.war-card.full-width li {
    width: 50%; /* Metade da tela para cada item */
    box-sizing: border-box;
    padding-right: 15px; /* Espaço entre as colunas */
}

/* No celular, volta para 1 coluna */
@media (max-width: 768px) {
    .war-card.full-width li { width: 100%; }
}

/* Ajuste compacto para a seção de Moedas */
.currency-box {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px 25px; /* Reduzi o padding vertical */
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.currency-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px; /* Mais compacto */
    margin-bottom: 10px;  /* Mais compacto */
}

.currency-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* =======================================================
   SEÇÃO HOME: MUNDO DE WARPLUS (6 CASTELOS + SHADOW STYLE)
   ======================================================= */

.home-stats-section {
    max-width: 1240px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alinhamento topo */
    gap: 30px; /* Espaço entre Castelos e Rank */
    position: relative;
    z-index: 20;
}

/* --- 1. COLUNA DOS CASTELOS (Estrutura Principal) --- */
.castle-column {
    flex: 1;
    max-width: 850px;
    /* Removemos o display:flex daqui para não misturar o Título com os Castelos */
}

/* --- NOVA CLASSE: A Grade que segura apenas os castelos --- */
.sieges-grid {
    display: flex;
    flex-wrap: wrap; 
    gap: 45px 15px; 
    align-content: flex-start;
    padding-bottom: 110px; 
    margin-top: 20px; /* Espaço entre o título e os castelos */
}

.castle-wrapper {
    position: relative;
    /* Isso faz ficarem 3 por linha (33% menos o espacinho do gap) */
    width: 30%; 
    height: 150px; 
    z-index: 1;
    transition: z-index 0.3s;
}

/* Garante que a gaveta de cima passe por trás dos castelos de baixo */
.castle-wrapper:nth-child(1),
.castle-wrapper:nth-child(2),
.castle-wrapper:nth-child(3) {
    z-index: 5;
}

.castle-wrapper:nth-child(4),
.castle-wrapper:nth-child(5),
.castle-wrapper:nth-child(6) {
    z-index: 10;
}

/* A Frente (Imagem/Botão) */
.castle-front {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    z-index: 5;
    background: #000;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* ESTILO "BOTÃO" (Sombra em vez de Borda) */
    box-shadow: 0 4px 10px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.1);
    border: none; /* Sem borda solida */
}

.castle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8); /* Um pouco mais escuro para o texto brilhar */
    transition: filter 0.3s;
}

/* O Verso (Informações) - Efeito Gaveta Retinha */
.castle-back {
    position: absolute;
    top: 0;
    left: 2%; 
    width: 96%;
    background: #111; 
    /* Aumentei a sombra para dar o efeito de que está "voando" sobre a linha de baixo */
    box-shadow: 0 15px 30px rgba(0,0,0,0.9); 
    border-radius: 0 0 10px 10px;
    padding: 15px 5px 8px 5px;
    text-align: center;
    z-index: -1; /* Fica atrás da sua própria imagem, mas acima dos vizinhos pelo z-index do wrapper */
    opacity: 0;
    transform: translateY(10px); 
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* HOVER */
.castle-wrapper:hover .castle-front {
    transform: translateY(-5px); /* Sobe levemente */
    box-shadow: 0 10px 25px rgba(0,0,0,0.9); /* Sombra aumenta */
}

.castle-wrapper:hover {
    z-index: 999; 
}

.castle-wrapper:hover .castle-back {
    transform: translateY(125px); /* Desce a gaveta */
    opacity: 1;
}

/* Textos */
.c-owner { 
    font-size: 11px; 
    color: #eee; 
    display: block; 
    margin-bottom: 8px; 
}

.c-owner b { 
    color: #ffcc00; 
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.8); /* Brilho intenso no NPC */
    font-size: 13px;
}

/* Ajuste da descida da gaveta para a nova altura de 150px */
.castle-wrapper:hover .castle-back {
    transform: translateY(135px); 
    opacity: 1;
}
.c-date { 
    background: rgba(255, 204, 0, 0.1); /* Fundo sutil */
    color: #ffcc00; 
    border: 1px solid #ffcc00; 
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
}


/* --- 2. RANKING (Mantendo o estilo que já funcionou) --- */
.pvp-column {
    width: 320px;
    background: rgba(20, 20, 20, 0.9);
    /* ... outras propriedades ... */
    
    /* Mude de height: 345px para: */
    height: auto; 
    min-height: 345px; /* Garante que não fique pequeno demais */
    padding-bottom: 0; /* Remove padding extra se tiver */
}

/* Cabeçalho com as Abas */
.rank-tabs {
    display: flex;
    background: #111;
    border-bottom: 1px solid #333;
}

.rank-tab-btn {
    flex: 1;
    padding: 8px 0; /* Reduzi de 10px para 8px */
    background: none;
    border: none;
    color: #777;
    font-family: 'Cinzel', serif;
    font-size: 11px; /* Fonte levemente menor */
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

.rank-tab-btn:hover { color: #ccc; }

/* Aba Ativa */
.rank-tab-btn.active {
    color: #ffcc00;
    background: rgba(255, 204, 0, 0.05);
}

.rank-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffcc00;
    box-shadow: 0 -2px 10px rgba(255, 204, 0, 0.5);
}

/* Conteúdo das Listas */
.rank-content { display: none; } /* Esconde por padrão */
.rank-content.active { display: block; } /* Mostra quando ativo */

.pvp-list { padding: 0; margin: 0; list-style: none; }

/* --- 3. RANKING (Medalhas ao lado do Nick) --- */
.pvp-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
    
    /* Aumentei a fonte geral da linha */
    font-size: 12px; 
    color: #ccc;
    
    /* Aumentei a altura de 35px para 41px para preencher todo o vazio */
    height: 41px; 
}

/* O número do rank (1, 2, 3...) */
.pvp-rank { 
    width: 20px; 
    font-weight: bold; 
    color: #555; 
    font-size: 14px;
}

/* Cores dos Números */
.r-gold { color: #ffcc00; }
.r-silver { color: #e0e0e0; }
.r-bronze { color: #cd7f32; }

/* Nome do Player + Ícone */
.pvp-name-area {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-left: 8px;
}

.p-name { 
    font-weight: bold; 
    color: #fff;
    /* Aumentei para 14px para dar destaque de leitura */
    font-size: 14px; 
    letter-spacing: 0.5px; /* Leve espaçamento para ficar elegante */
}

/* Ícone da Medalha (Pequeno e discreto) */
.rank-badge { 
    font-size: 11px; /* Medalha menor para acompanhar a compactação */
}

/* Cores dos Ícones */
.badge-1 { color: #ffcc00; filter: drop-shadow(0 0 3px rgba(255,204,0,0.5)); }
.badge-2 { color: #e0e0e0; }
.badge-3 { color: #cd7f32; }

.pvp-count { color: #ff5555; font-weight: bold; font-size: 12px; }

/* Botão Oculto da Olympiad */
.oly-btn-area {
    padding: 12px; /* Aumentei um pouco o padding geral */
    background: #111;
    border-top: 1px solid #333;
    margin-top: auto; /* Mantém os botões colados no fundo */
    display: flex;
    flex-direction: column;
    gap: 10px; /* Aumentei o espaço entre os dois botões */
}

.oly-btn {
    display: block;
    width: 100%;
    padding: 10px 0; /* Aumentei de 7px para 10px */
    background: rgba(255,255,255,0.05);
    color: #aaa;
    text-decoration: none;
    font-size: 11px; 
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid #333;
    transition: 0.3s;
    text-align: center;
}

.oly-btn:hover { 
    background: #ffcc00; 
    color: #000; 
    border-color: #ffcc00; 
    box-shadow: 0 0 10px rgba(255,204,0,0.3);
}

/* Estilo especial para o botão de Heroes (Opcional: Borda Dourada sutil) */
.hero-btn {
    border-color: #444;
}
.hero-btn:hover {
    background: #fff; /* Fica branco brilhante ao passar o mouse */
    color: #000;
}

/* Responsivo */
@media (max-width: 900px) {
    .home-stats-section { flex-direction: column; }
    .castle-column { flex-wrap: wrap; }
    .castle-wrapper { width: 100%; margin-bottom: 20px; }
    .pvp-column { width: 100%; }
}

/* --- ESTILO DAS TABELAS DENTRO DO MODAL --- */
.modal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 12px;
}

.modal-table th {
    background: rgba(255, 204, 0, 0.1);
    color: #ffcc00;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ffcc00;
    text-transform: uppercase;
    font-size: 11px;
}

.modal-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #333;
    color: #ccc;
}

.modal-table tr:hover td {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.mt-class { color: #aaa; font-style: italic; }
.mt-clan { color: #777; }
.mt-pts { color: #00ffaa; font-weight: bold; } /* Pontos em verde */

/* --- O BLOCO QUE FICOU FALTANDO (SISTEMA MODAL) --- */
.modal-overlay {
    display: none; /* É ISSO QUE ESCONDE ELAS! */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-box {
    background: #111;
    width: 90%;
    max-width: 800px;
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease;
}

.modal-header {
    background: #1a1a1a;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

.modal-title {
    font-family: 'Cinzel', serif;
    color: #ffcc00;
    font-size: 18px;
    font-weight: bold;
}

.modal-close {
    background: none; border: none;
    color: #888; font-size: 24px;
    cursor: pointer;
}
.modal-close:hover { color: #fff; }

.modal-content {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
    color: #ccc;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- TÍTULOS DAS SEÇÕES (CASTELOS E RANKING) --- */
.section-header {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px; /* Espaço embaixo do título */
    padding-bottom: 8px;
    border-bottom: 2px solid #ffcc00; /* Linha dourada embaixo */
    display: inline-block; /* A linha acompanha o tamanho do texto */
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.section-header i {
    color: #ffcc00;
    margin-right: 8px;
}

/* =========================================
   NOVO VISUAL: SEPARADORES, BOSSES E NEWS
   ========================================= */

/* 1. O SEPARADOR SUTIL (Substituto da linha amarela) */
.section-separator {
    width: 100%;
    max-width: 1240px;
    height: 1px;
    /* Gradiente suave */
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(255,255,255,0.15) 50%, rgba(0,0,0,0) 100%);
    margin: 10px auto; /* Reduzi a margem para aproximar os blocos */
    display: block;
}

/* 2. BOSS SECTION (Limpa e Transparente) */
.boss-section {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 0;
    background: transparent;
    
    /* ISSO MATA A FAIXA AMARELA */
    border: none !important; 
    border-top: none !important;
    
    box-shadow: none;
}

.boss-title {
    margin-bottom: 20px;
    color: #ffcc00;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.boss-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; 
}

.boss-card {
    width: 21%; /* Garante 4 por linha */
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.boss-card:hover {
    background: rgba(50, 50, 50, 0.8);
    transform: translateY(-5px);
    border-color: #555;
}

.boss-avatar-container {
    position: relative;
    width: 100%;
    height: 150px; /* Quadrado/Retângulo vertical */
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #222;
    background: #1a1a1a; 
    transition: 0.3s;
}

.boss-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Foco no peito/rosto */
    transition: 0.5s;
}

.boss-card:hover .boss-img { transform: scale(1.1); }

/* Status Cores */
.boss-card.is-alive .boss-avatar-container {
    border-color: #00ffaa;
    box-shadow: 0 0 10px rgba(0, 255, 170, 0.2);
}
.boss-card.is-dead .boss-avatar-container { border-color: #444; }
.boss-card.is-dead .boss-img { filter: grayscale(100%) brightness(0.6); }

.boss-name {
    color: #fff; font-size: 13px; font-weight: bold;
    text-transform: uppercase; margin-bottom: 4px;
    font-family: 'Cinzel', serif; text-align: center;
}

.status-text {
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1px; background: rgba(0,0,0,0.4);
    padding: 2px 8px; border-radius: 4px;
}
.is-alive .status-text { color: #00ffaa; }
.is-dead .status-text { color: #ff5555; }

.respawn-date {
    font-size: 10px; color: #999; margin-top: 5px; font-weight: normal;
}

/* 3. FAIXA PRETA DAS NOTÍCIAS (O Palco) */
.news-strip {
    width: 95%; /* Usa mais espaço lateral se precisar */
    max-width: 1240px; /* Mesma largura do resto do site */
    margin: 20px auto 60px auto;
    background: #080808;
    border: 1px solid #1a1a1a;
    border-radius: 15px;
    padding: 20px; /* Reduzi um pouco o padding interno */
    
    display: flex;
    justify-content: center; /* Centraliza */
    flex-wrap: wrap;
    gap: 15px; /* Espaço entre os banners */
    
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

/* Ajuste dos cards de notícia para caberem na faixa */
.news__post {
    /* MÁGICA: 23% garante que cabem 4 lado a lado */
    width: 23%; 
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    border: 1px solid #333;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.news__post:hover {
    transform: translateY(-5px);
    border-color: #ffcc00;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* Responsivo */
@media (max-width: 768px) {
    .news__post { width: 100%; height: 300px; margin-bottom: 20px !important; }
}
/* =======================================================
   CORREÇÕES FINAIS (Gap e Linha Amarela)
   ======================================================= */

/* 1. REMOVE O ESPAÇO GIGANTE EMBAIXO DOS CASTELOS */
.sieges-grid {
    padding-bottom: 10px !important; /* Era 110px, mudamos para 10px */
}

/* 2. MATA A LINHA AMARELA E SOBRAS DE BORDA */
.boss-section {
    border: none !important;
    border-top: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 3. AJUSTE DO SEPARADOR SUTIL */
.section-separator {
    height: 1px;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(255,255,255,0.15) 50%, rgba(0,0,0,0) 100%);
    margin: 20px auto;
    opacity: 0.7;
}

/* 4. GARANTE QUE AS NEWS FIQUEM 4 POR LINHA */
.news-strip {
    max-width: 1240px;
    width: 96%;
    padding: 20px;
}

/* --- NOME DO CASTELO NA FOTO --- */
.castle-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    
    /* Um degradê preto embaixo para o texto dourado brilhar */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    
    padding: 15px 0 10px 0; /* Espaço para o texto respirar */
    text-align: center;
    
    /* Estilo da Fonte */
    color: #ffcc00;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px #000;
    
    z-index: 10; /* Garante que fique acima da imagem */
    pointer-events: none; /* Deixa clicar na imagem através do texto */
}

/* Opcional: Se quiser que o texto suba um pouquinho ao passar o mouse */
.castle-wrapper:hover .castle-tag {
    bottom: 5px;
    transition: 0.3s;
}

/* =========================================
   PLAYER ESTILO SPOTIFY
   ========================================= */
.spotify-card {
    position: fixed !important; /* Fixa na tela */
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8); /* Sombra mais forte */
    border: 1px solid #333;
}

/* O resto é exatamente o estilo do card que você mandou */
.card {
  position: relative;
  width: 250px;
  height: 120px;
  background: #191414;
  border-radius: 10px;
  padding: 10px;
}

.top {
  position: relative;
  width: 100%;
  display: flex;
  gap: 10px;
}

.pfp {
  position: relative;
  top: 5px;
  left: 5px;
  height: 40px;
  width: 40px;
  background-color: #000; /* Fundo preto pra destacar o logo */
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #333;
}

.title-1 {
  color: white;
  font-size: 16px; /* Ajustei pra caber melhor */
  font-weight: bolder;
}

.title-2 {
  color: #b3b3b3; /* Cor mais suave estilo Spotify */
  font-size: 12px;
  font-weight: bold;
}

.time {
  width: 90%;
  background-color: #5e5e5e;
  height: 4px; /* Mais fino */
  border-radius: 3px;
  position: absolute;
  left: 5%;
  bottom: 22px;
}

.elapsed {
  width: 0%; /* Começa zerado */
  background-color: #1db954;
  height: 100%;
  border-radius: 3px;
  transition: width 0.1s linear;
}

.controls {
  color: white;
  display: flex;
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.controls svg {
  cursor: pointer;
  transition: 0.1s;
}

.controls svg:hover {
  color: #1db954;
}

.volume {
  opacity: 0;
  position: absolute; /* Ajuste para não quebrar layout */
  left: 35px; /* Posição ajustada */
  bottom: 5px;
  transition: 0.2s;
  width: 60px;
}

.volume .slider {
  height: 4px;
  background-color: #5e5e5e;
  width: 100%;
  border-radius: 2px;
}

.volume .slider .green {
  background-color: #1db954;
  height: 100%;
  width: 50%; /* Volume fixo visual 50% */
  border-radius: 3px;
}

.volume_button:hover ~ .volume, .volume:hover {
  opacity: 1;
}

.timetext {
  color: #b3b3b3;
  font-size: 10px;
  position: absolute;
  font-family: Arial, sans-serif;
}

.time_now {
  bottom: 8px;
  left: 14px;
}

.time_full {
  bottom: 8px;
  right: 14px;
}

.playing {
  display: flex;
  position: absolute; /* Mudei para absolute para posicionar na direita */
  right: 20px;
  top: 5px; /* Ajuste fino */
  justify-content: center;
  gap: 1px;
  width: 30px;
  height: 20px;
  align-items: flex-end;
}

.greenline {
  background-color: #1db954;
  height: 20px;
  width: 3px;
  position: relative;
  transform-origin: bottom;
}

.line-1 { animation: infinite playing 1s ease-in-out; animation-delay: 0.2s; }
.line-2 { animation: infinite playing 1s ease-in-out; animation-delay: 0.5s; }
.line-3 { animation: infinite playing 1s ease-in-out; animation-delay: 0.6s; }
.line-4 { animation: infinite playing 1s ease-in-out; animation-delay: 0s; }
.line-5 { animation: infinite playing 1s ease-in-out; animation-delay: 0.4s; }

@keyframes playing {
  0% { transform: scaleY(0.1); }
  33% { transform: scaleY(0.6); }
  66% { transform: scaleY(0.9); }
  100% { transform: scaleY(0.1); }
}

.volume {
    cursor: pointer; /* Faz a mãozinha aparecer no volume */
}