@font-face {
  font-family: "Hobo Std";
  src: url("../fonts/hobo-std.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #4f6891 0%, #526da1 100%);
  font-family: "Hobo Std", "Trebuchet MS", Tahoma, sans-serif;
  cursor:
    url("https://cdn.phoenixnetwork.net/WorldOfZombies/minigames/res/def_cursor.png") 0 0,
    auto;
}

.text-filters {
  position: absolute;
  pointer-events: none;
}

.landing {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  min-height: 480px;
  overflow: hidden;
  user-select: none;
}

.artwork {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.artwork::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(8 17 30 / 18%);
}

.island {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-logo {
  position: absolute;
  top: clamp(24px, 2.34375vw, 60px);
  left: clamp(24px, 2.9296875vw, 75px);
  width: clamp(96px, 5.46875vw, 140px);
  height: auto;
}

.brand {
  position: absolute;
  top: 50%;
  left: 15.3%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(28%, 53vh);
  width: min(28%, 53svh);
  transform: translateY(-50%);
  text-align: center;
}

.brand h1 {
  width: 100%;
  margin: 0;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.coming-soon {
  --button-height: clamp(44px, 2.5vw, 64px);
  --button-cap: calc(var(--button-height) * 1.125);

  display: inline-grid;
  place-items: center;
  width: clamp(200px, 13.28125vw, 340px);
  height: var(--button-height);
  margin-top: clamp(16px, 0.78125vw, 20px);
  padding: 0 24px;
  border: 0;
  appearance: none;
  /* Overlap the caps by 1px to cover fractional-pixel seams. */
  background:
    url("../images/landing/button-left.webp") no-repeat left / var(--button-cap) var(--button-height),
    url("../images/landing/button-right.webp") no-repeat right / var(--button-cap) var(--button-height),
    url("../images/landing/button-center.webp") no-repeat center / calc(100% - 2 * var(--button-cap) + 2px) var(--button-height);
  color: #262422;
  opacity: 1;
  font: inherit;
  font-size: clamp(20px, 1.25vw, 32px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  cursor: inherit;
  outline: none;
}

.coming-soon span {
  filter: url("#wood-title-carve");
}

@media (hover: hover) and (pointer: fine) {
  .coming-soon:hover {
    filter: brightness(1.08);
  }
}

.coming-soon:focus-visible {
  outline: 2px solid #f6e4b4;
  outline-offset: 4px;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .brand {
    left: 50%;
    width: min(88%, 560px);
    transform: translate(-50%, -50%);
  }

  .logo {
    width: min(68vw, 425px);
    margin-inline: auto;
  }

  .coming-soon {
    width: 240px;
    font-size: 22px;
  }
}
