:root {
  color-scheme: dark;
  --bg: #060913;
  --surface: #0d1321;
  --surface-raised: #111a2b;
  --surface-soft: #ffffff08;
  --line: #273149;
  --line-strong: #35435f;
  --text: #eef3ff;
  --muted: #a1aec3;
  --subtle: #76859d;
  --accent: #7868f7;
  --cyan: #43d7f1;
  --mint: #64e2c4;
  --magenta: #c45cff;
  --danger: #ff808b;
  --max: 1160px;
  font: 16px/1.65 Inter, Manrope, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(70rem 38rem at 12% -14%, #20356a38, transparent 62%),
    radial-gradient(58rem 42rem at 105% 50%, #682c7430, transparent 65%),
    linear-gradient(90deg, #ffffff04 1px, transparent 1px),
    linear-gradient(#ffffff04 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
  color: var(--text);
}
body::before, body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 31rem;
  height: 31rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: .18;
  animation: ambient-drift 24s ease-in-out infinite alternate;
}
body::before { left: -18rem; top: 8vh; background: #315de9; }
body::after { right: -19rem; top: 48vh; background: #a136c8; animation-delay: -11s; }
@keyframes ambient-drift { to { transform: translate3d(3rem, 2rem, 0) scale(1.08); } }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: #7868f799; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.wrap { width: min(var(--max), calc(100% - 44px)); margin-inline: auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #ffffff12;
  background: #070a14d9;
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}
.nav {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: #f4f6ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.65vw, 22px);
  color: #b4bfd2;
  font-size: 13px;
  font-weight: 620;
}
.links a, .footlinks a {
  transition: color .18s ease;
}
.links a:hover, .links a[aria-current="page"] { color: #fff; }
.links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 8px; }
.actions { display: flex; flex: 0 0 auto; gap: 9px; align-items: center; }
.btn {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #ffffff20;
  border-radius: 11px;
  background: #ffffff08;
  color: var(--text);
  font-size: 13px;
  font-weight: 740;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: #ffffff50; background: #ffffff12; }
.btn.primary {
  border-color: #9a8eff77;
  background: linear-gradient(115deg, #6559df, #7454d9 58%, #456cdb);
  box-shadow: 0 8px 26px #4c40b42b, inset 0 1px #ffffff24;
}
.btn.primary:hover { border-color: #b6acff; box-shadow: 0 10px 30px #4c40b44d, inset 0 1px #ffffff36; }
.btn.secondary { border-color: #ffffff20; background: #ffffff06; }
.btn:active, .btn.tap-pop { transform: scale(.975); }
.btn:disabled { cursor: wait; opacity: .62; transform: none; }
.menu { display: none; }
.hamb {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-raised);
  color: var(--text);
  font-size: 19px;
  cursor: pointer;
}
.content { padding: clamp(54px, 7vw, 88px) 0 clamp(68px, 8vw, 100px); }
.eyebrow, .label {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.title {
  max-width: 900px;
  margin: 10px 0 17px;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 780;
  letter-spacing: -.065em;
  line-height: .99;
  text-wrap: balance;
}
.intro { max-width: 720px; margin: 0 0 32px; color: var(--muted); font-size: clamp(15px, 1.7vw, 18px); }
.cardgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card, .wide {
  position: relative;
  overflow: hidden;
  border: 1px solid #ffffff18;
  border-radius: 17px;
  background: linear-gradient(145deg, #121a2beF, #0b1020f4);
  box-shadow: 0 16px 40px #0000001c, inset 0 1px #ffffff08;
  padding: clamp(20px, 2.6vw, 27px);
}
.card::before, .wide::before, .review::before {
  content: "";
  position: absolute;
  inset: 0 32% auto 0;
  height: 1px;
  background: linear-gradient(90deg, #43d7f177, #7868f755, transparent);
  pointer-events: none;
}
.card h2, .card h3, .wide h2, .wide h3 { margin: 7px 0 10px; letter-spacing: -.035em; line-height: 1.2; }
.card p, .wide p { color: var(--muted); font-size: 14px; }
.cardgrid > .card, .reviews > .review { min-width: 0; }
.card, .wide, .review { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover, .review:hover {
  transform: translateY(-3px);
  border-color: #7b77d96b;
  box-shadow: 0 22px 52px #00000035, inset 0 1px #ffffff0b;
}
.price { font-size: 36px; font-weight: 820; letter-spacing: -.055em; }
.price small { color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: 0; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.specs span {
  padding: 6px 10px;
  border: 1px solid #ffffff12;
  border-radius: 8px;
  background: #ffffff07;
  color: #c7d3e7;
  font-size: 11px;
}
.twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.wide { margin-top: 14px; }
.simplelist { padding-left: 20px; color: #bec9dc; }
.simplelist li { margin: 8px 0; }
.topnote {
  padding: 13px 16px;
  border: 1px solid #64e2c42a;
  border-left: 2px solid var(--mint);
  border-radius: 0 11px 11px 0;
  background: #64e2c40a;
  color: #cbd7e7;
}
.textlink { color: var(--cyan); font-weight: 680; text-underline-offset: 3px; }
.textlink:hover { color: #b4f5ff; text-decoration: underline; }
.foot { margin-top: auto; border-top: 1px solid #ffffff12; padding: 28px 0; color: var(--subtle); font-size: 12px; }
.footrow { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footlinks { display: flex; gap: 13px 17px; flex-wrap: wrap; }
.footlinks a:hover { color: var(--text); }
.minecraft-disclaimer { display: block; flex: 1 0 100%; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.minecraft-disclaimer.prominent { padding: 10px 13px; border-left: 2px solid var(--mint); border-radius: 0 8px 8px 0; background: #64e2c408; }
.rating { color: #ffd36a; letter-spacing: 2px; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.review { position: relative; overflow: hidden; border: 1px solid #ffffff17; border-radius: 15px; background: #0d1422eF; padding: 19px; }
.review p { color: #d8e2f0; white-space: pre-wrap; }
.review small { color: var(--muted); }
.empty, .partner-empty {
  padding: 18px 19px;
  border: 1px dashed #46536b;
  border-radius: 13px;
  background: #ffffff04;
  color: var(--muted);
}
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.partner-top { display: flex; align-items: center; gap: 12px; }
.partner-logo { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; background: #ffffff0b; object-fit: contain; padding: 6px; }
.partner-card { min-height: 190px; }
.partner-card .partner-category { color: var(--mint); font-size: 10px; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.partner-card .textlink { display: inline-block; margin-top: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.copy-status { min-height: 1.4em; color: var(--mint); font-size: 13px; }
.join-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border: 1px solid #ffffff18; border-radius: 13px; background: #ffffff06; }
.join-address { font: 700 16px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .02em; }
.server-card { display: flex; align-items: flex-start; gap: 14px; }
.server-symbol { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border: 1px solid #43d7f144; border-radius: 14px; background: #43d7f10b; color: var(--cyan); font-size: 20px; }
.partner-empty { grid-column: 1 / -1; }
.legal-wrap { max-width: 880px; padding-block: clamp(30px, 7vw, 74px); }
.legal-wrap .card { line-height: 1.75; }
.legal-wrap h1 { margin-top: 0; font-size: clamp(36px, 6vw, 54px); letter-spacing: -.05em; line-height: 1.05; }
.legal-wrap h2 { margin-top: 30px; font-size: 21px; letter-spacing: -.025em; }
.legal-wrap a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

.auth-shell { max-width: 780px; margin-inline: auto; }
.auth-tabs { display: flex; gap: 8px; margin: 20px 0 12px; }
.auth-tab[aria-selected="true"] { border-color: #8d80ff; background: #27224a; }
.auth-form { display: grid; gap: 13px; }
.auth-form[hidden], .auth-pane[hidden] { display: none; }
.auth-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.auth-form label { display: grid; gap: 6px; color: #cbd6e7; font-size: 13px; font-weight: 650; }
.auth-form input {
  width: 100%; min-height: 45px; padding: 10px 12px;
  border: 1px solid #344158; border-radius: 10px;
  background: #0a101c; color: var(--text); font: inherit;
}
.auth-form input:focus { outline: 2px solid #43d7f1; outline-offset: 1px; }
.captcha-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-image { display: block; width: 180px; height: 70px; border: 1px solid #344158; border-radius: 10px; background: #0a101c; }
.captcha-refresh { min-height: 38px; }
.auth-status { min-height: 24px; margin: 0; color: #a9c9f5; font-size: 14px; }
.auth-status.error { color: #ffb4b4; }
.auth-status.success { color: #a2f2cd; }
.auth-note { margin: 0; color: var(--subtle); font-size: 12px; }
.auth-pane { margin-top: 14px; }
.auth-form .btn { cursor: pointer; }
.auth-form .btn:disabled { opacity: .55; cursor: wait; transform: none; }
.auth-busy { opacity: .7; }
.account-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 18px; }
.account-choice {
  display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; border: 1px solid #ffffff20; border-radius: 13px;
  background: #ffffff07; transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.account-choice:hover { transform: translateY(-2px); border-color: #43d7f155; background: #111a2b; }
.account-choice[aria-current="page"] { border-color: #7868f7; background: linear-gradient(120deg, #171d36, #211a3a); }
.account-choice strong { display: block; }
.account-choice small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.account-choice .arrow { color: var(--mint); font-size: 20px; }
.team-note { margin: 0; padding: 12px 14px; border-left: 2px solid var(--accent); border-radius: 0 9px 9px 0; background: #7868f711; color: #c8c1e6; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(15px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.reveal.show { opacity: 1; transform: none; }
body.page-enter { animation: page-enter .36s ease both; }
body.page-leaving { opacity: .45; transform: translateY(4px); }
@keyframes page-enter { from { opacity: .5; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.tap-pop { animation: tap-pop .2s ease; }
@keyframes tap-pop { 50% { transform: scale(.97); } }

@media (max-width: 900px) {
  .nav { min-height: 70px; }
  .links { display: none; }
  .hamb { display: grid; place-items: center; }
  .menu.open {
    position: absolute; top: 69px; left: 0; right: 0; z-index: 21;
    display: flex; flex-direction: column; gap: 3px;
    padding: 12px 18px 17px; border: 1px solid #ffffff13; border-top: 0;
    border-radius: 0 0 15px 15px; background: #090d18f5;
    box-shadow: 0 20px 40px #0007; backdrop-filter: blur(18px);
  }
  .menu a { padding: 9px 4px; color: #c3cddd; }
  .menu a:hover { color: #fff; }
  .cardgrid, .reviews, .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 30px); }
  .nav { min-height: 66px; gap: 10px; }
  .brand { gap: 8px; font-size: 10px; letter-spacing: .1em; }
  .brand img { width: 39px; height: 39px; }
  .actions .secondary { display: none; }
  .content { padding: 45px 0 60px; }
  .title { font-size: clamp(39px, 12vw, 52px); }
  .intro { font-size: 15px; }
  .cardgrid, .reviews, .partner-grid, .twocol { grid-template-columns: 1fr; }
  .footrow { align-items: flex-start; flex-direction: column; }
  .auth-fields, .account-choices { grid-template-columns: 1fr; }
  .join-box { align-items: flex-start; flex-direction: column; }
  .footlinks { gap: 11px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  body::before, body::after { display: none; }
  .reveal { opacity: 1; transform: none; }
}

.live-status { margin: 30px auto 12px; padding: 22px; border: 1px solid #ffffff18; border-radius: 17px; background: linear-gradient(120deg, #101827eF, #0c1220ec); box-shadow: 0 18px 50px #0003; }
.live-status-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.live-status-head h2 { margin: 5px 0; font-size: clamp(19px, 3vw, 25px); letter-spacing: -.035em; }
.live-status-head p { margin: 0; color: #8f9db3; font-size: 12px; }
.live-status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.live-status-item { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid #ffffff12; border-radius: 11px; background: #ffffff06; }
.error-page { min-height: 100svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.error-page .brand { margin-bottom: 60px; }
.error-page .title { max-width: 720px; }
.error-page .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.live-status-item strong, .live-status-item [data-status-label] { display: block; }
.live-status-item strong { font-size: 13px; }
.live-status-item [data-status-label] { margin-top: 3px; color: #9ba8bb; font-size: 11px; }
.status-indicator { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #8490a3; box-shadow: 0 0 0 4px #8490a31a; }
.is-online .status-indicator { background: #42dbab; box-shadow: 0 0 0 4px #42dbab1f, 0 0 15px #42dbab88; }
.is-offline .status-indicator { background: #ff687a; box-shadow: 0 0 0 4px #ff687a1c, 0 0 14px #ff687a55; }
.is-unknown .status-indicator { background: #9ba8bb; }
#status-refresh:disabled { opacity: .6; cursor: wait; }
@media (max-width: 600px) { .live-status { padding: 16px; } .live-status-head { align-items: flex-start; } .live-status-grid { grid-template-columns: 1fr; } }

