/* Gate and confirm pages, BRIT look. Layered on css/brv.css. */
body.gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  font-family: var(--font-display);
  position: relative;
}
.gate-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 46% at 50% 30%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 70%),
    radial-gradient(40% 30% at 85% 90%, color-mix(in oklab, #F47721 9%, transparent), transparent 70%);
}
.gate-card {
  position: relative; z-index: 1;
  width: min(100%, 480px);
  padding: 44px 34px 34px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.gate-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.gate-prep {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.gate-marks { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 26px; }
.gate-guest { height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.gate-guest-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.gate-by { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.gate-by img { height: 20px; width: auto; opacity: 0.9; }
.gate-card h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); line-height: 1.05; margin: 0 0 12px; }
.gate-tag { color: #aab0a9; line-height: 1.55; margin: 0 auto 26px; font-size: 15px; font-family: var(--font-display); }
.gate-card input[type="email"] {
  width: 100%; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-strong);
  color: #fff; border-radius: var(--radius); padding: 14px 16px; font-size: 15px;
  font-family: var(--font-display); text-align: center;
}
.gate-card input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--wash); }
.gate-card .btn { width: 100%; margin-top: 14px; padding: 16px 24px; }
.gate-card .btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.gate-hint { font-size: 12.5px; color: var(--muted); margin-top: 18px; font-family: var(--font-display); }
.gate-msg { margin-top: 16px; min-height: 20px; font-size: 14px; font-family: var(--font-display); }
.gate-msg.err { color: #ff7a8c; }
.gate-msg.ok { color: var(--accent); }
.gate-spin {
  width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: #fff;
  border-radius: 50%; display: inline-block; margin-right: 8px; animation: gate-spin 0.7s linear infinite;
}
@keyframes gate-spin { to { transform: rotate(360deg); } }
.gate-guest-chip { background: #fff; padding: 6px 12px; border-radius: 8px; }
