/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  font-family: "Poppins", sans-serif;
  color: #f5f5f5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #000;
}

/* ===== EFECTO PARALLAX ===== */
.parallax {
  background: url("assets/background.webp") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  filter: brightness(0.4);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0;
  animation: bgFadeIn 2s ease-in forwards;
}

/* ===== CAPA OSCURA ===== */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

/* ===== PARTÍCULAS DORADAS ===== */
#particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #d4af37;
  border-radius: 50%;
  opacity: 0.8;
  animation: float 10s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  50% {
    opacity: 1;
    transform: translateY(-100px) scale(1.3);
  }
  100% {
    transform: translateY(-200px) scale(0.8);
    opacity: 0;
  }
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.hero {
  text-align: center;
  z-index: 2;
  animation: fadeInUp 1.5s ease forwards;
}

/* ===== LOGO ===== */
.logo {
  width: 1400px;
  max-width: 90vw;
  height: auto;
  animation: fadeZoom 2s ease-in-out;
  display: block;
  margin: 0 auto;
}

/* ===== FRASE ===== */
.slogan {
  font-size: 1.8rem;
  margin-top: 20px;
  color: #d4af37;
  font-weight: 300;
  letter-spacing: 2px;
  animation: fadeIn 3s ease-in-out;
}

/* ===== BOTONES ===== */
.buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  color: #000;
  background-color: #d4af37;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  animation: fadeInUp 2.5s ease forwards;
}

.btn:hover {
  background-color: transparent;
  color: #d4af37;
  border: 2px solid #d4af37;
  transform: translateY(-4px);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bgFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .logo {
    width: 90vw;
    max-width: 480px;
  }

  .slogan {
    font-size: 1.2rem;
    padding: 0 15px;
    line-height: 1.4;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 30px;
  }

  .btn {
    width: 60%;
    max-width: 280px;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #d4af37;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.7);
    transition: all 0.35s ease;
  }

  .btn:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
  }

  footer {
    font-size: 0.8rem;
    bottom: 10px;
  }
}

