/* Age gate overlay — blocks content until 18+ verification */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at center, rgba(18, 6, 36, 0.95) 0%, rgba(8, 4, 12, 0.98) 70%);
  display: grid;
  place-items: center;
  font-family: var(--ff-body, "Noto Sans JP", sans-serif);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#age-gate[hidden] { display: none; }

#age-gate .age-gate-box {
  position: relative;
  max-width: 520px;
  width: calc(100% - 48px);
  padding: 40px 32px 32px;
  background: linear-gradient(160deg, rgba(18, 6, 36, 0.9) 0%, rgba(8, 4, 12, 0.9) 100%);
  border: 1px solid rgba(255, 45, 127, 0.45);
  box-shadow:
    0 0 40px rgba(255, 45, 127, 0.22),
    0 0 80px rgba(217, 38, 255, 0.14),
    inset 0 0 20px rgba(255, 45, 127, 0.08);
  color: #f8f4f0;
  text-align: center;
}

#age-gate .age-gate-box::before {
  content: "";
  position: absolute; inset: -1px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 45, 127, 0.4) 50%, transparent 100%) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent 0%, rgba(58, 226, 255, 0.35) 50%, transparent 100%) bottom / 100% 1px no-repeat;
  pointer-events: none;
}

#age-gate .age-gate-title {
  font-family: var(--ff-head, "Zen Kaku Gothic New", sans-serif);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ff2d7f;
  text-shadow: 0 0 12px rgba(255, 45, 127, 0.6);
  margin-bottom: 20px;
}

#age-gate .age-gate-body {
  font-size: 15px;
  line-height: 1.7;
  color: #e6dfe6;
  margin-bottom: 28px;
}

#age-gate .age-gate-body strong {
  color: #ff66a6;
  font-weight: 700;
}

#age-gate .age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#age-gate .age-gate-btn {
  appearance: none;
  border: 1px solid;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 20px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

#age-gate .age-gate-btn--yes {
  border-color: rgba(255, 45, 127, 0.8);
  color: #ff66a6;
  box-shadow: 0 0 18px rgba(255, 45, 127, 0.25), inset 0 0 10px rgba(255, 45, 127, 0.08);
}
#age-gate .age-gate-btn--yes:hover {
  background: rgba(255, 45, 127, 0.12);
  box-shadow: 0 0 28px rgba(255, 45, 127, 0.45), inset 0 0 14px rgba(255, 45, 127, 0.15);
  transform: translateY(-1px);
}

#age-gate .age-gate-btn--no {
  border-color: rgba(151, 144, 160, 0.5);
  color: #9790a0;
}
#age-gate .age-gate-btn--no:hover {
  background: rgba(151, 144, 160, 0.08);
  color: #c0b8cc;
}

#age-gate .age-gate-note {
  margin-top: 20px;
  font-size: 11px;
  color: #9790a0;
  letter-spacing: 0.05em;
  font-family: var(--ff-mono, "VT323", monospace);
}

body.age-gate-locked {
  overflow: hidden;
}
