body.nga-age-gate-open {
  overflow: hidden;
}

.nga-age-gate[hidden] {
  display: none;
}

.nga-age-gate {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  max-width: 100vw;
  padding: 24px;
  background: rgba(10, 19, 34, 0.96);
  color: var(--text, #101828);
}

.nga-age-gate__panel {
  width: min(100%, 620px);
  max-width: calc(100vw - 32px);
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--border, #e4e9f0);
  border-radius: 10px;
  background: var(--surface, #fff);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.1);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.nga-age-gate__brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 24px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--navy-950, #0a1322);
}

.nga-age-gate__brand .nga-brand__icon { height: 32px; }

.nga-age-gate h2 {
  color: var(--navy-950, #0a1322);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
}

.nga-age-gate__site-name {
  color: #fff;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
}

.nga-age-gate h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 30px);
}

.nga-age-gate__intro {
  margin-bottom: 24px;
  color: var(--text-2, #475467);
}

.nga-age-gate__intro > :last-child {
  margin-bottom: 0;
}

.nga-age-gate__checks {
  display: grid;
  gap: 12px;
}

.nga-age-gate__check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.5;
}

.nga-age-gate__check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue-600, #2e6bd6);
}

.nga-age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nga-age-gate .btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 600 15px/1.2 "IBM Plex Sans", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.nga-age-gate .btn-primary {
  background: var(--blue-600, #2e6bd6);
  color: #fff;
}

.nga-age-gate .btn-primary:hover:not(:disabled) {
  background: var(--blue-700, #2558b8);
}

.nga-age-gate .btn-outline {
  border-color: var(--border-strong, #cbd5e1);
  background: #fff;
  color: var(--navy-900, #101d33);
}

.nga-age-gate .btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.nga-age-gate .btn:focus-visible,
.nga-age-gate input:focus-visible {
  outline: 2px solid var(--blue-600, #2e6bd6);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .nga-age-gate {
    place-items: start center;
    padding: 12px;
  }

  .nga-age-gate__actions,
  .nga-age-gate .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nga-age-gate *,
  .nga-age-gate *::before,
  .nga-age-gate *::after {
    transition: none !important;
  }
}
