:root {
  color-scheme: dark;
  --text: #fff6dd;
  --muted: #f3c776;
  --line: rgba(255, 215, 128, 0.42);
  --shadow: rgba(0, 0, 0, 0.78);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #060403;
  color: var(--text);
}

.page {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 5rem);
  isolation: isolate;
}

.page::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("background.webp");
  background-position: center;
  background-size: cover;
  content: "";
}

.page::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 58% 63%, rgba(255, 183, 42, 0.24), transparent 24rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.2) 52%, rgba(0, 0, 0, 0.78)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 34%, rgba(0, 0, 0, 0.72));
  content: "";
}

.content {
  width: min(100%, 58rem);
  text-align: center;
  text-shadow: 0 0.25rem 2.5rem var(--shadow);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status::before,
.status::after {
  display: block;
  width: clamp(1.8rem, 6vw, 4.5rem);
  height: 1px;
  background: var(--line);
  content: "";
}

h1 {
  margin: 0;
  font-size: clamp(4.2rem, 15vw, 12rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.86;
}

.message {
  max-width: 32rem;
  margin: 1.4rem auto 0;
  color: rgba(255, 246, 221, 0.88);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 560px) {
  .page {
    place-items: end center;
    padding-bottom: 12vh;
  }

  .page::before {
    background-position: 57% center;
  }

  .status {
    display: block;
    line-height: 1.4;
  }

  .status::before,
  .status::after {
    display: none;
  }
}
