:root {
  --rojo-principal: #eb2f2e;
  --color-texto: #333;
  --gris-claro: #f9f9f9;
  --azul-header: #2eabb9;
  --fuente: 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  font-family: var(--fuente);
  background-color: white;
  color: var(--color-texto);
}

.barra-advertencia {
  background: repeating-linear-gradient(-45deg, #ffce00, #ffce00 10px, #000 10px, #000 20px);
  height: 20px;
}

.main-header {
  background-color: var(--azul-header);
  color: white;
}

.nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 1000px;
  margin: auto;
  padding: 10px;
}

.logo-header {
  width: 60px;
  height: auto;
}

.nav-container h1 {
  font-size: 56px;
  font-weight: 800;
  color: white;
  text-align: center;
  margin: 0;
}

.nav-container nav {
  display: flex;
  gap: 10px;
}

.nav-container nav a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.nav-container nav a:hover {
  text-decoration: underline;
}

.hero-seccion {
  background-color: #ff4a4a;
  color: white;
  text-align: center;
  padding: 40px 20px;
  min-height: 100vh;
  border-radius: 0;
}

.hero-seccion h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.descargar-apk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.descargar-apk img {
  width: 100px;
  height: 100px;
}

.btn-descarga {
  background-color: white;
  color: var(--rojo-principal);
  padding: 14px 30px;
  font-size: 18px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-descarga:hover {
  background-color: #ffe5e5;
}

.logos-juegos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.logos-juegos img {
  height: 100px;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logos-juegos img:hover {
  transform: scale(1.05);
}

/* TARJETAS */
.contenedor-tarjetas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 30px auto;
  max-width: 1200px;
}

.tarjeta {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex: 1 1 320px;
  max-width: 500px;
  color: white;
}

.tarjeta h2.titulo-negro {
  color: black;
  font-size: 22px;
  margin-bottom: 15px;
}

.lista-app {
  list-style: none;
  padding: 0;
  text-align: left;
}

.lista-app li {
  margin-bottom: 10px;
  font-size: 15px;
}

/* Imagen en tarjeta */
.imagen-pago {
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
  border-radius: 12px;
}

/* Social */
.social-text {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 16px;
  color: white;
  font-weight: 500;
  text-align: center;
}

.social-bottom {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.social-bottom a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-bottom a:hover {
  transform: scale(1.1);
}

.social-bottom img {
  width: 40px;
  height: 40px;
}

/* Footer */
footer {
  background-color: var(--gris-claro);
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #777;
}

footer a {
  color: var(--rojo-principal);
  margin: 0 10px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container h1 {
    font-size: 32px;
  }

  .btn-descarga {
    font-size: 16px;
    padding: 12px 25px;
  }

  .descargar-apk img {
    width: 60px;
    height: 60px;
  }

  .logos-juegos img {
    height: 70px;
  }

  .contenedor-tarjetas {
    flex-direction: column;
    align-items: center;
  }

  .tarjeta {
    width: 100%;
    max-width: 90%;
  }

  .imagen-pago {
    max-width: 100%;
  }
}


