:root {
  --bg: #0e0e0f;
  --tile: #1d1d1f;
  --tile2: #222225;
  --line: #303034;
  --text: #fff;
  --muted: #85858b;
  --accent: #ff4d2e;
}
@font-face {
  font-family: Minecraft;
  src: url('/assets/Minecraft.otf') format('opentype');
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}
button,
input {
  font: inherit;
}
.hub {
  width: min(1090px, calc(100% - 36px));
  margin: auto;
  padding: 72px 0 40px;
}
.top-grid {
  display: grid;
  grid-template-columns: 290px 1fr 220px;
  gap: 24px;
}
.identity-column {
  display: grid;
  grid-template-rows: 230px 58px;
  gap: 12px;
}
.placeholder {
  position: relative;
  border-radius: 24px;
  background: var(--tile);
  border: 1px solid #222225;
  overflow: hidden;
}
.placeholder:after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed #313136;
  border-radius: 14px;
}
.placeholder > span {
  position: absolute;
  z-index: 1;
  left: 24px;
  top: 21px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #55555b;
}
.identity-mark,
.store-placeholder,
.community-placeholder,
.stats-placeholder {
  border-color: #303034;
}
.identity-mark:after,
.store-placeholder:after,
.community-placeholder:after,
.stats-placeholder:after {
  display: none;
}
.identity-mark {
  display: grid;
  place-items: center;
  padding: 16px;
}
.identity-mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.store-placeholder,
.community-placeholder,
.stats-placeholder {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.store-placeholder { background-image: linear-gradient(180deg,rgba(0,0,0,.42),transparent 35%),url('/assets/store-banner.png'); }
.community-placeholder { background-image: linear-gradient(180deg,rgba(0,0,0,.42),transparent 35%),url('/assets/community-banner.png'); }
.stats-placeholder { background-image: linear-gradient(180deg,rgba(0,0,0,.42),transparent 35%),url('/assets/stats-banner.png'); }
.store-placeholder > span,
.community-placeholder > span,
.stats-placeholder > span {
  color: #fff;
  font-size: 25px;
  letter-spacing: -.025em;
  text-transform: capitalize;
  text-shadow: 0 2px 12px #000;
}
.store-placeholder,
.community-placeholder {
  height: 300px;
}
.copy-ip {
  width: 100%;
  border: 0;
  border-radius: 30px;
  background: #202022;
  color: #fff;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  text-align: left;
  padding: 0 19px;
  cursor: pointer;
}
.copy-ip:hover {
  background: #29292c;
}
.copy-ip strong {
  font-size: 17px;
}
.copy-ip small {
  font-size: 9px;
  color: #818187;
  letter-spacing: 0.12em;
}
.copy-icon {
  width: 21px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 2px;
  position: relative;
}
.copy-icon:before {
  content: "";
  position: absolute;
  width: 17px;
  height: 21px;
  border: 2px solid #fff;
  border-radius: 2px;
  left: 5px;
  top: -7px;
  background: #202022;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.stats-placeholder,
.join-card {
  height: 300px;
}
.join-card {
  position: relative;
  border-radius: 24px;
  background: var(--tile);
  border: 1px solid #222225;
  padding: 20px 26px;
}
.join-card h2 {
  margin: 0 0 10px;
  font-size: 29px;
  letter-spacing: -0.045em;
}
.edition-tabs {
  position: absolute;
  right: 24px;
  top: 20px;
  display: flex;
  background: #111113;
  border-radius: 18px;
  padding: 3px;
}
.edition-tabs button {
  border: 0;
  background: transparent;
  color: #777;
  padding: 5px 11px;
  border-radius: 14px;
  font-size: 10px;
  cursor: pointer;
}
.edition-tabs .active {
  background: #fff;
  color: #111;
}
.join-card label {
  display: block;
  font: 18px Minecraft, monospace;
  color: #c7c7ca;
  margin-top: 10px;
}
.minecraft-field {
  height: 47px;
  margin-top: 4px;
  border: 2px solid #bfc0c4;
  background: #050505;
  color: #fff;
  padding: 9px 11px;
  display: block;
  font-size: 22px;
  font-family: Minecraft, monospace;
  box-shadow: inset 0 0 0 2px #262626;
}
.caret {
  animation: blink 0.8s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
#join-port {
  margin: 7px 2px 0;
  color: #888;
  font-size: 10px;
}
.whitelist-card {
  margin-top: 24px;
  border-radius: 24px;
  background: var(--tile);
  border: 1px solid #222225;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 16px 30px;
  align-items: end;
}
.whitelist-card > div span {
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.16em;
  font-weight: 900;
}
.whitelist-card h2 {
  font-size: 24px;
  margin: 5px 0 0;
}
.whitelist-card form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.whitelist-card label {
  grid-column: 1/-1;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.whitelist-card input {
  height: 46px;
  border: 1px solid #45454a;
  border-radius: 9px;
  background: #101012;
  color: #fff;
  padding: 0 14px;
  outline: none;
}
.whitelist-card input:focus {
  border-color: #fff;
}
.whitelist-card button {
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: #111;
  font-weight: 900;
  padding: 0 18px;
  cursor: pointer;
}
.whitelist-card button:disabled {
  opacity: 0.5;
}
.whitelist-card output {
  grid-column: 2;
  font-size: 11px;
  color: #b8b8bd;
  min-height: 14px;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 4px 0;
  color: #606066;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
footer nav {
  display: flex;
  gap: 17px;
}
footer a {
  color: #707076;
  text-decoration: none;
}
.legal {
  width: min(760px, calc(100% - 36px));
  margin: 70px auto;
  line-height: 1.7;
}
.legal a {
  color: #fff;
}
.legal section {
  margin-top: 55px;
  color: #aaa;
}
@media (max-width: 720px) {
  .hub {
    padding-top: 28px;
  }
  .top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .identity-column {
    grid-column: 1;
  }
  .store-placeholder {
    grid-column: 2;
  }
  .community-placeholder {
    grid-column: 1/-1;
    height: 150px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .whitelist-card {
    grid-template-columns: 1fr;
  }
  .whitelist-card output {
    grid-column: 1;
  }
}
@media (max-width: 600px) {
  .hub {
    width: min(100% - 22px, 1090px);
  }
  .top-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .identity-column {
    grid-template-rows: 160px 55px;
  }
  .store-placeholder {
    height: 220px;
  }
  .community-placeholder {
    height: 120px;
  }
  .bottom-grid {
    gap: 14px;
    margin-top: 14px;
  }
  .stats-placeholder,
  .join-card {
    height: 265px;
  }
  .whitelist-card {
    margin-top: 14px;
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .whitelist-card form {
    grid-template-columns: 1fr;
  }
  .whitelist-card button {
    height: 44px;
  }
  .placeholder,
  .join-card,
  .whitelist-card {
    border-radius: 18px;
  }
  .join-card {
    padding: 17px;
  }
  .edition-tabs {
    right: 14px;
  }
  .minecraft-field {
    font-size: 18px;
    height: 43px;
  }
  .copy-ip strong {
    font-size: 15px;
  }
}
