/* Age verification gate — Private Gallery */
#pg-age-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #0f1110;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(200, 40, 45, 0.18), transparent 62%);
  color: #f4f1ea;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 1;
  transition: opacity 260ms ease;
  will-change: opacity;
}
#pg-age-gate[hidden] { display: none; }
#pg-age-gate.pg-age-out {
  opacity: 0;
  pointer-events: none;
  /* Le flou coûte cher sur mobile : on le retire pendant le fondu pour
     éviter toute saccade au moment où la vidéo démarre. */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
#pg-age-gate.pg-age-out .pg-age-card {
  transform: scale(.97);
  opacity: 0;
  transition: transform 240ms ease, opacity 200ms ease;
}
@media (prefers-reduced-motion: reduce) {
  #pg-age-gate, #pg-age-gate .pg-age-card { transition: none; }
}


#pg-age-gate .pg-age-card {
  width: 100%;
  max-width: 520px;
  text-align: center;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 4px;
  background: rgba(18, 20, 19, 0.92);
  padding: clamp(26px, 5vw, 46px) clamp(20px, 5vw, 42px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
#pg-age-gate .pg-age-logo {
  height: clamp(52px, 11vw, 74px);
  width: auto;
  margin: 0 auto 22px;
  display: block;
}
#pg-age-gate .pg-age-eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
  margin: 0 0 14px;
}
#pg-age-gate h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.18;
  margin: 0 0 14px;
}
#pg-age-gate h2 em { font-style: italic; color: #c8282d; }
#pg-age-gate p.pg-age-body {
  font-size: clamp(13.5px, 3.4vw, 15px);
  line-height: 1.65;
  color: rgba(244, 241, 234, 0.78);
  margin: 0 0 26px;
}
#pg-age-gate .pg-age-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#pg-age-gate button {
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.06em;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
#pg-age-gate .pg-age-yes {
  border: 1px solid #c8282d;
  background: #c8282d;
  color: #fff;
}
#pg-age-gate .pg-age-yes:hover { background: #a91f24; border-color: #a91f24; }
#pg-age-gate .pg-age-no {
  border: 1px solid rgba(244, 241, 234, 0.32);
  background: transparent;
  color: rgba(244, 241, 234, 0.86);
}
#pg-age-gate .pg-age-no:hover { background: rgba(244, 241, 234, 0.1); }
#pg-age-gate button:focus-visible {
  outline: 2px solid #f4f1ea;
  outline-offset: 3px;
}
#pg-age-gate .pg-age-legal {
  margin: 22px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.45);
}
#pg-age-gate .pg-age-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}
#pg-age-gate .pg-age-langs button {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(244, 241, 234, 0.5);
}
#pg-age-gate .pg-age-langs button[aria-pressed="true"] {
  color: #f4f1ea;
  border-color: rgba(244, 241, 234, 0.3);
}
html.pg-age-locked, html.pg-age-locked body { overflow: hidden !important; }

@media (prefers-reduced-motion: reduce) {
  #pg-age-gate { transition: none; }
}
