/* Age verification overlay — first visit only */
html.age-gate-lock {
  overflow: hidden;
  height: 100%;
}
html.age-gate-lock body {
  overflow: hidden;
}
html.age-gate-lock body > *:not(#age-gate) {
  visibility: hidden;
}

.age-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
html.age-gate-lock .age-gate {
  display: flex;
  visibility: visible;
}

.age-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 0, 3, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.age-gate-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 40px 32px 36px;
  text-align: center;
  background: linear-gradient(165deg, var(--bg3) 0%, var(--bg2) 50%, #0c0008 100%);
  border: 1px solid rgba(200, 169, 110, 0.28);
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.age-gate-accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(200px, 55%);
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(192, 0, 63, 0.9) 20%,
    rgba(200, 169, 110, 0.55) 50%,
    rgba(192, 0, 63, 0.9) 80%,
    transparent
  );
  box-shadow: 0 0 14px rgba(192, 0, 63, 0.45);
}

.age-gate-brand {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(28px, 7vw, 36px);
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.15;
}
.age-gate-brand em {
  font-style: italic;
  color: var(--gold);
}

.age-gate-label {
  margin: 18px 0 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--crimson2);
}

.age-gate-desc {
  margin: 22px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(232, 224, 208, 0.92);
}
.age-gate-desc strong {
  font-weight: 600;
  color: var(--fg);
}

.age-gate-enter {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  background: linear-gradient(180deg, var(--crimson2) 0%, var(--crimson) 100%);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: filter 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 24px rgba(139, 0, 48, 0.45);
}
.age-gate-enter:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.age-gate-enter:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.age-gate-exit {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 8px;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.age-gate-exit:hover {
  color: var(--dim);
}
.age-gate-exit:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.age-gate-foot {
  margin: 22px 0 0;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: rgba(232, 224, 208, 0.22);
}

@media (max-width: 480px) {
  .age-gate-panel {
    padding: 32px 22px 28px;
  }
}
