@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Orbitron:wght@400..900&display=swap');

/* Estilos Generales */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  color: #f4f4f4;
  position: relative;
  
  /* Estilos para la imagen de fondo con la nueva ruta */
  background-image: url('background.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
}

/* Capa de oscurecido para la imagen de fondo */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Hero Section */
.hero {
  color: #f4f4f4;
  text-align: center;
  padding: 0.5rem 1rem 0;
}

.hero h1.brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 5.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.2rem;
  /* Sombra de texto ahora con el rosado brillante */
  text-shadow: 0 0 10px rgba(255, 34, 155, 0.8), 0 0 20px rgba(255, 34, 155, 0.5);
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  text-transform: uppercase;
}

.hero h1.brand-name .retro {
  color: #00f8ff; /* Color azul eléctrico */
}

.hero h1.brand-name .spark {
  color: #ff229b; /* Color rosado/magenta */
}

.hero p {
  font-size: 1.5rem;
  margin-top: 0;
  font-family: 'Bebas Neue', sans-serif;
  color: #ccc;
  letter-spacing: 1px;
  text-transform: none;
  text-shadow: none;
}

/* Products Section */
.products {
  padding: 0.5rem 0;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 20px;
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.product-card-link:hover {
  transform: translateY(-5px);
}

.product-card {
  width: 380px;
  height: 560px;
  background-color: #000;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 4px 4px 10px rgba(0,0,0,0.4);
  margin: 0 auto;
  box-sizing: border-box;
}

.product-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.product-card h4 {
  font-size: 2.2rem;
  margin-top: 0;
  color: #f4f4f4;
  transition: color 0.3s ease-in-out;
  margin-bottom: 0.1rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

/* Estilo del título al pasar el mouse */
.product-card-link:hover h4 {
  color: #ff229b; /* El nombre del producto cambia a rosado brillante al pasar el mouse */
}

.product-subtitle {
  font-size: 1rem;
  color: #00f8ff; /* Color azul eléctrico */
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.product-card .description {
  /* Mejora de legibilidad */
  color: #e0e0e0; 
  font-size: 0.9rem; 
  line-height: 1.5;
  margin-bottom: 0.3rem;
  min-height: 40px;
}

/* Nuevo estilo para el precio */
.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #00f8ff; /* Color azul eléctrico */
  margin: 0;
  text-shadow: 0 0 5px rgba(0, 248, 255, 0.5); /* Sombra de texto azul */
}

.product-price s {
  font-size: 1.5rem;
  color: #aaa;
  margin-right: 0.5rem;
}

/* Footer */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: auto;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ff229b; /* Los iconos cambian a rosado brillante al pasar el mouse */
}

footer p {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #aaa;
}

/* Media Queries para móviles */
@media (max-width: 768px) {
  .hero h1.brand-name {
    font-size: 2rem;
    letter-spacing: normal;
  }
  
  .hero p {
    font-size: 0.8rem;
  }

  .product-card h4 {
    font-size: 1.8rem;
    color: #ff229b; /* El nombre del producto ya es rosado brillante en móviles */
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card {
    width: 90%;
    height: auto;
  }
}