/* Spirit Hosting — site styles */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=Source+Code+Pro:wght@400;500;600&display=swap');

:root {
  --bg: #060608;
  --bg2: #0c0c12;
  --bg3: #0f0f18;
  --surface: #0d0d12;
  --surface2: #14141c;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(123, 94, 167, 0.35);
  --accent: #7B5EA7;
  --accent2: #A06CD5;
  --accent-dim: rgba(123, 94, 167, 0.14);
  --accent-hover: #b884e0;
  --text: #f0eef8;
  --text2: #9898b8;
  --text3: #6b6880;
  --green: #4ade80;
  --yellow: #facc15;
  --red: #f87171;
  --radius: 6px;
  --radius-lg: 10px;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Source Code Pro', ui-monospace, 'Cascadia Code', monospace;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
nav.scrolled {
  background: rgba(18, 19, 22, 0.97);
}

.nav-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: nowrap;
}
.nav-links a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.btn {
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-ghost {
  background: transparent;
  color: var(--text2);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--bg2);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
}
.btn-lg { padding: 11px 22px; font-size: 14px; }
.btn-xl { padding: 13px 26px; font-size: 15px; }

.hamburger {
  display: none !important;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text2);
  border-radius: 1px;
}

.mobile-nav {
  display: none !important;
  position: fixed;
  inset: 60px 0 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  z-index: 199;
  flex-direction: column;
  align-items: stretch;
  padding: 24px;
  gap: 4px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav.open {
  display: flex !important;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-size: 16px;
  color: var(--text2);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 16px; justify-content: center; }

main {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 32px 72px;
}

.page-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 10px;
}

h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--text2);
  font-size: 16px;
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 14px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 500;
  background: rgba(106, 171, 110, 0.12);
  color: var(--green);
  border: 1px solid rgba(106, 171, 110, 0.25);
}
.tag-warn {
  background: rgba(201, 162, 39, 0.12);
  color: var(--yellow);
  border-color: rgba(201, 162, 39, 0.25);
}
.tag-bad {
  background: rgba(201, 106, 106, 0.12);
  color: var(--red);
  border-color: rgba(201, 106, 106, 0.25);
}

.search-input {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  font-family: var(--font-body);
}
.search-input:focus {
  border-color: var(--accent);
}

.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-q {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-a {
  color: var(--text2);
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-a { display: block; }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}
.compare-table th:not(:first-child),
.compare-table td:not(:first-child) { text-align: center; }
.compare-win { color: var(--green); font-weight: 600; }
.compare-lose { color: var(--text3); }
.compare-spirit { color: var(--accent); font-weight: 700; font-family: var(--font-mono); font-size: 12px; }

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.game-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg2);
  margin-bottom: 6px;
}
.game-row:hover { border-color: var(--border-strong); background: var(--surface); }
.game-nest { font-size: 11px; color: var(--text3); font-family: var(--font-mono); }

.ping-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.ping-val {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--green);
  font-family: var(--font-mono);
}
.ping-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text3);
  margin-top: 6px;
}

footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 48px 32px 24px;
  background: var(--bg2);
  margin-top: 48px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text3);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  color: var(--text2);
  font-size: 14px;
  margin-bottom: 8px;
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text3);
  font-family: var(--font-mono);
}
.footer-brand p {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.65;
  margin-top: 10px;
  max-width: 280px;
}

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none !important; }
  .nav-actions { display: none !important; }
  .hamburger { display: flex !important; }
  main { padding: 84px 20px 56px; }
  .grid-2, .grid-3, .footer-inner { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
  .hamburger { display: none !important; }
}

@media (max-width: 600px) {
  footer { padding: 36px 20px 20px; }
}
