:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #0c1b2a;
  color: #f7f3e8;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 18% 20%, rgba(58, 135, 153, 0.3), transparent 34%),
    radial-gradient(circle at 82% 76%, rgba(193, 125, 74, 0.22), transparent 32%),
    linear-gradient(145deg, #08131f 0%, #102b39 58%, #172a35 100%);
}

body::before,
body::after {
  position: fixed;
  inset: auto -8vw 0;
  height: 38vh;
  content: "";
  pointer-events: none;
  clip-path: polygon(
    0 100%,
    0 68%,
    12% 43%,
    21% 64%,
    35% 23%,
    47% 62%,
    61% 34%,
    72% 67%,
    86% 31%,
    100% 70%,
    100% 100%
  );
}

body::before {
  background: rgba(12, 31, 41, 0.72);
}

body::after {
  height: 27vh;
  background: rgba(5, 15, 24, 0.88);
  transform: translateX(8vw) scaleX(-1);
}

main {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 2rem;
}

.message {
  width: min(760px, 100%);
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  background: rgba(7, 22, 32, 0.64);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.38);
  text-align: center;
  backdrop-filter: blur(18px);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

p {
  margin: 0;
  color: #d9e4e5;
  font-size: clamp(1.05rem, 2.5vw, 1.5rem);
  line-height: 1.65;
}

.success {
  display: inline-block;
  margin-top: 1.1rem;
  color: #f3b875;
  font-weight: 700;
}

.mountain-flyer {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  display: grid;
  width: clamp(70px, 9vw, 96px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(244, 235, 215, 0.94);
  box-shadow: 0 0.8rem 2.2rem rgba(0, 0, 0, 0.38);
  pointer-events: none;
  will-change: transform;
}

.mountain-flyer img {
  width: 72%;
  height: 72%;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.22));
}

@media (prefers-reduced-motion: reduce) {
  .mountain-flyer {
    top: 1rem;
    left: 1rem;
    transform: none !important;
  }
}
