/**
 * "Délice Noir" theme for the age gate.
 *
 * Loaded after main.css. Every rule is prefixed with `html body` and marked
 * !important on purpose: the site's Customizer CSS ("CSS additionnel") and the
 * Elementor kit style the age gate with !important rules that load after this
 * file, and the plugin's colour settings always carry values (white card,
 * black text). Only a background image set in Appearance settings is kept.
 */
:root {
  --dl-ink: #050307;
  --dl-crimson: #e11d48;
  --dl-crimson-deep: #9f1239;
  --dl-rose: #fb7185;
  --dl-gold: #f5b84b;
  --dl-gold-light: #ffe2a8;
  --dl-text: #f7efe6;
  --dl-muted: rgba(247, 239, 230, .62);
  --dl-line: rgba(255, 255, 255, .09);
  --dl-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --dl-sans: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --dl-watermark: "18+";
}

@property --dl-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ---------- Backdrop: black, slow crimson/gold aurora, grain, huge 18+ ---------- */

html body .age-gate__background-color,
html body .age-gate-background-color {
  background: var(--dl-ink) !important;
  opacity: 1 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html body .age-gate__background-color::after,
html body .age-gate-background-color::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E") !important;
  background-size: 200px !important;
  opacity: .09 !important;
  pointer-events: none !important;
}

html body .age-gate__background,
html body .age-gate-background {
  background-image: var(--ag-background-image, none) !important;
  opacity: 1 !important;
  overflow: hidden !important;
}

html body .age-gate__background::before,
html body .age-gate-background::before {
  content: "" !important;
  position: absolute !important;
  inset: -60% !important;
  background:
    conic-gradient(from 0deg at 50% 50%,
      transparent 0deg,
      rgba(225, 29, 72, .55) 50deg,
      transparent 110deg,
      rgba(245, 184, 75, .32) 190deg,
      transparent 250deg,
      rgba(159, 18, 57, .6) 310deg,
      transparent 360deg) !important;
  filter: blur(90px) !important;
  animation: dl-spin 30s linear infinite !important;
  pointer-events: none !important;
}

html body .age-gate__background::after,
html body .age-gate-background::after {
  content: var(--dl-watermark) !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  font: 900 min(56vw, 70vh)/.8 var(--dl-display) !important;
  letter-spacing: -.05em !important;
  white-space: nowrap !important;
  color: transparent !important;
  -webkit-text-stroke: 1px rgba(245, 184, 75, .12) !important;
  pointer-events: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

/* Scrolls when the screen is short, centred otherwise */
html body .age-gate__wrapper,
html body .age-gate-wrapper {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 24px 16px !important;
  overflow-y: auto !important;
  font-family: var(--dl-sans) !important;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Card: dark glass + rotating crimson/gold border ---------- */

html body .age-gate__wrapper .age-gate,
html body .age-gate-wrapper .age-gate {
  position: relative !important;
  isolation: isolate;
  width: 100% !important;
  max-width: 460px !important;
  max-height: none !important;
  margin: auto !important;
  padding: 44px 36px 30px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 32px !important;
  background: linear-gradient(180deg, rgba(30, 14, 24, .74), rgba(9, 5, 11, .82)) !important;
  -webkit-backdrop-filter: blur(28px) saturate(150%) !important;
  backdrop-filter: blur(28px) saturate(150%) !important;
  box-shadow:
    0 50px 140px -40px rgba(225, 29, 72, .55),
    0 0 0 1px var(--dl-line),
    inset 0 1px 0 rgba(255, 255, 255, .07) !important;
  color: var(--dl-text) !important;
  font-family: var(--dl-sans) !important;
  text-align: center !important;
  animation: dl-card-in .9s cubic-bezier(.16, 1, .3, 1) both !important;
}

html body .age-gate__wrapper .age-gate::before,
html body .age-gate-wrapper .age-gate::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: auto !important;
  z-index: -1 !important;
  padding: 1.5px !important;
  border-radius: inherit !important;
  background: conic-gradient(from var(--dl-angle),
    transparent 0 52%,
    var(--dl-crimson) 68%,
    var(--dl-gold) 80%,
    transparent 94%) !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: dl-rotate 6s linear infinite !important;
  pointer-events: none !important;
}

/* ---------- Heading / logo ---------- */

html body .age-gate .age-gate__heading,
html body .age-gate .age-gate-heading {
  padding: 0 !important;
  margin: 0 !important;
  animation: dl-up .8s .1s cubic-bezier(.16, 1, .3, 1) both !important;
}

html body .age-gate .age-gate__heading::after,
html body .age-gate .age-gate-heading::after {
  content: none !important;
}

html body .age-gate img.age-gate__heading-title--logo,
html body .age-gate img.age-gate-heading-title-logo {
  display: block !important;
  max-width: 150px !important;
  height: auto !important;
  margin: 0 auto 22px !important;
  animation: dl-glow 4.5s ease-in-out infinite !important;
}

/* No logo: crimson/gold shield badge above the site name */
html body .age-gate .age-gate__heading:has(.age-gate__heading-title):not(:has(img))::before {
  content: "" !important;
  display: block !important;
  width: 68px !important;
  height: 68px !important;
  margin: 0 auto 18px !important;
  border-radius: 22px !important;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / 30px no-repeat,
    linear-gradient(135deg, var(--dl-crimson), var(--dl-gold)) !important;
  box-shadow: 0 14px 36px -8px rgba(225, 29, 72, .7) !important;
}

html body .age-gate .age-gate__heading-title:not(img),
html body .age-gate .age-gate-heading-title:not(img) {
  margin: 0 0 10px !important;
  font: 500 .74rem/1.2 var(--dl-sans) !important;
  letter-spacing: .32em !important;
  text-transform: uppercase !important;
  color: var(--dl-gold) !important;
}

/* ---------- Texts ---------- */

html body .age-gate .age-gate__headline,
html body .age-gate .age-gate-headline {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(100deg, var(--dl-gold-light), var(--dl-gold) 30%, var(--dl-rose) 65%, var(--dl-crimson) 85%, var(--dl-gold-light)) !important;
  background-size: 220% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  font-family: var(--dl-display) !important;
  font-size: clamp(1.9rem, 6.5vw, 2.6rem) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  letter-spacing: -.01em !important;
  line-height: 1.08 !important;
  text-transform: none !important;
  animation: dl-up .8s .18s cubic-bezier(.16, 1, .3, 1) both, dl-shine 7s linear infinite !important;
}

html body .age-gate .age-gate__subheadline,
html body .age-gate .age-gate-subheadline {
  margin: 0 auto 30px !important;
  max-width: 34ch !important;
  font: 300 .95rem/1.7 var(--dl-sans) !important;
  color: var(--dl-muted) !important;
  animation: dl-up .8s .26s cubic-bezier(.16, 1, .3, 1) both !important;
}

/* Question framed by two fading gold lines */
html body .age-gate .age-gate__challenge,
html body .age-gate .age-gate-challenge {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 0 20px !important;
  font: italic 400 1.2rem/1.3 var(--dl-display) !important;
  letter-spacing: 0 !important;
  color: var(--dl-text) !important;
  animation: dl-up .8s .34s cubic-bezier(.16, 1, .3, 1) both !important;
}

html body .age-gate .age-gate__challenge::before,
html body .age-gate .age-gate__challenge::after,
html body .age-gate .age-gate-challenge::before,
html body .age-gate .age-gate-challenge::after {
  content: "" !important;
  flex: 1 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(245, 184, 75, .55)) !important;
}

html body .age-gate .age-gate__challenge::after,
html body .age-gate .age-gate-challenge::after {
  background: linear-gradient(90deg, rgba(245, 184, 75, .55), transparent) !important;
}

/* ---------- Buttons ---------- */

html body .age-gate .age-gate__buttons,
html body .age-gate .age-gate-buttons {
  display: grid !important;
  grid-template-columns: 1.6fr 1fr !important;
  gap: 12px !important;
  margin: 0 0 22px !important;
  animation: dl-up .8s .42s cubic-bezier(.16, 1, .3, 1) both !important;
}

/* "Enter" first whatever the Button order setting */
html body .age-gate .age-gate__buttons .age-gate__submit--yes,
html body .age-gate .age-gate-buttons .age-gate-submit-yes {
  order: -1 !important;
}

html body .age-gate button.age-gate__submit--yes,
html body .age-gate button.age-gate-submit-yes,
html body .age-gate button.age-gate__submit--no,
html body .age-gate button.age-gate-submit-no,
html body .age-gate button.age-gate__button,
html body .age-gate button.age-gate-button {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px 14px !important;
  border: 0 !important;
  border-radius: 16px !important;
  font: 600 .88rem/1 var(--dl-sans) !important;
  letter-spacing: .1em !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s, background-position .6s, color .2s, background-color .2s !important;
}

html body .age-gate button.age-gate__submit--yes,
html body .age-gate button.age-gate-submit-yes,
html body .age-gate button.age-gate__button,
html body .age-gate button.age-gate-button,
html body .age-gate button.age-gate__submit--yes:focus,
html body .age-gate button.age-gate-submit-yes:focus,
html body .age-gate button.age-gate__button:focus,
html body .age-gate button.age-gate-button:focus {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(80, 0, 20, .45) !important;
  background: linear-gradient(110deg, var(--dl-crimson-deep), var(--dl-crimson) 35%, #f43f5e 60%, #f59e0b) !important;
  background-size: 200% 100% !important;
  background-position: 0 0 !important;
  box-shadow: 0 14px 36px -12px rgba(225, 29, 72, .85), inset 0 1px 0 rgba(255, 255, 255, .28) !important;
}

html body .age-gate button.age-gate__submit--yes:hover,
html body .age-gate button.age-gate-submit-yes:hover,
html body .age-gate button.age-gate__button:hover,
html body .age-gate button.age-gate-button:hover {
  color: #fff !important;
  background: linear-gradient(110deg, var(--dl-crimson-deep), var(--dl-crimson) 35%, #f43f5e 60%, #f59e0b) !important;
  background-size: 200% 100% !important;
  background-position: 100% 0 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 50px -12px rgba(225, 29, 72, .95), inset 0 1px 0 rgba(255, 255, 255, .28) !important;
}

/* Light sweeping across the Enter button */
html body .age-gate button.age-gate__submit--yes::after,
html body .age-gate button.age-gate-submit-yes::after,
html body .age-gate button.age-gate__button::after,
html body .age-gate button.age-gate-button::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%) !important;
  transform: translateX(-120%);
  animation: dl-sweep 3.4s ease-in-out 1.2s infinite !important;
  pointer-events: none !important;
}

html body .age-gate button.age-gate__submit--no,
html body .age-gate button.age-gate-submit-no,
html body .age-gate button.age-gate__submit--no:focus,
html body .age-gate button.age-gate-submit-no:focus {
  color: var(--dl-muted) !important;
  background: rgba(255, 255, 255, .04) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14) !important;
}

html body .age-gate button.age-gate__submit--no:hover,
html body .age-gate button.age-gate-submit-no:hover {
  color: var(--dl-text) !important;
  background: rgba(255, 255, 255, .08) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28) !important;
  transform: translateY(-1px) !important;
}

html body .age-gate button:active {
  transform: scale(.97) !important;
}

html body .age-gate button:focus-visible {
  outline: 2px solid var(--dl-gold) !important;
  outline-offset: 3px !important;
}

/* Submit row (date mode) */
html body .age-gate div.age-gate__submit,
html body .age-gate div.age-gate-submit {
  margin: 0 0 20px !important;
}

/* ---------- Date fields (if switched back to inputs/selects) ---------- */

html body .age-gate .age-gate__form-elements,
html body .age-gate .age-gate-form-elements {
  grid-template-columns: 1fr 1fr 1.4fr !important;
}

html body .age-gate .age-gate__form-section,
html body .age-gate .age-gate-form-section {
  text-align: left !important;
}

html body .age-gate .age-gate__label,
html body .age-gate .age-gate-label {
  margin: 0 0 6px 4px !important;
  font: 500 .7rem/1.2 var(--dl-sans) !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--dl-muted) !important;
}

html body .age-gate input[type=text].age-gate__input,
html body .age-gate input[type=text].age-gate-input,
html body .age-gate select.age-gate__select,
html body .age-gate select.age-gate-select,
html body .age-gate select.age-gate__region {
  width: 100% !important;
  padding: 15px 12px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .05) !important;
  color: var(--dl-text) !important;
  font: 600 1.15rem/1 var(--dl-sans) !important;
  text-align: center !important;
  outline: none !important;
  transition: border-color .2s, box-shadow .2s !important;
}

html body .age-gate input[type=text].age-gate__input:focus,
html body .age-gate input[type=text].age-gate-input:focus,
html body .age-gate select.age-gate__select:focus,
html body .age-gate select.age-gate-select:focus,
html body .age-gate select.age-gate__region:focus {
  border-color: var(--dl-crimson) !important;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, .25) !important;
}

html body .age-gate select.age-gate__select option,
html body .age-gate select.age-gate-select option {
  background: #1a0d14 !important;
  color: var(--dl-text) !important;
}

/* ---------- Remember me: switch ---------- */

html body .age-gate .age-gate__remember-wrapper,
html body .age-gate .age-gate-remember-wrapper {
  margin: 0 0 20px !important;
}

html body .age-gate .age-gate__remember,
html body .age-gate .age-gate-remember {
  gap: 10px !important;
}

html body .age-gate .age-gate__remember-text,
html body .age-gate .age-gate-remember-text {
  margin: 0 !important;
  font: 400 .85rem/1 var(--dl-sans) !important;
  color: var(--dl-muted) !important;
}

html body .age-gate input.age-gate__remember-field,
html body .age-gate input.age-gate-remember-field {
  -webkit-appearance: none !important;
  appearance: none !important;
  position: relative !important;
  flex: none !important;
  width: 38px !important;
  height: 22px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 99px !important;
  background: rgba(255, 255, 255, .14) !important;
  cursor: pointer !important;
  transition: background .2s !important;
}

html body .age-gate input.age-gate__remember-field::after,
html body .age-gate input.age-gate-remember-field::after {
  content: "" !important;
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: #fff !important;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1) !important;
}

html body .age-gate input.age-gate__remember-field:checked,
html body .age-gate input.age-gate-remember-field:checked {
  background: var(--dl-crimson) !important;
}

html body .age-gate input.age-gate__remember-field:checked::after,
html body .age-gate input.age-gate-remember-field:checked::after {
  transform: translateX(16px) !important;
}

/* ---------- Errors + small print ---------- */

html body .age-gate .age-gate__error,
html body .age-gate .age-gate-error {
  display: block !important;
  margin: 0 0 16px !important;
  padding: 11px 14px !important;
  border-radius: 12px !important;
  font: 500 .86rem/1.4 var(--dl-sans) !important;
  color: #fecdd3 !important;
  background: rgba(225, 29, 72, .14) !important;
  box-shadow: inset 0 0 0 1px rgba(225, 29, 72, .35) !important;
}

html body .age-gate .age-gate__additional-information,
html body .age-gate .age-gate-additional-information {
  font: 300 .74rem/1.6 var(--dl-sans) !important;
  color: rgba(247, 239, 230, .38) !important;
  animation: dl-up .8s .5s cubic-bezier(.16, 1, .3, 1) both !important;
}

html body .age-gate .age-gate__additional-information a,
html body .age-gate .age-gate-additional-information a {
  color: var(--dl-gold) !important;
}

html body .age-gate__loader,
html body .age-gate-loader {
  background: rgba(5, 3, 7, .85) !important;
  color: var(--dl-crimson) !important;
}

/* ---------- Phones ---------- */

@media (max-width: 480px) {
  html body .age-gate__wrapper .age-gate,
  html body .age-gate-wrapper .age-gate {
    padding: 36px 22px 24px !important;
    border-radius: 26px !important;
  }

  html body .age-gate .age-gate__buttons,
  html body .age-gate .age-gate-buttons {
    grid-template-columns: 1fr !important;
  }

  html body .age-gate img.age-gate__heading-title--logo,
  html body .age-gate img.age-gate-heading-title-logo {
    max-width: 120px !important;
    margin-bottom: 18px !important;
  }
}

/* ---------- Motion ---------- */

@keyframes dl-spin { to { transform: rotate(360deg); } }
@keyframes dl-rotate { to { --dl-angle: 360deg; } }
@keyframes dl-card-in { from { opacity: 0; transform: translateY(28px) scale(.96); filter: blur(6px); } }
@keyframes dl-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes dl-shine { to { background-position: 220% center; } }
@keyframes dl-sweep { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
@keyframes dl-glow {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(225, 29, 72, .35)) drop-shadow(0 0 30px rgba(245, 184, 75, .15)); }
  50% { filter: drop-shadow(0 0 30px rgba(225, 29, 72, .6)) drop-shadow(0 0 50px rgba(245, 184, 75, .3)); }
}

@media (prefers-reduced-motion: reduce) {
  html body .age-gate__wrapper *,
  html body .age-gate__wrapper *::before,
  html body .age-gate__wrapper *::after {
    animation: none !important;
  }
}
