:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: #c9d0e4;
  --purple: #351844;
  --purple-bright: #6f3a89;
  --line: rgba(255, 255, 255, 0.2);
  --panel: rgba(4, 8, 20, 0.56);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(86, 109, 181, 0.38), transparent 28%),
    radial-gradient(circle at 78% 24%, rgba(54, 25, 95, 0.36), transparent 30%),
    radial-gradient(circle at 52% 72%, rgba(37, 78, 142, 0.32), transparent 34%),
    linear-gradient(180deg, #020713 0%, #091024 46%, #040811 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
}

body::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(180, 205, 255, 0.7) 0 1.5px, transparent 2px);
  background-position:
    8px 22px,
    64px 88px,
    132px 36px;
  background-size:
    112px 124px,
    178px 196px,
    244px 232px;
  opacity: 0.72;
}

body::after {
  background:
    radial-gradient(ellipse at center, transparent 0%, transparent 48%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(120deg, transparent 0%, rgba(90, 114, 176, 0.08) 38%, transparent 62%);
}

.age-gate {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100vh - 72px);
  padding: 48px 20px 24px;
  place-items: center;
}

.panel {
  width: min(100%, 620px);
  padding: 44px 28px 38px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(8px);
}

.brand {
  margin-bottom: 42px;
}

.brand-logo {
  display: block;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.subcopy {
  max-width: 420px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 172px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
}

.button-primary {
  background: #ffffff;
  color: var(--purple);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--purple-bright);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.denied-message {
  margin: 20px 0 0;
  color: #f3c6d8;
  font-size: 0.96rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 24px;
  min-height: 72px;
  padding: 22px 20px 28px;
  flex-wrap: wrap;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 520px) {
  .age-gate {
    min-height: calc(100vh - 112px);
    padding-top: 28px;
  }

  .panel {
    padding: 34px 18px 30px;
  }

  .brand {
    margin-bottom: 34px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    gap: 14px;
    min-height: 112px;
  }
}
