/* ==========================================================================
   MODAL DE VERIFICACIÓN DE EDAD (+18) - RESULTADOS GANADORES
   ========================================================================== */

.age-gate-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 29, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: visible;
}

.age-gate-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-gate-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: 26px;
  width: 100%;
  max-width: 440px;
  padding: 38px 30px 28px;
  text-align: center;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.2);
  animation: ageCardPop 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-sizing: border-box;
}

@keyframes ageCardPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Badge circular +18 Rojo */
.age-gate-badge {
  width: 92px;
  height: 92px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 50%, #B91C1C 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  border: 4px solid #ffffff;
}

.age-gate-badge span {
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
}

.age-gate-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 25px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.2;
}

.age-gate-desc {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14.5px;
  color: #334155;
  line-height: 1.55;
  margin: 0 0 26px 0;
}

/* Fila de Botones Sí / No */
.age-gate-actions {
  display: flex;
  gap: 14px;
  width: 100%;
  margin-bottom: 22px;
}

.age-btn {
  flex: 1;
  padding: 13px 20px;
  border-radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.age-btn-yes {
  background: #2563EB;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.age-btn-yes:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.age-btn-yes:active {
  transform: scale(0.98);
}

.age-btn-no {
  background: #ffffff;
  color: #2563EB;
  border: 1.5px solid #2563EB;
}

.age-btn-no:hover {
  background: #EFF6FF;
  transform: translateY(-1px);
}

.age-btn-no:active {
  transform: scale(0.98);
}

/* Nota legal al pie */
.age-gate-footer-note {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 11.5px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
  padding: 0 6px;
}

@media (max-width: 480px) {
  .age-gate-card {
    padding: 30px 20px 22px;
    border-radius: 22px;
  }
  .age-gate-badge {
    width: 80px;
    height: 80px;
  }
  .age-gate-badge span {
    font-size: 32px;
  }
  .age-gate-title {
    font-size: 22px;
  }
  .age-gate-desc {
    font-size: 13.5px;
    margin-bottom: 22px;
  }
  .age-btn {
    padding: 12px 16px;
    font-size: 15px;
  }
}
