/* Reality chooser. Hidden until data-open is set. */

.gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  place-items: safe center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding:
    max(24px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  background: rgba(5, 6, 12, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 480px) {
  .gate-kicker { letter-spacing: .16em; font-size: 11px; }
}
.gate[data-open] { display: grid; }
.gate-card {
  width: min(880px, 100%);
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.gate-kicker {
  margin: 0 0 14px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #22e7ff;
  text-shadow: 0 0 16px rgba(34, 231, 255, .45);
}
.gate-card h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-align: center;
  color: #f4f1ec;
}
.gate-card h2 em {
  font-style: normal;
  color: #22e7ff;
  text-shadow: 0 0 18px rgba(34, 231, 255, .55);
}
.gate-card .gate-sub { text-align: center; margin-left: auto; margin-right: auto; }
.gate-card .gate-sub {
  color: var(--txt-2);
  margin: 12px 0 22px;
  max-width: 46ch;
}
.gate-options {
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .gate-options { grid-template-columns: 1fr 1fr; }
}
.gate-opt {
  text-align: left;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--ink);
  color: var(--txt);
  padding: 18px 18px 16px;
  cursor: pointer;
  min-height: 148px;
  font: inherit;
}
.gate-opt strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.gate-opt span {
  display: block;
  color: var(--txt-2);
  font-size: .95rem;
}
.gate-opt[data-choice="present"] { box-shadow: inset 4px 0 0 var(--blue); }
.gate-opt[data-choice="present"] strong { color: #7ea2ff; }
.gate-opt[data-choice="futuristic"] {
  border: 2px solid #00d9ff;
  box-shadow: 0 0 16px rgba(0, 217, 255, .55), inset 0 0 18px rgba(0, 217, 255, .12);
  background:
    radial-gradient(240px 120px at 100% 0%, rgba(255, 43, 214, .28), transparent 70%),
    #0a1018;
}
.gate-opt[data-choice="futuristic"] strong { color: #e8fbff; text-shadow: 0 0 10px rgba(0, 217, 255, .7); }
.gate-opt:hover, .gate-opt:focus-visible { border-color: var(--txt); }
.gate-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--txt-2);
  font-size: .95rem;
}
.gate-remember input { width: 18px; height: 18px; accent-color: var(--heat); }
.gate-close {
  margin-top: 14px;
  background: none;
  border: 0;
  color: var(--txt-3);
  font: inherit;
  cursor: pointer;
  padding: 6px 0;
}
.gate-close:hover { color: var(--txt); }
