/* Age gate */
.es-age-gate {
  position: fixed; inset: 0; z-index: 9000;
  display: none; place-items: center; padding: 20px;
  background: rgba(25,22,59,0.92); backdrop-filter: blur(14px);
}
.es-age-gate.show { display: grid; }
.es-age-gate__card {
  width: min(440px, 100%);
  padding: 28px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  color: #ffffff;
  text-align: center;
}
.es-age-gate__card h2 {
  margin: 0 0 8px; font-size: 1.6rem; letter-spacing: -.02em;
  font-family: Inter, system-ui, sans-serif;
}
.es-age-gate__card p {
  margin: 0 0 18px; color: #d1cdf3;
  line-height: 1.6; font-size: .95rem;
  font-family: Inter, system-ui, sans-serif;
}
.es-age-gate__row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.es-age-gate__btn {
  flex: 1; min-width: 130px; min-height: 50px; padding: 0 18px;
  border-radius: 14px; border: 1px solid transparent;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800; cursor: pointer; font-size: .95rem;
}
.es-age-gate__btn--yes {
  background: linear-gradient(135deg, #3f35a5 0%, #6f64d2 50%, #afa9e9 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(63,53,165,0.32);
}
.es-age-gate__btn--no {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
}
.es-age-gate__legal {
  margin-top: 14px; color: #afa9e9; font-size: .78rem;
  font-family: Inter, system-ui, sans-serif;
}
.es-age-gate__legal a { color: #6f64d2; text-decoration: underline; }

/* Cookie banner */
.es-cookie {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 8500; max-width: 720px; margin: 0 auto;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(25,22,59,0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  color: #ffffff;
  font-family: Inter, system-ui, sans-serif;
  display: none;
}
.es-cookie.show { display: block; animation: esCookieIn .3s ease-out; }
@keyframes esCookieIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.es-cookie__title { font-weight: 800; font-size: 1rem; margin: 0 0 6px; }
.es-cookie__text { color: #d1cdf3; font-size: .88rem; line-height: 1.55; margin: 0 0 14px; }
.es-cookie__text a { color: #6f64d2; text-decoration: underline; }
.es-cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.es-cookie__btn {
  flex: 1; min-width: 120px; min-height: 44px; padding: 0 14px;
  border-radius: 12px; border: 1px solid transparent;
  font-weight: 800; cursor: pointer; font-size: .88rem;
}
.es-cookie__btn--accept {
  background: linear-gradient(135deg, #3f35a5 0%, #6f64d2 50%, #afa9e9 100%);
  color: #ffffff;
}
.es-cookie__btn--reject,
.es-cookie__btn--settings {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
}

/* Footer disclosure pill */
.es-disclosure {
  display: block;
  margin: 20px auto 0;
  max-width: 760px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: #afa9e9;
  font-size: .78rem;
  line-height: 1.55;
  text-align: center;
}
.es-disclosure a { color: #6f64d2; text-decoration: underline; }

@media (max-width: 599px) {
  .es-cookie { left: 10px; right: 10px; padding: 16px 14px 14px; }
  .es-cookie__btn { flex-basis: 100%; }
}
