:root {
  color-scheme: dark;
  --page-bg: #0b0b0b;
  --white: #ffffff;
  --button-bg: rgba(10, 10, 10, 0.12);
  --button-bg-hover: rgba(255, 255, 255, 0.96);
  --button-border: rgba(255, 255, 255, 0.94);
  --focus: rgba(255, 255, 255, 0.38);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  overflow: hidden;
  background: var(--page-bg);
  font-family: Arial, Helvetica, sans-serif;
}

.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  background-image: url("assets/seed-doors.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Creates the dark, moody look from the reference without modifying the source image. */
.landing__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.16) 38%,
      rgba(0, 0, 0, 0.47) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.23) 0%,
      rgba(0, 0, 0, 0.18) 48%,
      rgba(0, 0, 0, 0.36) 100%
    );
}

.landing__content {
  width: min(94vw, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-2vh);
}

.landing__logo {
  display: block;
  width: min(44vw, 610px);
  min-width: 300px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 18px rgba(0, 0, 0, 0.18));
  user-select: none;
  -webkit-user-drag: none;
}

.landing__locations {
  width: min(240px, 76vw);
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.location-button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 3px solid var(--button-border);
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--white);
  text-decoration: none;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.location-button:hover {
  background: var(--button-bg-hover);
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.location-button:active {
  transform: translateY(0);
}

.location-button:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 5px;
}

@media (max-width: 700px) {
  body {
    overflow: auto;
  }

  .landing {
    background-position: center center;
  }

  .landing__content {
    width: min(92vw, 540px);
    transform: translateY(-1vh);
  }

  .landing__logo {
    width: min(90vw, 500px);
    min-width: 0;
  }

  .landing__locations {
    width: min(230px, 72vw);
    margin-top: 28px;
    gap: 24px;
  }

  .location-button {
    min-height: 50px;
    font-size: 17px;
    border-width: 2px;
  }
}

@media (max-height: 650px) and (min-width: 701px) {
  .landing__content {
    transform: none;
  }

  .landing__logo {
    width: min(38vw, 500px);
  }

  .landing__locations {
    margin-top: 18px;
    gap: 18px;
  }

  .location-button {
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .location-button {
    transition: none;
  }
}
