@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Salsa&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: #232328;
  font-family: "Quicksand", sans-serif;
}

.swiper-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* content */

.content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Nuevas posiciones para centrar en el área marcada */
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  height: max-content;
  color: #f2f2f2;
  text-align: center;
  padding: 20px;
  opacity: 0;
  z-index: 2;
}

.content h1 {
  font-family: "Salsa", cursive;
  font-size: clamp(2rem, 3vw, 6rem);
  margin-bottom: 20px;
  opacity: 0;
}

.content p {
  font-family: inherit;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 500;
  opacity: 0;
}

.swiper-slide-active .content {
  opacity: 1;
}

.swiper-slide-active .content h1 {
  animation: moveDown 0.8s ease-in forwards;
}

.swiper-slide-active .content p {
  animation: moveDown 1s ease-in forwards;
  animation-delay: 1s;
}

@keyframes moveDown {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* background */

.background[data-item="one"] {
  background: url(https://muroyals.net/templates/GreyTheme/assets/images/cover_down_page.jpg);
  background-size: cover;
  background-position: 50% 40%;
}

.background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: circle(5%);
  filter: brightness(90%);
  overflow: hidden;
  opacity: 0;
  z-index: 1;
}

.animation {
  animation: resizeClipPath 3s ease-in-out forwards;
}

@keyframes resizeClipPath {
  0% {
    clip-path: circle(5%);
    opacity: 0;
  }
  100% {
    clip-path: circle(71%);
    opacity: 1;
  }
}

/* pagination bullet */

.swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background-color: #a3a6a3;
  border-radius: 50%;
  transition: all 0.6s ease-in-out;
}

.swiper-pagination-bullet-active {
  height: 32px;
  background-image: linear-gradient(180deg, #f09819 0%, #ff512f 100%);
  border-radius: 14px;
}

/* footer */

.footer {
  position: absolute;
  display: flex;
  justify-content: space-between;
  column-gap: 20px;
  bottom: 0;
  left: 50%;
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  width: max-content;
  padding: 20px;
  color: #f2f2f2;
  border-radius: 8px 8px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 2;
}

.feature {
  display: flex;
  align-items: center;
  column-gap: 12px;
}

.feature i {
  font-size: 1.4rem;
}

.feature p {
  font-weight: 700;
}

.btn {
  display: block;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  padding: 15px 20px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0px 0px 14px -7px #2e4053;
  background-image: linear-gradient(
    45deg,
    #2e4053 0%,
    #2e4053 51%,
    #2e4053 100%
  );
  background-size: 200% auto;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: 0.5s;
}

.btn:hover {
  background-position: right center;
}

.btn:active {
  transform: scale(0.95);
}

.logo {
  position: fixed;
  right: -20px;
  bottom: -35px;
  z-index: 10;
}

.logo img {
  width: 120px;
}

@media (max-width: 890px) {
  .logo {
  right: -10px;
  bottom: -20px;
}
  
 .logo img {
  width: 80px;
  }
}

/* media queries */

@media (max-width: 1200px) {
  .content {
    top: 18%;
  }

  .content[data-content="two"],
  .content[data-content="three"] {
    top: 5%;
    width: 50%;
  }
}

@media (max-width: 900px) {
  .content,
  .content[data-content="three"] {
    top: 55%;
    left: 2%;
    width: 60%;
  }

  .content[data-content="two"] {
    top: 10%;
  }

  .content h1 {
    margin-bottom: 14px;
  }

  .content p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .feature i {
    font-size: 1.3rem;
  }

  .feature p {
    font-size: 1rem;
  }

  .btn {
    padding: 8px 16px;
  }
}

@media (max-width: 790px) {
  .footer {
    column-gap: 10px;
  }

  .feature i {
    font-size: 1.1rem;
  }

  .feature p {
    font-size: 0.9rem;
  }

  .feature small {
    font-size: 0.8rem;
  }

  .btn {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
}

@media (max-width: 660px) {
  .content,
  .content[data-content="two"],
  .content[data-content="three"] {
    top: unset;
    left: 2%;
    bottom: 3%;
    width: 80%;
  }

  .content p {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .background[data-item="two"] {
    background-position: 40% 50%;
  }

  .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
  }

  .swiper-pagination-bullet-active {
    height: 24px;
  }

  .footer {
    column-gap: 0;
    left: unset;
    bottom: unset;
    top: 20px;
    right: -30px;
    padding: 0;
    border-radius: 0;
    border: 0;
    background-color: transparent;
    box-shadow: unset;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
  }

  .feature,
  hr {
    display: none;
  }
}

    .status-online {
        color: #00ff00;
    }
    .status-offline {
        color: #ff0000;
    }
    /* Estilos para los iconos sociales del lado derecho */
    .social-icons {
        position: fixed;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 15px;
        z-index: 1000;
    }
    .social-icons a {
        color: white;
        font-size: 24px;
        transition: transform 0.3s ease;
    }
    .social-icons a:hover {
        transform: scale(1.2);
    }
    /* Colores específicos para cada red social */
    .facebook { color: #1877f2; }
    .whatsapp { color: #25d366; }
    .discord { color: #7289da; }
    .instagram { color: #e4405f; }
    .tiktok { color: #000000; }

    /* Estilos para los iconos del lado izquierdo */
    .game-icons {
        position: fixed;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 15px;
        z-index: 1000;
    }
    
.game-icons a {
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}
    
    .game-icons a i {
        margin-right: 10px;
    }
    
.game-icons a span {
    font-size: 16px;
    opacity: 1; /* Cambiado de 0 a 1 */
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
    pointer-events: none;
    white-space: nowrap;
    background: transparent; /* Fondo transparente por defecto */
}
    
.game-icons a:hover {
    transform: scale(1.2);
}
    
.game-icons a:hover span {
    background: rgba(0, 0, 0, 0.7); /* El fondo aparece al hacer hover */
}

    .game-icons .register-icon { color: #4CAF50; }
    .game-icons .download-icon { color: #2196F3; }
    .game-icons .ranking-icon { color: #FFC107; }

    /* Estilos para el modal de registro */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 2000;
        animation: fadeIn 0.3s;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .modal-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(35, 35, 40, 0.95);
        padding: 30px;
        border-radius: 15px;
        width: 90%;
        max-width: 400px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .close-modal {
        position: absolute;
        right: 15px;
        top: 10px;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
        transition: color 0.3s;
    }

    .close-modal:hover {
        color: #ff512f;
    }

    .registration-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .registration-form h2 {
        color: #fff;
        text-align: center;
        margin-bottom: 20px;
        font-size: 24px;
    }

    .form-group {
        position: relative;
    }

    .registration-form input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        color: #fff;
        font-size: 16px;
        transition: all 0.3s;
    }

    .registration-form input:focus {
        outline: none;
        border-color: #ff512f;
        background: rgba(0, 0, 0, 0.3);
    }

    .registration-form .register-btn {
        background: linear-gradient(45deg, #ff512f 0%, #f09819 51%, #ff512f 100%);
        color: white;
        padding: 12px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-weight: bold;
        text-transform: uppercase;
        margin-top: 10px;
        transition: all 0.3s;
        background-size: 200% auto;
    }

    .registration-form .register-btn:hover {
        background-position: right center;
    }

/* Estilos para el modal de descargas */
.download-options {
    padding: 20px 0;
}

.download-item {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-info h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.2em;
}

.download-info p {
    margin: 5px 0;
    color: #ccc;
}

.download-btn {
    background: #4a90e2;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #357abd;
}

.modal-content h2 {
    color: #fff;
}

/* Estilos para la tabla de ranking */
.ranking-table {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.ranking-table table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}

.ranking-table th,
.ranking-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ranking-table th {
    background: rgba(0, 0, 0, 0.3);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

.ranking-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Estilo para la barra de desplazamiento */
.ranking-table::-webkit-scrollbar {
    width: 8px;
}

.ranking-table::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.ranking-table::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.ranking-table::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.g-recaptcha {
    margin: 10px 0;
    display: flex;
    justify-content: center;
}