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

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

body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-image: url('fondo.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;

}

.navigation {
  position: relative;
  top: 40px;
  margin: 0 auto;
  width: 90%;
  height: 100px;
  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 {
  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);
}




.juegos-section h1 {
  text-align: center;
  margin-top: 80px;
  font-size: 40px;
  margin-bottom: 30px;
  font-family: 'Orbitron', sans-serif;
  color: #007BFF;
  text-shadow:
    0 0 5px #007BFF,
    0 0 10px #007BFF,
    0 0 20px #004CFF,
    0 0 40px #001AFF;
}

.info-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.info-box {
  width: 1200px;
  height: 100px;
  background: rgba(0, 68, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 68, 255, 0.3);
  border: 1px solid rgba(0, 68, 255, 0.3);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.info-box:hover {
  box-shadow: 0 0 30px #007BFF;
}

.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;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-box .front {
  background: transparent;
  font-size: 25px;
  font-weight: bold;
  color: #0094FF;
  text-shadow: 0 0 5px #0094FF, 0 0 10px #00BFFF;
  z-index: 2;
}

.info-box .back {
  background: linear-gradient(135deg, #4C8DFF, #B2D4FF);
  color: #001233;
  font-size: 20px;
  transform: translateY(100%);
  z-index: 1;
}

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

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


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

.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-sectio 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;
   margin-top: 0 !important;
  padding-top: 0 !important;
}

.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;
}

.texto {
  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;
}
