:root {
  --bg: #070a10;
  --panel: rgba(18,23,34,.78);
  --line: rgba(255,255,255,.08);
  --text: #f5f7fb;
  --muted: #8f9aab;

  --green: #36d17c;
  --red: #ff5964;
  --blue: #72a7ff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 5% 0%,
      rgba(82,104,255,.14),
      transparent 35%
    ),
    radial-gradient(
      circle at 95% 25%,
      rgba(54,209,124,.09),
      transparent 30%
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.glow {
  position: fixed;
  width: 400px;
  height: 400px;

  border-radius: 50%;
  filter: blur(130px);

  opacity: .15;
  pointer-events: none;
}

.glow-a {
  background: #6376ff;
  left: -190px;
  top: 30px;
}

.glow-b {
  background: #38d485;
  right: -200px;
  top: 400px;
}

main {
  position: relative;

  width: min(1160px, calc(100% - 40px));

  margin: auto;
  padding: 55px 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  gap: 30px;

  margin-bottom: 65px;
}

.eyebrow {
  color: #68758a;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: .22em;
}

h1 {
  margin: 4px 0 0;

  font-size: clamp(58px, 8vw, 92px);

  line-height: .9;
  letter-spacing: -.07em;
}

header p {
  margin: 14px 0 0;

  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;

  gap: 12px;
}

.overall {
  display: flex;
  align-items: center;

  gap: 12px;

  min-width: 230px;

  padding: 13px 17px;

  border: 1px solid var(--line);
  border-radius: 16px;

  background: rgba(255,255,255,.03);
}

.dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 18px rgba(54,209,124,.8);
}

.overall strong,
.overall small {
  display: block;
}

.overall strong {
  font-size: 11px;
}

.overall small {
  margin-top: 3px;

  color: var(--muted);
  font-size: 9px;
}

.admin-button {
  padding: 16px 18px;

  border: 1px solid var(--line);
  border-radius: 16px;

  color: #c9d1df;

  background: rgba(255,255,255,.03);

  font-size: 11px;
  font-weight: 700;

  text-decoration: none;
}

.admin-button:hover {
  border-color: rgba(255,255,255,.18);
  color: white;
}

section {
  margin-bottom: 55px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;

  margin-bottom: 18px;
}

.section-title h2 {
  margin: 5px 0 0;

  font-size: 25px;

  letter-spacing: -.04em;
}

#updated {
  color: #647085;
  font-size: 10px;
}

.services {
  display: grid;

  grid-template-columns: repeat(3,1fr);

  gap: 15px;
}

.service {
  display: flex;
  flex-direction: column;

  min-height: 300px;

  padding: 23px;

  border: 1px solid var(--line);
  border-radius: 24px;

  color: var(--text);

  background:
    linear-gradient(
      145deg,
      rgba(25,31,45,.9),
      rgba(12,16,24,.85)
    );

  text-decoration: none;

  transition:
    transform .2s ease,
    border-color .2s ease;
}

.service:hover {
  transform: translateY(-4px);

  border-color: rgba(114,167,255,.32);
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon {
  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;

  border-radius: 14px;

  background: rgba(255,255,255,.055);

  font-size: 19px;
}

.status {
  padding: 6px 8px;

  border-radius: 100px;

  background: rgba(255,255,255,.05);

  color: var(--muted);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: .08em;
}

.status.online {
  color: var(--green);

  background: rgba(54,209,124,.09);
}

.status.offline {
  color: var(--red);

  background: rgba(255,89,100,.09);
}

.service-copy {
  margin-top: 35px;
}

.service h3 {
  margin: 0;

  font-size: 24px;

  letter-spacing: -.04em;
}

.service p {
  min-height: 35px;

  margin: 7px 0 0;

  color: var(--muted);

  font-size: 12px;
  line-height: 1.5;
}

.service code {
  display: block;

  overflow: hidden;

  margin-top: auto;
  padding-top: 25px;

  color: #667389;

  font-family: inherit;
  font-size: 9px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.open-button {
  display: flex;
  justify-content: space-between;

  margin-top: 12px;
  padding: 12px 14px;

  border: 1px solid rgba(114,167,255,.15);
  border-radius: 12px;

  background: rgba(114,167,255,.08);

  color: #dce7ff;

  font-size: 11px;
  font-weight: 750;
}

.minecraft {
  display: grid;

  grid-template-columns: 1.6fr 1fr;

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 27px;

  background:
    linear-gradient(
      145deg,
      rgba(24,30,43,.9),
      rgba(12,16,24,.85)
    );
}

.minecraft-main {
  min-height: 280px;

  padding: 28px;
}

.minecraft-heading {
  display: flex;
  justify-content: space-between;
}

.small-label {
  color: #68758a;

  font-size: 9px;
  font-weight: 800;

  letter-spacing: .18em;
}

.minecraft h3 {
  margin: 5px 0 0;

  font-size: 27px;

  letter-spacing: -.04em;
}

.players {
  margin-top: 52px;
}

.players > div {
  display: flex;
  align-items: baseline;
}

#players {
  font-size: 70px;
  font-weight: 800;

  line-height: 1;

  letter-spacing: -.07em;
}

#maxPlayers {
  margin-left: 6px;

  color: #5e697b;

  font-size: 23px;
}

.players label {
  display: block;

  margin-top: 8px;

  color: var(--muted);

  font-size: 9px;

  letter-spacing: .16em;
}

.minecraft-info {
  padding: 25px;

  border-left: 1px solid var(--line);

  background: rgba(255,255,255,.015);
}

.info-row {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  padding: 15px 0;

  border-bottom: 1px solid rgba(255,255,255,.06);

  font-size: 11px;
}

.info-row span {
  color: var(--muted);
}

.info-row strong {
  text-align: right;
}

button,
.secondary-button {
  display: block;

  width: 100%;

  margin-top: 14px;
  padding: 12px;

  border: 1px solid rgba(114,167,255,.18);
  border-radius: 12px;

  background: rgba(114,167,255,.1);

  color: #e6edff;

  font: inherit;
  font-size: 10px;
  font-weight: 750;

  text-align: center;
  text-decoration: none;

  cursor: pointer;
}

.secondary-button {
  margin-top: 8px;

  border-color: rgba(54,209,124,.15);

  background: rgba(54,209,124,.07);
}

.future {
  display: grid;

  grid-template-columns: repeat(3,1fr);

  gap: 12px;
}

.future > div {
  padding: 18px;

  border: 1px solid var(--line);
  border-radius: 18px;

  background: rgba(255,255,255,.025);

  opacity: .55;
}

.future span,
.future strong,
.future small {
  display: block;
}

.future span {
  margin-bottom: 12px;

  font-size: 20px;
}

.future strong {
  font-size: 12px;
}

.future small {
  margin-top: 4px;

  color: var(--muted);

  font-size: 10px;
}

footer {
  display: flex;
  justify-content: space-between;

  padding-top: 25px;

  border-top: 1px solid var(--line);

  color: #556174;

  font-size: 9px;
}

@media (max-width: 800px) {

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

  .header-actions {
    width: 100%;
  }

  .overall {
    flex: 1;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .minecraft {
    grid-template-columns: 1fr;
  }

  .minecraft-info {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

}

@media (max-width: 550px) {

  main {
    width: calc(100% - 24px);

    padding-top: 30px;
  }

  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .future {
    grid-template-columns: 1fr;
  }

}
