/* ===== AGE VERIFICATION GATE ===== */

/* Bloquea el scroll del body mientras el gate está visible */
body.age-locked {
  overflow: hidden;
}

/* ── Overlay principal ───────────────────────────────────────────────────── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--burnt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* El gate está oculto por defecto — JS lo muestra si no hay verificación previa.
   Se usa display:none para evitar flash de contenido antes de que cargue el JS. */
.age-gate.hidden {
  display: none;
}

/* Decoración de fondo — patrón sutil */
.age-gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(140,106,67,.06) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(140,106,67,.04) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Tarjeta central ─────────────────────────────────────────────────────── */
.age-gate-card {
  position: relative;
  max-width: 480px;
  width: 100%;
  text-align: center;
  padding: 3.5rem 2.5rem 2.5rem;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(216,205,192,.1);
  border-radius: 4px;
  animation: ageFadeUp .45s ease both;
}

@keyframes ageFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo */
.age-gate-logo {
  font-family: var(--f-head);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: .1em;
  opacity: .55;
  margin-bottom: 2.5rem;
}

/* Eyebrow */
.age-gate-eyebrow {
  display: block;
  font-family: var(--f-body);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1rem;
}

/* Título */
.age-gate-title {
  font-family: var(--f-head);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

/* Texto descriptivo */
.age-gate-text {
  font-family: var(--f-body);
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.78;
  margin: 0 auto 2.5rem;
  max-width: 360px;
  opacity: .8;
}

/* ── Botones ─────────────────────────────────────────────────────────────── */
.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-bottom: 1.75rem;
}

/* Botón SÍ — acción principal */
.age-gate-yes {
  background: var(--bronze);
  color: var(--ivory);
  border: 1px solid var(--bronze);
  padding: 1.05rem 2rem;
  font-family: var(--f-body);
  font-size: .73rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .2s;
  width: 100%;
}
.age-gate-yes:hover {
  background: var(--bronze-lt);
  border-color: var(--bronze-lt);
  transform: translateY(-2px);
}

/* Botón NO — acción secundaria discreta */
.age-gate-no {
  background: transparent;
  color: rgba(216,205,192,.42);
  border: 1px solid rgba(216,205,192,.15);
  padding: .85rem 2rem;
  font-family: var(--f-body);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .25s, color .25s;
  width: 100%;
}
.age-gate-no:hover {
  border-color: rgba(216,205,192,.3);
  color: rgba(216,205,192,.65);
}

/* Disclaimer */
.age-gate-disclaimer {
  font-size: .68rem;
  color: rgba(216,205,192,.22);
  line-height: 1.65;
}

/* ── Pantalla de acceso denegado ─────────────────────────────────────────── */
.age-denied {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.age-denied[aria-hidden="true"] { display: none; }

.age-denied-card {
  max-width: 420px;
  width: 100%;
  animation: ageFadeUp .35s ease both;
}

.age-denied-logo {
  font-family: var(--f-head);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ivory);
  opacity: .3;
  letter-spacing: .1em;
  margin-bottom: 3rem;
}

.age-denied-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
  opacity: .5;
}

.age-denied-title {
  font-family: var(--f-head);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.age-denied-text {
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.75;
  opacity: .7;
  margin-bottom: 2.5rem;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.age-denied-back {
  display: inline-block;
  font-family: var(--f-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(216,205,192,.35);
  border: 1px solid rgba(216,205,192,.12);
  padding: .75rem 1.75rem;
  text-decoration: none;
  transition: color .25s, border-color .25s;
}
.age-denied-back:hover {
  color: var(--stone);
  border-color: rgba(216,205,192,.28);
}

/* ── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 500px) {
  .age-gate-card {
    padding: 2.5rem 1.5rem 2rem;
  }
}
