* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #111;
  color: white;
}

/* Menú */
.menu {
  background: #000;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.titulo {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
}

.menu ul {

  list-style: none;
  display: flex;
  gap: 25px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.menu a:hover {
  color: crimson;
}

/* Banner */
.banner {
    

 background-image: url(../imagenes/image.png) ;
  text-align: center;
    color: white;
  padding: 80px 20px;

}
.banner ::before{
   content: "";
  position: absolute;
  inset: 0;
    background-size: cover;
  background-position: center;
  filter: blur(10px);     

  z-index: -1;
}
.banner *{
    position: relative;
  z-index: 1; 
}

.banner h1 {
  font-size: 50px;
  margin-bottom: 15px;
   color: rgb(175, 171, 171);  
   font-family: 'Bangers';
   text-shadow: -2.5px 0 #000,
     2.5px 2.5px 0 #000,
    -2.5px  2.5px 0 #000,
     2.5px  2.5px 0 #000; 
     letter-spacing: 1.2px;
}

.banner p {

   color: #ffffff;
    text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000;
    font-family: 'Bangers', cursive; 
     font-size: 1.8em;                        
  font-weight: 700;
  letter-spacing: 1px;                     
  margin-top: 10px;
      
  padding: 5px 12px;
  border-radius: 8px;
  

}

/* Productos */
.productos {
  padding: 40px 20px;
  text-align: center;
  flex: 1;
}
.productos1{
padding: 40px 20px;
  text-align: center;
  flex: 1;
}

.contenedor-tarjetas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1200px;
  margin: 30px auto;
}

.tarjeta {
  width: 280px;
  background: #222;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}


.etiqueta-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: red;
  color: white;
  padding: 6px 12px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 10;                 
  pointer-events: none;
}

.tarjeta img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.tarjeta h3 {
  padding: 15px;
  font-size: 18px;
  font-family: 'Bangers';
  letter-spacing: 2px;
      text-shadow: 
  3px 3px 10px rgba(0, 0, 0, 1),  
  0 0 15px rgba(0, 0, 0, 0.8); 
}

.precio {
  padding: 0 15px 20px;
  font-size: 25px;
  color: rgb(202, 25, 25);
  font-family: 'Bangers', cursive;
}

img{

    transition: transform 0.5s;   
}

img:hover {
    transform: scale(1.25); 
    cursor: pointer;
    filter: brightness(1.2); 
    cursor: pointer;
    
   
}
/*Fondo de poetada de los comics*/
.fondoportadas {
position: relative;                   
  min-height: 500px;                     
  padding: 80px 30px;
  text-align: center;
  color: white;
  overflow: hidden;                         
}

  .fondoportadas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../imagenes/marvel_banner.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(10px);     
  z-index: -1;     

}

.texto h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.texto p {
  font-size: 22px;
  margin-bottom: 25px;
}

.btn-comprar {
  background: #000;
  color: white;
  border: none;
  padding: 15px 35px;
  font-size: 18px;
  border-radius: 30px;
  cursor: pointer;
}

.imagen-decorativa img {
  width: 100%;
  max-width: 500px;
  margin-top: 30px;
  border-radius: 12px;
}

.portadas-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.portadas-laterales {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px auto 40px;
  max-width: 1100px;
  gap: 40px;               /* distancia entre las portadas */
}

.portada {
  cursor: pointer;
  transition: all 0.35s ease;
}

.portada img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.65);
  border: 3px solid #2a2a2a;
  transition: all 0.35s ease;
  filter: brightness(0.95);
}

/* Portada central  */
.portada.central {
filter: brightness(1.4);
  width: 250px;           
  transform: scale(1.2);  
}


.portada.lateral {
  width: 250px;
  opacity: 0.88;
  z-index: 2;
}

.portada.lateral.izquierda {
  transform: rotate(-6deg) translateX(-25px);
}

.portada.lateral.derecha {
  transform: rotate(6deg) translateX(25px);
}

/* Efecto al pasar el mouse */
.portada:hover img {
  transform: scale(1.08);
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
  z-index: 10;
}

.portada:hover {
  opacity: 1;
}

.bannerdos {
 background-color:#111;
  text-align: center;
  padding: 80px 20px;
}

.bannerdos p{

 color: rgba(240, 238, 238, 0.918);
    text-shadow: 
  3px 3px 10px rgba(0, 0, 0, 1),  
  0 0 15px rgba(0, 0, 0, 0.8);     
    font-family: 'Bangers';
     font-size: 1.5em;                        
  font-weight: 700;
  letter-spacing: 1.2px;  
  margin-top: 10px;

}
.bannerdos h1{

font-size: 60px;
  margin-bottom: 15px;
  font-family: 'Bangers', cursive;
  letter-spacing: 1.2px;
  color: rgb(238, 236, 236);
  text-shadow: 3px 3px 10px rgba(0,0,0,1);
}

.logo{

  width: 40px;               
  height: 40px;
  margin: 12px 20px;            
  vertical-align: middle;  
  transition: transform 0.3s; 

}

    footer {
    background-image: url(../imagenes/imagen.jpeg);
  color: #ccc;
  text-align: center;
  font-size: 15px;
  margin-top: auto;  
   padding: 25px 15px;
   border-top: 4px solid #ff0000;
     overflow: hidden;
       background-repeat: repeat-x;
       position: relative;
    }
    footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
footer * {
  position: relative;
  z-index: 2;
}
   .redes{
      font-family: 'Bangers';
    color:rgb(255, 255, 255);
    text-shadow: 3px 3px 0 #000;
    margin-bottom: 30px;
     font-size: 2.0em;
     letter-spacing: 2px;
       text-shadow:
    -1.5px -1.5px 0 #000,
     1.5px -1.5px 0 #000,
    -1.5px  1.5px 0 #000,
     1.5px  1.5px 0 #000;
     
}
.sigue{
        color: #fff;
      text-shadow:
    -1.5px -1.5px 0 #000,
     1.5px -1.5px 0 #000,
    -1.5px  1.5px 0 #000,
     1.5px  1.5px 0 #000;  
    font-family: 'Bangers', cursive;
     font-size: 1.5em;                        
  font-weight: 700;
  letter-spacing: 1.5px;  
  margin-top: 10px;
 
  
}
p{
  color: white; text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}
h1{

color: white; text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}
    header {
       font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
  }
  .titulo{
           font-family: 'Luckiest Guy', cursive;
    color: #fff;
    text-shadow: 3px 3px 0 #000;
         letter-spacing: 1.5px;
  }

  h2{
    font-family: 'Luckiest Guy', cursive;
    color:rgb(233, 230, 230);
    text-shadow: 3px 3px 0 #000;
    margin-bottom: 30px;
     font-size: 2.0em;
     letter-spacing: 1.5px;
  }
  .texto p {
      color: rgba(255, 255, 255, 0.753);
    text-shadow: 
  3px 3px 10px rgba(0, 0, 0, 1),   /* sombra*/
  0 0 15px rgba(0, 0, 0, 0.8);     
    font-family: 'Bangers', cursive;
     font-size: 1.2em;                        
  font-weight: 700;
  letter-spacing: 0.8px;  
  margin-top: 10px;
    
  }
  .texto h1{
       font-family: 'Bangers', cursive;
  font-size: 3em;
  letter-spacing: 1px;
  color: rgb(226, 226, 226);
  text-shadow: 3px 3px 10px rgba(0,0,0,1);
  }
  .btn-comprar{
   font-family: 'Bangers', cursive;
  font-size: 1.1em;
  letter-spacing: 1px;
  }
.productos {
  background-image: url("../imagenes/image.png") ;
   backdrop-filter: blur(4px);
  }
  .productos h2{
 font-size: 40px;
  margin-bottom: 8px;
   color: white;
  text-shadow: -3px 0 #000,
     3px -3px 0 #000,
    -3px  3px 0 #000,
     3px  3px 0 #000;
   font-family: 'Bangers', cursive;
  }