/* ═══════════════════════════════════════════════════════════
   gate.css — THE SOVEREIGN GATE
   Hyper-reactive 4D layering: rises in front of EVERYTHING,
   centered, full-screen veil, gone the moment it's answered.
   ═══════════════════════════════════════════════════════════ */
.sovereign-gate {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 15, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sovereign-gate.gate-visible { display: flex; }
.gate-card {
  animation: gateCardIn 0.7s cubic-bezier(0.618, 0, 0.382, 1) both;
  text-align: center;
  max-width: 440px;
  width: calc(100% - 2rem);
  padding: 2.4rem 2rem;
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 10, 20, 0.98), rgba(6, 6, 15, 0.99));
  box-shadow: 0 0 80px rgba(212, 168, 67, 0.18), 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: translateZ(0);
}
@keyframes gateCardIn {
  from { opacity: 0; transform: translateY(28px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.gate-phi {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; color: #d4a843;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 30px rgba(212, 168, 67, 0.45);
}
.gate-title {
  font-family: 'Cormorant Garamond', serif;
  color: #e8d9a0; font-size: 1.55rem; line-height: 1.3;
  margin: 0 0 0.5rem;
}
.gate-sub { color: #9a9ab5; font-size: 0.9rem; margin: 0 0 1.5rem; }
.gate-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.gate-btn {
  font-family: 'Space Mono', monospace; font-size: 0.85rem; cursor: pointer;
  padding: 0.75rem 1.5rem; border-radius: 8px;
  border: 1px solid rgba(212, 168, 67, 0.5);
  background: transparent; color: #e8d9a0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.gate-btn.gate-yes:hover { background: rgba(212, 168, 67, 0.16); transform: translateY(-1px); }
.gate-btn.gate-no { border-color: rgba(154, 154, 181, 0.4); color: #9a9ab5; }
.gate-btn.gate-no:hover { background: rgba(154, 154, 181, 0.1); }
.sovereign-gate.gate-accepted { display: none !important; }
@media (max-width: 480px) {
  .gate-card { padding: 1.6rem 1.2rem; }
  .gate-title { font-size: 1.3rem; }
}
