@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fredoka+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Expletus+Sans:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@500;600;700&display=swap");

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

body {
  background-color: #1a1a2e;
  font-family: 'Expletus Sans';
}

body, html {
  overflow-x: hidden;
}

span {
  -webkit-transition: .5s;
  transition: .5s;
}

img {
  -webkit-transition: .5s;
  transition: .5s;
}

a {
  -webkit-transition: .5s;
  transition: .5s;
  text-decoration: none;
}

li {
  list-style: none;
  -webkit-transition: .5s;
  transition: .5s;
}

div {
  -webkit-transition: .5s;
  transition: .5s;
}

i {
  -webkit-transition: .5s;
  transition: .5s;
}

h1 {
  font-size: 65px;
  letter-spacing: -3px;
  line-height: 72px;
  color: white;
  text-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

@-webkit-keyframes cloud {
  0% {
    left: -200px;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 1920px;
    opacity: 1;
  }
}

@keyframes cloud {
  0% {
    left: -200px;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 1920px;
    opacity: 1;
  }
}

@-webkit-keyframes cloud2 {
  0% {
    right: -200px;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    right: 1920px;
    opacity: 1;
  }
}

@keyframes cloud2 {
  0% {
    right: -200px;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    right: 1920px;
    opacity: 1;
  }
}

@-webkit-keyframes scroll {
  0% {
    top: 5px;
  }
  50% {
    top: 25px;
  }
  100% {
    top: 5px;
  }
}

@keyframes scroll {
  0% {
    top: 5px;
  }
  50% {
    top: 25px;
  }
  100% {
    top: 5px;
  }
}

.inner {
  background: url(../img/rp1.jpg) top/cover fixed no-repeat;
  padding-top: 200px;
  padding-bottom: 150px;
  min-height: 100vh;
  width: 100%;
}

.inner::before {
  content: '';
  width: 100%;
  height: 100%;
  position: fixed;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(36, 52, 107, 0.7)), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(rgba(36, 52, 107, 0.7), rgba(255, 255, 255, 0));
  top: 0;
}

.inner .logo {
  text-align: center;
  position: relative;
  z-index: 10;
}

.inner .logo img {
  width: 300px;
}

.inner .container {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 60px 0px 60px 0px;
  -webkit-box-shadow: 0px 70px 70px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 70px 70px rgba(0, 0, 0, 0.2);
  margin-top: 80px;
  -webkit-backdrop-filter: blur(50px);
          backdrop-filter: blur(50px);
}

.inner .container .wrapper {
  overflow: hidden;
  padding: 70px;
  border-radius: 50px 0px 50px 0px;
  border: 1px solid rgba(117, 68, 182, 0.205);
}

.inner .container .wrapper .inner--title {
  font-size: 45px;
  color: #7544b6;
  font-weight: 700;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 2px solid #7544b6;
}

.inner .container .wrapper h1 {
  color: #2b232e;
  text-shadow: none;
  font-size: 30px;
  letter-spacing: 0;
  line-height: 35px;
  margin-bottom: 30px;
}

.inner .container .wrapper p {
  color: gray;
  font-size: 16px;
  margin-bottom: 30px;
}

.inner .container .wrapper img {
  max-width: 800px;
  border-radius: 30px;
}

header {
  text-align: center;
  padding-top: 150px;
  margin: 0 auto;
  position: relative;
}

header .header--content {
  position: relative;
  z-index: 50;
}

header .header--content .header--scroll {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-top: 30px;
  width: 20px;
  height: 40px;
  border-radius: 40px;
  border: 2px solid rgba(255, 255, 255, 0.575);
  position: relative;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

header .header--content h1 {
  font-size: 40px;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header .header--content .header--scroll p {
  position: absolute;
  bottom: -28px;
  white-space: nowrap;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 4px;
  padding-left: 2px;
}

header .header--content .header--scroll span {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 3px;
  height: 7px;
  background-color: white;
  position: absolute;
  top: 10px;
  -webkit-animation: scroll 1.5s infinite linear;
          animation: scroll 1.5s infinite linear;
}

header .header--news {
  position: relative;
  z-index: 100;
  margin-top: 330px;
}

header .header--news--more {
  width: 100%;
  color: #1A2F4F;
  margin-top: 50px;
  -webkit-box-shadow: 0px 0px 0px black;
          box-shadow: 0px 0px 0px black;
  padding: 0;
  border: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  bottom: 120px;
}

header .header--news--more:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

header .header--news--more:hover span {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

header .header--news--more span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 30px;
  height: 30px;
  background-color: #1e4f8f;
  color: white;
  border-radius: 100%;
  margin-right: 18px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

header .header--news--title {
  color: #5c395c;
  font-size: 30px;
  font-weight: 700;
  text-align: left;
}

header .header--news--list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  top: -220px;
}

header .header--news--list:hover > :not(:hover) {
  opacity: 0.5;
}

header .header--news--list a {
  overflow: hidden;
  width: 23%;
  border-radius: 30px 0px 30px 0px;
  border: 1px solid rgba(102, 78, 124, 0.3);
  -webkit-box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.155);
          box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.155);
  padding: 30px;
  background: white;
}

header .header--news--list a:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

header .header--news--list a:hover .news--img img {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

header .header--news--list a .news--text {
  text-align: center;
  padding-top: 30px;
  display: block;
}

header .header--news--list a .news--text span {
  color: gray;
  font-size: 13px;
  text-align: left;
}

header .header--news--list a .news--text p {
  color: rgba(61, 56, 66, 0.822);
  font-weight: 700;
  font-size: 18px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  overflow: hidden;
  line-clamp: 1;
  width: 100%;
}

header .header--news--list a .news--img {
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 20px 0px 20px 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  box-shadow: 10px 10px 0px rgba(18, 31, 52, 0.3);
  position: relative;
}

header .header--news--list a .news--img::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(18, 31, 52, 0.9));
}

header .header--news--list a .news--img::after {
  content: '';
  width: 100%;
  height: 50px;
  bottom: 0;
  z-index: 39;
  position: absolute;
  background: rgba(18, 31, 52, 0.9);

}

header .header--news--list a .news--img h1 {
  position: absolute;
  z-index: 40;
  bottom: 25px;
  font-size: 15px;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 0;
  color: #D1D6DB;
}

header .header--news--list a .news--img img {
  width: 100%;
}

header .header--news .c1 {
  overflow: hidden;
  padding-top: 0px;
  top: -280px;
  height: 300px;
  -webkit-filter: blur(0px);
          filter: blur(0px);
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

header .header--news .cloud {
  position: absolute;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

header .header--vd {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  opacity: 0.3;
}

header .header--vd video {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

header .header--buttons {
  margin-top: 30px;
}

header .header--buttons a:nth-child(1) {
  background: linear-gradient(180deg, #1a3f5f 0%, #0e2438 50%, #06101c 100%);
  border: 1px solid #C7C7C7;
  border-radius: 10px;
  padding: 12px 32px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  display: inline-block;
  box-shadow: 
    0 0 15px rgba(93, 216, 232, 0.35),
    inset 0 1px 1px rgba(93, 216, 232, 0.15),
    0px 18px 22px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
  margin-right: 30px;
}

header .header--buttons a:nth-child(2) {
  background: linear-gradient(180deg, #E57C2E 0%, #D16620 50%, #B34D0F 100%);
  border: 1px solid #C7C7C7;
  border-radius: 10px;
  padding: 12px 32px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  display: inline-block;
  box-shadow: 
    0 0 15px rgba(93, 216, 232, 0.35),
    inset 0 1px 1px rgba(93, 216, 232, 0.15),
    0px 18px 22px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

header .header--buttons a:nth-child(2):hover {
  border-color: #F2C94C;
  box-shadow: 
    0 0 25px rgba(217, 114, 53, 0.6),
    inset 0 1px 1px rgba(224, 136, 85, 0.3),
    0px 20px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

header .header--buttons a:nth-child(2):active {
  transform: translateY(0px);
  box-shadow: 
    0 0 12px rgba(217, 114, 53, 0.3),
    inset 0 1px 1px rgba(224, 136, 85, 0.15),
    0px 15px 18px rgba(0, 0, 0, 0.3);
}

header .header--buttons a {
  min-width: 180px;
  text-align: center;
}

header .header--buttons a:hover {
  border-color: #7de4f0;
  box-shadow: 
    0 0 25px rgba(93, 216, 232, 0.5),
    inset 0 1px 1px rgba(93, 216, 232, 0.25),
    0px 20px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

header .header--buttons a:active {
  transform: translateY(0px);
  box-shadow: 
    0 0 12px rgba(93, 216, 232, 0.3),
    inset 0 1px 1px rgba(93, 216, 232, 0.15),
    0px 15px 18px rgba(0, 0, 0, 0.3);
}

header .header--buttons a:hover span {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
  text-shadow: 0px 0px 20px white;
}

header h1 {
  position: relative;
  z-index: 10;
}

header .logo {
  margin-bottom: 10px;
}

header .logo img {
  width: 30%;
  opacity: 0.7;
}

.mobile {
  display: none;
}

nav {
    position: fixed;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-height: 64px;
    overflow: hidden;
    -webkit-transition: .5s;
    transition: .5s;
    z-index: 200;
    background-color: rgba(18, 31, 52, 0.89);
    color: white;
}

nav.scrolled {
    background-color: rgba(18, 31, 52, 0.89);
}

nav.scrolled::after {
    display: none;
}

/* nav.active SOLO afecta al menú móvil (cuando se toca la hamburguesa).
   En desktop ignoramos esta clase para que el hover no expanda toda la franja. */
@media (max-width: 769px) {
    nav.active {
        max-height: 1000px;
        background-color: rgba(18, 31, 52, 0.75);
    }

    nav.active::after {
        display: block !important;
    }

    nav.active a {
        color: white;
    }
}

/* ========== SUB-MENÚS FLOTANTES ==========
   Cada submenú aparece solo debajo de su item padre,
   sin expandir la franja completa de la nav.
   ========================================== */
nav .nav--items .nav--items--main .nav--items--sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 140px;
    padding: 0;
    max-height: 0;
    opacity: 0;
    display: block;
    visibility: hidden;
    overflow: hidden;
    background-color: rgba(18, 31, 52, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
    z-index: 201;
    transition: max-height 0.3s ease-out,
                opacity 0.25s ease-out,
                padding 0.3s ease-out,
                visibility 0s linear 0.3s;
}

nav .nav--items .nav--items--main:hover .nav--items--sub {
    max-height: 500px;
    padding: 12px 0;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease-out,
                opacity 0.25s ease-out,
                padding 0.3s ease-out,
                visibility 0s linear 0s;
}

/* Permitir que los submenús "salgan" del nav (solo en desktop) */
@media (min-width: 770px) {
    nav {
        overflow: visible !important;
    }
}

nav .nav--items .nav--items--main .nav--items--sub li {
    width: 100%;
    padding: 8px 16px;
    text-align: center;
}

nav.active .nav--items .nav--items--main .nav--items--sub li {
    margin-bottom: 0;
}

/* La franja transparente global ya NO se aplica al hacer hover.
   Solo se mantiene `nav.active` para el menú móvil (clic en hamburguesa). */

nav::after {
    content: '';
    position: absolute;
    top: 63px;
    width: 100%;
    height: 1px;
    background-color: white;
    opacity: 0.1;
    -webkit-transition: .5s;
    transition: .5s;
}

nav .nav--buttons {
    height: 64px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 20%;
    gap: 10px;
    padding-right: 20px;
}

nav .nav--buttons a {
    height: 50px;
    width: 150px;
    padding: 0px 20px;
    border-radius: 10px;
    
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    
    position: relative;
    transition: all 0.3s ease;
    margin-right: 0 !important;
}

nav .nav--buttons a:nth-child(1) {
    background: linear-gradient(180deg, #1a3f5f 0%, #0e2438 50%, #06101c 100%);
    border: 1px solid #C7C7C7;
    box-shadow: 
        0 0 15px rgba(93, 216, 232, 0.35),
        inset 0 1px 1px rgba(93, 216, 232, 0.15),
        0px 10px 15px rgba(0, 0, 0, 0.35);
}

nav .nav--buttons a:nth-child(1):hover {
    border-color: #7de4f0;
    box-shadow: 
        0 0 25px rgba(93, 216, 232, 0.5),
        inset 0 1px 1px rgba(93, 216, 232, 0.25),
        0px 12px 18px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

nav .nav--buttons a:nth-child(2) {
    background: linear-gradient(180deg, #E57C2E 0%, #D16620 50%, #B34D0F 100%);
    border: 1px solid #C7C7C7;
    box-shadow: 
        0 0 15px rgba(93, 216, 232, 0.35),
        inset 0 1px 1px rgba(93, 216, 232, 0.15),
        0px 10px 15px rgba(0, 0, 0, 0.35);
}

nav .nav--buttons a:nth-child(2):hover {
    border-color: #F2C94C;
    box-shadow: 
        0 0 25px rgba(217, 114, 53, 0.6),
        inset 0 1px 1px rgba(224, 136, 85, 0.3),
        0px 12px 18px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

nav .nav--buttons a:active {
    transform: translateY(0px);
}

nav .nav--buttons a i {
    margin-right: 8px;
}

nav .nav--buttons a::before {
    display: none;
}
nav .nav--icon {
    width: 20%;
    height: 64px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    padding-left: 40px;
}

nav .nav--icon img {
    width: 200px;
    border-radius: 0%;
}

nav a {
    color: white;
}

nav .nav--items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: .5s;
    transition: .5s;
    width: auto;
}

nav .nav--items .nav--mobile--close {
    display: none;
}

nav .nav--items .logo-mobile {
    display: none;
}

nav .nav--items:hover > :not(:hover) {
    opacity: 0.3;
}

nav .nav--items .nav--items--main {
    width: 120px;
    position: relative;
}

nav .nav--items .nav--items--main:hover .nav--items--main--link span::before {
    width: 100%;
}

nav .nav--items .nav--items--main:hover:not(:last-child)::before {
    opacity: 0.4;
    -webkit-filter: blur(1px);
    filter: blur(1px);
}

nav .nav--items .nav--items--main:not(:last-child)::before {
    content: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.445);
    width: 2px;
    height: 10px;
    right: 0;
    top: 27px;
}

nav .nav--items .nav--items--main--link {
    height: 64px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: .5s;
    transition: .5s;
    width: 100%;
    font-family: 'Space+Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    cursor: pointer;
}

nav .nav--items .nav--items--main--link i {
    display: none;
}

nav .nav--items .nav--items--main--link span {
    position: relative;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

nav .nav--items .nav--items--main--link span::before {
    content: '';
    width: 0%;
    height: 2px;
    background-color: #E0B35A;
    position: absolute;
    bottom: 0px;
    -webkit-transition: .5s;
    transition: .5s;
}

nav .nav--items .nav--items--main .nav--items--sub {
    text-align: center;
}

nav .nav--items .nav--items--main .nav--items--sub li {
    width: 100%;
}

nav .nav--items .nav--items--main .nav--items--sub li a {
    text-align: center;
    color: white;
    font-family: 'Space+Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    position: relative;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

nav .nav--items .nav--items--main .nav--items--sub li a::before {
    content: '';
    width: 0%;
    height: 2px;
    background-color: #E0B35A;
    position: absolute;
    bottom: -5px;
    -webkit-transition: .5s;
    transition: .5s;
}

nav .nav--items .nav--items--main .nav--items--sub li a:hover {
    color: white;
}

nav .nav--items .nav--items--main .nav--items--sub li a:hover::before {
    width: 100%;
}

.game {
  position: relative;
  z-index: 60;
  top: -100px;
  background: url(../img/back_main.jpg) top/cover fixed no-repeat;
  text-align: center;
  padding: 220px 0px 200px 0px;
  margin-bottom: -180px;
}

.game::after {
  content: '';
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.205)), to(rgba(0, 0, 0, 0.8)));
  background: linear-gradient(rgba(255, 255, 255, 0.205), rgba(0, 0, 0, 0.8));
  position: absolute;
  top: 0;
  left: 0;
}

.game .cloud {
  position: absolute;
  -webkit-transform: rotate(180deg) scale(1.2);
          transform: rotate(180deg) scale(1.2);
  top: -100px;
  z-index: 55;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
}

.game--welcome {
  padding-bottom: 120px;
  margin-bottom: 120px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.534);
}

.game--welcome--rates {
  position: relative;
  z-index: 60;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 50px;
}

.game--welcome--rates .rate {
  width: 16%;
  border-radius: 30px 0px 30px 0px;
  background-color: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(30px);
          backdrop-filter: blur(30px);
  padding: 14px;
  height: 160px;
  -webkit-box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.2);
}

.game--welcome--rates .rate div {
  border-radius: 20px 0px 20px 0px;
  background: linear-gradient(-150deg, white, rgba(255, 255, 255, 0.021));
  text-align: center;
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.game--welcome--rates .rate div span {
  color: black;
}

.game--welcome--rates .rate div h1 {
font-size: 55px;
  text-shadow: 0px 0px 7px #000000;
  color: #F2C94C;
}

.game--welcome--text {
  position: relative;
}

.game--welcome--text::before {
  content: '';
  width: 100%;
  height: 200px;
  background-color: rgba(2, 1, 2, 0.89);
  -webkit-filter: blur(152px);
          filter: blur(152px);
  position: absolute;
  left: 0;
  top: 150px;
}

.game--welcome--text h1 {
  position: relative;
  z-index: 50;
}

.game--welcome--text p {
  color: rgba(255, 255, 255, 0.9);
  width: 100%;
  margin: 0 auto;
  margin-top: 50px;
  font-size: 25px;
  line-height: 50px;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.582);
  position: relative;
  z-index: 50;
}

.game--content--swiper {
  height: 600px;
  position: relative;
  width: 80%;
  margin: 0 auto;
  margin-top: 120px;
}

.game--content--swiper .swiper-button-prev {
  left: -80px;
}

.game--content--swiper .swiper-button {
  width: 60px;
  height: 60px;
  background-color: rgba(250, 250, 250, 0.9);
  border-radius: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #c04cb1;
  font-size: 26px;
}

.game--content--swiper .swiper-button-next {
  right: -80px;
}

.game--content--swiper--feature {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 30px 0px 30px 0px;
  height: 100%;
  -webkit-backdrop-filter: blur(30px);
          backdrop-filter: blur(30px);
  -webkit-box-shadow: 0px 30px 70px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 30px 70px rgba(0, 0, 0, 0.3);
}

.game--content--swiper--feature div {
  width: 100%;
  height: 100%;
  border-radius: 20px 0px 20px 0px;
  position: relative;
}

.game--content--swiper--feature div div {
  width: 100%;
  height: 100%;
  position: relative;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.85)));
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.85));
}

.game--content--swiper--feature div div div {
  position: absolute;
  bottom: 80px;
  left: 80px;
  right: 80px;
  height: auto;
  width: auto;
  text-align: left;
  z-index: 100;
  background: none;
}

.game--content--swiper--feature div div div h1 {
  font-size: 50px;
  line-height: 55px;
}

.game--content--swiper--feature div div div a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 200px;
  height: 50px;
  color: white;
  border-radius: 20px 0px 20px 0px;
  background-color: #c15fdf;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 30px;
  font-size: 18px;
}

.container {
  width: 85%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.banner-area {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
                    url(../img/back.jpg);
  background-position: center;
  background-size: cover;
}

footer {
  text-align: center;
  background-color: #121F34;
  position: fixed;
  bottom: -38px;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  padding: 5px;
  font-family: 'Space+Grotesk', sans-serif;
}

/*
footer .footer--social:hover > :not(:hover) {
  opacity: 0.4;
}
*/

footer .footer--social a {
  color: white;
  margin: 0px 30px 0px 30px;
  font-size: 15px;
  font-family: 'Space+Grotesk', sans-serif;
  letter-spacing: 0.5px;
}


footer .footer--content .footer--link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

footer .footer--content .footer--link:hover > :not(:hover) {
  opacity: 0.4;
}

footer .footer--content .footer--link a {
  color: black;
  font-weight: 700;
  font-size: 18px;
  margin: 0px 20px 0px 20px;
}

footer .footer--social {
  height: 25px;
  background: linear-gradient(0deg, #0A1420, #121F34);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.151);
          box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.151);
  border-radius: 40px 40px 0px 0px;
  margin-top: -20px;
}

footer .footer--content {
  padding: 5px 10px 15px 0px;
}

footer .footer--content p {
  font-size: 10px;
  width: 70%;
  margin: 20px auto;
  color: gray;
  margin-top: 0px;
}

.section-header{text-align:center;margin-bottom:40px}.section-header h3{font-size:2em;font-weight:bold;margin-bottom:10px;color:#333}.section-header p{color:#666;font-size:1em}.section-bg{background:#F5F8FD;padding:40px 0}.card{border:none;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,0.1);background:#fff;text-align:center;transition:transform 0.3s ease,box-shadow 0.3s ease;transform-origin:center center}.card:hover{transform:scale(1.08);box-shadow:0 6px 25px rgba(0,0,0,0.18)}.card-header{background:#6A418A;color:#fff;padding:20px 0;border-radius:10px 10px 0 0}.card-header h3{border:none!important; font-size: 14px;}.card-title{font-size:1.3em;font-weight:bold;color:#333;margin-bottom:15px}.list-group{list-style:none;padding:0;margin:0 0 15px 0}.list-group-item{padding:10px;font-size:0.95em;color:#444;text-align:center;border:none!important}.btn{display:inline-block;background:#0069d9;color:#fff;padding:10px 25px;border-radius:25px;text-decoration:none;font-weight:bold;transition:background 0.3s ease}.btn:hover{background:#004a9f}.text-green{color:#006400}.text-red{color:#d50000}.paypal-button-container{min-height:50px;display:flex;justify-content:center;align-items:center;margin:15px 0}.paypal-buttons{min-width:200px!important}

.inner{padding-top:200px}
div.card-header h3,.card .card-header h3{color:#ffffff!important;text-shadow:none!important}
.donate-intro{text-align:center;max-width:700px;margin:0 auto}.alert-success{text-align:center}.important-donate{text-align:center;font-weight:bold}.donate-row{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}.donate-col{flex-basis:calc(30% - 10px);min-width:180px}.card-block-donate{padding:20px;text-align:center;font-size: 16px;}

@media (min-width: 1921px) {
  header .header--vd video {
    width: 100%;
  }
}

.announcement-page {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 2rem 0;
}

.announcement-page::before {
    content: '';
    width: 100%;
    height: 100%;
    position: fixed;
    background: url('../img/rp1.jpg') center/cover no-repeat fixed;
    top: 0;
    left: 0;
    z-index: -2;
}

.announcement-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(36, 52, 107, 0.7), rgba(26, 26, 46, 0.85));
    z-index: 1;
}

.announcement-content {
    background: transparent;
    padding: 2rem;
    margin: -2rem auto 2rem auto;
    max-width: 1000px;
    color: white;
}

.announcement-content h1 {
    text-align: center;
    color: white;
    font-size: 56px;
    margin-bottom: 0;
    text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
}

.announcement-content h2 {
    color: white;
    margin-top: 20px;
    margin-bottom: 10px;
}

.announcement-content p {
    text-align: center;
    color: white;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 18px;
}

.announcement-content a {
    color: #00FFFF;
    text-decoration: underline;
}

.announcement-content a:hover {
    color: #a8d8ff;
}

/* ============================================ */
/* ====== SELECTOR DE IDIOMA - GOOGLE TR ====== */
/* ============================================ */

.lang-selector {
    position: relative;
    margin-right: 15px;
    height: 50px;
    display: flex;
    align-items: center;
}

nav .nav--buttons .lang-selector .lang-toggle,
.lang-selector .lang-toggle {
    height: 50px;
    padding: 0 8px;
    background-color: transparent !important;
    border: none !important;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    position: relative;
    transition: opacity 0.2s;
    overflow: visible;
    outline: none !important;
    box-shadow: none !important;
}

/* Quitar el borde decorativo del botón de idioma */
nav .nav--buttons .lang-selector .lang-toggle::before,
.lang-selector .lang-toggle::before {
    display: none !important;
    content: none !important;
}

nav .nav--buttons .lang-selector .lang-toggle:hover,
.lang-selector .lang-toggle:hover {
    background-color: transparent !important;
    opacity: 0.8;
}

nav .nav--buttons .lang-selector .lang-toggle .lang-arrow,
.lang-selector .lang-toggle .lang-arrow {
    font-size: 11px;
    margin-left: 2px;
    color: white;
}

/* Dropdown flotante */
.lang-dropdown {
    position: fixed;
    top: 70px;
    right: 20px;
    background-color: rgba(24, 42, 68, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 999999;
    overflow: hidden;
    pointer-events: none;
    padding: 6px 0;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Opciones del dropdown */
nav .nav--buttons .lang-dropdown .lang-option,
.lang-dropdown .lang-option {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 16px !important;
    color: white !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: background-color 0.2s !important;
    background-color: transparent !important;
    background: transparent !important;
    border-radius: 0 !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    justify-content: flex-start !important;
    border: none !important;
}

nav .nav--buttons .lang-dropdown .lang-option:hover,
.lang-dropdown .lang-option:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.lang-dropdown .lang-option::before {
    display: none !important;
    content: none !important;
}

.lang-flag {
    width: 22px;
    height: 16px;
    border-radius: 2px;
    flex-shrink: 0;
    object-fit: cover;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Ocultar TODOS los elementos visuales de Google Translate ===== */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.goog-logo-link,
.goog-te-gadget span,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight,
div#goog-gt-,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
[id^="goog-gt-"],
[class^="VIpgJd"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

body {
    top: 0px !important;
    position: static !important;
}

.skiptranslate {
    display: none !important;
}

font[style*="background-color"] {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Ocultar el spinner / círculo girando de Google Translate */
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q,
.VIpgJd-suEOdc,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

body {
    top: 0px !important;
}

.skiptranslate {
    display: none !important;
}

font[style*="background-color"] {
    background-color: transparent !important;
    box-shadow: none !important;
}

nav .nav--buttons {
    width: auto !important;
    gap: 10px;
}

nav .nav--buttons a {
    white-space: nowrap;
}

/* ===== Bandera dentro del botón principal ===== */
.lang-flag-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 18px;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.lang-flag-current svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== Arreglo: Google Translate envuelve textos en <font> y rompe estilos ===== */
/* ===== Botones del nav: INGRESAR (transparente con borde) y CREAR CUENTA (naranja) ===== */

/* ================================================ */
/* === Botones del NAV: ESTILO ORIGINAL EXACTO === */
/* ================================================ */

nav .nav--buttons > a {
    height: 40px !important;
    width: 130px !important;
    padding: 0px 16px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-align: center !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    margin-right: 0 !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

/* Quitar el ::before (en el original está oculto) */
nav .nav--buttons > a::before {
    display: none !important;
    content: none !important;
}

/* PRIMER botón: INGRESAR (azul oscuro con glow cyan) */
nav .nav--buttons > a:first-of-type {
    background: linear-gradient(180deg, #1a3f5f 0%, #0e2438 50%, #06101c 100%) !important;
    border: 1px solid #C7C7C7 !important;
    box-shadow: 
        0 0 15px rgba(93, 216, 232, 0.35),
        inset 0 1px 1px rgba(93, 216, 232, 0.15),
        0px 10px 15px rgba(0, 0, 0, 0.35) !important;
    -webkit-box-shadow:
        0 0 15px rgba(93, 216, 232, 0.35),
        inset 0 1px 1px rgba(93, 216, 232, 0.15),
        0px 10px 15px rgba(0, 0, 0, 0.35) !important;
}

nav .nav--buttons > a:first-of-type:hover {
    border-color: #7de4f0 !important;
    box-shadow: 
        0 0 25px rgba(93, 216, 232, 0.5),
        inset 0 1px 1px rgba(93, 216, 232, 0.25),
        0px 12px 18px rgba(0, 0, 0, 0.4) !important;
    -webkit-box-shadow: 
        0 0 25px rgba(93, 216, 232, 0.5),
        inset 0 1px 1px rgba(93, 216, 232, 0.25),
        0px 12px 18px rgba(0, 0, 0, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* SEGUNDO botón: CREAR CUENTA (naranja con glow cyan) */
nav .nav--buttons > a:last-of-type {
    background: linear-gradient(180deg, #E57C2E 0%, #D16620 50%, #B34D0F 100%) !important;
    border: 1px solid #C7C7C7 !important;
    box-shadow: 
        0 0 15px rgba(93, 216, 232, 0.35),
        inset 0 1px 1px rgba(93, 216, 232, 0.15),
        0px 10px 15px rgba(0, 0, 0, 0.35) !important;
    -webkit-box-shadow: 
        0 0 15px rgba(93, 216, 232, 0.35),
        inset 0 1px 1px rgba(93, 216, 232, 0.15),
        0px 10px 15px rgba(0, 0, 0, 0.35) !important;
}

nav .nav--buttons > a:last-of-type:hover {
    border-color: #F2C94C !important;
    box-shadow: 
        0 0 25px rgba(217, 114, 53, 0.6),
        inset 0 1px 1px rgba(224, 136, 85, 0.3),
        0px 12px 18px rgba(0, 0, 0, 0.4) !important;
    -webkit-box-shadow: 
        0 0 25px rgba(217, 114, 53, 0.6),
        inset 0 1px 1px rgba(224, 136, 85, 0.3),
        0px 12px 18px rgba(0, 0, 0, 0.4) !important;
    transform: translateY(-2px) !important;
}

nav .nav--buttons > a:active {
    transform: translateY(0px) !important;
}

nav .nav--buttons > a i {
    margin-right: 8px !important;
}

/* Arreglo: Google Translate envuelve textos en <font> y rompe estilos */
nav .nav--buttons a font,
nav .nav--buttons a font font {
    color: inherit !important;
    background: transparent !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    text-decoration: none !important;
}

/* =============================================== */
/* ====== AJUSTES MÓVIL (≤769px) - FINAL ========= */
/* =============================================== */

@media (max-width: 769px) {
    
    /* === NAV: Header superior === */
    nav {
        height: 70px !important;
        max-height: 70px !important;
        padding: 0 8px !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    nav.scrolled {
        max-height: 70px !important;
    }
    
    /* Hamburger a la izquierda */
    .mobile {
        width: 50px !important;
        height: 50px !important;
        font-size: 22px !important;
        order: 1 !important;
        flex-shrink: 0 !important;
    }
    
    /* === Botones INGRESAR / CREAR CUENTA en móvil (al medio) === */
    nav .nav--buttons {
        order: 2 !important;
        height: 70px !important;
        width: auto !important;
        gap: 8px !important;
        padding: 0 !important;
        margin: 0 auto !important;
        flex: 1 !important;
        justify-content: center !important;
    }
    
    nav .nav--buttons > a,
    nav .nav--buttons > a:first-of-type,
    nav .nav--buttons > a:last-of-type {
        height: 38px !important;
        width: auto !important;
        min-width: 95px !important;
        padding: 0 14px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        margin: 0 !important;
        border-radius: 8px !important;
        text-shadow: none !important;
        letter-spacing: 0.5px !important;
    }
    
    /* IMPORTANTE: que el span con el texto SÍ se muestre en móvil */
    nav .nav--buttons > a span {
        display: inline-block !important;
    }
    
    /* INGRESAR: azul */
    nav .nav--buttons > a:first-of-type {
        background: linear-gradient(180deg, #1a3f5f, #06101c) !important;
        border: 1px solid rgba(199, 199, 199, 0.4) !important;
        box-shadow: 0 0 8px rgba(93, 216, 232, 0.25) !important;
        -webkit-box-shadow: 0 0 8px rgba(93, 216, 232, 0.25) !important;
    }
    
    /* CREAR CUENTA: naranja */
    nav .nav--buttons > a:last-of-type {
        background: linear-gradient(180deg, #E57C2E, #B34D0F) !important;
        border: 1px solid rgba(199, 199, 199, 0.4) !important;
        box-shadow: 0 0 8px rgba(93, 216, 232, 0.25) !important;
        -webkit-box-shadow: 0 0 8px rgba(93, 216, 232, 0.25) !important;
    }
    
    nav .nav--buttons > a:hover {
        transform: none !important;
    }
    
    /* === Selector de idioma a la DERECHA === */
    .lang-selector {
        order: 3 !important;
        margin: 0 !important;
        height: 50px !important;
        flex-shrink: 0 !important;
    }
    
    .lang-toggle {
        padding: 0 8px !important;
    }
    
    .lang-flag-current {
        width: 26px !important;
        height: 19px !important;
    }
    
    .lang-arrow {
        font-size: 11px !important;
    }
    
    /* === Dropdown del idioma: con texto VISIBLE === */
    .lang-dropdown {
        right: 8px !important;
        left: auto !important;
        top: 65px !important;
        min-width: 160px !important;
        background-color: rgba(24, 42, 68, 0.98) !important;
    }
    
    .lang-dropdown .lang-option {
        padding: 14px 16px !important;
        color: white !important;
    }
    
    .lang-dropdown .lang-option span {
        display: inline-block !important;
        color: white !important;
        font-size: 14px !important;
    }
    
    /* === HEADER / Banner principal === */
    header {
        padding-top: 100px !important;
        text-align: center !important;
        min-height: 100vh !important;
        position: relative !important;
    }
    
    /* === Asegurar que el video se vea en mobile === */
    .header--vd {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        z-index: 0 !important;
    }
    
    .header--vd video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        opacity: 1 !important;
    }
    
    /* Asegurar que el contenido del header esté sobre el video */
    .header--content {
        position: relative !important;
        z-index: 2 !important;
    }
    
    header .logo {
        text-align: center !important;
        margin: 0 auto 25px !important;
    }
    
    header .logo img {
        width: 220px !important;
        max-width: 70% !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    header h1 {
        font-size: 30px !important;
        line-height: 38px !important;
        padding: 0 25px !important;
        text-align: center !important;
        margin: 20px 0 !important;
    }
    
    header h2 {
        font-size: 20px !important;
        padding: 0 25px !important;
        text-align: center !important;
    }
    
    /* === Botones del banner: "Descargar Juego" / "Registrarse" === */
    header .header--buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 18px !important;
        margin-top: 35px !important;
        padding: 0 20px !important;
    }
    
    header .header--buttons a {
        width: 100% !important;
        max-width: 320px !important;
        height: 60px !important;
        font-size: 18px !important;
        margin: 0 !important;
    }
    
    /* === Bot DISCORD flotante (clase real: .floating-image) === */
    /* Se mantiene en posición fixed flotando, no en el footer */
    .floating-image {
        position: fixed !important;
        bottom: 20px !important;
        right: 15px !important;
        z-index: 9999 !important;
    }
    
    .floating-image img {
        width: 90px !important;
        height: auto !important;
    }

/* === NAV: fondo sólido en móvil (no transparente) === */
nav,
nav.scrolled {
    background-color: #1a3f5f !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    z-index: 1000 !important;
}

/* === Páginas internas: padding superior para no quedar bajo el nav === */
/* La sección banner-area de las páginas internas */
.banner-area {
    padding-top: 90px !important;
    min-height: auto !important;
}

.flux-content {
    padding: 15px !important;
    margin: 15px 0 !important;
    border-radius: 15px !important;
    overflow-x: auto !important;
}

/* === Container principal con padding === */
.container {
    padding: 0 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* === Tablas: que no se desborden === */
/* === Tablas: scroll horizontal sin partir palabras === */
table {
    width: auto !important;
    min-width: 600px !important;
    max-width: none !important;
    table-layout: auto !important;
    font-size: 13px !important;
    border-collapse: collapse !important;
}

table td,
table th {
    padding: 10px 12px !important;
    word-wrap: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: nowrap !important;
}

/* Wrapper con scroll horizontal cuando la tabla no cabe */
.flux-content {
    padding: 15px !important;
    margin: 15px 0 !important;
    border-radius: 15px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Si la tabla está suelta sin wrapper, le damos uno */
.flux-content > table {
    display: table !important;
}

/* Indicador visual: una sombra al borde derecho cuando hay scroll */
.flux-content {
    background-image: linear-gradient(to right, rgba(24, 42, 68, 0.5) 0%, transparent 5%, transparent 95%, rgba(24, 42, 68, 0.5) 100%) !important;
    background-attachment: local !important;
}
/* === Wiki y otras páginas internas === */
.inner {
    padding-top: 100px !important;
}

.inner .container .wrapper {
    padding: 20px 15px !important;
}

/* === Imágenes responsive: que no se salgan === */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* === Cualquier contenido que se pueda desbordar === */
.flux-content,
.flux-content > *,
.wrapper,
.wrapper > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

    /* === FOOTER: clase real .footer--social === */
/* === FOOTER: arreglo crítico === */
/* En móvil cambiamos a position: static (no fixed) */
footer {
    position: static !important;
    bottom: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
    background-color: #121F34 !important;
    width: 100% !important;
}

/* Barra superior con el status del servidor */
footer .footer--social {
    height: auto !important;
    background: linear-gradient(0deg, #0A1420, #121F34) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 18px 10px !important;
    border-radius: 30px 30px 0px 0px !important;
    margin-top: 0 !important;
    width: 100% !important;
    box-shadow: 0px -4px 15px rgba(0, 0, 0, 0.3) !important;
}

footer .footer--social a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 13px !important;
    padding: 4px 0 !important;
    text-align: center !important;
    color: white !important;
    white-space: nowrap !important;
}

footer .footer--social a i {
    font-size: 14px !important;
}

footer .footer--content {
    padding: 15px 20px 25px !important;
    text-align: center !important;
}

footer .footer--content p {
    font-size: 11px !important;
    line-height: 1.6 !important;
    width: 100% !important;
    color: #888 !important;
    margin: 0 !important;
}

/* === Body: dar espacio al final === */
body {
    padding-bottom: 0 !important;
}

/* === Bot Discord flotante - posicionado mejor === */
.floating-image {
    position: fixed !important;
    bottom: 80px !important;  /* Subir más arriba para que no quede sobre el footer */
    right: 10px !important;
    z-index: 9999 !important;
}

.floating-image img {
    width: 85px !important;
    height: auto !important;
}

/* === MENÚ LATERAL: arreglar overlay y scroll === */
nav .nav--items {
    width: 280px !important;
    left: -280px !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    z-index: 10000 !important;
    -webkit-overflow-scrolling: touch !important;
}

nav .nav--items.active {
    left: 0 !important;
}

/* Overlay oscuro DETRÁS del menú (no encima) */
nav .nav--items::after {
    content: '' !important;
    position: fixed !important;
    width: 100vw !important;
    height: 100vh !important;
    top: 0 !important;
    left: 0 !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    opacity: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
    transition: opacity 0.3s !important;
}

nav .nav--items.active::after {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* IMPORTANTE: cuando el menú está abierto, ocultar el footer fixed y el discord */
nav .nav--items.active ~ footer,
body:has(nav .nav--items.active) footer {
    display: none !important;
}

nav .nav--items.active ~ .floating-image,
body:has(nav .nav--items.active) .floating-image {
    display: none !important;
}
/* === Móviles muy pequeños === */
@media (max-width: 380px) {
    
    /* Botones del nav aún más compactos */
    nav .nav--buttons > a {
        min-width: 80px !important;
        padding: 0 8px !important;
        font-size: 10px !important;
        height: 34px !important;
    }
    
    nav .nav--buttons {
        gap: 5px !important;
    }
    
    /* Selector de idioma */
    .lang-flag-current {
        width: 24px !important;
        height: 18px !important;
    }
    
    /* Hamburger */
    .mobile {
        width: 40px !important;
    }
    
    /* Logo banner */
    header .logo img {
        width: 180px !important;
    }
    
    header h1 {
        font-size: 26px !important;
        line-height: 32px !important;
    }
    
    /* Discord más pequeño */
    .floating-image img {
        width: 70px !important;
    }
    
    /* Footer texto más pequeño */
    footer .footer--social a {
        font-size: 13px !important;
    }
}