*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:        #07080a;
  --surface:   #0d0e12;
  --card:      #111318;
  --border:    rgba(255,255,255,0.07);
  --border-md: rgba(255,255,255,0.12);
  --blue:      #3b9eff;
  --blue-dim:  rgba(59,158,255,0.10);
  --blue-b:    rgba(59,158,255,0.30);
  --text:      #eae8e3;
  --text-mid:  #a09e98;
  --muted:     #50505a;
  --ok:        #34d399;
  --ok-dim:    rgba(52,211,153,0.10);
  --ok-b:      rgba(52,211,153,0.28);
  --r:         10px;
}
html { font-family: 'Space Grotesk', system-ui, sans-serif; background: var(--bg); color: var(--text); }
body { min-height: 100vh; display: flex; flex-direction: column; }

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px; border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; color: var(--text); }
.nav-logo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px rgba(59,158,255,0.45); }
.btn-ghost { padding: 8px 16px; border-radius: var(--r); border: 1px solid var(--border-md); background: transparent; color: var(--text-mid); font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none; transition: color 0.15s, border-color 0.15s; }
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.22); }

.page {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 60px 24px; position: relative; overflow: hidden;
}
.page::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(59,158,255,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, black 0%, transparent 100%);
  pointer-events: none;
}
.glow { position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(59,158,255,0.07) 0%, transparent 65%); pointer-events: none; }

.card {
  background: var(--card); border: 1px solid var(--border-md);
  border-radius: 20px; padding: 40px;
  width: 100%; max-width: 380px;
  position: relative; z-index: 1;
  box-shadow: 0 0 80px rgba(0,0,0,0.5);
  text-align: center;
}

.shield { font-size: 38px; margin-bottom: 16px; }
.card h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.card-sub { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 28px; }

/* Provider buttons */
.btn-google, .btn-microsoft, .btn-yahoo, .btn-aol, .btn-apple {
  width: 100%; padding: 13px 16px; border-radius: var(--r);
  border: 1px solid var(--border-md); background: var(--surface); color: var(--text);
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.1s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.btn-google:hover, .btn-microsoft:hover,
.btn-yahoo:hover, .btn-aol:hover, .btn-apple:hover  { border-color: rgba(255,255,255,0.22); background: #16171d; }
.btn-google:active, .btn-microsoft:active,
.btn-yahoo:active, .btn-aol:active, .btn-apple:active { transform: scale(0.98); }
.btn-google:disabled, .btn-microsoft:disabled,
.btn-yahoo:disabled, .btn-aol:disabled, .btn-apple:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* Phish-only badge on Yahoo/AOL/Apple buttons */
.btn-yahoo::after, .btn-aol::after, .btn-apple::after {
  content: 'Phish Report only';
  margin-left: auto;
  font-size: 10px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--muted); background: rgba(255,255,255,0.05);
  padding: 2px 7px; border-radius: 4px; border: 1px solid var(--border);
  white-space: nowrap;
}
.btn-divider {
  display: flex; align-items: center; gap: 12px; margin: 6px 0 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--muted);
}
.btn-divider::before, .btn-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border-md);
}

.loading-spin {
  width: 18px; height: 18px; border: 2px solid var(--border-md);
  border-top-color: var(--blue); border-radius: 50%;
  animation: spin 0.7s linear infinite; display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.error-msg {
  margin-top: 14px; padding: 10px 14px; border-radius: 8px;
  background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.22);
  font-size: 13px; color: #f87171; display: none; text-align: left; line-height: 1.5;
}

.notice {
  margin-top: 20px; padding: 10px 13px; border-radius: 8px;
  background: var(--ok-dim); border: 1px solid var(--ok-b);
  font-size: 12px; color: var(--ok); line-height: 1.55;
  display: flex; gap: 8px; align-items: flex-start; text-align: left;
}
.notice::before { content: '🛡'; flex-shrink: 0; }

.terms { margin-top: 16px; font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.terms a { color: var(--blue); text-decoration: none; }
.terms a:hover { text-decoration: underline; }

footer { padding: 22px 40px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-logo { font-size: 13px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.f-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); opacity: 0.5; }
.footer-note { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: #1c1c24; }

@media (max-width: 480px) {
  nav { padding: 14px 18px; }
  .card { padding: 30px 22px; }
  footer { padding: 18px; }
  .footer-note { display: none; }
}
