:root {
  --directory-age-primary: #7b2cbf;
  --directory-age-primary-dark: #5a189a;
  --directory-age-accent: #c2186a;
  --directory-age-text: #303642;
  --directory-age-muted: #4f5563;
  --directory-age-card: #ffffff;
}

.directory-age-gate-lock {
  overflow: hidden !important;
}

.directory-age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(18, 22, 33, 0.72);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.directory-age-gate-modal {
  width: min(625px, 100%);
  border-radius: 16px;
  background: var(--directory-age-card);
  color: var(--directory-age-text);
  text-align: center;
  padding: 48px 46px 42px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.directory-age-gate-logo-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 24px;
  border-radius: 999px;
  border: 2px solid #eeeeee;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.directory-age-gate-logo {
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
  display: none;
}

.directory-age-gate-logo.is-visible {
  display: block;
}

.directory-age-gate-fallback-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: var(--directory-age-primary);
}

.directory-age-gate-fallback-icon.is-hidden {
  display: none;
}

.directory-age-gate-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--directory-age-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.directory-age-gate-title {
  margin: 0 0 32px;
  font-size: clamp(29px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 900;
  color: var(--directory-age-text);
}

.directory-age-gate-text {
  margin: 0 auto 30px;
  max-width: 500px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--directory-age-muted);
}

.directory-age-gate-text strong {
  color: var(--directory-age-text);
  font-weight: 900;
}

.directory-age-gate-terms {
  margin: 0 auto 36px;
  max-width: 430px;
  font-size: 19px;
  line-height: 1.4;
  color: var(--directory-age-muted);
}

.directory-age-gate-terms a,
.directory-age-gate-reject {
  color: var(--directory-age-primary);
  text-decoration: none;
}

.directory-age-gate-terms a:hover,
.directory-age-gate-reject:hover {
  text-decoration: underline;
}

.directory-age-gate-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 58px;
  border: 0;
  border-radius: 12px;
  background: var(--directory-age-primary);
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(123, 44, 191, 0.25);
}

.directory-age-gate-accept:hover,
.directory-age-gate-accept:focus {
  background: var(--directory-age-primary-dark);
}

.directory-age-gate-reject {
  display: block;
  margin: 22px auto 0;
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.directory-age-gate-denied {
  margin-top: 20px;
  font-weight: 800;
  color: var(--directory-age-primary);
}

@media (max-width: 560px) {
  .directory-age-gate-modal {
    padding: 36px 26px 32px;
  }

  .directory-age-gate-logo-wrap {
    width: 86px;
    height: 86px;
  }

  .directory-age-gate-title {
    font-size: 26px;
  }

  .directory-age-gate-text,
  .directory-age-gate-terms {
    font-size: 16px;
  }
}
