@i@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;  
  margin: 0;
  padding: 0;
  background-image: url('fondo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.navigation {
  position: relative;
  top: 40px;
  margin: 0 auto 40px auto;
  width: 90%;
  height: 100px;
  flex-shrink: 0;   
  background: #0A0E2E;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 255, 0.5);
}

.navigation ul {
  display: flex;
  justify-content: space-around;
  width: 100%;
  list-style: none;
}

.navigation ul li {
  width: auto;
  padding: 0 20px;
}

.navigation ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  color: #0094FF;
}

.navigation ul li a .icon {
  font-size: 2rem;
  transition: 0.3s;
  color: #0094FF;
}

.navigation ul li a .text {
  font-size: 0.8rem;
  opacity: 0;
  transition: 0.3s;
  color: #0094FF;
}

.navigation ul li.active a .icon {
  transform: translateY(-10px);
}

.navigation ul li.active a .text {
  opacity: 1;
  transform: translateY(5px);
}



.menu {
  display: flex;
  background: #0C2C75; 
  padding: 10px 20px;
  border-radius: 8px;
}

.menu-item {
  position: relative;
  color: #CDE7FF;
  cursor: pointer;
  font-family: sans-serif;
  font-weight: bold;
}

.menu-item .item-icon {
  margin-right: 5px;
  color: #A4D8FF; 
}

.dropdown-menu {
  position: absolute;
  top: 140%;
  left: 0;
  background-color: #133A8C; 
  border-radius: 10px;
  padding: 10px 0;
  min-width: 150px;
  display: none;
  box-shadow: 6px 6px 15px rgba(0,0,255,0.3);
  z-index: 10;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #BFDFFF; 
  transition: background 0.3s, color 0.3s;
  font-family: sans-serif;
}

.dropdown-menu li a:hover {
  background: #1E4FBF; 
  color: #fff;
  border-radius: 5px;
}

.menu-item:hover .dropdown-menu {
  display: block;
}


#logo {
  width: 500px;
  height: auto;
  margin: 40PX auto;
}

.glow {
  font-size: 35px;          
  color: #004CFF;           
  text-align: center;       
  text-shadow: 
    0 0 5px #004CFF,
    0 0 10px #004CFF,
    0 0 20px #004CFF,
    0 0 40px #004CFF;       
  margin-bottom: 20px;      
  font-family: 'Orbitron', sans-serif;
}

.texto {
  font-size: 20px;
  color: #0D2E9C;
  margin: 30px auto;   
  width: 85%;
  line-height: 1.9;
  font-family: 'Arial', sans-serif;
  text-shadow: 0 0 5px #0D2E9C;
  text-align: justify;
}

.info-container {
  display: flex;          
  gap: 90px;              
  justify-content: center; 
  flex-wrap: wrap;         
  padding: 40px;          
}

.info-box {
  width: 280px;
  height: 360px;
  background: rgba(0, 0, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 0, 255, 0.2);
  border: 1px solid rgba(0, 0, 255, 0.2);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.info-box .front,
.info-box .back {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  transition: transform 0.6s ease-in-out;
  border-radius: 15px;
  text-align: center;
}

.info-box .front {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  font-size: 1.4em;
  font-weight: bold;
  color: #004BCC;
  text-shadow: 0 0 5px #004CFF, 0 0 10px #004CFF;
  z-index: 2;
}

.info-box .back {
  background: linear-gradient(135deg, #4F83E3, #4F83E3);
  color: #001833;
  font-size: 1em;
  transform: translateY(100%);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-box:hover .back {
  transform: translateY(0%);
}

.info-box:hover .front {
  transform: translateY(-100%);
}

.com {
  font-size: 40px;          
  color: #004CFF;           
  text-align: center;       
  text-shadow: 
    0 0 5px #004CFF,
    0 0 10px #004CFF,
    0 0 20px #004CFF,
    0 0 40px #004CFF;       
  margin-bottom: 40px;      
  font-family: 'Orbitron', sans-serif;
}

.slider-container {
  position: relative;
  width: 60%;
  max-width: 600px;
  height: 320px;      
  margin: 40px auto;
  overflow: hidden;
  border-radius: 15px;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 15px;
  border: none; 
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 64, 0.4);
  color: #007BFF;
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
  transition: background 0.3s ease;
}

.prev:hover, .next:hover {
  background: rgba(0, 0, 255, 0.4);
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

.contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 90px;
  width: 100%;
  max-width: 1200px;
}

.cajadatos {
  background: linear-gradient(145deg, #000a1f, #001233);
  padding: 18px;
  border-radius: 18px;
  box-shadow:
    0 0 8px rgba(0, 122, 255, 0.3),
    inset 0 0 10px rgba(79, 212, 255, 0.1);
  border: 1px solid rgba(79, 212, 255, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  align-items: center;
}

.headerbox {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.headerbox img {
  display: block;
  margin: 0 auto;
  max-width: 250px; 
  height: auto;
  border-radius: 15px;
}

.juegos-section h1 {
  font-size: 30px;
  color: #4fd4ff;
  text-shadow:
    0 0 10px #4fd4ff,
    0 0 25px #007bff;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-align: center;
}

.formulario {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 5px;
  flex-grow: 1;
}

.campo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px; 
  width: 90%;
  max-width: 400px;
}

.text {
  font-size: 16px;
  color: #a7cfff;
  text-shadow: 0 0 3px #007bff;
  margin-bottom: 0;
}

input,
textarea {
  all: unset;
  padding: 8px 12px;
  border-radius: 10px;
  border: 2px solid #007bff;
  background-color: #000a1f;
  color: white;
  width: 100%;
  box-shadow: 0px 1px 3px rgba(0, 64, 128, 0.3);
}

textarea {
  min-height: 70px;
  resize: vertical;
  margin-top: 2px;
}

input:focus, textarea:focus {
  border-color: #4FD4FF;
}

input::placeholder,
textarea::placeholder {
  color: #9fcfff;
  opacity: 0.7;
}

.boton-enviar {
  align-self: center;
  margin-top: 30px; 
  padding: 10px 30px;
  font-size: 18px;
  color: white;
  background: linear-gradient(45deg, #004cff, #009dff);
  border: 2px solid #007bff;
  border-radius: 12px;
  cursor: pointer;
  text-shadow: 0 0 4px #001a66;
  box-shadow: 0 0 8px #007bff;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.boton-enviar:hover {
  background: linear-gradient(45deg, #007bff, #4fd4ff);
  border-color: #4fd4ff;
  text-shadow: 0 0 6px #4fd4ff, 0 0 12px #007bff;
  box-shadow: 0 0 12px #007bff, 0 0 18px #4fd4ff;
}
.logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #007bff;
  box-shadow: 0 0 20px #007bff;
}

.redes-box h2 {
  color: #4fd4ff;
  font-size: 26px;
  text-shadow:
    0 0 10px #4fd4ff,
    0 0 25px #007bff;
  margin-bottom: 30px;
}

.botones {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.btn {
  text-decoration: none;
  color: white;
  font-size: 20px;
  padding: 12px 30px;
  border-radius: 14px;
  border: 2px solid #007bff;
  background: linear-gradient(45deg, #004cff, #009dff);
  text-shadow: 0 0 4px #001a66;
  box-shadow: 0 0 10px #007bff;
  transition: all 0.3s ease-in-out;
}

.btn:hover {
  background: linear-gradient(45deg, #007bff, #4fd4ff);
  border-color: #4fd4ff;
  box-shadow: 0 0 15px #007bff, 0 0 25px #4fd4ff;
}


.instagram {
  border-color: #e1306c;
  background: linear-gradient(45deg, #fd1d1d, #e1306c, #f56040);
  box-shadow: 0 0 10px #e1306c;
}
.instagram:hover {
  box-shadow: 0 0 25px #e1306c, 0 0 40px #fd1d1d;
}

.tiktok {
  border-color: #00f2ea;
  background: linear-gradient(45deg, #25f4ee, #000000, #ff0050);
  box-shadow: 0 0 10px #00f2ea;
}
.tiktok:hover {
  box-shadow: 0 0 25px #00f2ea, 0 0 40px #ff0050;
}

.whatsapp {
  border-color: #25d366;
  background: linear-gradient(45deg, #075e54, #25d366);
  box-shadow: 0 0 10px #25d366;
}
.whatsapp:hover {
  box-shadow: 0 0 25px #25d366, 0 0 40px #128c7e;
}

.footer {
  width: 100%;
  background: linear-gradient(90deg, #000a1f, #001233);
  color: #a7cfff;
  text-align: center;
  padding: 15px 0;
  font-size: 16px;
  border-top: 1px solid rgba(79, 212, 255, 0.2);
  box-shadow: 0 -2px 10px rgba(0, 122, 255, 0.2);
  position: relative; 
  margin-top: 40px; 
}

.footer p {
  margin: 0;
  text-shadow: 0 0 5px #007bff;
  letter-spacing: 0.5px;
}
