/* =============================================
   AGE GATE — Verificación de edad
   ============================================= */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,6,8,0.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  opacity: 0;
  animation: ag-fadein 0.6s ease 0.3s forwards;
}

@keyframes ag-fadein {
  to { opacity: 1; }
}

.age-gate-box {
  text-align: center;
  max-width: 520px;
  width: 100%;
  transform: translateY(20px);
  animation: ag-slidein 0.6s ease 0.4s forwards;
  opacity: 0;
}

@keyframes ag-slidein {
  to { opacity: 1; transform: translateY(0); }
}

.age-gate-logo {
  width: 110px;
  height: auto;
  margin: 0 auto 28px;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(232,0,122,0.4));
}

.age-gate-divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--rosa), transparent);
  margin: 16px auto 24px;
  box-shadow: 0 0 10px rgba(232,0,122,0.5);
}

.age-gate-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--rosa);
  border: 1px solid rgba(232,0,122,0.3);
  background: rgba(232,0,122,0.08);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.age-gate-box h2 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  letter-spacing: -0.5px;
  color: var(--blanco);
  line-height: 1.1;
  margin-bottom: 14px;
}

.age-gate-box p {
  font-size: 14px;
  font-weight: 300;
  color: var(--gris);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.age-gate-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.age-gate-yes {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rosa);
  color: var(--blanco);
  border: none;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(232,0,122,0.4);
  transition: all 0.3s;
}

.age-gate-yes:hover {
  box-shadow: 0 0 48px rgba(232,0,122,0.6);
  transform: translateY(-2px);
  background: #ff0d89;
}

.age-gate-no {
  display: inline-flex;
  align-items: center;
  padding: 16px 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gris-oscuro);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
}

.age-gate-no:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: var(--gris);
}

.age-gate-legal {
  margin-top: 28px;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.5px;
  line-height: 1.6;
}

/* Pantalla de rechazo */
.age-gate-denied {
  display: none;
  text-align: center;
  padding: 20px;
}

.age-gate-denied .denied-icon {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.4;
}

.age-gate-denied h3 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--blanco);
  margin-bottom: 12px;
}

.age-gate-denied p {
  font-size: 14px;
  font-weight: 300;
  color: var(--gris);
  line-height: 1.8;
}

/* Sale del DOM con fade */
.age-gate.closing {
  animation: ag-fadeout 0.5s ease forwards;
}

@keyframes ag-fadeout {
  to { opacity: 0; pointer-events: none; }
}

@media (max-width: 480px) {
  .age-gate-btns { flex-direction: column; align-items: center; }
  .age-gate-yes,
  .age-gate-no { width: 100%; justify-content: center; }
  .age-gate-box h2 { font-size: 1.6rem; }
}
