/* Porte d'âge + popunder. Carte centrée, fond flouté, jeton d'accent du thème. */
.agegate[hidden] { display: none; }
html.agegate-open { overflow: hidden; }
.agegate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgb(0 0 0 / 55%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}
.agegate-box {
  position: relative;
  width: min(540px, 100%);
  padding: clamp(26px, 5vw, 40px);
  text-align: center;
  background:
    radial-gradient(circle at 100% 0, rgb(232 93 4 / 16%), transparent 42%),
    linear-gradient(150deg, #1b1b1f, #101014);
  border: 1px solid var(--vt-line, #34343a);
  border-radius: var(--vt-radius-xl, 26px);
  box-shadow: var(--vt-shadow-modal, 0 30px 80px rgb(0 0 0 / 60%));
}
.agegate-brand { margin-bottom: 14px; font-size: 24px; font-weight: 900; letter-spacing: -.03em; }
.agegate-brand span { color: var(--vt-accent, #e85d04); }
.agegate-kicker { margin: 0 0 6px; color: var(--vt-accent, #e85d04); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.agegate-box h2 { margin: 0; font-size: clamp(23px, 4vw, 30px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; text-transform: uppercase; }
.agegate-text { max-width: 52ch; margin: 14px auto 20px; color: var(--vt-muted, #c9c9c9); font-size: 14px; line-height: 1.65; }
.agegate-cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 260px);
  min-height: 54px;
  padding: 14px 34px;
  color: var(--vt-accent-ink, #fff);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(145deg, var(--vt-accent, #e85d04), #bd4a03);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgb(232 93 4 / 30%);
  transition: transform 180ms cubic-bezier(.25, 1, .5, 1), box-shadow 180ms cubic-bezier(.25, 1, .5, 1), filter 180ms ease;
}
.agegate-cta:hover { opacity: 1; filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 16px 36px rgb(232 93 4 / 40%); }
.agegate-cta:active { transform: scale(.98); }
.agegate-cta:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.agegate-minors { max-width: 56ch; margin: 18px auto 0; color: var(--vt-muted-2, #8f8f8f); font-size: 11px; line-height: 1.6; }
.agegate-more { display: inline-block; margin-top: 14px; color: var(--vt-muted, #c9c9c9); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .agegate { align-items: start; padding: max(20px, env(safe-area-inset-top)) 14px max(20px, env(safe-area-inset-bottom)); }
  .agegate-box { padding: 26px 18px; border-radius: var(--vt-radius-lg, 20px); }
  .agegate-cta { width: 100%; min-width: 0; }
  .agegate-text { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .agegate-cta { transition: none; }
}
