/* Estilos para el agegate (verificación de edad) */

.age-portal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1000001; /* Mayor que el banner de cookies (#cc--main tiene z-index: 1000000) */
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.age-portal-content {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 6px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.age-portal-content img {
  max-width: 200px;
  height: auto;
  margin-bottom: 24px;
}

.age-portal-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.age-portal-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.5;
}

.age-portal-boton {
  display: inline-block;
  padding: 12px 32px;
  background-color: black;
  color: #ffffff;
  text-decoration: none;
  border-radius: 3px;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.age-portal-boton:hover {
  background-color: #333;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 64, 64, 0.3);
}

.age-portal-boton:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.age-portal-boton--si {
  margin-right: 12px;
}

/* Ocultar el agegate cuando se ha aceptado (se maneja con JavaScript) */
.age-portal.hidden {
  display: none;
}

