:root {
  --green: #1f9d57; --amber: #d08700; --red: #d63b2f;
  --bg: #0b1220; --bg2:#0f172a; --card: #18233a; --card2:#1f2c47;
  --line:#2a3852; --muted: #94a3b8; --text: #e8eef7;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #16233f 0%, var(--bg) 60%);
  color: var(--text); min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; padding: 2.5rem 1rem 4rem;
}
h1 { font-size: 1.7rem; margin: 0.2rem 0; letter-spacing: -0.01em; }
.sub { color: var(--muted); margin-bottom: 1.6rem; font-size: 0.95rem; text-align:center; }
.panel { width: 100%; max-width: 680px; }
form { display: flex; gap: 0.5rem; }
input[type=text] {
  flex: 1; padding: 0.9rem 1rem; border-radius: 11px; border: 1px solid var(--line);
  background: var(--bg2); color: var(--text); font-size: 1rem; outline: none;
}
input[type=text]:focus { border-color: #3b6fd4; box-shadow: 0 0 0 3px rgba(59,111,212,.2); }
button {
  padding: 0.9rem 1.5rem; border: 0; border-radius: 11px; cursor: pointer;
  background: #2563eb; color: white; font-size: 1rem; font-weight: 650;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
}
button:disabled { opacity: 0.6; cursor: progress; }
.spinner {
  display: none; width: 1.1em; height: 1.1em; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
button.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 1.6s; }
}
/* Hidden by default via the stylesheet (NOT an inline style attribute, which
   the strict no-Turnstile/no-ads CSP blocks); JS adds .visible when enabled. */
.turnstile-box { display: none; margin-top: 0.75rem; }
.turnstile-box.visible { display: block; }
.err { color: #fca5a5; margin-top: 1rem; min-height: 1.2em; }

.card { margin-top: 1.5rem; background: var(--card); border-radius: 16px;
        padding: 0; overflow: hidden; border: 1px solid var(--line); display:none;
        box-shadow: 0 20px 50px rgba(0,0,0,.35); }

/* verdict banner */
.banner { display:flex; align-items:center; gap:1.2rem; padding:1.4rem 1.5rem;
          border-left: 7px solid var(--muted); }
.card.green .banner { border-color: var(--green); background: linear-gradient(90deg, rgba(31,157,87,.12), transparent); }
.card.amber .banner { border-color: var(--amber); background: linear-gradient(90deg, rgba(208,135,0,.12), transparent); }
.card.red   .banner { border-color: var(--red);   background: linear-gradient(90deg, rgba(214,59,47,.14), transparent); }
.gauge { width:92px; height:92px; border-radius:50%; flex-shrink:0; display:grid; place-items:center;
         background: conic-gradient(var(--gc) calc(var(--pct)*1%), #243049 0); }
.gauge-inner { width:72px; height:72px; border-radius:50%; background:var(--card);
               display:grid; place-items:center; line-height:1; }
.gauge-num { font-size:1.6rem; font-weight:800; }
.gauge-cap { font-size:0.62rem; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; }
.green .gauge-inner .gauge-num { color: var(--green); }
.amber .gauge-inner .gauge-num { color: var(--amber); }
.red   .gauge-inner .gauge-num { color: var(--red); }
.verdict-label { font-size: 1.35rem; font-weight: 750; }
.verdict-url { color: var(--muted); font-size: 0.82rem; word-break: break-all; margin-top:.15rem; }

.body { padding: 0 1.5rem 1.4rem; }

/* impersonation comparison */
.compare { margin:1.3rem 0 0.4rem; border:1px solid rgba(214,59,47,.5); border-radius:13px; overflow:hidden; }
.compare-head { background: rgba(214,59,47,.16); padding:.8rem 1rem; font-weight:700; font-size:1.02rem; }
.compare-cols { display:grid; grid-template-columns:1fr auto 1fr; align-items:stretch; }
.col { padding:1rem; }
.col-mid { display:grid; place-items:center; color:var(--muted); font-size:1.4rem; }
.col-tag { font-size:.74rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:.4rem; font-weight:700; }
.col.fake { background:rgba(214,59,47,.07); } .col.fake .col-tag { color:#fca5a5; }
.col.real { background:rgba(31,157,87,.07); } .col.real .col-tag { color:#86efac; }
.col-domain { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size:1.05rem;
              font-weight:700; word-break:break-all; }
.col-note { color:var(--muted); font-size:.8rem; margin-top:.35rem; }
.col-link { display:inline-block; margin-top:.5rem; color:#86efac; font-size:.85rem; font-weight:650; text-decoration:none; }
.col-link:hover { text-decoration:underline; }
.compare-warn { padding:.7rem 1rem; background:rgba(214,59,47,.1); font-size:.86rem; color:#fecaca; }

.verified { margin:1.3rem 0 0.2rem; padding:.85rem 1rem; border-radius:11px;
            background:rgba(31,157,87,.12); border:1px solid rgba(31,157,87,.4);
            color:#bbf7d0; font-size:.95rem; }

/* reasons */
.section-title { font-size:.78rem; text-transform:uppercase; letter-spacing:.07em; color:var(--muted);
                 margin:1.4rem 0 .6rem; }
.reasons { list-style:none; padding:0; margin:0; }
.reasons li { display:flex; gap:.7rem; align-items:flex-start; padding:.6rem .8rem; margin-bottom:.4rem;
              border-radius:9px; background:var(--bg2); font-size:.93rem; }
.r-icon { flex-shrink:0; width:1.3em; text-align:center; }
.reasons li.high { border-left:3px solid var(--red); }
.reasons li.med  { border-left:3px solid var(--amber); }
.reasons li.low  { border-left:3px solid var(--line); }
.reasons li.good { border-left:3px solid var(--green); }

/* key facts */
.facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:.6rem; }
.fact { background:var(--bg2); border-radius:10px; padding:.7rem .8rem; }
.fact-k { font-size:.72rem; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.fact-v { font-size:.95rem; font-weight:600; margin-top:.2rem; word-break:break-all; }
.fact-v.bad { color:#fca5a5; } .fact-v.ok { color:#86efac; }

details { margin-top:1.2rem; }
summary { cursor:pointer; color:var(--muted); font-size:.88rem; }
pre { background:var(--bg2); padding:1rem; border-radius:10px; overflow:auto; font-size:.76rem;
      max-height:320px; color:#cbd5e1; margin-top:.6rem; }
.meta { color:var(--muted); font-size:.76rem; margin-top:1rem; padding-top:.9rem; border-top:1px solid var(--line); }
@media (max-width:560px){ .compare-cols{ grid-template-columns:1fr; } .col-mid{ padding:.2rem; } }

/* --- Ad slots ------------------------------------------------------------ */
.ad-slot {
  width: 100%; max-width: 680px; margin: 0 auto;
  min-height: 90px; /* placeholder — tune once real ad units render, avoids CLS */
  display: none; align-items: center; justify-content: center; overflow: hidden;
}
.ad-slot.visible { display: flex; }
.ad-top { margin-bottom: 1.5rem; }
.ad-incontent { margin-top: 1.5rem; }
.ad-footer { margin-bottom: 1rem; }

/* --- Footer ---------------------------------------------------------------*/
.site-footer {
  width: 100%; max-width: 680px; margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line); display: flex; flex-direction: column;
  align-items: center; gap: 1rem; text-align: center;
}
.footer-links { font-size: 0.82rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
