/* ZeuS222 — fullscreen login/register gate */
html.zs2-gate-active,
html.zs2-gate-active body {
  overflow: hidden;
  height: 100%;
}

#zs2-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 12, 24, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

#zs2-gate-overlay * {
  box-sizing: border-box;
}

.zs2-gate-card {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(160deg, #111827 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
  color: #f8fafc;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.zs2-gate-brand {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem;
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.zs2-gate-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.zs2-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.zs2-gate-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.zs2-gate-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.zs2-gate-btn--login {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.zs2-gate-btn--login:hover {
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45);
}

.zs2-gate-btn--register {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
}

.zs2-gate-btn--register:hover {
  color: #fff;
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.45);
}

.zs2-gate-note {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.zs2-gate-shield {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.15);
  border: 2px solid rgba(251, 191, 36, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Block interaction with page behind overlay */
html.zs2-gate-active body > *:not(#zs2-gate-overlay) {
  pointer-events: none;
  user-select: none;
}
