body {
  background-color: #000;
  color: #fff;
  margin: 0;
  padding-top: 70px;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

/* Estilo para los productos */
.producto-container {
  border: 3px solid transparent;
  border-radius: 15px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background: rgba(30, 30, 30, 0.8);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
  transition: box-shadow 0.4s ease;
}

.producto-container::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #ff0000, #cc0000, #ff0000, #cc0000);
  z-index: -1;
  border-radius: 15px;
  animation: borderAnimation 3s linear infinite;
  transition: opacity 0.4s ease;
}

@keyframes borderAnimation {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Solo brilla el borde al pasar el mouse */
.producto-container:hover {
  box-shadow: 0 0 25px 10px rgba(255, 0, 0, 0.7);
  transform: none; /* Elimina la elevación */
}

.producto-container:hover::before {
  opacity: 1;
}

.producto-imagen {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.producto-imagen:hover {
  transform: scale(1.03);
}

.producto-texto h3 {
  font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
  font-size: 1.8rem;
  color: #ff0000;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  margin-bottom: 15px;
}

.producto-texto p {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffcccc;
}

/* Animación de lluvia permanente */
.lluvia-container {
  background-image: url("image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' fill-opacity='0.4' d='M30,10 L35,25 L30,25 Z M40,15 L45,30 L40,30 Z M50,10 L55,25 L50,25 Z M60,15 L65,30 L60,30 Z M70,10 L75,25 L70,25 Z M20,5 L25,20 L20,20 Z M80,5 L85,20 L80,20 Z'%3E%3Canimate attributeName='transform' attributeType='XML' type='translate' from='0 -100' to='0 100' dur='2s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
  z-index: 0;
  opacity: 0.6;
  animation: lluvia-intensa 2s linear infinite;
}

@keyframes lluvia-intensa {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

/* Animación de cubitos aleatorios */
.cubitos-container {
  display: grid;
  grid-template-columns: repeat(20, 5%);
  grid-template-rows: repeat(20, 5%);
  gap: 2px;
}

.cubito {
  background-color: rgba(255, 204, 0, 0.4); /* Amarillo más visible */
  border-radius: 2px;
  opacity: 0;
  animation: aparecerDesaparecer 4s infinite;
}

@keyframes aparecerDesaparecer {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.8; /* Mayor visibilidad */
  }
  100% {
    opacity: 0;
  }
}

/* Overlay de transición suave (más corta) */
.transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  opacity: 0;
  animation: fadeInOverlay 0.3s ease-out forwards, fadeOutOverlay 0.7s ease-in-out 0.3s forwards;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOutOverlay {
  0% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}

/* Animación de entrada */
.animate-on-entry {
  animation: fadeInUp 1.5s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Parallax Moderno */
.parallax-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.parallax-content {
  z-index: 10;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  padding: 2rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  max-width: 80%;
  animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Gradientes */
.bg-gradient-dark {
  background: linear-gradient(135deg, #1e1e1e 0%, #000 100%);
}

/* Botones modernos */
.btn-danger {
  background-color: #ff0000;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background-color: #cc0000;
  transform: scale(1.05);
}

/* Botones de Home House */
.btn-warning {
  background-color: #ffcc00;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background-color: #e6b800;
  transform: scale(1.05);
}

/* Carrusel */
.carousel {
  margin-top: 50px;
}

.carousel img {
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 20px;
}

.gallery-item {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
}

/* Dropdown mejorado */
.dropdown-menu {
  border-radius: 10px;
  padding: 10px 0;
}

.dropdown-item {
  padding: 8px 20px;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: #343a40;
}

/* Animación de calor permanente */
.calor-overlay {
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.1) 10px,
    rgba(255, 158, 0, 0.1) 10px,
    rgba(255, 158, 0, 0.1) 20px
  );
  z-index: 0;
  animation: calor 8s linear infinite;
  filter: blur(2px);
}

@keyframes calor {
  0% { background-position: 0 0; }
  100% { background-position: 100% 100%; }
}

/* Animación de marca al hacer clic */
.logo-brand {
  transition: transform 0.3s ease;
}

.logo-brand:hover {
  transform: scale(1.1);
}

@keyframes logoAnimation {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.5) rotate(10deg); opacity: 0.7; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.logo-animation {
  animation: logoAnimation 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .parallax-content {
    padding: 1rem;
    max-width: 95%;
  }

  .display-2 {
    font-size: 2.5rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .carousel img {
    height: 250px;
  }

  .producto-texto h3 {
    font-size: 1.5rem;
  }

  .producto-texto p {
    font-size: 1rem;
  }
}