body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background: url('../img/xp-bliss.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.nav {
  margin-top: 20px;
}
.nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #00f0ff;
  font-weight: bold;
  transition: color 0.3s ease;
}
.nav a:hover {
  color: #fff;
}

.glow {
  font-size: 3rem;
  text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
  animation: pulse 2s infinite;
}

.slogan {
  font-size: 1.3rem;
  opacity: 0.8;
  margin-top: 10px;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 50px;
}
.card {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid #00f0ff;
  padding: 20px;
  border-radius: 15px;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00f0ff;
}

.contact-form {
  margin: 50px auto;
  width: 300px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
}
.contact-form button {
  background: #00f0ff;
  color: #000;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.contact-form button:hover {
  transform: scale(1.1);
}

/* Animaciones */
.fade-in {
  animation: fadeIn 2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp 1.5s ease;
}
@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.zoom-in {
  animation: zoomIn 1.2s ease;
}
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff; }
  50% { text-shadow: 0 0 20px #00f0ff, 0 0 40px #00f0ff; }
}
footer {
  margin-top: 50px;
  padding: 30px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 14px;
  border-top: 1px solid #00eaff;
  position: relative;
  overflow: hidden;
}

/* Íconos sociales */
.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin: 0 10px;
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.social-icons a:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px #00eaff);
}

/* Partículas */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particles::before,
.particles::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  background: #00eaff;
  border-radius: 50%;
  animation: rise 5s infinite ease-in-out;
  opacity: 0.7;
}

.particles::after {
  left: 70%;
  animation-duration: 7s;
}

.particles::before {
  left: 30%;
  animation-duration: 6s;
}

@keyframes rise {
  0% {
    bottom: -10px;
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    bottom: 100%;
    opacity: 0;
    transform: scale(0.5);
  }
}
.capacitaciones {
  text-align: center;
  padding: 50px 20px;
  background: #000;
  color: #fff;
}

.capacitaciones h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #00eaff;
}

.game-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.cap-item {
  width: 200px;
  height: 200px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #00eaff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.cap-item:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px #00eaff;
}

.cap-item p {
  margin-top: 15px;
  font-size: 14px;
}

/* Animación Pac-Man */
.pacman {
  width: 0;
  height: 0;
  border-right: 30px solid transparent;
  border-top: 30px solid #ffeb3b;
  border-left: 30px solid #ffeb3b;
  border-bottom: 30px solid #ffeb3b;
  border-radius: 50%;
  animation: chomp 0.5s infinite;
}

@keyframes chomp {
  0% { clip-path: polygon(0 0, 100% 50%, 0 100%); }
  50% { clip-path: polygon(0 20%, 100% 50%, 0 80%); }
  100% { clip-path: polygon(0 0, 100% 50%, 0 100%); }
}
.hud {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #00eaff;
  display: flex;
  justify-content: space-between;
  width: 600px;
  margin-left: auto;
  margin-right: auto;
}
