body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: url('https://files.catbox.moe/tjfywr.png') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  overflow-x: hidden;
}

/* En móviles: sin efecto fijo y mejor centrado */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-position: center top;
    background-size: cover;
  }
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9) url('https://files.catbox.moe/h937pb.jpg') no-repeat center center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background-size: 250px auto;
  background-position: center;
  opacity: 1;
  transition: opacity 1s ease;
}
@media (max-width: 768px) {
  .preloader {
    background-size: 180px auto;
  }
}

.preloader.hide {
  opacity: 0;
  pointer-events: none;
}

.loading-text {
  position: absolute;
  bottom: 20%;
  font-size: 1.5rem;
  background: linear-gradient(45deg, red, orange, yellow, green, cyan, blue, violet);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowText 6s ease infinite, pulse 1s infinite;
}

/* Header */
.header {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo-area {
  display: flex;
  align-items: center;
}
.logo {
  height: 60px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 100px 20px 50px;
}
.contact-buttons {
  margin-top: 20px;
  display: none;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.contact-buttons.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Secciones */
.section {
  padding: 60px 20px;
  text-align: center;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-10px);
}

/* Botones */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  color: #fff;
  background: linear-gradient(45deg, #ff0047, #2c34ff, #00ffae);
  background-size: 600% 600%;
  animation: rainbowBtn 5s ease infinite;
  box-shadow: 0 0 10px #fff;
  transition: transform 0.2s;
}
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #fff;
}

/* Animaciones */
@keyframes rainbowText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes rainbowBtn {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.neon.rainbow {
  background: linear-gradient(45deg, red, orange, yellow, green, cyan, blue, violet);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowText 6s ease infinite;
}

.glow {
  box-shadow: 0 0 15px #fff, 0 0 30px #0ff inset;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  background: #111;
  color: #aaa;
}