.gate-overlay {
  position: fixed; inset: 0;
  background: rgba(2,4,14,.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 20px; overflow-y: auto;
}
.gate-overlay.hidden { display: none; }

.gate-card {
  background: linear-gradient(160deg, #0f1a45 0%, #0a1030 100%);
  border: 1px solid #2a3a7a;
  border-radius: 22px;
  padding: 32px 28px;
  width: 100%; max-width: 460px;
  box-shadow: 0 0 0 1px rgba(79,142,247,.1), 0 30px 70px rgba(0,0,0,.6);
  position: relative;
  margin: auto;
}

.gate-title { font-size: 1.2rem; font-weight: 900; color: #eef0f8; text-align: center; margin-bottom: 6px; }
.gate-sub   { font-size: .85rem; color: #7b82a8; text-align: center; margin-bottom: 22px; line-height: 1.5; }

.gate-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px;
}
.gate-compare-col {
  border-radius: 12px; padding: 14px 14px 16px; font-size: .78rem; line-height: 1.6;
}
.gate-compare-col.with-acc { background: rgba(45,212,191,.06); border: 1px solid rgba(45,212,191,.2); }
.gate-compare-col.no-acc   { background: rgba(248,113,113,.05); border: 1px solid rgba(248,113,113,.15); }
.gate-compare-head { font-weight: 800; font-size: .78rem; margin-bottom: 8px; }
.with-acc .gate-compare-head { color: #2dd4bf; }
.no-acc   .gate-compare-head { color: #fca5a5; }
.gate-compare-col ul { list-style: none; margin: 0; padding: 0; }
.gate-compare-col li { color: #a0a8c8; margin-bottom: 6px; padding-left: 16px; position: relative; }
.with-acc li::before { content: '+'; position: absolute; left: 0; color: #2dd4bf; font-weight: 900; }
.no-acc   li::before { content: '–'; position: absolute; left: 0; color: #fca5a5; font-weight: 900; }

.gate-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 16px; border-radius: 12px; border: 1px solid transparent;
  font-size: .92rem; font-weight: 800; cursor: pointer; font-family: inherit;
  margin-bottom: 10px; transition: border-color .15s, background .15s, transform .12s;
}
.gate-btn:last-child { margin-bottom: 0; }
.gate-btn:hover { transform: translateY(-1px); }

.gate-btn.primary { background: linear-gradient(135deg, #4f8ef7, #a855f7); color: #fff; }
.gate-btn.secondary { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: #d8e0f5; }
.gate-btn.ghost {
  background: rgba(45,212,191,.08);
  border: 1px solid rgba(45,212,191,.32);
  color: #2dd4bf;
  text-decoration: none;
}
.gate-btn.ghost:hover {
  background: rgba(45,212,191,.16);
  border-color: rgba(45,212,191,.55);
  color: #5eead4;
  transform: translateY(-1px);
}
.gate-btn.ghost svg { transition: transform .15s; }
.gate-btn.ghost:hover svg { transform: translateX(3px); }

.gate-form label {
  font-size: .72rem; font-weight: 700; color: #7b82a8; text-transform: uppercase;
  letter-spacing: .04em; display: block; margin-bottom: 6px;
}
.gate-form input {
  width: 100%; background: #0a0e24; border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 12px 14px; color: #eef0f8; font-size: .92rem;
  font-family: inherit; margin-bottom: 14px;
}
.gate-form input:focus { outline: none; border-color: #4f8ef7; }

.pw-field { position: relative; margin-bottom: 14px; }
.pw-field input { padding-right: 42px !important; margin-bottom: 0 !important; }
.pw-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; font-size: 1rem;
  padding: 6px 8px; line-height: 1; opacity: .7; transition: opacity .15s;
}
.pw-toggle:hover { opacity: 1; }

.gate-msg { font-size: .8rem; text-align: center; margin: 4px 0 12px; min-height: 16px; }
.gate-msg.err { color: #f87171; }
.gate-msg.ok  { color: #34d399; }

.gate-sent-icon { font-size: 2rem; text-align: center; margin-bottom: 10px; }
.gate-sent-text { font-size: .85rem; color: #a0a8c8; text-align: center; line-height: 1.6; margin-bottom: 10px; }
.gate-sent-text strong { color: #eef0f8; }
.gate-sent-note {
  font-size: .78rem; color: #7b82a8; text-align: center; line-height: 1.55;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 9px 12px; margin-bottom: 16px;
}

.gate-spinner {
  display: inline-block; width: 15px; height: 15px; margin-right: 8px;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  border-radius: 50%; vertical-align: -3px;
  animation: gate-spin .7s linear infinite;
}
@keyframes gate-spin { to { transform: rotate(360deg); } }
.gate-btn:disabled { opacity: .8; cursor: default; }
.gate-btn:disabled:hover { transform: none; }

.gate-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 14px 0 12px; color: #4e5a80; font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.gate-divider::before, .gate-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08);
}
.gate-google-btn-wrap { display: flex; justify-content: center; margin-bottom: 12px; }

@media (max-width: 480px) {
  .gate-compare { grid-template-columns: 1fr; }
  .gate-card { padding: 26px 20px; }
}
