@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300&display=swap');

* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  font-family: 'Nunito Sans', sans-serif;
}

body {
  background: #121117 url(../images/wallpaper.jpg) top center no-repeat;
  background-size: contain;
}

.container {
  width: 1200px;
  top: 500px;
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: auto;
}

.main {
  width: 680px;
}

.menuRight,
.menuLeft {
  width: 250px;
}

.rightMenu,
.leftMenu {
  width: 250px;
  padding: 5px;
  border: solid 1px #262626;
  border-bottom: solid 2px #383838;
  box-shadow: inset 0 0 50px #18181a;
  background: #0d0d0d;
  margin-bottom: 15px;
}

.rightMenu h4,
.leftMenu h4,
.homeContainer h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  padding: 10px 10px;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(270deg, #72170000, #555555, #ba635600);
  margin-bottom: 5px;
}

.homeContainer h2 span {
  color: #63a9ff;
}

.rightMenu ul,
.leftMenu ul {
  padding: 5px 8px;
  color: #fff;
}

.rightMenu ul.links li {
  border-bottom: 1px dashed #3c3c3c;
  width: 100%;
}

.rightMenu ul.links li:hover {
  padding: 6px 8px;
  cursor: pointer;
}

.rightMenu ul li,
.leftMenu ul li {
  margin-top: 5px;
  padding: 6px 0;
  font-size: 13px;
  transition: all .20s linear;
}

.rightMenu ul li i {
  padding-right: 10px;
}

.rightMenu ul li span,
.leftMenu ul li span,
.leftMenu ul li i {
  float: right;
  color: #92acca;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: bold;
}

.formLogin {
  align-items: center;
}

.formLogin li {
  background: #052c65;
  margin-bottom: 5px;
  border-radius: 2px;
  padding: 2px;
}

.formLogin li input {
  outline: none;
  border: none;
  padding: 4px;
  font-size: 13px;
  color: #fff;
  background: none;
}

.formLogin #btnlogin {
  padding: 3px 0;
  border-radius: 1px;
  border: none;
  background: #0a4ead;
  color: #fff;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  outline: none;
  margin: 5px 0 15px 0;
  transition: all .20s linear;
}

.formLogin #btnlogin:hover {
  background: #011d40;
}

.recovery {
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  text-align: center;
}

.recovery a {
  color: #88bbf0;
  text-decoration: none;
  transition: all .20s linear;
}

.recovery a:hover {
  opacity: .5
}

.donate {
  text-align: center;
  color: #fff;
}

.donate p {
  padding: 5px;
}

.mensagem {
  padding: 5px;
  color: #f30;
  text-align: center;
}

.mensagemLogado {
  color: green;
  padding: 5px;
  text-align: center;
}

.homeContainer {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border: solid 1px #262626;
  border-bottom: solid 2px #383838;
  box-shadow: inset 0 0 50px #18181a;
  background: #0d0d0d;
}

.homeContainer .links a span {
  width: 100px;
  text-align: center;
  margin-right: 20px;
}

.homeContainer .links a {
  margin-top: 5px;
  padding: 4px;
  display: flex;
  color: #000;
  text-decoration: none;
  width: 100%;
  background: #dedede;
  transition: all .10s linear;
  border-radius: 3px;
  margin: 0;
}

.homeContainer .links a:hover {
  background: #d6d6d6;
}

.rankings {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 600px;
  margin: auto;
}

.rankings div {
  width: 140px;
  text-align: center;
  margin: 0px 0 8px 0;
  background: #021c41;
  padding: 6px;
  border-radius: 2px;
}

.guilds div {
  width: 117px;
}

.rankings div a {
  text-decoration: none;
  color: transparent;
  transition: all .20s linear;
}

.rankings div a:hover {
  opacity: .8
}

.rankings div p {
  color: #fff;
  background: #02376d;
  margin-bottom: 5px;
  border-radius: 3px;
  font-size: 13px;
  padding: 3px;
}

.slider {
  width: 680px;
  height: 280px;
  background: #000;
  position: relative;
  margin-bottom: 20px;
  border: solid 1px #262626;
    border-bottom: solid 2px #383838;
}

.slider div img {
  position: absolute;
  opacity: 0;
  transition: all 800ms linear;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider div img.sliderOn {
  opacity: 1
}

.register {
  position: relative;
  top: -21px;
}

.home_main {
  padding: 5px;
}

.home_main form li input,
.home_main form li select,
.home_main form input[type='button'] {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 2px solid #0c4ead;
  border-radius: 3px;
}

.home_main form li img {
  margin: 5px 0;
  font-size: 1.5rem;
}

.home_main form li a {
  text-decoration: none;
  color: #fff;
  position: relative;
  top: -15px;
  text-transform: uppercase;
  font-size: 9px;
  background: #011d40;
  padding: 4px;
  border-radius: 3px;
  transition: all .20s linear;
}

.home_main form input[type='button'] {
  color: #fff;
  background: #011d40;
  border: none;
  outline: none;
  padding: 12px;
  border-radius: 3px;
  transition: all .20s linear;
  cursor: pointer;
}



.download {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.download div {
  text-align: center;
  padding: 5px;
  border-radius: 3px;
  background: #011d40;
  color: #fff;
  min-width: 140px;
}

.download div p {
  padding: 5px;
  margin: 10px 0;
  font-size: 13px;
}

.download div a {
  padding: 5px;
  margin: 5px;
  border-radius: 3px;
  background: #334a8c;
  color: #fff;
  text-decoration: none;
  transition: all .20s linear;
}

.requerimentos {
  width: 100%;
  font-size: 13px;
  padding: 5px;
}

.requerimentos p {
  padding: 15px 5;
}

.requerimentos thead tr td {
  background: #021c41;
  color: #fff;
  padding: 10px;
}

.requerimentos tbody tr td {
  background: #0d4594;
  color: #fff;
  padding: 10px;
}

.info-box {
  background: #0d4594;
  color: #fff;
  padding: 10px;
  font-size: 13px;
  text-align: center;
}

.menuRanking {
  display: flex;
  flex-wrap: wrap;

}

.menuRanking button {
  width: 100px;
  margin: 10px 0;
  padding: 5px 10px;
  outline: none;
  border: none;
  border-radius: 3px;
  color: #fff;
  background: #021c41;
  margin-left: 15px;
  transition: all .20s linear;
  cursor: pointer;
}

.home_main form li a:hover,
.home_main form input[type='button']:hover,
.download div a:hover,
.menuRanking button:hover {
  background: #0b4996;
}

.pagRankings {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 40px;
}

.pagRankings div {
  text-align: center;
  margin: 0px 0 8px 0;
  background: #021c41;
  padding: 6px;
  border-radius: 2px;
}

.pagRankings div p {
  color: #fff;
  background: #02376d;
  margin-bottom: 5px;
  border-radius: 3px;
  font-size: 13px;
  padding: 3px 5px;
}

.pagRankings div p:nth-child(1) {
  background: none;
  padding: 0;
}

.pagRankings div a {
  text-decoration: none;
  color: transparent;
  transition: all .20s linear;
}

.pagRankings div a:hover {
  opacity: .8
}

.news-list-home {
  padding: 0 10px;
}

.news-item-home {
  border-bottom: 1px dashed #3c3c3c;
  padding: 10px 0;
  color: #88bbf0;
}

.news-item-home span {
  color: #8f9aa7;
}

.news-item-home a {
  color: #48628e;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .20s linear;
}

.news-item-home a:hover {
  color: #fff;
}

.top-player-name {
  color: #63a9ff;
  font-weight: bold;
}

.top-player-img {
  width: 100px;
  height: 100px;
  border-radius: 4px;
  margin: 10px 0;
}

#StaffList p {
  text-align: center;
  background: #363636;
  padding: 4px 0;
  border-radius: 3px;
}

/* Eventos (War Devias e Castle Siege) */
.events-container {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border: solid 1px #262626;
  border-bottom: solid 2px #383838;
  box-shadow: inset 0 0 50px #18181a;
  background: #0d0d0d;
}

.event-box {
  flex: 1;
  position: relative;
  background-color: #383838;
  border-radius: 4px;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid #383838;
}

.wd-box {
  background: url('../images/war-devias-bg.png') center center no-repeat;
  background-size: cover;
}

.cs-box {
  background: url('../images/castle-siege-bg.png') center center no-repeat;
  background-size: cover;
}

.event-content {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.event-title {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  margin-bottom: 5px;
}

.event-subtitle {
  color: #d1d5db;
  font-size: 13px;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.event-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  margin-bottom: 25px;
}

.event-guild-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-label {
  color: #fff;
  font-size: 12px;
  margin-bottom: 5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.event-value {
  color: #fff;
  padding: 5px 15px;
  border-radius: 10px;
  font-size: 13px;
  min-width: 80px;
  text-align: center;
  background: #232324eb;
    border: 1px solid #ffffff33;
}

.event-logo img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid #334155;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.event-schedule {
  color: #fff;
  padding: 8px 30px;
  border-radius: 20px;
  font-size: 14px;
  width: 80%;
  text-align: center;
  background: #232324eb;
    border: 1px solid #ffffff33;
}

#StaffList li {
  padding: 4px 0;
  border-radius: 3px;
  margin: 5px 0;
}

/* Footer Styles */
.footer-main {
  background: #1a1a1a url(../images/bg-footer.png) no-repeat center top;
    background-position: 50%;
    background-size: cover;
    padding: 45px 0 25px 0;
    margin-top: 550px;
    width: 100%;
    position: relative;
    z-index: 10;
    opacity: 0.9;
    border-top: 1px solid #333;
    background-color: #333333cf;
}

.footer-container {
  width: 1050px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo img {
  max-width: 150px;
}

.footer-apps {
  display: flex;
  gap: 15px;
}

.footer-apps a img {
  height: 45px;
  border-radius: 8px;
  transition: transform 0.2s;
  border: 1px solid transparent;
}

.footer-apps a img:hover {
  transform: scale(1.05);
  border: 1px solid #cba24d;
}

.footer-separator {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  gap: 15px;
}

.footer-links a {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  color: #d1d5db;
  text-decoration: none;
  font-size: 13px;
  border-radius: 4px;
  transition: all 0.2s;
}

.footer-links a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #d1d5db;
  text-decoration: none;
  border-radius: 4px;
  font-size: 18px;
  transition: all 0.2s;
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.footer-bottom {
  color: #b9b9b9;
  font-size: 15px;
  line-height: 1.5;
}

/* Sidebar Events */
.event-list {
  padding: 5px 8px;
  color: #d1d5db;
}

.event-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px dashed #3c3c3c;
}

.event-list li:last-child {
  border-bottom: none;
}

.timer-badge {
  width: 65px;
  color: #000;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  border: solid 1px #383838;
  background: linear-gradient(270deg, #72170000, #555555, #ba635600);
}

.timer-badge.soon {
  background-color: #6b7280;
  color: #fff;
}

/* User Panel Logged In */
.user-panel-logged {
  padding: 10px;
  color: #fff;
  text-align: center;
}

.user-info {
  margin-bottom: 15px;
  border-bottom: 1px solid #3333335c;
  padding-bottom: 10px;
}

.user-name {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
}

.user-status {
  display: block;
  font-size: 12px;
  color: #94a3b8;
}

.user-stats {
  margin-bottom: 15px;
  text-align: left;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px;
  border-radius: 4px;
}

.stat-item {
  font-size: 13px;
  margin-bottom: 5px;
  color: #cbd5e1;
}

.stat-item span {
  float: right;
  color: #fff;
  font-weight: bold;
}

.user-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-panel,
.btn-logout {
  display: block;
  padding: 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.2s;
  text-align: center;
}

.btn-panel {
  background: #363636;
  color: #eee;
  border: 1px solid #81818152;
}

.btn-panel:hover {
  background: linear-gradient(270deg, #72170000, #555555, #ba635600);
}

.btn-logout {
  background: linear-gradient(270deg, #72170000, #3f3f3f, #ba635600);
  color: #acacac;
  letter-spacing: 2px;
  border: 1px solid #333333;
}

.btn-logout:hover {
  background: linear-gradient(270deg, #72170000, #391818, #ba635600);
}

/* Sidebar Login Box */
.sidebar-login-box {
  padding: 10px;
}

.login-field {
  margin-bottom: 12px;
}

.login-field label {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 5px;
}

.login-field input {
  width: 100%;
  padding: 8px;
  border: 1px solid #282828a6;
  background: #2b2b2b5c;
  color: #ccc;
  border-radius: 4px;
  outline: none;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 15px;
}

.login-options label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.login-options a {
  color: #94a3b8;
  text-decoration: underline;
}

.btn-login-sidebar {
  width: 100%;
  padding: 10px;
  background: linear-gradient(270deg, #72170000, #3b3b3b, #ba635600);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 13px;
  transition: background 0.2s;
  border: solid 1px #282828;
}

.btn-login-sidebar:hover {
  background: linear-gradient(270deg, #72170000, #555555, #ba635600);
}

/* Internal Pages & Content Boxes */
.page-container {
  padding: 0px;
}

.content-box {
  padding: 15px;
  border-radius: 4px;
  color: #f8fafc;
  min-height: 400px;
  border: solid 1px #262626;
  border-bottom: solid 2px #383838;
  box-shadow: inset 0 0 50px #18181a;
  background: #0d0d0d;
}

.page-title {
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  background: linear-gradient(270deg, #72170000, #555555, #ba635600);
}

/* Data Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.data-table th {
  background: #191919;
  color: #fff;
  text-align: left;
  padding: 12px 15px;
  font-size: 14px;
  border-bottom: 2px solid #383838;
}

.data-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #38383878;
  font-size: 14px;
  color: #cbd5e1;
}

.data-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.badge-host {
  background: #334155;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}

.btn-download {
  display: block;
  background: #02376d;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  transition: all 0.2s;
  border: 1px solid #1a2744;
}

.btn-download:hover {
  background: #0b4996;
  transform: translateY(-2px);
}

/* New Download Sections */
.download-section {
  margin-top: 30px;
}

.section-title-bar {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #545454;
  padding: 10px 15px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ccc;
  text-transform: uppercase;
}

.additional-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 15px;
}

.additional-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.btn-mini-download {
  background: #28a745;
  color: white;
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.btn-mini-download:hover {
  background: #218838;
}

.requirements-table {
  width: 100%;
  border-collapse: collapse;
}

.requirements-table th {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  text-align: left;
  color: #aaa;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.requirements-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #eee;
}

.req-label {
  width: 30%;
  font-weight: bold;
  color: #0056b3;
}

.req-min {
  width: 35%;
}

.req-rec {
  width: 35%;
}

/* VIP / Donate Module */
.vip-nav {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.2);
  padding: 5px;
  border-radius: 4px;
  flex-wrap: wrap;
}

.vip-nav a {
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.05);
  color: #ccc;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.vip-nav a:hover,
.vip-nav a.active {
  background: #0056b3;
  color: #fff;
}

.vip-info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.vip-info-box h3 {
  margin-top: 0;
  color: #fff;
  font-size: 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.vip-info-box p {
  color: #aaa;
  line-height: 1.6;
}

.vip-info-box b.highlight {
  color: #fff;
}

.bonus-container {
  background: #f1c40f;
  padding: 2px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.bonus-inner {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 4px;
}

.bonus-header {
  background: #f1c40f;
  color: #000;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.bonus-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-card .bonus-title {
  font-size: 0.8rem;
  color: #aaa;
}

.bonus-card .bonus-value {
  font-size: 1.2rem;
  font-weight: bold;
  color: #007bff;
  margin: 5px 0;
}

.bonus-card .bonus-label {
  display: inline-block;
  padding: 3px 8px;
  background: #007bff;
  color: #fff;
  font-size: 0.7rem;
  border-radius: 4px;
}

.calc-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 15px;
}

.calc-input-group label {
  display: block;
  margin-bottom: 5px;
  color: #ccc;
}

.calc-input-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  color: #fff;
  border-radius: 4px;
}

.calc-result-box {
  background: #222;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  margin-top: 20px;
  border: 1px solid #333;
}

.calc-result-box h4 {
  color: #f1c40f;
  font-size: 1.5rem;
  margin: 0;
}

.pix-container {
  display: flex;
  gap: 20px;
  align-items: center;
}

.pix-qr {
  background: #fff;
  padding: 10px;
  border-radius: 6px;
}

.pix-info {
  flex: 1;
}

.pix-copy-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.8rem;
  word-break: break-all;
  margin: 10px 0;
}

.badge-vip-group {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  background: #f1c40f;
  color: #000;
}

.advantage-category {
  background: rgba(243, 156, 18, 0.1);
  border-left: 3px solid #f39c12;
  padding: 5px 15px;
  margin: 20px 0 10px;
  color: #f39c12;
  font-weight: bold;
}

.yes-val {
  color: #2ecc71;
  font-weight: bold;
}

.no-val {
  color: #e74c3c;
  font-weight: bold;
}

.badge-active {
  background: #28a745;
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* Rankings Grid */
.rank-filter-bar {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 25px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  align-items: flex-end;
}

.rank-filter-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
}

.rank-filter-group select {
  width: 100%;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 8px;
  border-radius: 4px;
}

.btn-rank-generate {
  background: #0056b3;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.btn-rank-generate:hover {
  background: #004494;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.rank-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  transition: 0.3s;
  position: relative;
}

.rank-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: #0056b3;
}

.rank-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 5px;
  font-size: 0.75rem;
  color: #aaa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-avatar-box {
  padding: 10px;
  position: relative;
}

.rank-avatar-box img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rank-info-name {
  display: block;
  padding: 8px;
  font-weight: bold;
  color: #fff;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.2);
}

.rank-score {
  color: #0056b3;
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
}

@media (max-width: 1000px) {
  .rank-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .rank-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* List Style Rankings */
.rank-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.rank-tab {
  background: rgba(255, 255, 255, 0.05);
  color: #888;
  padding: 10px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: 0.3s;
}

.rank-tab:hover,
.rank-tab.active {
  background: #4a153a;
  /* Vinho/Roxo conforme imagem */
  color: #fff;
}

.rank-timer-bar {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.timer-info span {
  display: block;
  font-size: 0.6rem;
  color: #666;
  text-transform: uppercase;
}

.timer-info b {
  font-size: 1rem;
  color: #ccc;
}

.rank-actions {
  display: flex;
  gap: 10px;
}

.btn-rank-action {
  background: #cccccc9e;
  color: #000;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.btn-rank-action.green {
  background: #363636;
  color: #ccc;
  text-transform: uppercase;
}

.rank-list-header {
  display: flex;
  padding: 10px 20px;
  color: #8b8b8b;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
}

.col-rank {
  width: 55px;
}

.col-char {
  flex: 1;
}

.col-score {
  width: 100px;
  text-align: right;
}

.rank-list-item {
  display: flex;
  align-items: center;
  background: #222222c2;
  margin-bottom: 5px;
  padding: 8px 20px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.rank-list-item.top-1 {
  background: linear-gradient(90deg, #483a0b  0%, #111 100%);
}

.rank-list-item.top-2 {
  background: linear-gradient(90deg, #2c3e50 0%, #111 100%);
}

.rank-list-item.top-3 {
  background: linear-gradient(90deg, #4d2600 0%, #111 100%);
}

.rank-list-item.top-1::before,
.rank-list-item.top-2::before,
.rank-list-item.top-3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/rank/bg_texture.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.rank-frame {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
}

.rank-frame img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.rank-frame span {
  position: relative;
  z-index: 2;
}

.char-avatar-mini {
  width: 50px;
  height: 50px;
  border-radius: 3px;
  margin: 0 15px;
}

.char-name-link {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
}

.char-score-val {
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal-container {
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
  background: #1a1a1a;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222;
}

.modal-header h3 {
  margin: 0;
  font-size: 1rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-close-modal {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #888;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-modal:hover {
  background: #e74c3c;
  color: #fff;
}

.modal-body {
  padding: 25px;
}

.modal-section {
  margin-bottom: 20px;
}

.modal-section-title {
  color: #f1c40f;
  /* Cor amarela conforme imagem */
  font-size: 0.95rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.modal-section p {
  color: #888;
  font-size: 0.85rem;
  line-height: 1.6;
}

.modal-section p b {
  color: #00c4a7;
  /* Verde água conforme imagem */
}

/* Rewards Table in Modal */
.modal-table {
  width: 100%;
  border-collapse: collapse;
}

.modal-table td {
  padding: 12px;
  border: 1px solid #222;
  color: #999;
  font-size: 0.85rem;
}

.modal-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.modal-table .highlight-td {
  color: #ccc;
  font-weight: bold;
}

/* Top Info Bar */
.top-info-bar {
  display: flex;
  align-items: center;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  margin-bottom: 5px;
  border-radius: 4px;
  overflow: hidden;
}

.status-box {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #1d1d1de6;
  min-width: 180px;
  background-color: #060d1e;
}

.status-icon-glow {
  width: 35px;
  height: 35px;
  margin-right: 15px;
  position: relative;
}

.status-icon-glow img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.status-icon-glow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 0 15px 5px rgba(0, 196, 167, 0.5);
  /* Verde */
  animation: pulse-green 2s infinite;
  z-index: 1;
}

.status-offline .status-icon-glow::after {
  box-shadow: 0 0 15px 5px rgba(231, 76, 60, 0.5);
  /* Vermelho */
  animation: pulse-red 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.4;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
}

@keyframes pulse-red {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.4;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
}

.status-text {
  display: flex;
  flex-direction: column;
}

.status-label {
  font-size: 0.9rem;
  font-weight: 900;
  color: #00c4a7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-offline .status-label {
  color: #e74c3c;
}

.status-count {
  font-size: 0.75rem;
  color: #ccc;
  font-weight: bold;
  text-transform: uppercase;
}

.server-stats-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 20px;
}

.stat-widget {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}

.stat-widget span {
  font-size: 12px;
  color: #636363;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.stat-widget b {
  font-size: 0.95rem;
  color: #ccc;
  text-transform: uppercase;
}

/* Home Rankings Refined */
.home-rank-tabs {
    display: flex;
    gap: 8px;
    margin: 15px 0;
    padding: 0 8px;
}

.rank-tab-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
}

.rank-tab-btn:hover {
    color: #bcbcbc;
    background: #4f4f4f;
}

.rank-tab-btn.active {
    color: #fff;
    border-color: #383838;
    box-shadow: 0 0 10px #5c5c5c4d;
    background: #4f4f4f;
}

.home-rank-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.home-rank-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.rank-grid-home {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 8px;
}

.rank-card-home {
    border-radius: 5px;
    padding: 15px 10px;
    text-align: center;
    position: relative;
    transition: 0.3s;
    border: 1px solid #383838cc;
    background: linear-gradient(270deg, #72170000, #383838, #ba635600);
}

.rank-card-home:hover {
    background: linear-gradient(270deg, #72170000, #383838, #ba635600);
    border: 1px solid #4e606aba;
    transform: translateY(-3px);
    box-shadow: 0 0 10px #7c7c7c91;
}

.rank-number {
    position: absolute;
    top: 3px;
    left: 53px;
    font-size: 12px;
    font-weight: 900;
    color: #ffffff;
}

.rank-avatar-home {
    width: 100px;
    height: 100px;
    margin: 10px auto 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}

.rank-avatar-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-details-home {
    display: flex;
    flex-direction: column;
}

.player-name {
    color: #ccc;
    font-weight: bold;
    font-size: 0.85rem;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-score {
    padding: 3px;
    color: #5172b4;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border-color: #383838;
    background: #363636;
}

.no-rank-data {
    grid-column: span 5;
    text-align: center;
    padding: 40px;
    color: #444;
    font-style: italic;
    font-size: 0.9rem;
}

.stat-btn-more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.btn-more-info {
  background: #222;
  color: #888;
  border: none;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-more-info:hover {
  background: #333;
  color: #fff;
}

.social-icons-box {
  display: flex;
  background: #0d0d0d;
  gap: 5px;
  border-left: 1px solid #1a1a1a;
}

.social-link-top {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 30px;
  text-decoration: none;
  transition: 0.3s;
  background: #18181a;
}

.social-link-top:last-child {
  border-right: none;
}

.social-link-top:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.social-link-top.insta:hover {
  color: #e1306c;
}

.social-link-top.fb:hover {
  color: #1877f2;
}

.social-link-top.yt:hover {
  color: #ff0000;
}

.social-link-top.dc:hover {
  color: #5865f2;
}

.footer-container {
    width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 70px;
}

.footer-apps {
    display: flex;
    gap: 15px;
}

.footer-apps img {
    height: 55px; /* Larger icons like image */
    transition: 0.3s;
}

.footer-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
}

.footer-middle {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 10px;
}

.footer-links a {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 2px;
    transition: 0.3s;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 2px;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #0056b3;
}

.footer-bottom {
    text-align: left;
    padding-left: 40px;
}

.footer-bottom p {
    color: #979797;
    font-size: 15px;
    margin-bottom: 5px;
    line-height: 1.6;
    font-weight: 700;
}