:root {
  --sky: #66a7d8;
  --ground: #472c28;
  --accent: #b6b587;
  --shadow: #0c0b10;
  --button-bg: #252b37;
  --button-bg-hover: #2e3643;
  --button-border: #111723;
  --floor-height: clamp(40px, 7vh, 68px);
  --footer-height: clamp(180px, 24vh, 250px);
  --content-width: min(92vw, 920px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  overflow-x: hidden;
  font-family: "National Park", system-ui, sans-serif;
  background: var(--ground);
  color: #070707;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero-stage {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem) 1.2rem calc(var(--floor-height) + 1.8rem);
  background: var(--sky);
  overflow: hidden;
  isolation: isolate;
}

.cloud {
  position: absolute;
  left: 0;
  width: var(--cloud-width);
  height: var(--cloud-height);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: -2;
  opacity: var(--cloud-opacity, 0.95);
  transform: translateX(var(--cloud-start-x, 110vw));
  animation: drift-cloud linear infinite;
  animation-duration: var(--cloud-duration);
  animation-delay: var(--cloud-delay);
}

.cloud-a {
  top: 11%;
  --cloud-width: clamp(150px, 17vw, 235px);
  --cloud-height: clamp(40px, 5vw, 64px);
  background-image: url("./sprCloud1.png");
  --cloud-duration: 58s;
  --cloud-delay: -4s;
  --cloud-static-x: 12vw;
}

.cloud-b {
  top: 26%;
  --cloud-width: clamp(135px, 15vw, 210px);
  --cloud-height: clamp(36px, 4.2vw, 58px);
  background-image: url("./sprCloud2.png");
  --cloud-duration: 74s;
  --cloud-delay: -24s;
  --cloud-opacity: 0.92;
  --cloud-static-x: 68vw;
}

.cloud-c {
  top: 49%;
  --cloud-width: clamp(165px, 18vw, 250px);
  --cloud-height: clamp(42px, 5.4vw, 68px);
  background-image: url("./sprCloud1.png");
  --cloud-duration: 92s;
  --cloud-delay: -48s;
  --cloud-opacity: 0.88;
  --cloud-static-x: 38vw;
}

.cloud-d {
  top: 64%;
  --cloud-width: clamp(128px, 14vw, 198px);
  --cloud-height: clamp(34px, 4vw, 55px);
  background-image: url("./sprCloud2.png");
  --cloud-duration: 66s;
  --cloud-delay: -60s;
  --cloud-opacity: 0.9;
  --cloud-static-x: 82vw;
}

.hero-content {
  width: var(--content-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1rem, 2.2vh, 1.7rem);
  z-index: 1;
}

.tagline,
.coming-soon,
.copyright {
  margin: 0;
  text-transform: uppercase;
}

.tagline {
  font-size: clamp(1rem, 1rem + 0.65vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.logo {
  width: min(100%, 900px);
  height: auto;
  display: block;
}

.coming-soon {
  font-size: clamp(2rem, 1.45rem + 2vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.steam-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 68px;
  padding: 1rem 1.5rem;
  border: 4px solid var(--button-border);
  border-radius: 0.65rem;
  background: linear-gradient(180deg, #2e3745, var(--button-bg));
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
  color: #ffffff;
  font-size: clamp(1.1rem, 0.95rem + 1vw, 1.95rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 150ms ease, background-color 150ms ease,
    box-shadow 150ms ease;
}

.steam-button img {
  width: clamp(28px, 5vw, 42px);
  height: clamp(28px, 5vw, 42px);
  flex: 0 0 auto;
}

.steam-button:hover,
.steam-button:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #384252, var(--button-bg-hover));
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
}

.steam-button:focus-visible,
.social-links a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

.floor-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--floor-height);
  background:
    url("./floor-tile.png") repeat-x center bottom / auto 100%;
  z-index: 2;
}

.ground-footer {
  min-height: var(--footer-height);
  padding: clamp(1.8rem, 4vw, 2.8rem) 1rem 1.4rem;
  background: var(--ground);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.1rem;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 1.5rem);
  color: var(--accent);
  font-size: clamp(1.8rem, 1.35rem + 0.9vw, 2.4rem);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease, color 150ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  color: #d2d1a2;
}

.copyright {
  color: var(--accent);
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

@keyframes drift-cloud {
  from {
    transform: translateX(110vw);
  }

  to {
    transform: translateX(calc(-1 * var(--cloud-width) - 12vw));
  }
}

@media (max-width: 700px) {
  .hero-stage {
    padding-top: 1.75rem;
    padding-bottom: calc(var(--floor-height) + 1.25rem);
  }

  .hero-content {
    gap: 1rem;
  }

  .steam-button {
    width: min(100%, 21rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cloud {
    animation: none;
    transform: translateX(var(--cloud-static-x));
  }

  .steam-button,
  .social-links a {
    transition: none;
  }
}
