body {
  font-family: Arial;
  margin: 0;
  background: linear-gradient(180deg, #050505 0%, #0a0a0a 60%, #120a1a 100%);
  color: white;
  overflow-x: hidden;
}

/* ===== INTRO ===== */
.intro {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: introFade 4s forwards;
}

.intro-logo {
  width: 220px;
  filter: drop-shadow(0 0 30px #ff6600)
          drop-shadow(0 0 70px #ff6600)
          drop-shadow(0 0 100px #ff6600);
  animation: logoIntro 2.5s ease forwards;
}

/* ===== HEADER ===== */
header {
  text-align: center;
  padding: 20px;
  background: transparent;
}

.logo {
  width: 150px;
  display: block;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5),
              0 0 35px rgba(168, 85, 247, 0.4);
}

/* ===== NAV ===== */
nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 20px;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  text-shadow: 0 0 10px rgba(168,85,247,0.6);
  transition: 0.3s;
}

nav a:hover {
  transform: scale(1.1);
  text-shadow: 0 0 20px #a855f7;
}

/* ===== SECTIONS ===== */
section {
  padding: 20px;
  animation: fadeIn 1s ease;
}

/* ===== CARDS ===== */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1000px;
  margin: 30px auto;
}

.card {
  width: 230px;
  background: linear-gradient(145deg, #1a1a1a, #222);
  padding: 18px;
  border-radius: 14px;
  color: white;
  text-decoration: none;
  text-align: center;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.05);
}

.card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.6),
              0 0 40px rgba(255, 102, 0, 0.4);
}

/* ===== CARD CON IMAGEN ===== */
.card-img {
  width: 300px;
  padding: 15px;
}

.card-img h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.card-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.3s;
}

.card-img:hover img {
  transform: scale(1.05);
}

/* ===== GALERÍA ===== */
.galeria {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.galeria img {
  max-width: 250px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #a855f7;
}

/* ===== VISOR ===== */
#visor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  cursor: zoom-out;
}

#visor img {
  max-width: 85%;
  max-height: 85%;
  border-radius: 12px;
}

/* ===== BOTÓN ===== */
.btn {
  background: #25D366;
  padding: 12px 20px;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #25D366;
}

/* ===== BANNER ===== */
.banner {
  width: 100%;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  position: relative;
}

.banner img {
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  z-index: 1;
}

.banner::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 12px;
  background: linear-gradient(45deg, #ff6600, #a855f7, #ff6600);
  filter: blur(12px);
  z-index: 0;
}

/* ===== INFO BOX MEJORADO ===== */
.info-box {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;

  width: 100%;
  max-width: 400px;
  margin: 15px auto;

  padding: 14px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}

.icono {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.info-box p {
  margin: 0;
  font-size: 17px;
  color: #ddd;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
  .card {
    width: 90%;
  }

  .card-img {
    width: 95%;
  }

  .card-img img {
    height: 160px;
  }

  .banner img {
    max-width: 300px;
  }

  .icono {
    width: 44px;
    height: 44px;
  }

  .info-box {
    max-width: 90%;
  }

  .info-box p {
    font-size: 16px;
  }
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoIntro {
  0% { transform: scale(0.3); opacity: 0; }
  40% { transform: scale(2.8); opacity: 1; }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes introFade {
  0% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* ===== FIX ===== */
* {
  box-sizing: border-box;
}
