/* reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.promo-cyber {
  position: absolute;
  top: 80px;
  right: 100px;
  width: 200px;   /* ajustá el tamaño como quieras */
  height: auto;
  z-index: 10;
}


html, body {
  height: 100%;
}

/* layout para empujar footer al fondo */
body {
  display: flex;
  flex-direction: column;
}

/* header */
.logo {
  display: block;
  width: 500px;
  margin: -60px auto 10px;
}

/* contenido principal */
main {
  flex: 1 0 auto; /* ocupa todo lo que queda hasta el footer */
}

.selector {
  text-align: center;
  padding: 40px 0;
}

.selector h3 {
  font-size: 16px;
  margin-bottom: 25px;
  color: #ffffff;
  letter-spacing: 1px;
}

.grid {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Recuadro completo de personaje con borde y sombra */
.personaje {
  display: flex;
  flex-direction: column;
  width: 180px; /* ancho desktop */
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 3px solid #fff; /* borde en todo el recuadro */
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.personaje:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Imagen sin borde abajo, ocupa todo el ancho */
.personaje img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: none;
  transition: transform 0.3s;
}

.personaje img:hover {
  transform: scale(1.05);
}

/* Franja roja debajo de la imagen, pegada, sin margen */
/* (Opcional: si quieres agregar el nombre del personaje debajo, puedes usar esta clase) */
.nombre {
  background: #e53935;
  color: #fff;
  height: 1.5cm; /* altura fija para la franja */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin: 0;
}

/* footer */
.footer-box {
  background: #444444;
  color: #ffffff;
  text-align: center;
  padding: 20px 20px;
}

.footer-box p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ----------- Responsive ----------- */
@media (max-width: 600px) {

  /* achicamos un toque el logo */
  .logo {
    width: 200px;
    margin: 15px auto 8px;
  }

  /* grid de 1 columna */
  .grid {
    flex-direction: column;
    align-items: center; /* centra cada recuadro */
  }

  .grid a {
    width: 80%; /* ocupa casi todo el ancho */
    max-width: 300px; /* para que no se estire demasiado en tablet */
    height: auto; /* altura según la imagen */
  }

  .grid img {
    height: auto;
  }

  /* títulos un pelín más chicos */
  .selector h3 {
    font-size: 26px;
  }

  /* recuadro personaje ancho móvil */
  .personaje {
    width: 80%;
    max-width: 300px;
  }
}

/* Marquesina */
.marquesina {
  position: fixed;              /* Fija en la pantalla */
  top: 0;                       /* Alineada arriba */
  left: 0;
  width: 100%;
  background-color: #e53935;
  color: #fff;
  padding: 4px 0;               /* Ajusta alto aquí */
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  z-index: 1000;                /* Asegura que esté por encima de todo */
}

.marquesina-contenido {
  display: inline-block;
  padding-left: 120%;
  animation: scroll-marquesina 25s linear infinite;
}

@keyframes scroll-marquesina {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}


h4 {
  color: #000;     /* texto negro */
  font-size: 15px;  /* tamaño de fuente */
  margin: 0;       /* elimina márgenes por defecto (opcional) */
  font-weight: normal; /* peso normal (opcional) */
}

/* Botón “Ir al inicio” ------------------------------------ */
.btn-home {
  position: fixed;         /* ahora queda fijo en pantalla */
  top: 0;                  /* distancia desde el borde superior */
  left: 0;                 /* pegado al borde izquierdo */
  padding: 10px 18px;
  background:#e53935;      /* rojo igual a los precios */
  color:#fff;
  font-weight:bold;
  text-decoration:none;
  border-bottom-right-radius:8px;
  transition:background .2s;
  z-index:999;             /* por encima de todo */
}

.btn-home:hover { background:#f52724; }


body {
  margin: 0;
  padding: 0;
  font-family: 'CoolveticaCondensed';
  font-size: small;
  background-image: url('fondo.jpg'); /* Reemplazá con la ruta de tu imagen */
  background-size: cover;             /* Hace que la imagen cubra toda la pantalla */
  background-repeat: no-repeat;       /* Evita que la imagen se repita */
  background-position: center center; /* Centra la imagen */
  background-attachment: fixed;       /* Fondo fijo mientras se hace scroll */
  color: #ffffff;                        /* Texto blanco para mejor contraste */
}

.creditos {
  text-align: center;
  color: #fff;
  font-size: 12px;
  margin-top: 20px;
  font-family: 'Coolvetica Rg', sans-serif;
}

.copy {
  color: #d40000;
  font-weight: bold;
  text-shadow:
    0 0 3px #ff4444,
    0 0 6px #ff4444,
    0 0 12px #ff2222,
    0 0 24px #ff0000;
  animation: resplandor 2s infinite alternate;
}

@keyframes resplandor {
  from {
    text-shadow:
      0 0 2px #ff4444,
      0 0 4px #ff4444,
      0 0 8px #ff2222,
      0 0 16px #ff0000;
  }
  to {
    text-shadow:
      0 0 4px #ff8888,
      0 0 8px #ff4444,
      0 0 16px #ff2222,
      0 0 32px #ff0000;
  }
}
.audio-player {
  position: fixed;
  bottom: 85px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 15px;
  border-radius: 10px;
  color: #fff;
  font-family: 'Coolvetica Rg', sans-serif;
  font-size: 14px;
  z-index: 9999;
}
.audio-player button {
  margin-top: 5px;
  background: #e53935;
  color: #fff;
  border: none;
  padding: 5px 10px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.audio-player button:hover { background:#f52724; }

.titulo-personaje {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
  font-weight: bold;
  font-size: 0.8rem;
  text-align: center;
  margin: 0 auto;
}

.oferta-diaria {
  text-align: center;
  margin: 40px auto;
  padding: 20px;
  background-color: #1a1a1a;
  color: #fff;
  border-top: 2px solid #ff3300;
  max-width: 1200px;
}

.oferta-titulo {
  font-size: 28px;
  margin-bottom: 20px;
  color: #ff3300;
}

.oferta-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.item-oferta {
  background: #2e2e2e;
  border-radius: 10px;
  padding: 15px;
  width: 250px;
  box-shadow: 0 0 10px rgba(255, 51, 0, 0.3);
}

.item-oferta img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.item-oferta h3 {
  margin: 10px 0;
  font-size: 18px;
  color: #fff;
}

.item-oferta p {
  font-size: 16px;
  color: #ccc;
}

.item-oferta del {
  color: #888;
}

.item-oferta strong {
  color: #00ff00;
}

.item-oferta button {
  background-color: #00cc00;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.item-oferta button:hover {
  background-color: #009900;
}


.btn-comprar {
  display: inline-block;
  background-color: #00cc00;
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.btn-comprar:hover {
  background-color: #009900;
}
