body {
  width: 100%;
  background: url(../images/background-matrix.png) top center no-repeat fixed;
  background-color: #050505;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #c8ddf1;
  line-height: 1.5;
}

.kng-highlight {
  color: #D4AF37 !important;
  font-weight: bold;
}

.kng-white-bold {
  color: #ffffff !important;
  font-weight: bold;
}

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

a:hover,
button:hover {
  -webkit-filter: brightness(120%);
  filter: brightness(120%);
  text-decoration: none;
}

p {
  margin-bottom: 15px;
}

h1,
h2,
h3 {
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.5;
  font-family: 'Cinzel', serif;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  font-size: 18px;
}

h2 {
  font-size: 16px;
}

h3 {
  font-size: 14px;
}

input,
textarea {
  background-color: #131f2d;
  border: 1px solid #2c3545;
  color: #7d8a9f;
  padding: 5px 10px;
  font-size: 12px;
  position: relative;
  border-radius: 3px;
  transition: all 0.5s ease;
  width: calc(100% - 20px);
}

input:focus,
textarea:focus {
  border: 1px solid #424e63;
}

input:hover,
textarea:hover {
  border: 1px solid #424e63;
}

button,
.button {
  transition: all 0.3s ease;
  cursor: pointer;
  background: url(../images/button.jpg) center no-repeat;
  background-size: cover;
  border: none;
  color: #c3eaee;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  display: inline-block;
}

.green-button,
.kng-glow-button {
  background: #D4AF37;
  color: #000;
  border: 1px solid #D4AF37;
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4), inset 0 0 4px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
}

.green-button:hover,
.kng-glow-button:hover {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6), 0 0 40px rgba(212, 175, 55, 0.4);
  transform: scale(1.05);
  background: #fff;
  color: #D4AF37;
}

/* RESPONSIVE FIXES FOR MOBILE */
@media (max-width: 768px) {
  .kng-module-row {
    flex-direction: column !important;
    text-align: center !important;
    padding: 20px !important;
  }

  .kng-module-char {
    flex: 0 0 auto !important;
    margin-bottom: 15px !important;
  }

  .kng-module-info {
    padding: 0 !important;
    margin-bottom: 20px !important;
    width: 100% !important;
  }

  .kng-stats-list {
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    align-items: center !important;
  }

  .kng-module-action {
    width: 100% !important;
  }

  .kng-module-action .kng-glow-button {
    width: 100% !important;
    display: block !important;
  }

  .kng-credits-container {
    padding: 0 10px !important;
  }

  .kng-credits-header {
    text-align: center !important;
  }

  .kng-credits-box {
    width: 100% !important;
    min-width: unset !important;
  }

  .kng-premium-table {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
    white-space: normal !important;
  }

  .kng-module-row h4 {
    font-size: 16px !important;
  }

  .addstats-grid {
    grid-template-columns: 1fr !important;
  }

  .content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 15px !important;
  }
}



.kng-glow-button-small {
  background: #000;
  color: #D4AF37;
  border: 1px solid #D4AF37;
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.kng-glow-button-small:hover {
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
  background: #D4AF37;
  color: #000;
}

/* NEW MODULE ROW SYSTEM */
.kng-module-row {
  display: flex !important;
  align-items: center !important;
  background: rgba(20, 30, 45, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 15px !important;
  border-radius: 8px !important;
  margin-bottom: 15px !important;
  transition: all 0.3s ease;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

.kng-module-row:hover {
  background: rgba(25, 40, 60, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.kng-module-char {
  flex: 0 0 80px !important;
}

.kng-module-char img {
  width: 80px !important;
  height: 80px !important;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.kng-module-info {
  flex: 1 !important;
  padding: 0 30px !important;
}

.kng-module-info h4 {
  margin: 0 0 8px 0 !important;
  font-family: 'Cinzel', serif !important;
  color: #fff !important;
  font-size: 18px !important;
}

.kng-stats-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 20px !important;
  font-size: 11px !important;
}

.kng-stats-item {
  color: #c8ddf1 !important;
  text-transform: uppercase;
}

.kng-stats-item span {
  color: #D4AF37 !important;
  font-weight: 800;
  margin-left: 5px;
}

.kng-module-action {
  flex: 0 0 auto !important;
}

.kng-credits-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.kng-credits-box {
  background: rgba(10, 20, 35, 0.8);
  border: 1px solid rgba(200, 221, 241, 0.3);
  padding: 0;
  min-width: 200px;
}

.kng-credits-box table {
  width: 100%;
  margin: 0;
}

.kng-credits-box td {
  padding: 10px;
  border: 1px solid rgba(200, 221, 241, 0.2);
  color: #fff;
}

.kng-credits-box td:first-child {
  font-weight: bold;
  background: rgba(0, 0, 0, 0.3);
}

.kng-credits-header {
  text-align: right;
  font-weight: bold;
  color: #fff;
  margin-bottom: 5px;
  font-size: 16px;
}

.addstats-form {
  padding: 10px;
}

.addstats-points {
  color: #D4AF37 !important;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.addstats-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px 15px !important;
  width: 100%;
}

.addstats-field {
  margin-bottom: 0px;
}

.addstats-field label {
  display: block;
  color: #c8ddf1;
  font-weight: bold;
  margin-bottom: 3px;
  font-size: 9px;
  text-transform: uppercase;
  white-space: nowrap;
}

.addstats-field input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px;
  padding: 5px 8px !important;
  font-size: 12px !important;
  box-sizing: border-box;
}

.addstats-field input:focus {
  border-color: #D4AF37 !important;
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.3) !important;
}

.kng-module-row .addstats-form-grid {
  width: 100%;
}

.addstats-submit-row {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

/* SIDEBAR ENHANCEMENTS */
.sidebar-banner {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.sidebar-banner:hover {
  border-color: #D4AF37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.sidebar-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Create Account Special Block */
/* Final Fluid Responsiveness Overrides */
.wrapper {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

.container {
  min-height: auto !important;
  display: flex !important;
  position: relative;
  width: 100% !important;
  max-width: 1200px !important;
  box-sizing: border-box;
  margin: 0 auto;
}

.left-sidebar {
  flex: 0 0 285px !important;
  width: 285px !important;
  max-width: 285px !important;
  background: url(../images/sidebar-bg.jpg);
  margin-bottom: 110px;
  position: relative;
}

.left-sidebar:before {
  content: "";
  background: url(../images/right-sidebar-icon.png) no-repeat;
  right: -4px;
  bottom: -4px;
  width: 25px;
  height: 25px;
  position: absolute;
  transform: scaleX(-1);
}

.content {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: calc(100% - 285px) !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 1220px) {
  .header {
    display: none !important; /* ESCONDER EL ESPACIO VACÍO GIGANTE DE 480px DEL LOGO VIEJO */
  }

  body {
    background: #050505 !important; /* Remover fondo estático interfiere con el scroll */
  }

  .wrapper, .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }
  
  .container {
    flex-direction: column !important;
  }

  .left-sidebar {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    order: 2 !important; /* Move sidebar below content */
  }

  .content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    order: 1 !important; /* Move content above sidebar */
  }

  /* FORZAR PANELES A 100% SIN BORDES REDONDOS PARA EVITAR HUECOS */
  .panel-sidebar, .p-block, .forum-block, .top-players-block, .login-block {
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }

  .kng-side-banners {
    padding: 10px;
  }

  /* RESPONSIVE TABLES (SWIPEABLE) */
  .panel-body, .panel-body2, .panel-body3, .module-box {
    padding: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  
  table.table, table.kng-unified-sidebar-table {
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    border-collapse: collapse;
  }

  table.table td, table.table th, table.kng-unified-sidebar-table td, table.kng-unified-sidebar-table th {
    padding: 8px 12px !important;
    white-space: nowrap !important;
  }
  
  .mobile-hero {
    display: block !important; /* Re-enable mobile hero block */
    background: linear-gradient(180deg, rgba(5,5,5,0.9), rgba(15,23,42,0.95));
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #D4AF37;
    border-radius: 0;
    padding: 25px 15px;
    text-align: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
  }
  .mobile-hero .mobile-logo {
    max-width: 220px;
    height: auto;
    margin: 0 auto 15px auto;
  }
  .mobile-hero h1 {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  .mobile-cta-btn {
    display: block;
    width: 100%;
    background: #D4AF37;
    color: #000 !important;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    letter-spacing: 1px;
  }
}

@media (min-width: 1221px) {
  .mobile-hero {
    display: none !important;
  }
}

/* Unified Sidebar Banners System */
.kng-side-banners {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
  margin-bottom: 20px !important;
}

.kng-banner-item {
  display: flex !important;
  align-items: center !important;
  background: rgba(10, 25, 45, 0.95);
  border: 1px solid rgba(22, 98, 156, 0.4);
  border-radius: 8px;
  height: 90px;
  overflow: hidden;
  text-decoration: none !important;
  transition: all 0.3s ease;
  position: relative;
  width: 100% !important;
  box-sizing: border-box;
}

.kng-banner-item:hover {
  border-color: #D4AF37;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.kng-banner-icon {
  flex: 0 0 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
}

.kng-banner-text {
  flex: 1;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.kng-banner-text .kng-title {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kng-banner-text .kng-sub {
  display: block;
  font-size: 10px;
  color: #7a96b0;
  margin-top: 2px;
}

/* Register Banner Specialisation - Primary Button Style */
.kng-register {
  background: #D4AF37 !important;
  /* Solid Gold */
  border: 1px solid #b3912b !important;
}

.kng-register .kng-banner-icon {
  background: rgba(0, 0, 0, 0.1) url('../img/create-account-avatar.png') no-repeat center;
  background-size: cover;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.kng-register .kng-title {
  color: #000 !important;
  /* Contrast Text */
  text-shadow: none !important;
}

.kng-register .kng-sub {
  color: #333 !important;
  /* Darker subtext */
}

.kng-register .kng-banner-icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5));
}

/* Download Banner Specialisation */
/* Download Banner Specialisation - Ghost Button Style */
.kng-download {
  background: transparent !important;
  border: 1px solid #D4AF37 !important;
}

.kng-download .kng-banner-icon {
  background: rgba(0, 0, 0, 0.3) url('../img/download-icon-3d.jpg') no-repeat center !important;
  background-size: contain !important;
  border-right: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.1);
}

.kng-download .kng-title {
  color: #D4AF37 !important;
}

.kng-download:hover {
  background: rgba(212, 175, 55, 0.1) !important;
}

.kng-download .kng-banner-icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0));
}

/* Master Guide Banner Specialisation */
.kng-guide {
  background: rgba(10, 25, 45, 0.95) !important;
  border: 1px solid rgba(22, 98, 156, 0.4) !important;
  margin-bottom: 20px !important;
}

.kng-guide .kng-banner-icon {
  background: url('../img/icons/guide_icon_stacked_books.png') no-repeat center !important;
  background-size: cover !important;
  border-right: 1px solid rgba(111, 165, 255, 0.3);
}

.kng-guide .kng-title {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(111, 165, 255, 0.5);
}

.kng-guide .kng-sub {
  color: #6fa5ff !important;
}

.kng-guide:hover {
  border-color: #6fa5ff !important;
  box-shadow: 0 0 20px rgba(111, 165, 255, 0.4) !important;
  background: rgba(15, 35, 65, 0.95) !important;
}

.kng-create-account-special img {
  display: none !important;
}

.addstats-submit {
  margin-top: 20px;
}

.button-small {
  padding: 4px 12px;
}

:focus {
  outline: none;
}

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

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

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

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

/* Main Layout Structure (Fluid) */
.wrapper {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

.container {
  min-height: auto !important;
  display: flex !important;
  position: relative;
  width: 100% !important;
  max-width: 1200px !important;
  box-sizing: border-box;
  margin: 0 auto;
}

.container:before {
  content: "";
  background: url(../images/left-container-icon.png) no-repeat;
  left: -35px;
  top: -34px;
  width: 74px;
  height: 73px;
  position: absolute;
  z-index: 1;
}

.container:after {
  content: "";
  background: url(../images/right-container-icon.png) no-repeat;
  right: -35px;
  top: -34px;
  width: 74px;
  height: 73px;
  position: absolute;
}

.top-panel {
  height: 64px;
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  position: absolute;
  z-index: 10;
  transition: all 1s ease;
}

.top-panel .top-panel-container {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
}

.top-panel:hover {
  background: rgba(0, 0, 0, 0.5);
}

.menu li {
  display: inline-block;
  margin: 0px 12px;
  padding: 0px;
  background: none;

}

.menu li a {
  display: block;
  line-height: 63px;
  text-transform: uppercase;
  color: #fff !important;
  /* Blanco puro para contraste base */
  padding: 0px 16px;
  font-weight: 800 !important;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.menu li a:hover {
  color: #00ddff !important;
  /* Azul eléctrico / Cyan brillante */
  text-shadow: 0 0 15px rgba(0, 221, 255, 0.8), 0 0 25px rgba(0, 221, 255, 0.4);
  transform: translateY(-2px);
}

.menu li:first-child {
  margin: 0px 12px 0px 0px;
}

.language-block a {
  display: inline-block;
  height: 22px;
  width: 34px;
  margin: 0px 10px;
  box-shadow: inset 0px 0px 15px 1px rgba(115, 161, 255, 0.7), 0px 0px 9px 0px rgba(0, 0, 0, 0.5);
  opacity: 0.5;
}

.language-block a:hover {
  opacity: 0.9;
}

.language-block .eng {
  background: url(../images/eng-icon.png) no-repeat;
}

.language-block .rus {
  background: url(../images/rus-icon.png) no-repeat;
}

/* Header
-----------------------------------------------------------------------------*/
.header {
  height: 480px;
  position: relative;
}

.char {
  position: absolute;
  left: -147px;
  bottom: -78px;
  background: url(../images/char.png) no-repeat;
  width: 551px;
  height: 500px;
  z-index: 2;
  transition: all 0.8s ease;
  transform: scale(1);
  opacity: 1;
  display: block;
  cursor: pointer;
}

.char:hover {
  filter: drop-shadow(0px 0px 10px rgba(162, 229, 241, 0.2));
}

.char.small {
  transform: scale(0.7);
  opacity: 0.1;
}

.logo {
  width: 100%;
  text-align: center;
  top: 110px;
  position: absolute;
  z-index: 99;
}

.start-game {
  width: 100%;
  bottom: 110px;
  position: absolute;
}

.start-game a {
  display: block;
  background: url(../images/start-game-button.png) no-repeat;
  width: 297px;
  height: 71px;
  line-height: 71px;
  margin: 0 auto;
  text-align: center;
  text-transform: uppercase;
  font-size: 18px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

/* Left Sidebar
-----------------------------------------------------------------------------*/
.left-sidebar {
  flex: 0 0 285px !important;
  width: 285px !important;
  background: url(../images/sidebar-bg.jpg);
  margin-bottom: 110px;
  position: relative;
  max-width: 285px !important;
}

.left-sidebar:after {
  content: "";
  background: url(../images/left-sidebar-icon.png) no-repeat;
  left: -4px;
  bottom: -4px;
  width: 25px;
  height: 25px;
  position: absolute;
}

.download-block {
  background: url(../images/dowload-button.jpg) no-repeat;
  height: 90px;
  box-shadow: 0px 5px 20px -2px rgba(0, 0, 0, 0.1);
}

.download-block a {
  display: block;
  position: relative;
  z-index: 3;
  font-size: 11px;
  color: #7a96b0;
  line-height: 1.5;
  padding: 23px 0px 23px 90px;
}

.download-block a span {
  display: block;
  color: #aacff2;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
}

.p-block {
  padding: 20px 20px 30px 20px;
}

.login-block,
.top-players-block,
.forum-block,
#module-topguilds,
#module-discord {
  background: url(../images/login-block-bg.jpg) bottom no-repeat, url(../images/login-block-repeat.jpg) !important;
  background-size: 100% auto, 100% !important;
}

.login-block .login-block-title {
  margin-bottom: 20px;
}

.login-block .login-block-title span {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
}

.login-block .login-block-title a {
  color: #6fa5ff;
}

.login-block input {
  background-repeat: no-repeat;
  background-position: left;
  height: 32px;
  padding: 0px 10px 0px 50px;
  width: calc(100% - 60px);
}

.login-block .checkbox-block {
  margin-bottom: 20px;
}

.login-block .login-button {
  margin-bottom: 15px !important;
  justify-content: center !important;
}

.login-forgot-row {
  width: 100% !important;
  text-align: center !important;
  margin-top: 12px !important;
  padding-bottom: 10px;
}

.login-forgot-row a {
  font-size: 11px !important;
  color: #6fa5ff !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  font-weight: 500;
}

.login-forgot-row a:hover {
  color: #fff !important;
  text-shadow: 0 0 10px #6fa5ff;
}

.login-forgot-row a {
  font-size: 11px;
  color: #6fa5ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.login-forgot-row a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(111, 165, 255, 0.5);
}

.login-in input {
  background-image: url(../images/login-icon.png);
}

.password-in input {
  background-image: url(../images/password-icon.png);
}

.checkbox {
  display: none;
}

.checkbox-custom {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid #394c66;
  border-radius: 3px;
  background: #131f2d;
}

.checkbox-custom,
.label {
  display: inline-block;
  vertical-align: middle;
}

.label {
  margin-left: 9px;
  margin-bottom: -2px;
  color: #7d8a9f;
}

.checkbox:checked+.checkbox-custom::before {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  top: 0px;
  left: 0px;
  background: url(../images/check.png) center no-repeat;
}

.sidebar-title {
  color: #657793;
  line-height: 1.6;
  padding-bottom: 10px;
}

.sidebar-title span {
  display: block;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

.sidebar-title .top-title-img {
  background: url(../images/top-player-title-bg.png) no-repeat;
  width: 43px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0px 0px 14px 0px rgba(51, 99, 171, 0.5);
}

.sidebar-title .forum-img {
  background: url(../images/forum-title-bg.png) no-repeat;
  width: 43px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0px 0px 14px 0px rgba(51, 99, 171, 0.5);
}

.flex-center {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 15px !important;
}

.sidebar-title.flex-center {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 15px !important;
}

.top-player {
  padding: 10px 0px;
  border-bottom: 1px solid rgba(133, 216, 255, 0.06);
}

.top-player .number {
  border: 1px solid #2e394a;
  color: #657793;
  font-weight: bold;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
}

.top-player .number.first {
  color: #ffe956;
  border: 1px solid #ffe956;
}

.top-player .number.second {
  color: #d3e3e4;
  border: 1px solid #d3e3e4;
}

.top-player .number.third {
  color: #8d6f46;
  border: 1px solid #8d6f46;
}

.top-player .ava-img {
  width: 40px;
  text-align: center;
  height: 18px;
}

.top-player .ava-img img {
  width: 16px;
  height: 16px;
  border: 1px solid #16629c;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
}

.top-player .nickname {
  width: 135px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1px 0px;
  color: #d0e3ff;
}

.top-player .kills {
  width: 40px;
  text-align: right;
  color: #74acff;
  font-size: 14px;
}

.media-block a {
  display: block;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
  position: relative;
}

.media-block a:after {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  box-shadow: inset 0px 0px 190px 20px rgba(0, 0, 0, 0.8);
  transition: all 1s ease;
}

.media-block img {
  margin-bottom: -2px;
}

.media-block p a:after {
  background: url(../images/play-icon.png) center no-repeat;
}

.media-block a:hover:after {
  box-shadow: inset 0px 0px 190px 20px rgba(0, 0, 0, 0.2);
}

/* Middle
-----------------------------------------------------------------------------*/
.content {
  flex: 1 1 auto !important;
  padding: 30px 20px 40px 20px;
  position: relative;
  background: url(../images/content-bg.jpg);
  line-height: 1.4;
  min-width: 0;
  max-width: calc(100% - 300px) !important;
  box-sizing: border-box;
}

.content:before {
  content: "";
  background: url(../images/top-content-icon.png) no-repeat;
  left: 50%;
  margin-left: -70px;
  top: -41px;
  width: 143px;
  height: 74px;
  position: absolute;
  z-index: 11;
}

.content:after {
  content: "";
  background: url(../images/bottom-content-icon.png) no-repeat;
  left: -30px;
  bottom: -12px;
  width: 690px;
  height: 40px;
  position: absolute;
}

.content img {
  max-width: 100% !important;
  height: auto !important;
}

.content input {
  width: auto;
}

.content ul {
  margin-bottom: 15px;
}

.content li {
  background: url(../images/li-icon.png) left no-repeat;
  padding: 9px 0px 9px 29px;
}

.slider {
  overflow: hidden;
  position: relative;
  width: 630px;
  height: 214px;
  margin: 0 auto;
  z-index: 10;
  margin: -30px -20px 0px -20px;
}

.slider .slides {
  position: relative;
  transition: 1s;
}

.slider .slides .active .slider-text {
  transition: all 2s ease;
  bottom: 20px !important;
}

.slider .slides .slide {
  float: left;
  display: block;
  position: relative;
}

.slider .slides .slide:after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  box-shadow: inset 0px 0px 40px 20px rgba(0, 0, 0, 0.6);
}

.slider .slides .slide .slider-text {
  position: absolute;
  bottom: -200px;
  left: 0px;
  padding: 8px 30px;
  width: calc(100% - 60px);
  color: #e0ddd1;
  line-height: 1.3;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  text-align: center;
  z-index: 4;
}

.slider .slides .slide h1 {
  margin-bottom: 1px;
  color: #fff;
  font-size: 36px;
}

.slider .slides .slide img {
  width: 630px;
  max-width: 630px;
  height: 214px;
}

.slider .next {
  position: absolute;
  background: url(../images/arrow-right.png) no-repeat;
  height: 30px;
  width: 30px;
  right: 20px;
  top: 95px;
  z-index: 1;
  cursor: pointer;
  opacity: 0;
  z-index: 12;
}

.slider .prev {
  position: absolute;
  background: url(../images/arrow-left.png) no-repeat;
  height: 30px;
  width: 30px;
  left: 20px;
  top: 95px;
  z-index: 1;
  cursor: pointer;
  opacity: 0;
  z-index: 12;
}

.slider .navigation {
  position: absolute;
  left: 23px;
  top: 16px;
  z-index: 1;
  cursor: pointer;
  display: none;
}

.slider .navigation .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: linear-gradient(to bottom, #a6d0b6, #89b899);
  border: 1px solid #427252;
  cursor: pointer;
  margin: 0 2px;
  position: relative;
}

.slider:hover .next,
.slider:hover .prev {
  opacity: 1;
  transition: all 0.7s ease;
}

.slider .navigation .active:after {
  content: "";
  background: linear-gradient(to bottom, #a6d0b6, #89b899);
  height: 10px;
  width: 10px;
  border: 1px solid #b9d8c2;
  position: absolute;
}

.tabs {
  padding: 20px 20px;
  box-shadow: 0px 25px 30px -5px rgba(0, 0, 0, 0.2);
  background: url(../images/news-bg.jpg);
  margin: 0px -20px 20px -20px;
}

.tabs>.section {
  padding-top: 20px;
  display: none;
  border-top: 1px solid #2e3543;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.tabs>input {
  display: none;
  position: absolute;
}

.tabs>label {
  display: inline-block;
  padding: 15px 18px;
  text-align: center;
  color: #839cb3;
  font-size: 12px;
}

.tabs>label:hover {
  cursor: pointer;
  color: #fff;
}

.tabs>input:checked+label {
  color: #69a9e5;
  background: #1b222c;
  border-bottom: 1px solid #69a9e5;
  border-top: 1px solid #202938;
  border-left: 1px solid #202938;
  border-right: 1px solid #202938;
}

#news:checked~#content-news,
#articles:checked~#content-articles,
#guides:checked~#content-guides {
  display: block;
}

.first-new {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(46, 53, 67, 0.3);
}

.first-new .news-img {
  opacity: 0.7;
  width: 237px;
}

.first-new .news-img img {
  width: 237px;
  box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.3);
}

.first-new .news-img:hover {
  opacity: 1;
}

.first-new .first-news-info {
  width: 335px;
}

.first-new .first-news-info h2 {
  margin-bottom: 10px;
  font-weight: normal;
}

.first-new .first-news-info p {
  text-align: justify;
}

.first-new .first-news-info .first-news-i .button {
  margin-right: 15px;
}

.news {
  padding: 15px 18px;
  border-bottom: 1px solid rgba(46, 53, 67, 0.3);
  transition: all 0.5s ease;
  min-height: 25px;
}

.news .news-title {
  display: flex;
  align-items: center;
}

.news .news-title h2 {
  color: #61738e;
  margin-bottom: 0px;
  font-size: 12px;
  font-weight: normal;
}

.news .news-title span {
  color: #73a6ff;
  font-size: 10px;
  border: 1px solid #73a6ff;
  padding: 2px 4px;
  margin-right: 12px;
}

.news .date-more {
  color: #435067;
  width: 150px;
  text-align: right;
}

.news .more {
  display: none;
}

.news:hover {
  background: rgba(97, 115, 142, 0.04);
}

.news:hover h2 {
  color: #bbd0f0;
}

.news:hover .date {
  display: none;
}

.news:hover .more {
  display: block;
}

.carousel {
  position: relative;
  width: 510px;
  padding: 0px 40px;
}

.arrow {
  position: absolute;
  top: 85px;
  padding: 0;
  height: 30px;
  width: 30px;
  display: block;
}

.arrow:hover {
  cursor: pointer;
}

.prev {
  left: 0px;
  background: url(../images/nav-left.png) no-repeat;
}

.next {
  right: 0px;
  background: url(../images/nav-right.png) no-repeat;
}

.gallery {
  width: 510px;
  overflow: hidden;
}

.gallery ul {
  height: 205px;
  width: 9999px;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: margin-left 2250ms;
}

.gallery li {
  width: 150px;
  height: 205px;
  padding: 0px;
  display: inline-block;
  margin: 0px 10px;
  background: rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
}

.gallery li .shop-img img {
  max-width: 150px;
}

.gallery li .shop-title {
  color: #bbd0f0;
}

.gallery li .shop-price {
  color: #63cdff;
  font-size: 24px;
}

.gallery li .shop-button {
  width: 100%;
  position: absolute;
  bottom: 20px;
  text-align: center;
}

/* Right Sidebar
-----------------------------------------------------------------------------*/
.right-sidebar {
  width: 285px;
  background: url(../images/sidebar-bg.jpg);
  margin-bottom: 110px;
  position: relative;
}

.right-sidebar:after {
  content: "";
  background: url(../images/right-sidebar-icon.png) no-repeat;
  right: -4px;
  bottom: -4px;
  width: 25px;
  height: 25px;
  position: absolute;
}

.server-block {
  padding: 0px 0px 0px 0px;
}

.server {
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 10px;
  border-bottom: 1px solid rgba(142, 227, 255, 0.06);
}

.server .server-x {
  width: 74px;
  height: 74px;
  text-align: center;
  line-height: 74px;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.3);
}

.server .server-info {
  width: 181px;
  color: #eef7ff;
}

.server .server-info span {
  color: #657793;
}

.server .server-info span b {
  color: #65a1ff;
  font-weight: normal;
}

.server .server-progress {
  background: rgba(0, 0, 0, 0.8);
  height: 5px;
  margin: 8px 0px;
}

.server .server-progress span {
  width: 100%;
  height: 5px;
  display: block;
}

.server .server-description a {
  color: #65a1ff;
  text-decoration: underline;
  font-size: 10px;
}

.server .server-description a:hover {
  text-decoration: none;
}

.server:last-child {
  border-bottom: none;
}

.blue .server-x {
  background: url(../images/server-blue-img.png) center no-repeat;
  color: #8ecbff;
}

.blue .server-progress span {
  background: #00baff;
  box-shadow: 0px 0px 10px 0px rgba(0, 186, 255, 0.6);
}

.pink .server-x {
  background: url(../images/server-pink-img.png) center no-repeat;
  color: #ffbae3;
}

.pink .server-progress span {
  background: #ff0096;
  box-shadow: 0px 0px 10px 0px rgba(255, 0, 150, 0.6);
}

.green .server-x {
  background: url(../images/server-green-img.png) center no-repeat;
  color: #deffba;
}

.green .server-progress span {
  background: #7fff18;
  box-shadow: 0px 0px 10px 0px rgba(127, 255, 24, 0.6);
}

.forum-block {
  box-shadow: 0px 15px 20px -7px rgba(0, 0, 0, 0.15);
}

.sidebar-forum-title {
  border-bottom: 1px solid rgba(181, 203, 243, 0.04);
  padding-bottom: 18px;
}

.forum {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(181, 203, 243, 0.04);
  padding: 20px 0px;
}

.forum p {
  margin-bottom: 7px;
}

.forum .forum-ava {
  width: 45px;
}

.forum .forum-ava img {
  height: 29px;
  width: 29px;
  border: 1px solid #16629c;
  box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.2);
}

.forum .forum-title a {
  color: #7d99c4;
}

.forum .forum-info {
  width: 200px;
}

.forum .forum-info .date {
  color: #3c4961;
  font-size: 10px;
}

.forum .forum-info .autor {
  color: #65a1ff;
  text-decoration: underline;
  font-size: 10px;
}

.forum .forum-info .autor:hover {
  text-decoration: none;
}

.fast-links-block li {
  margin-left: -11px;
  background: url(../images/li-icon.png) left no-repeat;
  padding: 9px 0px 9px 29px;
}

.fast-links-block li a {
  color: #82a5dd;
}

/* Footer
-----------------------------------------------------------------------------*/
#toTop {
  position: absolute;
  display: block;
  width: 86px;
  height: 86px;
  left: 50%;
  top: -43px;
  margin-left: -43px;
  background: url(../images/up-button.png) no-repeat;
  cursor: pointer;
  z-index: 2;
}

.footer {
  height: 300px;
  position: relative;
  color: #455468;
  line-height: 1.3;
}

.footer a {
  color: #567db3;
}

.f-logo {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 22px;
}

.f-logo img {
  width: 220px;
  /* Aquí defines el tamaño pequeño */
  height: auto;
  /* Esto mantiene la proporción original */
  transition: transform 0.3s ease, filter 0.3s ease;
  /* Transición suave para ambos efectos */
}

.f-logo img:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
  /* Lo hace un poco más brillante */
}

.footer-info {
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  top: 170px;
}

.design {
  text-align: right;
  padding-right: 20px;
  width: 210px;
}

.copyright {
  padding-left: 20px;
  width: 210px;
}

.f-menu li {
  display: inline-block;
  background: none;
  padding: 0px 18px 0px 15px;
  border-right: 1px solid #3d4b5d;
}

.f-menu li a {
  color: #455468;
  text-transform: uppercase;
  font-size: 10px;
}

.f-menu li a:hover {
  color: #fff;
}

.f-menu li:last-child {
  padding: 0px 0px 0px 15px;
  border-right: none;
}

.f-menu li:first-child {
  padding: 0px 18px 0px 0px;
}

.post-title {
  background: rgba(0, 0, 0, 0.24) !important;
  padding: 5px;
  margin-bottom: 5px;
}

.on {
  padding: 5px;
  margin-bottom: 5px;
}

table,
.thread-light {
  width: 100%;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
  border-color: #e6e6e6;
  vertical-align: middle;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
}

.col-md-12 h4 {
  font-size: 16px;
  margin-left: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #324867;
  padding-bottom: 5px;
}

.bordered,
button,
.button,
.buttoncms {
  transition: all 0.3s ease;
  cursor: pointer;
  background: url(../images/button.jpg) center no-repeat;
  background-size: cover;
  border: none;
  color: #c3eaee;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  display: inline-block;
}

.content input {
  width: auto;
}

input:hover,
textarea:hover {
  border: 1px solid #424e63;
}

input,
textarea {
  background-color: #131f2d;
  border: 1px solid #2c3545;
  color: #7d8a9f;
  padding: 5px 10px;
  font-size: 12px;
  position: relative;
  border-radius: 3px;
  transition: all 0.5s ease;
  width: calc(100% - 20px);
}

.content li .fa {
  margin-right: .5rem;
}

.content li {
  display: block;
}

.pagination {
  padding: 0;
  margin: 0 0 20px;
}

.pagination {
  border-radius: 4px;
}

.pager li,
.pagination>li {
  display: inline;
}

.pagination li:first-child a,
.pagination li:first-child a:hover,
.pagination li:last-child a,
.pagination li:last-child a:hover {
  border-radius: 3px !important;
  -webkit-border-radius: 3px !important;
}

.pagination li a:focus,
.pagination li a:hover,
.pagination li.active a,
.pagination li.active a:focus,
.pagination li.active a:hover {
  border: 1px solid #e6e6e6;
  background-color: #f5f5f5;
  color: #696e72;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
}

.pagination li a,
.pagination>.disabled>a,
.pagination>.disabled>a:focus,
.pagination>.disabled>a:hover,
.pagination>.disabled>span,
.pagination>.disabled>span:focus,
.pagination>.disabled>span:hover {
  margin-right: 5px;
  border: 1px solid #e6e6e6;
  background-color: #FFF;
  border-radius: 3px !important;
  -webkit-border-radius: 3px !important;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: 400;
  color: #4a4a4a;
}

.pagination>li>a,
.pagination>li>span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}

ul.pagination li {
  background: none !important;
}

.breadcrumb>li,
.pagination {
  display: inline-block;
}

.templstock {
  background: url(../img/templstock.gif) repeat scroll 0 0 transparent;
  text-shadow: 0 0 8px;
}



/* PAYPAL */
.paypal-gateway-container {
  width: 100%;
}

.paypal-gateway-content {
  background: #fef2da;
  border: 3px solid #f79433;
  padding: 15px;
  overflow: auto;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  font-weight: bold;
}

.paypal-gateway-logo {
  width: 100%;
  height: 100px;
  background: #fff9ec url('../img/paypal-logo-200-68.png') no-repeat center;
  background-size: contain;
  margin-bottom: 15px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.paypal-gateway-conversion-rate {
  margin: 0px auto;
  text-align: center;
  color: #000;
  font-size: 18px;
  padding: 10px 0px;
}

.paypal-gateway-form {
  width: 100%;
  margin: 20px auto;
  text-align: center;
}

.paypal-gateway-form div {
  display: inline-block;
  padding: 0px 10px;
  color: #000;
  font-size: 24px;
}

.paypal-gateway-form input[type=text] {
  width: 60px;
  font-size: 24px;
  border: 3px solid #f79433;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: #f79433;
}

.paypal-gateway-continue {
  margin: 0px auto;
  text-align: center;
}

.paypal-gateway-continue input[type=submit] {
  background: url('../img/paypal-submit.jpg') no-repeat;
  width: 200px;
  height: 40px;
  border: 0px;
}

.module-requirements {
  font-size: 12px;
  margin-top: 20px;
}

/* --- SLIDER REPARADO KINGRELOAD --- */
.custom-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  height: 350px;
  /* Ajusta esta altura si quieres que sea más alto o bajo */
}

.mySlides-king {
  display: none;
  height: 100%;
}

.mySlides-king img {
  width: 100% !important;
  height: 100% !important;
  object-fit: fill;
  /* 'fill' estira la imagen al cuadro, 'cover' la recorta para que no se deforme */
  display: block;
}

.prev-king,
.next-king {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: white;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
  transform: translateY(-50%);
  text-decoration: none;
}

.next-king {
  right: 0;
}

.dot-container-king {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.dot-king {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.dot-king.active {
  background-color: #ff0000;
}

.fade {
  animation: fadeSlider 1.5s;
}

@keyframes fadeSlider {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}


/* Fuente para todo el cuerpo de la página */
body,
p,
td,
span,
a {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
}

/* Fuente épica para Títulos, Botones y Nombres de Servidor */
h1,
h2,
h3,
.title-t,
.create-account-btn span,
.server-name,
.sidebar-title span,
.menu ul li a {
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase;
}

/* Ajuste para que los números en los rankings se vean claros */
.rankings-table td,
.server-stats-info {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
}


/* RESPONSIVE / MOBILE STYLES */
@media (max-width: 1220px) {
  .wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .header {
    height: auto;
    padding-bottom: 20px;
  }

  .container {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .left-sidebar,
  .content,
  .right-sidebar {
    width: 100% !important;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .right-sidebar {
    display: none;
  }

  /* Ocultar sidebar derecho en mobil si se desea, o poner block */
  .content {
    padding: 10px;
    background-size: cover;
    width: 100%;
  }

  .custom-slider {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    margin: 0 auto !important;
  }

  .slider .slides .slide img {
    width: 100%;
    height: auto;
  }

  .logo img {
    max-width: 90% !important;
    height: auto;
  }

  .char,
  .container:before,
  .container:after,
  .content:before,
  .content:after {
    display: none !important;
  }

  .menu li {
    display: block;
    text-align: center;
    margin: 5px 0;
  }

  .menu li a {
    display: inline-block;
  }

  .top-panel {
    position: relative;
    height: auto;
  }

  .top-panel .top-panel-container {
    width: 100%;
  }

  .start-game {
    position: relative;
    bottom: 0;
    margin-top: 20px;
    text-align: center;
  }

  .left-sidebar {
    margin-bottom: 20px;
  }

  .login-block input {
    width: 100%;
    box-sizing: border-box;
  }

  /* Fix slide images */
  .mySlides-king img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Mobile Menu */
  .mobile-menu-btn {
    display: block;
    color: #fff;
    font-size: 20px;
    padding: 12px 20px;
    cursor: pointer;
    text-align: left;
    border: 1px solid #444;
    background: rgba(10, 25, 45, 0.8);
    margin-bottom: 10px;
    border-radius: 4px;
  }

  .menu {
    display: none;
    background: rgba(5, 10, 20, 0.95);
    border: 1px solid #222;
  }

  .menu li {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 10px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff !important;
  }

  .lk-form ul li a {
    font-size: 9px !important;
  }

  /* HIDE ELEMENTS ON MOBILE */
  .custom-slider,
  #module-discord,
  #module-topguilds,
  .sidebar-create-account,
  .start-game {
    display: none !important;
  }

  /* Compact Header for Mobile */
  .header {
    height: 100px !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    background: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  .header::before,
  .header::after {
    display: none !important;
  }

  .logo img {
    max-width: 60% !important;
    /* Smaller logo for compact header */
    margin-top: 10px;
  }

  /* SCROLL & LAYOUT UNIFICATION FIX */
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto !important;
    height: auto !important;
    -webkit-overflow-scrolling: touch !important;
    /* Smooth momentum scroll */
    position: static !important;
    scroll-behavior: smooth;
  }

  .wrapper,
  .container,
  .content,
  .left-sidebar,
  .right-sidebar,
  .panel-general,
  .tabs {
    height: auto !important;
    overflow: visible !important;
    max-height: none !important;
    min-height: 0 !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch !important;
    /* Force smooth scroll in wrappers */
  }

  /* Performance Fix */
  body {
    background-attachment: scroll !important;
  }
}

@media (min-width: 1221px) {
  .mobile-menu-btn {
    display: none;
  }

  .menu {
    display: block !important;
  }
}

/* GLOBAL USERCP GRID ALIGNMENT */
.lk-form ul {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 8px;
}

.lk-form ul li {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48% !important;
  margin-bottom: 2px !important;
  background: rgba(10, 20, 35, 0.7) !important;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
  padding: 12px 6px !important;
  box-sizing: border-box !important;
  text-align: center !important;
  float: none !important;
  min-height: 45px !important;
  transition: all 0.3s ease;
}

.lk-form ul li:hover {
  background: rgba(212, 175, 55, 0.1) !important;
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.lk-form ul li a {
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lk-form ul li img {
  display: block !important;
  margin: 0 auto 8px auto !important;
  width: 24px !important;
  height: auto !important;
  padding: 0 !important;
  float: none !important;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
}

.lk-form ul li:hover img {
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6)) brightness(1.2);
  transform: scale(1.1);
}

/* MY ACCOUNT CHARACTER LIST - NEW ROW LAYOUT FROM IMAGE - v2 UNIQUE CLASSES */
.kng-character-block {
  display: grid !important;
  grid-template-columns: 60px 1fr 60px !important;
  grid-gap: 0 15px !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto 10px auto !important;
  padding: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(20, 30, 45, 0.4) !important;
  border-radius: 4px !important;
  text-align: left !important;
  box-sizing: border-box !important;
  position: relative !important;
  top: 0 !important;
}

.kng-character-image img {
  width: 60px !important;
  height: 60px !important;
  display: block;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.kng-character-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  align-items: flex-start !important;
}

.kng-character-name {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.kng-character-name a {
  color: #fff !important;
  font-weight: bold !important;
  text-align: left !important;
}

.kng-character-details {
  font-size: 11px !important;
  color: #aaa !important;
  margin: 2px 0 !important;
  text-align: left !important;
}

.kng-character-details span {
  color: #ffcc00 !important;
  /* Gold Level */
  font-weight: 800 !important;
}

.kng-character-resets {
  color: #ffaa00 !important;
  /* Orange Resets */
  font-weight: 800 !important;
}

.kng-character-location {
  font-size: 11px !important;
  color: #999 !important;
}

.kng-character-status {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
}

.kng-character-status img {
  width: 24px !important;
  height: auto !important;
}

.kng-character-status span {
  font-size: 11px !important;
  font-weight: bold !important;
  color: #fff !important;
  text-transform: capitalize !important;
}

/* Suppression and Fix for Overlaps */
.custom-char-list-container {
  padding: 5px;
  margin-bottom: 20px;
}

/* Hide remains of base CMS styles to avoid alignment issues */
.myaccount-character-block,
.myaccount-character-block-level,
.myaccount-character-block-location {
  display: none !important;
}



.custom-char-list-container h3 {
  margin: 0 0 8px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
  color: #fff;
  text-align: left;
}

/* =========================================
   MOBILE OPTIMIZATION (max-width: 768px)
   ========================================= */
@media only screen and (max-width: 768px) {

  /* 1. SIMPLIFICACIÓN DE TABLAS (Rankings) */
  .panel-sidebar .table th:nth-child(2),
  .panel-sidebar .table td:nth-child(2),
  /* Flag/Logo */
  .panel-sidebar .table th:nth-child(3),
  .panel-sidebar .table td:nth-child(3) {
    /* Avatar/Class */
    display: none !important;
  }

  /* Ensure only #, Name, Resets/Score shown */
  #module-topplayers .table th:nth-child(2),
  #module-topplayers .table td:nth-child(2),
  #module-topplayers .table th:nth-child(3),
  #module-topplayers .table td:nth-child(3) {
    display: none !important;
  }

  #module-topguilds .table th:nth-child(2),
  #module-topguilds .table td:nth-child(2) {
    display: none !important;
  }

  .panel-sidebar .table td {
    padding: 12px 5px !important;
    font-size: 14px !important;
  }

  /* 2. BOTONES "STACKED" */
  .kng-side-banners {
    flex-direction: column !important;
  }

  .kng-banner-item {
    width: 100% !important;
    display: block !important;
    margin-bottom: 15px !important;
    height: auto !important;
    min-height: 80px !important;
  }

  /* 3. ADAPTACIÓN SLIDER (HERO SECTION) */
  .custom-slider {
    display: none !important;
  }

  .mobile-hero {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: url('../images/header-bg-mobile.jpg') center top no-repeat;
    background-color: #0b111a;
    background-size: cover;
    text-align: center;
    border-bottom: 3px solid #D4AF37;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
  }

  .mobile-hero .mobile-logo {
    max-width: 80% !important;
    height: auto !important;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
  }

  .mobile-hero h1 {
    font-size: 24px !important;
    margin-bottom: 20px;
    color: #D4AF37 !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  }

  /* Layout Fixes - FORCED SUPER SPECIFIC */
  body .sidebar-title,
  body .sidebar-title.flex-center {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    /* Prevent wrapping */
  }

  body .title-t {
    text-align: left !important;
    flex: 1 1 auto !important;
    /* Allow growing but not shrinking too much */
    white-space: nowrap !important;
    /* Keep text on one line */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body .top-title-img,
  body .forum-img {
    margin-left: 10px !important;
    display: block !important;
    flex: 0 0 43px !important;
    /* Fixed width, do not shrink */
    order: 2 !important;
  }

  /* Online Status - SPECIFIC TARGET & OVERRIDE */
  /* Use ID or very specific selector to beat anything else */
  body .server-name span.kng-online-status,
  .kng-online-status {
    color: #00FF00 !important;
    /* Neon Green */
    text-shadow: 0 0 10px #00FF00, 0 0 20px #00FF00 !important;
    font-weight: 800 !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    animation: pulseGreen 1.5s infinite alternate !important;
    display: inline-block !important;
  }

  /* Override any potential font tags */
  font[color="greem"],
  font[color="#D4AF37"] {
    display: none !important;
    /* Hide old tags if they exist */
  }

  @keyframes pulseGreen {
    0% {
      opacity: 1;
      text-shadow: 0 0 10px #00FF00;
    }

    100% {
      opacity: 0.8;
      text-shadow: 0 0 20px #00FF00, 0 0 30px #00FF00;
    }
  }

  .mobile-cta-btn {
    display: inline-block;
    background: #D4AF37;
    color: #000;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    animation: pulseGold 2s infinite;
    text-decoration: none !important;
  }

  @keyframes pulseGold {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
  }

  /* 4. MENÚ DE NAVEGACIÓN */
  .mobile-menu-btn {
    color: #D4AF37 !important;
    font-size: 24px !important;
    padding: 10px 15px !important;
    background: rgba(10, 20, 35, 0.95) !important;
    border: 1px solid #D4AF37 !important;
    border-radius: 4px;
    min-width: 44px;
    min-height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }

  /* Adjust Sidebar positioning for Mobile */
  .left-sidebar,
  .right-sidebar {
    width: 100% !important;
    flex: none !important;
    max-width: 100% !important;
    margin-bottom: 20px;
  }

  .content {
    padding: 0 10px !important;
  }

  .header {
    display: none !important;
  }

  .container {
    flex-direction: column !important;
    padding-top: 60px !important;
    /* Space for fixed menu button */
  }
}

/* Layout Fixes - FIXED ALIGNMENT UPDATE 06 (FINAL) */
body .sidebar-title,
body .sidebar-title.flex-center {
  display: flex !important;
  justify-content: flex-start !important;
  /* Left alignment */
  align-items: center !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}

body .title-t {
  text-align: left !important;
  flex: 0 1 auto !important;
  white-space: nowrap !important;
  overflow: visible !important;
  /* Icons are now naturally first, so text comes second can handle margin */
}

body .top-title-img,
body .forum-img {
  margin: 0 15px 0 0 !important;
  /* Margin RIGHT to space from text */
  display: block !important;
  flex: 0 0 43px !important;
  order: -1 !important;
  /* Force Icon to be FIRST (Left) */
}

/* Online Status - FINAL FORCE NEON */
body .server-name span.kng-online-status,
.kng-online-status {
  color: #00FF00 !important;
  font-size: 14px !important;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.8) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  animation: pulseGreen 1s infinite alternate !important;
  display: inline-block !important;
  padding: 0 5px;
  background: transparent !important;
}

/* SMOKE EFFECT UPDATE 06 (REDUCED) */
.server-x {
  position: relative;
  z-index: 10;
  color: #fff !important;
  text-shadow: 0 0 5px #ff00de, 0 0 10px #ff00de;
  animation: pulseSmokeText 2s infinite alternate;
}

/* Add spacing for the adjacent text */
.server-info {
  margin-left: 15px !important;
}

.server-x::before {
  content: '';
  position: absolute;
  top: -5%;
  /* Tighter fit */
  left: -5%;
  width: 110%;
  /* Reduced from 140% to 110% */
  height: 110%;
  background: radial-gradient(circle, rgba(0, 255, 0, 0.5) 0%, rgba(0, 255, 0, 0) 70%);
  /* Softer opacity */
  filter: blur(6px);
  z-index: -1;
  animation: smokeRotate 3s infinite linear;
  opacity: 0.8;
}

.server-x::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  /* Tighter glow */
  box-shadow: 0 0 15px #00ff00, inset 0 0 10px #00ff00;
  animation: pulseSmoke 2s infinite alternate;
  z-index: -2;
}

@keyframes pulseSmoke {
  0% {
    box-shadow: 0 0 15px #00ff00, inset 0 0 10px #00ff00;
    opacity: 0.6;
  }

  100% {
    box-shadow: 0 0 30px #00ff00, inset 0 0 25px #00ff00;
    opacity: 1;
  }
}

@keyframes smokeRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Override any potential font tags */
font[color="greem"],
font[color="#D4AF37"] {
  display: none !important;
  /* Hide old tags if they exist */
}

@keyframes pulseGreen {
  0% {
    opacity: 1;
    text-shadow: 0 0 8px #00FF00;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 18px #00FF00, 0 0 5px #fff;
    transform: scale(1.05);
  }
}

/* Layout Fixes - FIXED ALIGNMENT UPDATE 07 (HTML SWAP + CSS FORCE) */
body .sidebar-title,
body .sidebar-title.flex-center {
  display: flex !important;
  flex-direction: row !important;
  /* FORCE ROW */
  justify-content: flex-start !important;
  align-items: center !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}

body .title-t {
  text-align: left !important;
  flex: 0 1 auto !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

body .top-title-img,
body .forum-img {
  margin: 0 15px 0 0 !important;
  display: block !important;
  flex: 0 0 43px !important;
  /* order removed - relying on HTML order */
}

/* ============================================================
   GLOBAL RESPONSIVE RESET - FIX FOR NARROW/OFF-CENTER MOBILE
   ============================================================ */
@media (max-width: 1024px) {

  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
  }

  .wrapper,
  .container,
  .header,
  .top-panel,
  .content,
  .footer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
  }

  .top-panel,
  .header,
  .logo {
    text-align: center !important;
  }

  .top-panel-container {
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
  }

  /* Hide heavy absolute decorators that break mobile viewport */
  .container:before,
  .container:after,
  .content:before,
  .content:after,
  .left-sidebar:before,
  .left-sidebar:after,
  .char {
    display: none !important;
  }

  .container {
    flex-direction: column !important;
  }

  .left-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin-bottom: 20px !important;
  }

  .content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 10px 10px !important;
    /* Forces symmetric 10px padding on both sides */
    background-size: cover !important;
    flex: none !important;
    float: none !important;
    margin: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .wrapper {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Fix Logo and Start Game buttons */
  .logo img {
    max-width: 80% !important;
    height: auto !important;
  }

  .start-game a {
    max-width: 90% !important;
    background-size: contain !important;
  }

  /* Slider adjustments */
  .slider {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  .slider .slides .slide img {
    width: 100% !important;
    height: auto !important;
  }

  /* Hide rankings, server info, hero and register button when a module is opened */
  body.module-active .top-players-block,
  body.module-active #module-topguilds,
  body.module-active .server-block,
  body.module-active .forum-block,
  body.module-active .mobile-hero,
  body.module-active .kng-register {
    display: none !important;
  }
}

/* HOME WELCOME SUMMARY SYSTEM */
.kng-home-welcome {
  background: rgba(10, 20, 35, 0.7) !important;
  border: 1px solid rgba(16, 219, 138, 0.3) !important;
  border-radius: 12px !important;
  padding: 30px !important;
  margin-top: 20px !important;
  margin-bottom: 30px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
}

.kng-home-welcome::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, transparent, #10db8a, #00FF00, #10db8a, transparent) !important;
}

.kng-welcome-title {
  font-family: 'Cinzel', serif !important;
  font-size: 28px !important;
  color: #10db8a !important;
  margin-bottom: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 20px rgba(16, 219, 138, 0.4) !important;
}

.kng-welcome-subtitle {
  font-size: 14px !important;
  color: #8fb3d3 !important;
  margin-bottom: 30px !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.kng-welcome-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 15px !important;
  margin-top: 20px !important;
}

.kng-welcome-item {
  background: rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px !important;
  padding: 15px !important;
  transition: all 0.3s ease !important;
}

.kng-welcome-item:hover {
  border-color: #10db8a !important;
  transform: translateY(-5px) !important;
  background: rgba(16, 219, 138, 0.05) !important;
}

.kng-welcome-icon {
  font-size: 24px !important;
  color: #ff9d00 !important;
  margin-bottom: 10px !important;
  display: block !important;
}

.kng-welcome-item h4 {
  font-family: 'Cinzel', serif !important;
  font-size: 13px !important;
  color: #ffffff !important;
  background: #007541 !important;
  /* Verde Esmeralda Base */
  border: 1px solid #10db8a !important;
  padding: 5px 12px !important;
  margin-bottom: 15px !important;
  text-transform: uppercase !important;
  display: inline-block !important;
  border-radius: 4px !important;
  box-shadow: 0 0 12px #10db8a !important;
  /* Borde Luminoso */
  letter-spacing: 1px !important;
}

.kng-welcome-item p {
  font-size: 11px !important;
  color: #7da1c2 !important;
  margin-bottom: 0 !important;
  line-height: 1.5 !important;
}

.kng-welcome-rates {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 15px 30px !important;
  margin-top: 30px !important;
  padding: 20px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.kng-rate-point {
  text-align: center !important;
  min-width: 90px !important;
}

.kng-rate-val {
  display: block !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #ff9d00 !important;
  text-shadow: 0 0 10px rgba(255, 157, 0, 0.3) !important;
}

.kng-rate-lbl {
  font-size: 9px !important;
  color: #657793 !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

@media (max-width: 768px) {
  .kng-welcome-grid {
    grid-template-columns: 1fr !important;
  }
}