:root {
  color-scheme: dark;
  --bg: #101214;
  --panel: #171a1d;
  --panel-2: #1e2327;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f0e8;
  --muted: #afa99b;
  --soft: #d8d1c2;
  --accent: #f6c44f;
  --accent-2: #8bd8bd;
  --danger-soft: #d99f91;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(246, 196, 79, 0.08), transparent 320px),
    radial-gradient(circle at 82% 0%, rgba(139, 216, 189, 0.12), transparent 28rem),
    var(--bg);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.brand img,
.footer-logo img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #111;
  background: linear-gradient(135deg, var(--accent), #f1df9a);
  font-size: 12px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
  align-items: center;
}

.site-nav a {
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-nav-item > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 4px solid var(--muted);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  vertical-align: middle;
}

.site-submenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  display: grid;
  width: min(320px, calc(100vw - 32px));
  max-height: 420px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171a1d;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.site-nav-item:hover .site-submenu,
.site-nav-item:focus-within .site-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--soft);
  font-size: 0.88rem;
}

.site-submenu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 748px) 300px;
  gap: 28px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.content {
  min-width: 0;
}

.server-header {
  padding: 24px 0 18px;
}

.eyebrow,
.side-label {
  margin: 0 0 8px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.35;
}

.server-meta {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 1.02rem;
  font-weight: 700;
}

.updated {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.intro-panel,
.section,
.quick-facts {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 26, 29, 0.78);
}

.intro-panel {
  padding: 22px;
}

.intro-panel p,
.review p,
.faq p {
  margin: 0 0 14px;
  color: var(--soft);
}

.intro-panel p:last-of-type,
.review p:last-child,
.faq p:last-child {
  margin-bottom: 0;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  color: #111;
  background: linear-gradient(135deg, var(--accent), #f1dd91);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(246, 196, 79, 0.18);
}

.primary-cta:hover {
  transform: translateY(-1px);
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 850;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.secondary-cta:hover {
  border-color: rgba(246, 196, 79, 0.34);
  background: rgba(255, 255, 255, 0.055);
}

.inline-cta {
  margin-top: 20px;
}

.content-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(246, 196, 79, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(246, 196, 79, 0.12), rgba(139, 216, 189, 0.06));
}

.content-cta span {
  display: block;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-cta strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 1rem;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
}

.quick-facts div {
  min-width: 0;
  padding: 17px;
  background: rgba(255, 255, 255, 0.025);
}

.quick-facts span,
.sticky-card p {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.quick-facts strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 0.98rem;
}

.stars {
  color: var(--accent);
  letter-spacing: 0;
  white-space: nowrap;
}

.section {
  margin-top: 18px;
  padding: 22px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  margin: 11px 0;
  padding-left: 24px;
  color: var(--soft);
}

li::before {
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 900;
  content: "\2022";
}

.check-list li::before {
  content: "\2713";
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pros-cons div:nth-child(2) li::before {
  color: var(--danger-soft);
}

.review-block + .review-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

details {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}

details:first-of-type {
  border-top: 0;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.related-section {
  margin-bottom: 18px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.related-card {
  display: block;
  min-width: 0;
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  text-decoration: none;
}

.related-card:hover {
  border-color: rgba(246, 196, 79, 0.34);
  background: rgba(255, 255, 255, 0.04);
}

.related-card span,
.related-card small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.related-card span {
  color: var(--accent-2);
  text-transform: uppercase;
}

.related-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.3;
}

.related-card small {
  margin-top: 6px;
}

.related-card p {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.sticky-card {
  position: sticky;
  top: 18px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(23, 26, 29, 0.92);
  box-shadow: var(--shadow);
}

.sticky-card h2 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.sticky-card p {
  margin: 0 0 14px;
}

.side-rating {
  margin-bottom: 18px;
  color: var(--soft);
  font-weight: 800;
}

.sticky-card .primary-cta,
.mobile-cta .primary-cta {
  width: 100%;
}

.mobile-cta {
  display: none;
}

.home-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 72px;
}

.home-hero {
  max-width: 820px;
  padding: 22px 0 18px;
}

.home-hero p:last-of-type {
  max-width: 66ch;
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 1.06rem;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
  margin-top: 24px;
}

.home-stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 26, 29, 0.78);
}

.home-stats strong,
.home-stats span {
  display: block;
}

.home-stats strong {
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.1;
}

.home-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.directory-controls {
  margin: 18px 0 24px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 18, 20, 0.92);
}

.search-control {
  display: grid;
  gap: 8px;
}

.directory-control-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
  align-items: end;
}

.search-control label,
.category-picker label {
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 850;
}

.category-picker {
  display: grid;
  gap: 8px;
}

.search-control input,
.category-picker select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  color: var(--text);
  background-color: #171a1d;
  font: inherit;
}

.category-picker select {
  color-scheme: dark;
  cursor: pointer;
}

.category-picker option {
  color: var(--text);
  background-color: #171a1d;
}

.search-control input:focus,
.category-picker select:focus {
  border-color: rgba(246, 196, 79, 0.48);
  box-shadow: 0 0 0 3px rgba(246, 196, 79, 0.12);
}

.search-control input::placeholder {
  color: var(--muted);
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.category-nav button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  font-family: inherit;
  text-decoration: none;
}

.category-nav button:hover,
.category-nav button.is-active {
  border-color: rgba(246, 196, 79, 0.34);
  color: var(--text);
}

.category-nav button.is-active {
  background: rgba(246, 196, 79, 0.12);
}

.category-nav span {
  color: var(--accent-2);
  font-size: 0.78rem;
}

.directory-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.directory-status p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.directory-status strong {
  color: var(--text);
}

.directory-status button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.directory-status button:hover {
  border-color: rgba(246, 196, 79, 0.34);
  color: var(--text);
}

.directory-empty {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 26, 29, 0.78);
}

.directory-empty h2 {
  margin-bottom: 6px;
}

.directory-empty p {
  margin: 0;
  color: var(--soft);
}

.directory-section {
  margin-top: 24px;
  scroll-margin-top: 18px;
}

.directory-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.directory-card {
  display: flex;
  min-width: 0;
  min-height: 300px;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 26, 29, 0.78);
}

.directory-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.directory-card-top span,
.directory-card-top small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.directory-card-top span {
  color: var(--accent-2);
  text-transform: uppercase;
}

.directory-card h3 {
  margin-top: 12px;
  color: var(--text);
  font-size: 1.03rem;
}

.directory-card p {
  margin: 8px 0 16px;
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.directory-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.directory-actions .primary-cta,
.directory-actions .secondary-cta {
  min-height: 42px;
  padding: 0 10px;
  font-size: 0.86rem;
}

.category-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.category-index-card {
  display: block;
  min-height: 170px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 26, 29, 0.78);
  color: inherit;
  text-decoration: none;
}

.category-index-card:hover {
  border-color: rgba(246, 196, 79, 0.34);
  background: rgba(255, 255, 255, 0.04);
}

.category-index-card span {
  display: block;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.category-index-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.3;
}

.category-index-card p {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(12, 14, 16, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
}

.footer-about {
  max-width: 560px;
}

.footer-about p {
  max-width: 52ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px 18px;
  align-content: start;
}

.footer-links a {
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.static-shell {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.static-hero {
  padding: 28px 0 18px;
}

.static-hero h1 {
  max-width: 780px;
}

.static-hero p:last-child {
  max-width: 68ch;
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 1.04rem;
}

.static-section p {
  margin: 0 0 14px;
  color: var(--soft);
}

.static-section p:last-child {
  margin-bottom: 0;
}

.redirect-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

@media (max-width: 900px) {
  .page-shell {
    display: block;
    padding-bottom: 96px;
  }

  .sticky-card {
    display: none;
  }

  .quick-facts,
  .pros-cons,
  .related-grid,
  .directory-grid,
  .category-index-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-submenu {
    right: auto;
    left: 0;
  }

  .home-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .directory-control-row {
    grid-template-columns: 1fr;
  }

  .content-cta {
    display: block;
  }

  .content-cta .primary-cta {
    width: 100%;
    margin-top: 14px;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: block;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(16, 18, 20, 0.92);
    backdrop-filter: blur(12px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 96px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .page-shell,
  .home-shell,
  .static-shell,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .server-header {
    padding-top: 22px;
  }

  .intro-panel,
  .section {
    padding: 18px;
  }

  h1 {
    font-size: 2rem;
  }

  .home-stats,
  .directory-actions {
    grid-template-columns: 1fr;
  }

  .directory-status {
    align-items: stretch;
    flex-direction: column;
  }

  .directory-status button {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
