/* Janus — brand stylesheet. Two faces, two colors: violet ↔ cyan. */
:root {
  --violet: #8b5cf6;
  --peri: #6d8bfa;
  --cyan: #22d3ee;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --green: #34d399;
  --night: #0c0a1e;
  --ink: #06050d;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eceaf6;
  --muted: #9a97b5;
  --mist: #a5b4fc;
  --grad: linear-gradient(90deg, var(--violet), var(--peri) 50%, var(--cyan));
  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--text);
  background: var(--ink);
  background-image: radial-gradient(1200px 600px at 15% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(34, 211, 238, 0.08), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--mist); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
code { font: 0.9em ui-monospace, Consolas, monospace; background: var(--panel-2); padding: 1px 6px; border-radius: 6px; }
img { max-width: 100%; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  --btn: var(--violet);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font: 600 0.95rem var(--font); color: #fff; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(135deg, var(--btn), color-mix(in srgb, var(--btn) 55%, var(--cyan))); box-shadow: 0 6px 24px -8px var(--btn); }
.btn-primary:hover { box-shadow: 0 10px 32px -8px var(--btn); }
.btn-ghost { background: var(--panel); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, .25); }
.btn-danger { background: rgba(244, 63, 94, .14); border-color: rgba(244, 63, 94, .4); color: #fecdd3; }
.btn-danger:hover { background: rgba(244, 63, 94, .25); color: #fff; }
.btn-lg { padding: 14px 24px; font-size: 1.02rem; border-radius: 12px; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.push-right { margin-left: auto; }

/* ── Header / footer ─────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(6, 5, 13, .65); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 1.2rem var(--display); letter-spacing: .04em; }
.brand:hover { color: #fff; }
.logo-mark { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(109, 139, 250, .5)); }
.brand-sm { font-size: .9rem; letter-spacing: 0; font-weight: 600; }
.brand-sm .logo-mark { width: 20px; height: 20px; }
.site-nav { display: flex; gap: 22px; margin-left: 12px; }
.site-nav a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: #fff; }
.header-cta { margin-left: auto; display: flex; gap: 10px; }
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); margin: 8px 0 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--muted); }
.footer-legal { color: var(--muted); font-size: .85rem; margin-top: 28px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 520px; background: radial-gradient(closest-side, rgba(109, 139, 250, .22), transparent); filter: blur(30px); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--mist); font-size: .82rem; font-weight: 500; background: var(--panel); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: #c9c6e0; max-width: 560px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; padding: 0; margin: 26px 0 0; list-style: none; color: var(--muted); font-size: .92rem; flex-wrap: wrap; }
.hero-points li::before { content: '✓'; color: var(--cyan); margin-right: 8px; font-weight: 700; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-art img { position: relative; width: min(360px, 80%); filter: drop-shadow(0 0 40px rgba(109, 139, 250, .45)); animation: float 6s ease-in-out infinite; }
.orbit { position: absolute; width: min(440px, 95%); aspect-ratio: 1; border-radius: 50%; border: 1px solid transparent; background: conic-gradient(from 0deg, var(--violet), transparent 30%, transparent 70%, var(--cyan)) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); animation: spin 14s linear infinite; opacity: .8; }
.float-card { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(18, 15, 40, .8); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-size: .85rem; font-weight: 500; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); animation: float 7s ease-in-out infinite; }
.fc-1 { top: 12%; right: 0; animation-delay: -1s; }
.fc-2 { bottom: 18%; left: -4%; animation-delay: -3s; }
.fc-3 { bottom: 4%; right: 8%; animation-delay: -5s; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-ok { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot-bad { background: var(--rose); box-shadow: 0 0 10px var(--rose); }
.dot-warn { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .05) 30%, rgba(34, 211, 238, .03) 70%, transparent); }
.section-title { text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 44px; max-width: 560px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { position: relative; padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color .25s, transform .25s, background .25s; overflow: hidden; }
.feature::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .25s; pointer-events: none; }
.feature:hover { transform: translateY(-3px); background: var(--panel-2); }
.feature:hover::after { opacity: 1; }
.feature h3 { font-size: 1.08rem; margin: 14px 0 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.feature-icon { width: 40px; height: 40px; padding: 8px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, rgba(139, 92, 246, .35), rgba(34, 211, 238, .25)); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.step { padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #0c0a1e; font: 800 1rem var(--display); margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }
.table-wrap { overflow-x: auto; }
.compare { width: 100%; max-width: 820px; margin: 30px auto 0; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font-family: var(--display); font-size: .95rem; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 150px; }
.col-janus { background: rgba(139, 92, 246, .09); }
.yes { color: var(--cyan); font-weight: 700; } .no { color: var(--rose); } .meh { color: var(--amber); }
.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--mist); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: '−'; }
.faq p { color: var(--muted); margin: 0 0 18px; }
.cta-band { text-align: center; }
.cta-inner { padding: 56px 24px; border-radius: 22px; border: 1px solid var(--line-2); background: radial-gradient(600px 200px at 50% 0%, rgba(139, 92, 246, .22), transparent), var(--panel); }
.cta-logo { width: 64px; height: 64px; filter: drop-shadow(0 0 18px rgba(109, 139, 250, .6)); }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 14px 0 24px; }

/* ── Legal + message pages ───────────────────────────────── */
.legal { max-width: 820px; padding: 56px 0; }
.legal h1 { font-size: 2.4rem; }
.legal h2 { margin-top: 2em; font-size: 1.35rem; }
.legal h3 { margin-top: 1.5em; font-size: 1.05rem; color: var(--mist); }
.legal p, .legal li { color: #cfcde3; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .93rem; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line-2); padding: 8px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--panel-2); }
.message-page { text-align: center; padding: 100px 0; }
.message-logo { width: 84px; height: 84px; filter: drop-shadow(0 0 20px rgba(109, 139, 250, .5)); margin-bottom: 18px; }

/* ── Verification page ───────────────────────────────────── */
.verify-body { display: grid; place-items: center; padding: 24px 16px; }
.verify-bg { position: fixed; inset: 0; z-index: -1; background: radial-gradient(700px 420px at 50% 20%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), var(--ink); }
.verify-wrap { width: min(440px, 100%); }
.verify-card { position: relative; padding: 32px 28px; border-radius: 22px; background: rgba(16, 13, 36, .82); border: 1px solid var(--line-2); backdrop-filter: blur(18px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); text-align: center; }
.verify-guild { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.verify-guild h1 { font-size: 1.5rem; margin: 0; }
.guild-icon { width: 72px; height: 72px; border-radius: 22px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.guild-icon-fallback { display: grid; place-items: center; background: var(--grad); color: #0c0a1e; font: 800 1.8rem var(--display); }
.verify-user { margin: 10px 0 4px; }
.verify-msg { color: #cfcde3; margin: 6px 0 22px; }
.state { margin-top: 8px; }
.state-title { font: 700 1.3rem var(--display); margin: 14px 0 4px; }
.fine { color: var(--muted); font-size: .8rem; margin: 14px 0 0; }
.scanner { position: relative; width: 96px; height: 96px; margin: 8px auto 0; }
.scanner img { width: 96px; height: 96px; filter: drop-shadow(0 0 18px rgba(109, 139, 250, .6)); animation: pulse 1.4s ease-in-out infinite; }
.scan-line { position: absolute; left: -10%; right: -10%; height: 2px; background: var(--grad); box-shadow: 0 0 12px var(--cyan); animation: scan 1.4s ease-in-out infinite; }
@keyframes scan { 0% { top: 5%; } 50% { top: 90%; } 100% { top: 5%; } }
@keyframes pulse { 50% { transform: scale(1.04); opacity: .85; } }
.result-icon { width: 72px; height: 72px; margin: 10px auto 0; border-radius: 50%; display: grid; place-items: center; font: 800 2rem var(--display); }
.result-ok { background: rgba(34, 211, 238, .14); color: var(--cyan); box-shadow: 0 0 40px -6px var(--cyan); }
.result-ok::before { content: '✓'; }
.result-bad { background: rgba(244, 63, 94, .14); color: var(--rose); }
.result-bad::before { content: '✕'; }
.result-warn { background: rgba(139, 92, 246, .16); color: var(--violet); }
.result-warn::before { content: '!'; }
.result-wait { background: rgba(245, 158, 11, .14); color: var(--amber); }
.result-wait::before { content: '⏳'; font-size: 1.6rem; }
.result-info { background: var(--panel-2); color: var(--mist); }
.result-info::before { content: 'i'; }
.gate { position: relative; width: 100%; aspect-ratio: 2 / 1; margin-top: 16px; border-radius: 12px; overflow: hidden; background: #110e26; border: 1px solid var(--line-2); user-select: none; -webkit-user-select: none; }
.gate-bg { display: block; width: 100%; height: 100%; }
.gate-piece { position: absolute; left: 0; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .7)) drop-shadow(0 0 6px rgba(255, 255, 255, .35)); pointer-events: none; will-change: transform; }
.gate-loading { position: absolute; inset: 0; display: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%) #110e26; background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.gate.loading .gate-loading { display: block; }
.gate.shake { animation: shake .4s ease; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.gate-track { position: relative; height: 48px; margin-top: 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); overflow: hidden; touch-action: none; }
.gate-fill { position: absolute; inset: 0 auto 0 0; width: 24px; background: linear-gradient(90deg, rgba(139, 92, 246, .35), rgba(34, 211, 238, .25)); }
.gate-label { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .88rem; font-weight: 500; pointer-events: none; }
.gate-handle { position: absolute; top: 3px; left: 3px; width: 52px; height: 40px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #0c0a1e; cursor: grab; touch-action: none; box-shadow: 0 4px 14px -4px rgba(109, 139, 250, .9); }
.gate-handle:active { cursor: grabbing; }
.appeal { text-align: left; margin-top: 22px; display: grid; gap: 10px; }
.appeal label { font-weight: 600; font-size: .92rem; }
#retry-btn { margin-top: 16px; }
.verify-foot { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 18px; display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; }
.verify-foot a { color: var(--muted); }

/* ── Forms ───────────────────────────────────────────────── */
input[type=text], input[type=number], select, textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .3); color: var(--text); font: inherit; font-size: .95rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--peri); box-shadow: 0 0 0 3px rgba(109, 139, 250, .25); }
textarea { resize: vertical; }
select option { background: #15122c; }
input[type=color] { width: 56px; height: 38px; padding: 2px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.toggle { appearance: none; flex: none; width: 44px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .15); position: relative; cursor: pointer; transition: background .2s; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle:checked { background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.toggle:checked::after { transform: translateX(20px); }
.toggle:focus-visible { box-shadow: 0 0 0 3px rgba(109, 139, 250, .4); }

/* ── Dashboard ───────────────────────────────────────────── */
.dash-top { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 20px; border-bottom: 1px solid var(--line); background: rgba(6, 5, 13, .7); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 10; }
.dash-user { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.dash-user form { margin: 0; }
.avatar { width: 32px; height: 32px; border-radius: 50%; }
.avatar-lg { width: 64px; height: 64px; }
.dash-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px); }
.dash-side { border-right: 1px solid var(--line); padding: 20px 14px; background: rgba(255, 255, 255, .015); }
.side-guild { display: flex; gap: 10px; align-items: center; padding: 6px 8px 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.side-guild strong { display: block; font-size: .95rem; line-height: 1.2; }
.side-guild span { font-size: .8rem; }
.g-icon { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.g-icon-fallback { display: grid; place-items: center; background: var(--grad); color: #0c0a1e; font: 800 1.1rem var(--display); }
.g-icon-lg { width: 64px; height: 64px; border-radius: 18px; font-size: 1.6rem; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { padding: 9px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: .94rem; }
.side-nav a:hover { background: var(--panel); color: #fff; }
.side-nav a.active { background: linear-gradient(90deg, rgba(139, 92, 246, .22), rgba(34, 211, 238, .08)); color: #fff; box-shadow: inset 2px 0 0 var(--violet); }
.dash-main { padding: 28px 32px 60px; min-width: 0; }
.dash-title { font-size: 1.7rem; margin-bottom: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; }
.card h2 { font-size: 1.05rem; margin: 0 0 14px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { padding: 16px 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.stat-label { display: block; color: var(--muted); font-size: .8rem; font-weight: 500; }
.stat-value { display: block; font: 800 2rem var(--display); margin-top: 4px; }
.stat-violet { color: #c4b5fd; } .stat-cyan { color: #67e8f9; }
.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.15); color: #fff; } }
.dash-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.dash-grid .card { margin: 0; }
.card-wide { grid-column: 1; }
.dash-grid .card:nth-child(2) { grid-row: span 2; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line); }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .bar { transition: opacity .2s; }
.chart .bar:hover { opacity: .8; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: 6px; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-verified { background: var(--cyan); } .lg-alts { background: var(--violet); } .lg-vpn { background: var(--peri); } .lg-blocked { background: var(--rose); }
.live-dot { font-size: .78rem; color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; }
.live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 1.6s infinite; }
.checks { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.checks li > span { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .75rem; }
.checks small { display: block; color: var(--muted); }
.checks .ok > span { background: rgba(34, 211, 238, .16); color: var(--cyan); }
.checks .bad > span { background: rgba(244, 63, 94, .16); color: var(--rose); }
.checks .info > span { background: var(--panel-2); color: var(--mist); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; color: var(--muted); font-weight: 500; font-size: .8rem; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.empty { color: var(--muted); text-align: center; padding: 26px 0; margin: 0; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--panel-2); color: var(--text); white-space: nowrap; }
.pill-pass, .pill-accepted { background: rgba(34, 211, 238, .14); color: #67e8f9; }
.pill-quarantine, .pill-hold { background: rgba(245, 158, 11, .15); color: #fcd34d; }
.pill-kick, .pill-ban, .pill-denied { background: rgba(244, 63, 94, .15); color: #fda4af; }
.pill-vpn, .pill-alt { background: rgba(139, 92, 246, .18); color: #c4b5fd; }
.pill-challenge { background: rgba(109, 139, 250, .18); color: #c7d2fe; }
.score { display: inline-grid; place-items: center; min-width: 36px; padding: 2px 8px; border-radius: 8px; font-weight: 700; font-size: .85rem; }
.score-low { background: rgba(34, 211, 238, .12); color: #67e8f9; }
.score-mid { background: rgba(245, 158, 11, .14); color: #fcd34d; }
.score-high { background: rgba(244, 63, 94, .15); color: #fda4af; }
.reasons { list-style: none; margin: 4px 0 0; padding: 0; font-size: .85rem; color: #cfcde3; }
.reasons b { display: inline-block; min-width: 34px; color: var(--mist); }
.banner { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; border: 1px solid; font-size: .93rem; }
.banner-ok { background: rgba(34, 211, 238, .08); border-color: rgba(34, 211, 238, .3); }
.banner-warn { background: rgba(245, 158, 11, .08); border-color: rgba(245, 158, 11, .3); }
.banner-bad { background: rgba(244, 63, 94, .1); border-color: rgba(244, 63, 94, .35); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: .85rem; background: var(--panel); margin: 2px 0; }
.chip.active, .chip:hover { color: #fff; border-color: var(--violet); background: rgba(139, 92, 246, .15); }
.settings-form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.field { display: grid; gap: 6px; align-content: start; }
.field small, .toggle-row small { color: var(--muted); font-size: .8rem; display: block; }
.field-label { font-weight: 600; font-size: .9rem; }
.warn { color: #fcd34d !important; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .2); border: 1px solid var(--line); cursor: pointer; }
.save-bar { position: sticky; bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); background: rgba(18, 15, 40, .92); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); }
.server-list-page { padding: 40px 0; }
.server-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; }
.server-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--text); text-align: center; transition: transform .2s, border-color .2s; }
.server-card img { width: 64px; height: 64px; border-radius: 18px; }
.server-card:hover { transform: translateY(-3px); border-color: var(--violet); color: var(--text); }
.server-card-add { opacity: .7; }
.lookup-form { display: flex; gap: 10px; margin-bottom: 18px; max-width: 560px; }
.lookup-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.lookup-head h2 { margin: 0; }
.lookup-head p { margin: 2px 0 6px; }
.history-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.history-item:last-child { border: 0; }
blockquote { margin: 0 0 12px; padding: 12px 16px; border-left: 3px solid var(--violet); background: rgba(0, 0, 0, .2); border-radius: 0 10px 10px 0; white-space: pre-wrap; }
blockquote footer { margin-top: 6px; font-size: .8rem; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-art { min-height: 340px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .dash-grid .card:nth-child(2) { grid-row: auto; }
}
@media (max-width: 760px) {
  .site-nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: minmax(0, 1fr); }
  .dash-side { border-right: 0; border-bottom: 1px solid var(--line); min-width: 0; }
  .side-nav { grid-auto-flow: column; overflow-x: auto; }
  .side-nav a { white-space: nowrap; }
  .dash-main { padding: 20px 16px 48px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .settings-form .fields { grid-template-columns: 1fr; }
  .dash-user span, .dash-user > a { display: none; }
  .float-card { font-size: .75rem; }
  .fc-2 { left: 0; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Login / sign-up / account ───────────────────────────── */
.auth-wrap { display: grid; place-items: center; padding: 48px 16px 24px; }
.auth-card { width: min(440px, 100%); padding: 32px 28px; border-radius: 22px; background: rgba(16, 13, 36, .82); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.auth-card h1 { font-size: 1.6rem; margin: 14px 0 4px; }
.auth-card h2 { font-size: 1.02rem; margin: 6px 0 0; }
.auth-card > .muted { margin: 0 0 18px; }
.auth-logo { width: 48px; height: 48px; filter: drop-shadow(0 0 14px rgba(109, 139, 250, .55)); }
.auth-form { display: grid; gap: 14px; margin-top: 8px; }
.auth-form + .auth-form { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.auth-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.auth-form label small { font-weight: 400; color: var(--muted); }
.auth-form input[type=email], .auth-form input[type=password] { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); color: var(--text); font: inherit; }
.code-input { font-size: 1.5rem !important; letter-spacing: .5em; text-align: center; font-weight: 700; }
.auth-links { text-align: center; color: var(--muted); font-size: .9rem; margin: 18px 0 0; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; margin: 16px 0 4px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.btn-discord { background: #5865f2; box-shadow: 0 6px 22px -8px #5865f2; }
.btn-discord:hover { background: #4752c4; }
.link-btn { background: none; border: 0; color: var(--mist); font: inherit; cursor: pointer; padding: 0; }
.link-btn:hover { color: #fff; }
.account-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.account-row strong { display: block; font-size: .9rem; }
.account-row span { font-size: .88rem; }
.account-row form { margin: 0; }
.danger-zone input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(244, 63, 94, .4); background: rgba(0, 0, 0, .3); color: var(--text); font: inherit; }
.dash-me { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }

/* ── Specula ─────────────────────────────────────────────── */
.specula { --grad: linear-gradient(90deg, #22d3ee, #34d399); --violet: #14b8a6;
  background-image: radial-gradient(1100px 560px at 50% -10%, rgba(20, 184, 166, .18), transparent 60%), radial-gradient(800px 500px at 100% 20%, rgba(52, 211, 153, .07), transparent 60%); }
.specula .btn-primary { --btn: #0ea5a4; }
.sp-mark { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(34, 211, 238, .45)); }
.sp-by { font: 500 .72rem var(--font); color: var(--muted); letter-spacing: 0; margin-left: -2px; align-self: flex-end; margin-bottom: 4px; }
.sp-hero { padding: 80px 0 64px; text-align: center; }
.sp-hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.sp-hero-mark { width: 96px; height: 96px; filter: drop-shadow(0 0 30px rgba(34, 211, 238, .5)); margin-bottom: 18px; animation: float 6s ease-in-out infinite; }
.sp-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
.sp-hero .lead { margin-inline: auto; }
.sp-search { display: flex; align-items: center; gap: 10px; width: min(640px, 100%); padding: 8px 8px 8px 16px; border-radius: 16px; background: rgba(10, 14, 26, .85); border: 1px solid rgba(34, 211, 238, .3); box-shadow: 0 16px 50px -20px rgba(34, 211, 238, .45); color: #67e8f9; }
.sp-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: 500 1rem var(--font); padding: 10px 0; }
.sp-search input:focus { outline: none; box-shadow: none; }
.sp-search-big { padding: 10px 10px 10px 20px; }
.sp-search-big input { font-size: 1.1rem; }
.sp-quota { margin-top: 14px; font-size: .9rem; }
.sp-rules { list-style: none; padding: 0; display: grid; gap: 12px; }
.sp-rules li { padding: 14px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); color: #cfcde3; }
.sp-rules b { color: #5eead4; }
.sp-result { padding: 32px 0 20px; }
.sp-result > .sp-search { margin: 0 auto; }
.sp-result > .sp-quota { text-align: center; }
.sp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 20px; }
.sp-grid > .card { margin: 0; }
.sp-profile, .sp-stats, .sp-graph-card { grid-column: 1 / -1; }
.sp-profile { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.sp-profile h1 { font-size: 1.5rem; margin: 0; }
.sp-profile p { margin: 2px 0; }
.sp-stats { margin: 0; }
.sp-gauge { --c: #34d399; margin-left: auto; width: 110px; height: 110px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #0d0b1f 78%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--v) * 1%), rgba(255, 255, 255, .08) 0); }
.sp-mid { --c: #f59e0b; } .sp-high { --c: #f43f5e; }
.sp-gauge-num { font: 800 1.9rem var(--display); color: var(--c); line-height: 1; }
.sp-gauge-label { font-size: .72rem; color: var(--muted); margin-top: 4px; }
.sp-graph { width: 100%; height: auto; display: block; max-height: 460px; }
.sp-graph .g-label { fill: #cfcde3; font: 500 11px var(--font); text-anchor: middle; }
.sp-graph .g-target { font-weight: 700; fill: #fff; font-size: 13px; }
.sp-graph .g-q { fill: #8b88a8; font: 700 11px var(--font); text-anchor: middle; }
.sp-graph a:hover circle { stroke-width: 3; }
.sp-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sp-links li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sp-links li:last-child { border: 0; }
.sp-empty { text-align: center; padding: 40px 24px; margin-top: 24px; }
.sp-empty-mark { width: 64px; height: 64px; margin-bottom: 8px; }
@media (max-width: 760px) {
  .sp-grid { grid-template-columns: minmax(0, 1fr); }
  .sp-gauge { margin-left: 0; }
  .sp-search button { padding-inline: 12px; }
  .sp-by { display: none; }
}
