html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  position: relative;
}

body {
  width: 100%;
  background: url(imgs/body-bg.jpg) center top no-repeat;
  background-size: 100% auto;
  background-color: #c1c8bd;
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
  font-size: 16px;
  color: #343131;
}

a {
  transition: all 0.3s ease;
  color: #d9272e;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

p {
  margin-bottom: 20px;
}

h1, h2, h3 {
  color: #343131;
  margin-bottom: 20px;
  line-height: 1.2;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

img {
  max-width: 100%;
}

form {
  max-width: 600px;
  margin-bottom: 20px;
}

table {
  width: 100%;
  margin-bottom: 20px;
}
table td {
  border-collapse: collapse;
  padding: 15px 20px;
  border: 1px solid rgba(52, 49, 49, 0.4);
}
table tr:nth-child(even) {
  background: rgba(52, 49, 49, 0.1);
}

caption {
  margin-bottom: 15px;
}

select {
  background: rgba(2, 2, 2, 0.9);
  border: 1px solid #212123;
  color: #fff;
  padding: 18px 44px 18px 32px;
  position: relative;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  -webkit-appearance: none;
  background-image: url(imgs/arrow-v.png);
  background-position: right 10px center;
  background-repeat: no-repeat;
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
  -ms-appearance: none;
  appearance: none !important;
}

input, textarea {
  background: rgba(2, 2, 2, 0.9);
  border: 1px solid #212123;
  color: #fff;
  padding: 18px 32px;
  position: relative;
  font-size: 16px;
  border-radius: 5px;
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
}

button, .button {
  transition: all 0.3s ease;
  cursor: pointer;
  background: #551272;
  border: 1px solid #8531a9;
  color: #fff;
  border-radius: 5px;
  position: relative;
  padding: 18px 32px;
  z-index: 1;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
}
button:hover, .button:hover {
  filter: brightness(130%);
}

.button {
  display: inline-block;
  text-decoration: none;
  padding: 16px 32px;
}

.button-not-bg {
  border-radius: 1px;
  border: 2px solid #737373;
  font-size: 20px;
  color: #282828;
  text-transform: none;
  padding: 30px 100px 30px 50px;
  background: url(imgs/button-arrow.png) right 50px center no-repeat;
}
.button-not-bg:hover {
  background: #282828;
  color: #fff;
}

.formGroup {
  margin-bottom: 15px;
}
.formGroup p {
  font-size: 18px;
  margin-bottom: 10px;
  padding-left: 10px;
}
.formGroup input {
  width: 100%;
}
.formGroup button, .formGroup .button {
  width: 100%;
}
.formGroup .button {
  width: 100%;
}
.formGroup select {
  width: 100%;
}

:focus {
  outline: none;
}

::-webkit-input-placeholder {
  color: #dedede;
}

::-moz-placeholder {
  color: #dedede;
}

:-moz-placeholder {
  color: #dedede;
}

:-ms-input-placeholder {
  color: #dedede;
}

.wrapper {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  /* Antes era 3000px fixo, o que criava enorme espaço vazio antes do rodapé
     e deixava a página excessivamente longa. Deixamos o conteúdo definir a
     altura, com um mínimo apenas para o hero (header) respirar. */
  min-height: 1000px;
}

.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.flex-c {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.flex-s {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex-s-c {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.flex-c-c {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.t-center {
  text-align: center;
}

.bright:hover {
  filter: brightness(120%);
}

.topPanel {
  position: fixed;
  width: 100%;
  background: rgba(21, 24, 28, 0.94);
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  transition: 0.3s;
}
.topPanel a {
  color: #f8e9fd;
}
.topPanel-logo {
  display: block;
}
.topPanel-logo img {
  height: 51px;
}
.topPanel .menu {
  margin-left: 50px;
}
.topPanel .menu li {
  position: relative;
  height: 100px;
  line-height: 100px;
  transition: 0.3s;
}
.topPanel .menu li a {
  display: block;
  padding: 0px 50px;
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.topPanel .menu li:after {
  content: "";
  position: absolute;
  height: 100%;
  width: calc(100% + 50px);
  top: 0;
  left: -25px;
  background-color: rgba(2, 2, 2, 0);
  transition: 0.3s;
}
.topPanel .menu li:hover:after {
  background-color: rgba(2, 2, 2, 0.85);
}
.topPanel .menu .dropDown-menu {
  position: absolute;
  top: 100%;
  width: calc(100% + 50px);
  left: -25px;
  background: linear-gradient(to bottom, rgba(2, 2, 2, 0.8) 40%, rgba(2, 2, 2, 0));
  padding: 30px 0px 100px 0px;
  display: none;
}
.topPanel .menu .dropDown-menu li {
  height: auto;
  line-height: 1;
  padding: 0px 15px;
  text-align: center;
}
.topPanel .menu .dropDown-menu li a {
  padding: 15px 0px;
}
.topPanel .downloadButton {
  text-transform: uppercase;
  font-size: 24px;
  font-weight: bold;
  background: #551172;
  height: 100px;
  line-height: 100px;
  padding: 0px 100px;
  margin-left: 32px;
}
.topPanel .loginButton {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
  background: #303130;
  padding: 15px 48px;
  border-radius: 30px;
}
.topPanel-top .downloadButton {
  height: 60px;
  line-height: 60px;
}
.topPanel-top .menu li {
  height: 60px;
  line-height: 60px;
}

.topPanel-logo {
  margin-left: 40px;
}

.topPanel-button {
  position: absolute;
  right: 0;
}

.modal_div {
  max-width: 420px;
  width: 100%;
  background: rgba(12, 12, 14, 0.97);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  opacity: 0;
  z-index: 999;
  padding: 32px 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.35);
}
.modal_div h1,
.modal_div h2.modalTitle {
  font-size: 21px;
  padding: 0px 28px 18px 28px;
  margin: 0px -28px 22px -28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  color: #fff;
}
.modal_div form {
  margin-bottom: 20px;
}
.modal_div form p {
  margin-bottom: 12px;
}
.modal_div input,
.modal_div textarea {
  padding: 12px 16px;
  font-size: 14px;
  width: 100%;
}
.modal_div form button[type="submit"] {
  padding: 12px 20px;
  font-size: 14px;
  width: 100%;
}

.modal_div .modal_close {
  width: 22px;
  height: 22px;
  position: absolute;
  top: 16px;
  right: 18px;
  cursor: pointer;
}
.modal_div .modal_close span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
  position: relative;
}
.modal_div .modal_close span:nth-child(1) {
  transform: rotate(45deg);
  top: 2px;
}
.modal_div .modal_close span:nth-child(2) {
  transform: rotate(-45deg);
}

.or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
  padding: 0;
  text-align: center;
  color: #9a9a9a;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.or::before,
.or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* Botões sociais compactos do modal (google/facebook/telegram) —
   substituem o botão icon-only padrão do sistema por um botão
   horizontal com texto, sem alterar a lógica/URLs reais de OAuth. */
.modal_div .socialLoginMini {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0;
}
.waSocialBtn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.waSocialBtn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.waSocialIcon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.waSocialIcon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.waSocialLabel {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.waSocialBtn.wa-google { background: #ffffff; border: 1px solid #d9d9d9; color: #444; }
.waSocialBtn.wa-facebook { background: #1877F2; color: #fff; }
.waSocialBtn.wa-telegram { background: #229ED9; color: #fff; }

/* Login social nas PÁGINAS internas (cadastro/doações). O sistema gera
   .socialOAuthBtn com .gIcon>svg SEM tamanho definido; sem CSS o SVG ficava
   gigante. Aqui ficam compactos (ícone 24px, botão 48px), como no modal.
   Apenas apresentação — não altera a autenticação/URLs de OAuth. */
.main-content .socialLoginTitle {
  text-align: center;
  font-size: 13px;
  color: #6c6c6c;
  margin: 6px 0 10px;
}
.main-content .socialLoginMini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 12px;
}
.main-content .socialOAuthBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #d9d9d9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.main-content .socialOAuthBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}
.main-content .socialOAuthBtn .gIcon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-content .socialOAuthBtn .gIcon svg,
.main-content .socialOAuthBtn .gIcon img {
  width: 24px;
  height: 24px;
  max-width: 24px;
  display: block;
}
.main-content .socialSeparator {
  text-align: center;
  color: #9a90a6;
  font-size: 12px;
  margin: 8px 0 14px;
}

/* Seletor de idioma no topo (reaproveita lang_switcher_html() do sistema) */
.topLangs { display: flex; align-items: center; margin-right: 14px; }
.topLangs .langs { display: flex; align-items: center; }
.topLangs .langs .bg { display: none; }
.topLangs .langs .links {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.topLangs .langs .links a.langFlag {
  display: block;
  width: 26px;
  height: 17px;
  background-repeat: no-repeat;
  background-size: 130px 54px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}
.topLangs .langs .links a.langFlag.lang-ru { background-size: cover; }
.topLangs .langs .links a.langFlag:hover { opacity: 1; }
.topLangs .langs .links a.langFlag.active {
  opacity: 1;
  border-color: #d9272e;
  box-shadow: 0 0 0 1px rgba(217, 39, 46, 0.5);
}

.form-width input {
  width: 100%;
}
.form-width button, .form-width .button {
  width: 100%;
}
.form-width .button {
  width: 100%;
}

.formlinks {
  color: #f6f9ff;
}
.formlinks a {
  color: #f6f9ff;
  font-size: 14px;
}
.formlinks p {
  margin-bottom: 14px;
}
.formlinks .reg {
  color: #77acff;
}

#overlay {
  z-index: 998;
  position: fixed;
  background-color: #0f0f0f;
  opacity: 0.8;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  display: none;
}

.header {
  position: relative;
  height: 950px;
}

.logo {
  position: absolute;
  top: 340px;
  left: 140px;
  z-index: 11;
}

.serverBlock {
  position: absolute;
  top: 550px;
  left: 20px;
  z-index: 11;
}
.serverBlock .server {
  width: 257px;
  height: 300px;
  text-align: center;
  color: #fff;
  padding-top: 230px;
  margin: 0px -20px;
}
.serverBlock .server p {
  margin-bottom: 10px;
}
.serverBlock .server span {
  font-size: 18px;
  font-weight: bold;
}
.serverBlock .server_1 {
  background: url(imgs/server-icon_1.png) top no-repeat;
}
.serverBlock .server_2 {
  background: url(imgs/server-icon_2.png) top no-repeat;
}
.serverBlock .server_3 {
  background: url(imgs/server-icon_3.png) top no-repeat;
}

.stars {
  position: absolute;
  width: 600px;
  height: 200px;
  left: 50px;
  bottom: 0;
}
.stars span {
  display: block;
  width: 1px;
  height: 1px;
  background: rgba(177, 243, 203, 0.7);
  border-radius: 50%;
  transform: scale(0);
  position: absolute;
  animation: star 8s linear infinite;
}
.stars .star_1 {
  box-shadow: 0px 0px 10px 8px #9cffc3;
  top: 30px;
  left: 60px;
}
.stars .star_2 {
  box-shadow: 0px 0px 10px 5px #9cffc3;
  top: 30px;
  left: 300px;
  animation-delay: 1s;
}
.stars .star_3 {
  box-shadow: 0px 0px 10px 7px #9cffc3;
  top: 30px;
  left: 200px;
  animation-delay: 3s;
}
.stars .star_4 {
  box-shadow: 0px 0px 12px 8px #9cffc3;
  top: 30px;
  left: 440px;
  animation-delay: 6s;
}
.stars .star_5 {
  box-shadow: 0px 0px 8px 4px #9cffc3;
  top: 30px;
  left: 250px;
  animation-delay: 5s;
}
.stars .star_6 {
  box-shadow: 0px 0px 10px 8px #9cffc3;
  top: 30px;
  left: 370px;
  animation-delay: 4s;
}
.stars .star_7 {
  box-shadow: 0px 0px 14px 8px #9cffc3;
  top: 30px;
  left: 520px;
  animation-delay: 7s;
}
.stars .star_8 {
  box-shadow: 0px 0px 7px 4px #9cffc3;
  top: 30px;
  left: 180px;
  animation-delay: 8s;
}

@keyframes star {
  0% {
    transform: scale(0);
  }
  33% {
    transform: scale(1);
    top: 30px;
  }
  66% {
    transform: scale(1);
    top: 130px;
    opacity: 1;
  }
  100% {
    transform: scale(0.5);
    top: 230px;
    opacity: 0;
  }
}
/* Larguras agora são controladas pelo grid .homeContainer (ver bloco HOME
   no fim do arquivo). Mantidas em auto para não conflitar com o grid. */
.newsBlock {
  width: auto;
  min-width: 0;
}

.eventsBlock {
  width: auto;
  min-width: 0;
}

.content-title {
  font-size: 30px;
  margin-bottom: 50px;
  padding: 0px 20px;
  position: relative;
}
.content-title .more {
  position: absolute;
  display: flex;
  right: 20px;
  top: 4px;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.64);
  transform: rotate(45deg);
}
.content-title .more span {
  display: block;
  width: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
}
.content-title .more span:first-child {
  transform: rotate(45deg);
  margin-right: -7px;
}
.content-title .more span:last-child {
  transform: rotate(-45deg);
  margin-left: -7px;
}
.content-title .more:hover {
  transform: rotate(225deg);
}
.content-title .more:hover span {
  background: white;
}

.news {
  display: flex;
  align-items: flex-end;
  width: calc(33.3% - 5px);
  height: 300px;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  transition: 0.3s;
}
.news-info {
  background-color: rgba(0, 0, 0, 0.9);
  position: relative;
  padding: 30px 35px;
  height: 130px;
  width: 100%;
  transition: 0.3s;
}
.news h3 {
  color: #fbefef;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.4;
  margin-bottom: 15px;
}
.news h3 span {
  color: #66686a;
}
.news .date {
  color: #767676;
  font-size: 14px;
}
.news:hover .news-info {
  height: 150px;
}

.swiper-container {
  width: 100%;
  height: 300px;
}

.swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.swiper-link img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}
.swiper-link p {
  color: #fff;
  position: absolute;
  z-index: 2;
  bottom: 65px;
  left: 0;
  width: 100%;
  text-align: center;
  margin-bottom: 0px;
}

/* Dock social flutuante (.socBlock/.topSocBlock) REMOVIDO: as redes sociais
   públicas agora aparecem SOMENTE no rodapé (.footerSocials). */

.toTop {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  right: 70px;
  top: 49%;
  width: 62px;
  height: 54px;
  color: #b0abb1;
  font-size: 14px;
  padding-top: 15px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 14;
}
.toTop:after {
  content: "";
  background: url(imgs/arrow-v.png) no-repeat;
  width: 12px;
  height: 6px;
  transform: rotate(180deg);
  position: absolute;
  top: 15px;
  left: 50%;
  margin-left: -6px;
  opacity: 0.7;
  transition: 0.3s;
}
.toTop:hover {
  color: #fff;
}
.toTop:hover:after {
  opacity: 1;
}

.block {
  padding-bottom: 70px;
  position: relative;
}

.dark-title {
  color: #2b2e34;
}

/* CSS da antiga seção "Acompanhe nossos streamers"
   (.streamBlock/.twitchBlock/.youtubeBlock/.blockBorder) REMOVIDO junto
   com a seção. O sistema principal de streams/Twitch da home usa
   .mediaGrid/.mediaCard (ver bloco de compatibilidade home_body). */

.contentHome {
  margin: 40px auto 0;
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.contentHome h1,
.contentHome h2 {
  font-size: 48px;
  color: #282828;
  margin-bottom: 15px;
}
.contentHome h3 {
  font-size: 24px;
  font-weight: normal;
  color: #6c6c6c;
  margin-bottom: 75px;
}

.block-a {
  color: #fff;
  font-size: 24px;
  display: block;
  transition: 1s;
}
.block-a:hover {
  background-size: 110%;
}

.blockPvp {
  background: url(imgs/pvp-bg.png) bottom center no-repeat;
  background-size: 100%;
  height: 242px;
  text-align: center;
  padding-top: 90px;
}

.buttonPlay {
  width: 45px;
  height: 45px;
  background: rgba(1, 1, 1, 0.64);
  display: block;
  position: relative;
  margin: 0 auto;
  transform: rotate(45deg);
  margin-bottom: 30px;
}
.buttonPlay:after {
  border: 10px solid transparent;
  border-left-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -4px;
  margin-top: -15px;
  content: '';
  transform: rotate(-45deg);
}

.blockUpdate {
  background: url(imgs/updates-pvp.jpg) top center no-repeat;
  background-size: 100%;
  height: 403px;
  text-align: center;
  padding-top: 230px;
  width: 64%;
}

.blockExp {
  width: 36%;
}
.blockExp a {
  font-size: 16px;
  justify-content: center;
  text-align: center;
  padding-top: 150px;
  display: flex;
}
.blockExp a .buttonPlay {
  width: 20px;
  height: 20px;
  margin: 0px 10px 0px 0px;
}
.blockExp a .buttonPlay:after {
  border: 5px solid transparent;
  border-left-color: #fff;
  margin-left: -2px;
  margin-top: -8px;
}

.blockSolo {
  background: url(imgs/solo-bg.jpg) top center no-repeat;
  background-size: 100%;
  height: 201px;
}

.blockRaids {
  background: url(imgs/raid-bg.jpg) top center no-repeat;
  background-size: 100%;
  height: 201px;
}

.allContent {
  margin-top: 60px;
  text-align: center;
}

/* ============================================================
 * RODAPÉ COMPACTO — antes eram dois blocos altos (padding 90px +
 * 50px + logo gigante com margin 50px), o que alongava muito a
 * página. Agora é uma faixa única, baixa, em uma linha no desktop.
 * ============================================================ */
.footer {
  background: #16181c;
  color: #8f9298;
  text-align: center;
}
.footerInner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  font-size: 13px;
}
.footerLogo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.footerLogo img {
  height: 86px;      /* logo compacta (70–110px), sem deformar */
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.footerLinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
}
.footerLinks a {
  color: #d4d4d4;
  font-size: 13px;
}
.footerLinks a:hover {
  color: #fff;
}
.footerSocials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footerSoc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #c9cbd0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.footerSoc svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footerSoc:hover,
.footerSoc:focus-visible {
  background: #551272;
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}
.footerSoc:focus-visible {
  box-shadow: 0 0 0 2px rgba(133, 49, 169, 0.6);
}
.footerMeta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  font-size: 12.5px;
  line-height: 1.4;
  color: #7e8188;
}
.footerMeta .footerCopy span {
  color: #c9cbd0;
}
.footerMeta a {
  color: #b98be0;
}
.footerMeta a:hover {
  color: #d8bff2;
}

@media (max-width: 860px) {
  .footerInner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 11px;
    padding: 16px 18px;
  }
  .footerLinks { justify-content: center; gap: 6px 18px; }
  .footerMeta { text-align: center; align-items: center; gap: 2px; }
  .footerLogo img { height: 60px; }
}

.topButton {
  position: absolute;
  left: 30px;
  top: 15px;
  z-index: 2;
  transition: 0.5s;
}
.topButton span {
  width: 30px;
  height: 3px;
  background: #fff;
  display: block;
  margin-bottom: 5px;
  transition: 0.5s;
}
.topButton.active {
  left: 260px;
  top: 30px;
}
.topButton.active span:nth-child(1) {
  transform: rotate(45deg);
  margin-bottom: -2px;
}
.topButton.active span:nth-child(2) {
  display: none;
}
.topButton.active span:nth-child(3) {
  transform: rotate(-45deg);
  margin-top: -3px;
}

/* Páginas internas usam o MESMO fundo principal da home (body-bg.jpg em
   toda a largura), em vez de imgs/page-bg.jpg + fundo branco (que criava
   faixas brancas nas laterais). O card claro do conteúdo fica em .main-content. */
.body-page {
  background-image: url(imgs/body-bg.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-color: #c1c8bd;
}
.body-page .wrapper {
  min-height: 900px;
}

.page-title {
  color: #fff;
  font-size: 30px;
  margin-bottom: 65px;
  padding-left: 70px;
}

.main-content {
  max-width: 1100px;
  margin: 0 auto 50px;
  background: rgba(245, 245, 245, 0.96);
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  padding: 40px;
  position: relative;
  line-height: 1.4;
}
.main-content.download-page {
  padding: 10px 10px;
}
/* Página de ranking: os painéis Top PvP/Top PK já são cards -> o wrapper
   .main-content fica transparente para eles ficarem sobre o fundo. */
.main-content.page-ranking {
  max-width: 1180px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.pageBlock {
  padding-top: 70px;
  padding-bottom: 50px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid #c8c9c8;
}
.pageBlock:after {
  content: "";
  background: url(imgs/line.png) no-repeat;
  height: 10px;
  width: 200px;
  left: 50%;
  margin-left: -100px;
  bottom: -10px;
  position: absolute;
}
.pageBlock h2 {
  color: #343131;
  font-size: 24px;
}
.pageBlock h3 {
  color: #343131;
  font-size: 18px;
  margin-bottom: 50px;
}
.pageBlock:last-child {
  border-bottom: none;
}
.pageBlock:last-child:after {
  display: none;
}

.download-icon {
  width: 205px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fcf7f7;
  border-radius: 15px;
  border: 1px solid #a9abb0;
  margin: 0px 12px 25px 12px;
  position: relative;
}
.download-icon:hover {
  background: #444b61;
}

.white-title {
  color: #fff;
}

/* ============================================================
 * RESPONSIVO — adaptado de Website Template/Mobile Adaptive/
 * mobile_style.css para as classes reais do tema. O menu vira
 * hambúrguer (.nav deslizante) abaixo de 1240px; theme.js já
 * faz .menuButton -> toggleClass('active') em .nav.
 * Caminhos de imagem ajustados de ../images/ para imgs/.
 * ============================================================ */
@media (max-width: 1570px) {
  .topPanel .menu li a { padding: 0px 20px; }
  .topPanel .menu li:after,
  .topPanel .menu .dropDown-menu { width: calc(100% + 20px); left: -10px; }
  .toTop { right: 10px; }
}

@media (min-width: 1240px) {
  /* Desktop: esconde o hambúrguer (usa menu horizontal). */
  .topButton { display: none; }
}

@media (max-width: 1239px) {
  .toTop { display: none; }

  .wrapper { padding: 0px 10px; }

  .topPanel-menu {
    width: 100%;
    display: block;
    position: relative;
    overflow-y: auto;
    height: 100%;
  }
  .topPanel .menu li:after,
  .topPanel .menu .dropDown-menu { left: 0px; width: 100%; }

  .topPanel { height: 50px; }
  .topPanel .topPanel-logo {
    position: absolute;
    left: 50%;
    margin-left: -100px;
    width: 200px;
    text-align: center;
  }
  .topPanel .topPanel-logo img { height: 40px; }
  .topPanel .menu { margin-left: 0px; display: block; width: 100%; }
  .topPanel .menu li { height: auto; line-height: 1; width: 100%; padding: 20px 20px; }
  .topPanel .menu li a { font-size: 20px; }

  .topPanel .topPanel-button { top: 70px; width: 100%; }
  .topPanel .topPanel-button .loginButton {
    width: 100%;
    border-radius: 0px;
    padding: 20px 30px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 24px;
  }
  .topPanel .topPanel-button .downloadButton {
    margin-left: 0px;
    height: auto;
    line-height: 1;
    padding: 20px 30px;
    width: 100%;
    text-align: center;
  }

  .topPanel .menu .dropDown-menu { position: relative; padding: 20px 0px 0px 40px; }
  .topPanel .menu .dropDown-menu li { text-align: left; }

  .nav {
    width: 320px;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: -320px;
    transition: 0.5s;
    display: block;
    padding-top: 250px;
    z-index: 1;
  }
  .nav.active { left: 0; }

  /* Botões de idioma dentro do menu deslizante */
  .topLangs { margin: 0 0 12px; padding: 0 30px; }

  .logo { top: 150px; }
  .serverBlock { top: 330px; }
  .header { height: 650px; }
  .contentHome { width: 100%; }
}

@media (max-width: 1024px) {
  .newsBlock, .eventsBlock { width: 100%; }
  .newsBlock { margin-bottom: 30px; }
  .content-title { margin-bottom: 30px; }
}

@media (max-width: 882px) {
  .blockPvp { height: 100%; padding-top: 50px; padding-bottom: 30px; }
  .blockExp, .blockUpdate { width: 50%; background-size: cover; }
}

@media (max-width: 762px) {
  /* Fundo mobile também nas páginas internas (.body-page) — mesma especificidade
     que a regra .body-page do desktop e declarado depois, então prevalece aqui. */
  body,
  .body-page {
    background: url(imgs/body-bg-top.jpg) center top no-repeat, url(imgs/body-bg-bottom.jpg) center bottom no-repeat;
    background-color: #c1c8bd;
  }

  .logo { width: 100%; left: 0; text-align: center; }
  .stars { display: none; }

  .serverBlock { position: relative; justify-content: center; width: 100%; left: 0px; }
  .serverBlock .server { width: 200px; }

  .streamBlock > a { width: 100%; margin-bottom: 10px; }

  .news { width: 100%; margin-bottom: 20px; }

  /* Ranking (eventsBlock) fica em card escuro também no mobile -> título branco */
  .content-title { padding: 0px; }

  .contentHome { margin: 30px auto; }
  .blockBorder { padding-bottom: 40px; }

  table tr { display: flex; flex-wrap: wrap; }
  table tr td { width: 50%; }

  /* Página interna: bloco branco com padding menor no mobile */
  .main-content { padding: 30px 16px; }
  .page-title { padding-left: 16px; font-size: 24px; }
}

@media (max-width: 585px) {
  .header { height: 100%; padding-top: 300px; }
  .serverBlock { top: auto; }
  .serverBlock .server { width: 200px; padding-top: 220px; background-size: 130%; }

  .blockExp, .blockUpdate { width: 100%; }
  .blockExp { display: flex; }
  .blockExp a { width: 50%; height: 200px; background-size: cover; }
  .blockPvp { padding-bottom: 0px; height: 150px; padding-top: 100px; }
  .blockUpdate { height: 200px; padding-top: 110px; }
  .buttonPlay { display: none; }

  .contentHome h3 { margin-bottom: 0px; }

  .modal_div {
    width: 100%;
    max-width: 100%;
    margin-left: 0px;
    left: 0;
    padding: 25px 20px 55px 20px;
    top: 10% !important;
    overflow-y: auto;
    height: 100%;
  }

  table tr td { width: 100%; }

  .main-content { padding: 30px 10px; }

  /* Cards de atalho do painel: 2 por linha em telas pequenas */
  .dashboardQuickActions { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
 * COMPATIBILIDADE — home_body.php (miolo da home, compartilhado
 * por todos os temas) usa suas PRÓPRIAS classes (.news, .imgn,
 * .titlen, .mediaGrid, .galHomeGrid etc.), diferentes das classes
 * originais do Website Template. Não alteramos home_body.php (é
 * lógica compartilhada) — só damos uma aparência consistente com
 * o tema aqui. Não é pixel-perfect ao design original do template,
 * é um reskin das classes reais que a página gera.
 * ============================================================ */
.newsBlock .page { width: 100%; }
.newsBlock .homeRegisterBanner { display: none; } /* já existe CTA próprio no tema (menu/hero) */
.newsBlock h1, .newsBlock h2 { color: #fff; font-size: 24px; margin-bottom: 24px; padding: 0 20px; }
.newsBlock hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); margin: 30px 0; }

.newsBlock .pddInner { display: flex; flex-wrap: wrap; gap: 16px; padding: 0 20px; }
.newsBlock .news {
  display: block;
  width: calc(33.3% - 11px);
  height: auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
}
.newsBlock .news .imgn { display: block; }
.newsBlock .news .imgn img { width: 100%; height: 160px; object-fit: cover; display: block; }
.newsBlock .news .contentn { padding: 16px 18px; }
.newsBlock .news .titlen { color: #fff; font-size: 15px; font-weight: bold; display: block; margin-bottom: 10px; }
.newsBlock .news .textn { font-size: 13px; color: #b7b7b7; line-height: 1.5; margin-bottom: 14px; }
.newsBlock .news .finalinfo { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #8a8a8a; }
.newsBlock .news .lermaisn a { color: #d9272e; }
.newsBlock .shadownew { display: none; }
.newsBlock .default.dbig {
  display: table; margin: 20px auto 0; padding: 14px 30px; background: #551272;
  color: #fff; border-radius: 5px; text-transform: uppercase; font-weight: bold; font-size: 13px;
}

.newsBlock .mediaHomeBlock { padding: 0 20px; margin-top: 10px; }
.newsBlock .mediaGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.newsBlock .mediaCard { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; padding: 10px; text-align: center; }
.newsBlock .mediaCard iframe { width: 100%; height: 170px; border: 0; border-radius: 6px; display: block; background: #000; }
.newsBlock .mediaCardTitle { color: #e2e2e2; font-weight: bold; font-size: 13px; margin-top: 8px; }

.newsBlock .galHomeGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.newsBlock .galHomeItem { position: relative; border-radius: 8px; overflow: hidden; background: #0b0b0b; aspect-ratio: 16/10; cursor: pointer; }
.newsBlock .galHomeItem img { width: 100%; height: 100%; object-fit: cover; display: block; }
.newsBlock .galHomePlay { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 30px; background: rgba(0, 0, 0, .28); }
.newsBlock .galHomeCap { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); color: #fff; font-size: 11px; font-weight: bold; padding: 12px 7px 5px; }

@media (max-width: 900px) {
  .newsBlock .news { width: 100%; }
  .newsBlock .mediaGrid { grid-template-columns: 1fr; }
  .newsBlock .galHomeGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
 * PAINEL — atalhos do dashboard (mesmos links de painel/dashboard.php
 * e das demais paginas do painel). So estilo/exibicao; nenhuma logica
 * ou rota nova. Ver css/themes/website-template/layout.php.
 * ============================================================ */
.dashboardQuickActions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.qaCardForm { display: contents; }

.qaCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background: #fff;
  border: 1px solid #e4e1e8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(30, 10, 40, 0.06);
  padding: 22px 12px;
  color: #3a2145;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  font-family: inherit;
}

.qaCard:hover,
.qaCard:focus-visible {
  transform: translateY(-3px);
  border-color: #8531a9;
  box-shadow: 0 10px 22px rgba(85, 18, 114, 0.18);
  background: #fbf8fd;
  outline: none;
}

.qaIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, #551272, #8531a9);
  color: #fff;
  flex-shrink: 0;
}
.qaIcon svg { width: 22px; height: 22px; }

.qaLabel { line-height: 1.3; }

.qaCard-logout {
  border-color: #e0c9cc;
}
.qaCard-logout .qaIcon {
  background: linear-gradient(145deg, #7a2020, #a93030);
}
.qaCard-logout:hover {
  border-color: #a93030;
  box-shadow: 0 10px 22px rgba(169, 48, 48, 0.18);
}

.qaCard-anchor .qaIcon {
  background: linear-gradient(145deg, #2b4a72, #3f7ab0);
}

@media (max-width: 900px) {
  .dashboardQuickActions {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 26px;
  }
  .qaCard { padding: 16px 8px; font-size: 11.5px; }
  .qaIcon { width: 40px; height: 40px; }
  .qaIcon svg { width: 19px; height: 19px; }
}

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

/* ============================================================
 * HOME — layout de DUAS COLUNAS (desktop):
 *   .homePage
 *     .homeContainer  -> grid: conteúdo principal | ranking
 *       .homeMainContent (notícias, streams, vídeos)
 *       .homeRankSidebar (Top PvP / Top PK)
 *     .contentHome (bloco promocional, largura total)
 * Abaixo de 992px vira uma coluna só, com o ranking DEPOIS do
 * conteúdo (ordem: notícias > streams > vídeos > ranking).
 * ============================================================ */
html { scroll-behavior: smooth; }

.homePage { width: 100%; }

.homeContainer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 34px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 0 10px;
}

.homeMainContent {
  min-width: 0;   /* evita overflow de iframes/vídeos dentro do grid */
}

/* Sidebar do ranking à direita. Sticky para acompanhar a rolagem sem
   sobrepor o cabeçalho (top offset) nem estourar em telas pequenas. */
.homeRankSidebar {
  position: sticky;
  top: 108px;   /* >= altura da barra fixa .topPanel (~100px) para não sobrepor */
  max-height: calc(100vh - 124px);  /* nunca ultrapassa a viewport */
  overflow-y: auto;                 /* se o ranking crescer muito, rola internamente */
  background: rgba(20, 12, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px 6px 26px;
}
.homeRankSidebar .content-title {
  font-size: 20px;
  margin-bottom: 22px;
  padding: 0 20px;
  text-align: center;
}

.homeRankBox { margin-bottom: 22px; padding: 0 20px; }
.homeRankBox h3 {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  opacity: 0.85;
}
.homeRankBox .indexRank div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  color: #dcd3e0;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.homeRankBox .indexRank div:last-child { border-bottom: 0; }
.homeRankBox .indexRank .rankName {
  flex: 1 1 auto;        /* pode encolher */
  min-width: 0;          /* permite o encolhimento abaixo do conteúdo */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;   /* nomes longos truncam com … em vez de estourar */
}
.homeRankBox .indexRank .rankVal {
  color: #b98be0;
  font-weight: bold;
  font-size: 13px;
  white-space: nowrap;
  flex: 0 0 auto;        /* a pontuação nunca encolhe */
}
.homeRankEmpty {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  padding: 6px 0 10px;
}
.homeRankMore {
  display: block;
  text-align: center;
  margin: 14px 20px 0;
  padding: 12px 20px;
  font-size: 13px;
}

/* Centralização do conteúdo principal (títulos, cards, players,
   miniaturas, estados vazios e botões). Os textos internos das notícias
   permanecem alinhados à esquerda para não prejudicar a leitura. */
.homeMainContent > .page { max-width: 860px; margin: 0 auto; }
.homeMainContent h1, .homeMainContent h2 { text-align: center; }
.homeMainContent .mediaHomeBlock { text-align: center; }
.homeMainContent .mediaGrid { justify-items: stretch; }
.homeMainContent .pddInner { justify-content: center; }

@media (max-width: 992px) {
  .homeContainer {
    grid-template-columns: minmax(0, 1fr);   /* min 0 impede a faixa de crescer com conteúdo sem quebra */
    gap: 24px;
  }
  .homeRankSidebar {
    position: static;
    order: 2;   /* ranking depois do conteúdo no tablet/celular */
  }
  .homeMainContent { order: 1; }
}

@media (max-width: 900px) {
  .homeRankBox { padding: 0 14px; }
}

/* ============================================================
 * SELETOR DE IDIOMAS — botão único + dropdown (website-template).
 * ============================================================ */
.topLangs { position: relative; margin-right: 14px; }
.wtLang { position: relative; display: inline-block; }
.wtLangToggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: #eee;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.wtLangToggle:hover,
.wtLangToggle:focus-visible {
  border-color: #8531a9;
  background: rgba(0, 0, 0, 0.55);
  outline: none;
}
.wtLangGlobe { width: 18px; height: 18px; flex: 0 0 auto; opacity: 0.9; }
.wtLangFlag {
  width: 22px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 2px;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.wtLangCurrent { font-weight: bold; letter-spacing: 0.01em; }
.wtLangArrow { width: 16px; height: 16px; opacity: 0.8; transition: transform 0.25s ease; }
.wtLang.is-open .wtLangArrow { transform: rotate(180deg); }

.wtLangMenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #1c1622;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  z-index: 60;
  display: none;
}
.wtLang.is-open .wtLangMenu { display: block; }
.wtLangItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 7px;
  color: #d9d2e0;
  font-size: 14px;
}
.wtLangItem:hover,
.wtLangItem:focus-visible {
  background: rgba(133, 49, 169, 0.22);
  color: #fff;
  outline: none;
}
.wtLangItem.is-active { background: rgba(133, 49, 169, 0.16); color: #fff; }
.wtLangItem .wtLangName { flex: 1 1 auto; }
.wtLangCheck { color: #b98be0; font-weight: bold; flex: 0 0 auto; }

@media (max-width: 1239px) {
  /* Dentro do menu deslizante mobile: dropdown ocupa a largura e abre no fluxo */
  .topLangs { margin: 0 0 12px; padding: 0 30px; width: 100%; }
  .wtLang { display: block; width: 100%; }
  .wtLangToggle { width: 100%; justify-content: flex-start; height: 46px; font-size: 16px; }
  .wtLangMenu { right: auto; left: 0; width: 100%; }
}

/* ============================================================
 * PÁGINA INTERNA — INFORMAÇÕES (pages/info.php).
 * O conteúdo real vem de info.php como texto plano (h2 + linhas
 * "Nome: valor" e listas separadas por <br>). Não podemos alterar
 * info.php, então o theme.js reorganiza esse conteúdo em cards
 * (.infoRateGrid / .infoCard) e este CSS os estiliza. Se o JS não
 * rodar, o CSS de fallback abaixo ainda deixa o texto legível.
 * ============================================================ */
.page-info .pddInner { max-width: 1000px; margin: 0 auto; }

/* Cards de rates (gerados pelo theme.js a partir da 1ª lista da info) */
.infoRateGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 10px 0 40px;
}
.infoRate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 20px 14px;
  background: #fff;
  border: 1px solid #e4e1e8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(30, 10, 40, 0.06);
}
.infoRateValue {
  font-size: 24px;
  font-weight: bold;
  color: #551272;
  margin-bottom: 6px;
}
.infoRateLabel {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #6c6c6c;
}

/* Grid de cards de seções (gerado pelo theme.js) */
.infoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  align-items: start;
  text-align: left;
}
.infoCard {
  background: #fff;
  border: 1px solid #e4e1e8;
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: 0 2px 8px rgba(30, 10, 40, 0.05);
}
.infoCard h3 {
  font-size: 16px;
  color: #343131;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #8531a9;
}
.infoCard .infoCardBody {
  font-size: 13px;
  line-height: 1.7;
  color: #55505c;
}
.infoCard .infoCardBody b { color: #3a2145; }

/* Fallback (sem JS): mantém o texto real de info.php legível e centrado */
.page-info .pddInner h2 {
  font-size: 18px;
  color: #343131;
  margin: 26px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #8531a9;
}

@media (max-width: 900px) {
  .infoGrid { grid-template-columns: 1fr; }
}

/* ============================================================
 * PÁGINA INTERNA — DOWNLOAD (pages/download.php).
 * Referência: Website Template/Download/download.html (blocos
 * .pageBlock em bloco branco). O download.php real usa .page /
 * .pddInner / botões .default.dbig / tabela de requisitos - este
 * CSS dá a eles a aparência de página interna do template.
 * ============================================================ */
.download-page .page { max-width: 900px; margin: 0 auto; }
.download-page .page > h2 {
  text-align: center;
  font-size: 20px;
  color: #343131;
  margin: 30px 0 6px;
}
.download-page .pddInner { text-align: center; }
.download-page .cbold { font-weight: bold; color: #55505c; }

/* Botões de download reais (.default.dbig) com cara de botão do template */
.download-page .default.dbig,
.main-content .default.dbig {
  display: inline-block;
  background: #551272;
  border: 1px solid #8531a9;
  color: #fff;
  border-radius: 5px;
  padding: 14px 34px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: filter 0.3s ease;
  margin: 10px 8px;
}
.download-page .default.dbig:hover,
.main-content .default.dbig:hover { filter: brightness(130%); }

/* ============================================================
 * PAINEL — páginas internas (comprar, histórico, startpack,
 * alterar-senha, alterar-email, dashboard). O conteúdo real dessas
 * páginas usa classes do tema default (.page, .pddInner, .rmsg,
 * .formpadrao, .account-*, tabelas...) que não tinham estilo aqui.
 * Escopo por ".main-content" para não afetar o tema default.
 * Referência de alinhamento: Website Template/page.html.
 * ============================================================ */
.main-content .page {
  max-width: 900px;
  margin: 0 auto;
}
.main-content h1 { font-size: 26px; margin-bottom: 20px; }
.main-content h2 { font-size: 20px; margin: 30px 0 16px; }
.main-content hr {
  border: 0;
  border-top: 1px solid #e4e1e8;
  margin: 30px 0;
}

.main-content .pddInner { margin-bottom: 20px; }

.main-content .rmsg {
  background: #eafbe9;
  border: 1px solid #9fd8a0;
  color: #256a2a;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
}
.main-content .rmsg.error {
  background: #fdeaea;
  border-color: #e3a3a3;
  color: #8a2222;
}
.main-content .rmsg.warn {
  background: #fff6e0;
  border-color: #e6cd8a;
  color: #7a5c05;
}

.main-content table {
  background: #fff;
  border: 1px solid #e4e1e8;
  border-radius: 8px;
  overflow: hidden;
}
.main-content table th {
  background: #551272;
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.main-content table td {
  font-size: 14px;
  color: #343131;
}
.main-content table tr.two,
.main-content table tr:nth-child(even) {
  background: rgba(85, 18, 114, 0.04);
}

.main-content .default.big {
  display: table;
  margin: 10px auto;
  padding: 18px 46px;
  font-size: 17px;
}

/* Form "Transferir Tickets" (painel/dashboard.php) - <label class="formpadrao"> */
.main-content .formpadrao {
  display: block;
  max-width: 420px;
  margin: 0 auto 18px;
}
.main-content .formpadrao .desc {
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #55505c;
  margin-bottom: 8px;
}
.main-content .formpadrao .camp select,
.main-content .formpadrao .camp input {
  width: 100%;
}

/* Alterar Senha / Alterar E-mail - <form class="account-form"> */
.main-content .account-form {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e4e1e8;
  border-radius: 10px;
  padding: 30px 34px;
  box-shadow: 0 2px 8px rgba(30, 10, 40, 0.05);
}
.main-content .account-tip,
.main-content .account-current {
  font-size: 13px;
  color: #6c6c6c;
  background: rgba(85, 18, 114, 0.05);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.main-content .account-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.main-content .account-row label {
  font-size: 13px;
  font-weight: bold;
  color: #3a2145;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.main-content .account-row input {
  width: 100%;
}
.main-content .account-actions {
  margin-top: 24px;
  text-align: center;
}
.main-content .account-actions button,
.main-content .account-actions .button {
  width: 100%;
}

/* Histórico de compras - painel/historico.php */
.main-content .donationContent { max-width: 100%; }
.main-content .donationTableBox { overflow-x: auto; }
.main-content .historyPackage { font-size: 13px; line-height: 1.5; }
.main-content .historyRef { color: #8a8a8a; }
.main-content .historyStatus {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(85, 18, 114, 0.1);
  color: #551272;
  font-size: 12px;
  font-weight: bold;
}
.main-content .historyPayBtn {
  display: inline-block;
  background: #551272;
  color: #fff;
  border: 1px solid #8531a9;
  border-radius: 5px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}
.main-content .historyPayBtn:hover { filter: brightness(130%); }

@media (max-width: 900px) {
  .main-content .page { max-width: 100%; }
  .main-content .account-form { padding: 22px 18px; }
  .main-content table { display: block; overflow-x: auto; white-space: nowrap; }
}


/* ============================================================
 * PÁGINA DE RANKING (pages/ranking.php) — exclusiva do
 * website-template. Renderiza dentro de .main-content (tema claro
 * das páginas internas), no mesmo estilo dos cards .infoCard/.qaCard
 * (cartão branco, texto escuro, acento roxo). Não afeta o default.
 * ============================================================ */
.rankingPage { max-width: 1100px; margin: 0 auto; }

.rankingHeader { text-align: center; margin-bottom: 28px; }
.rankingHeader h1 { color: #282828; font-size: 30px; margin-bottom: 8px; }
.rankingHeader p { color: #6c6c6c; font-size: 14px; margin: 0; }

.rankingGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.rankingPanel {
  background: #fff;
  border: 1px solid #e4e1e8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(30, 10, 40, 0.06);
  overflow: hidden;
  min-width: 0;
}
.rankingPanelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 18px;
  background: linear-gradient(145deg, #551272, #8531a9);
}
.rankingPanelHeader h2 { color: #fff; font-size: 18px; margin: 0; }
.rankingCount { color: #f0e2fa; font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.03em; }

.rankingList { display: flex; flex-direction: column; }
.rankingRow {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #ece9f0;
}
.rankingRow:last-child { border-bottom: 0; }
.rankingRow:nth-child(even) { background: #faf8fc; }
.rankingHeadRow, .rankingHeadRow:nth-child(even) {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #9a90a6;
  background: #f3eef8;
}
.rankingHeadRow .rankingStats > span { color: #9a90a6; font-weight: normal; }

.rankingPosition { display: flex; align-items: center; justify-content: center; width: 48px; }
.rankingPositionImage {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin: 0 auto;
}
.rankingPositionNumber { font-size: 14px; font-weight: bold; color: #8531a9; }

.rankingIdentity { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rankingCharacter {
  color: #2b2036;
  font-size: 14px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rankingClan {
  color: #8a8290;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rankingStats {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 14px;
  flex-shrink: 0;
  font-size: 13px;
  color: #4a4152;
}
.rankingStats > span { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.rankingStatLabel { font-size: 10px; text-transform: uppercase; color: #a99fb4; }
.rankingPvpValue b, .rankingPkValue b { color: #3a2145; font-weight: bold; }
.rankingPvpValue.isHighlight b, .rankingPkValue.isHighlight b { color: #d9272e; }
.rankingOnline { color: #4a4152; }
.rankingOnline b { color: inherit; }

.rankingEmpty, .rankingError { padding: 26px 18px; text-align: center; font-size: 14px; }
.rankingEmpty { color: #8a8290; }
.rankingError { color: #b3261e; background: #fdeceb; border-radius: 8px; }

/* Tablet/celular: Top PvP acima de Top PK. */
@media (max-width: 992px) {
  .rankingGrid { grid-template-columns: 1fr; }
}

/* Telas estreitas: estatísticas descem para uma 2ª linha (nada some). */
@media (max-width: 560px) {
  .rankingRow { grid-template-columns: 40px minmax(0, 1fr); }
  .rankingPosition { width: 40px; }
  .rankingStats {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding-left: 52px;
  }
  .rankingHeadRow { display: none; }
}

/* ============================================================
 * CARDS TRANSPARENTES (VIDRO ESCURO) — páginas internas.
 * Substitui os cards brancos por vidro escuro semitransparente,
 * deixando o fundo principal (body-bg.jpg) visível por trás, com
 * texto claro para legibilidade. Exclusivo do website-template
 * (folha separada) — não afeta o tema default. Os inputs já são
 * escuros (input,textarea) e os botões roxos, então só mudam os
 * fundos dos cards e as cores de texto que eram escuras.
 * ============================================================ */

/* Container das páginas internas (o ranking já é transparente). */
.main-content:not(.page-ranking) {
  background: rgba(12, 10, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  color: #e6e1ee;
}
.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4 { color: #fff; }
.main-content hr { border-color: rgba(255, 255, 255, 0.12); }

/* Rates da página de informações. */
.infoRate {
  background: rgba(12, 10, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.infoRateValue { color: #c9a6ec; }
.infoRateLabel { color: #b3aac2; }

/* Cards de seções da página de informações. */
.infoCard {
  background: rgba(12, 10, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.infoCard h3 { color: #fff; border-bottom-color: #8531a9; }
.infoCard .infoCardBody { color: #cdc6d8; }
.infoCard .infoCardBody b { color: #fff; }
.page-info .pddInner h2 { color: #fff; }

/* Atalhos do dashboard. */
.qaCard {
  background: rgba(12, 10, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  color: #e6e1ee;
}
.qaCard:hover,
.qaCard:focus-visible {
  background: rgba(32, 22, 48, 0.85);
  border-color: #8531a9;
}
.qaCard-logout { border-color: rgba(200, 90, 90, 0.42); }

/* Cards de download. */
.download-icon {
  background: rgba(12, 10, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.download-icon:hover { background: rgba(60, 40, 90, 0.85); }
.pageBlock { border-bottom-color: rgba(255, 255, 255, 0.12); }
.pageBlock h2,
.pageBlock h3 { color: #fff; }

/* Formulários de conta (alterar senha / e-mail) e labels. */
.main-content .account-form {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.main-content .account-tip,
.main-content .account-current { color: #cdc6d8; background: rgba(255, 255, 255, 0.05); }
.main-content .account-row label { color: #e6e1ee; }
.main-content .formpadrao .desc { color: #cdc6d8; }
.main-content .historyRef { color: #b3aac2; }
.main-content .historyStatus { background: rgba(133, 49, 169, 0.25); color: #d8bff2; }

/* Tabelas das páginas internas. */
.main-content table td { border-color: rgba(255, 255, 255, 0.14); }
.main-content table th { background: rgba(255, 255, 255, 0.06); color: #fff; }
.main-content table tr.two,
.main-content table tr:nth-child(even) { background: rgba(255, 255, 255, 0.04); }

/* Painéis e linhas do ranking (o cabeçalho roxo permanece). */
.rankingPanel {
  background: rgba(12, 10, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.rankingRow { border-bottom-color: rgba(255, 255, 255, 0.08); }
.rankingRow:nth-child(even) { background: rgba(255, 255, 255, 0.04); }
.rankingHeadRow,
.rankingHeadRow:nth-child(even) { background: rgba(255, 255, 255, 0.05); color: #b3aac2; }
.rankingHeadRow .rankingStats > span { color: #b3aac2; }
.rankingPositionNumber { color: #c9a6ec; }
.rankingCharacter { color: #fff; }
.rankingClan { color: #b3aac2; }
.rankingStats { color: #cdc6d8; }
.rankingStatLabel { color: #9a90a6; }
.rankingPvpValue b, .rankingPkValue b { color: #fff; }
.rankingPvpValue.isHighlight b, .rankingPkValue.isHighlight b { color: #ff8a8a; }
.rankingOnline { color: #cdc6d8; }
.rankingEmpty { color: #b3aac2; }
.rankingError { color: #ff9a9a; background: rgba(179, 38, 30, 0.18); }

/* Login social nas páginas internas: título/separador legíveis no escuro. */
.main-content .socialLoginTitle { color: #cdc6d8; }
.main-content .socialSeparator { color: #b3aac2; }

/* ============================================================
 * ÍCONES CONFIGURÁVEIS DA PÁGINA DE INFORMAÇÕES (assets/icons).
 * Os ícones são opcionais (config/info.php -> 'icons'); só aparecem
 * quando o arquivo existe. Mantidos compactos e proporcionais.
 * ============================================================ */
.infoIcon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
}
/* Nos cards reconstruídos pelo theme.js */
.infoRateIcon {
  display: block;
  margin-bottom: 8px;
}
.infoRateIcon .infoIcon { width: 34px; height: 34px; }
.infoCard h3 { display: flex; align-items: center; gap: 8px; }
.infoCardIcon { display: inline-flex; flex: 0 0 auto; }
.infoCardIcon .infoIcon { width: 22px; height: 22px; }
/* Fallback sem JS (texto plano em .pddInner): ícone inline antes do texto */
.page-info .pddInner .infoIcon { width: 22px; height: 22px; margin-right: 6px; }
@media (min-width: 1240px) {
  .header .logo {
    top: 230px;
    left: -60px;
    transform: scale(0.9);
    transform-origin: left top;
  }
}

/* ============================================================
 * ESCALA DESKTOP — mantém o tema no mesmo tamanho visual da
 * referência enviada (equivalente ao navegador em 67%).
 * Aplicado somente no desktop; tablet/celular continuam usando
 * o responsivo original sem redução.
 * ============================================================ */
@media (min-width: 1240px) {
  html {
    zoom: 0.67;
  }
}
