:root {
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: white;
  background: #151914;
}
* { box-sizing: border-box; }
body { margin: 0; }
main {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 24px 0;
}
main::before, main::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
main::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;

  background:
    radial-gradient(
      ellipse at center,
      transparent 20%,
      rgba(0, 0, 0, 0.25) 50%,
      rgba(0, 0, 0, 0.85) 100%
    ),
    url("assets/nebelwald.jpg");

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  filter: blur(0.5px);
}
main::after {
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 51% 45%, rgb(0 0 0 / 39%), rgb(0 0 0 / 66%));
}
.stage {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "server logo community";
  align-items: start;
  gap: clamp(18px, 4vw, 75px);
}
h1 {
  grid-area: logo;
  margin: 0;
  line-height: 0;
  transform: translateY(-20%);
}
h1 img {
  display: block;
  width: clamp(220px, 18vw, 335px);
  height: auto;
  filter: drop-shadow(0 6px 9px rgb(0 0 0 / 48%));
}
.panel {
  width: 300px;
  height: 90px;
  min-height: 90px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 7px;
  padding: 15px;
  margin-top: 10px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: rgb(0 0 0 / 67%);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.server {
  grid-area: server;
  justify-self: center;
  transform: translateY(90%);
}

.community {
  grid-area: community;
  justify-self: center;
  transform: translateY(90%);
}
.panel strong { font-size: clamp(19px, 1.48vw, 24px); font-weight: 800; line-height: 1.15; }
.panel small { font: 700 10px/1.2 Georgia, serif; letter-spacing: .085em; text-transform: uppercase; color: #dedcdb; }
.panel:hover { background: rgb(0 0 0 / 82%); }
.panel:focus-visible { outline: 2px solid #c6ffff; outline-offset: 4px; }
@media (max-width: 840px) {
  .stage { width: calc(100% - 36px); gap: 14px; }
  .panel { padding: 13px 16px; min-height: 70px; }
}
@media (max-width: 640px) {
  .stage {
    grid-template-areas: "logo logo" "server community";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
    width: min(440px, calc(100% - 24px));
    align-items: stretch;
  }
  h1 { justify-self: center; }
  h1 img { width: min(58vw, 245px); }
  .panel { width: 100%; min-height: 74px; margin-top: 0; padding: 12px; border-radius: 10px; }
  .panel strong { font-size: clamp(15px, 3.9vw, 18px); }
  .panel small { font-size: 9px; }
}