* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
}

/* Versus font family definitions */
/* Versus Bold */
@font-face {
  font-family: "Versus";
  src: url("./fonts/Versus-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

/* Versus SemiBold */
@font-face {
  font-family: "Versus Semi Bold";
  src: url("./fonts/Versus-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

/* Versus Black */
@font-face {
  font-family: "Versus Black";
  src: url("./fonts/Versus-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

/* Apply Versus to the landing page */
.landing-page {
  font-family:
    "Versus",
    "Versus Semi Bold",
    "Versus Black",
    system-ui,
    -apple-system,
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.landing-page .hero {
  /* full‑viewport section that stacks its content centrally */
  min-height: 100vh;
  position: relative;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: center; /* horizontal centering */
  padding: 0;
}

/* hero image sits absolutely behind the container content */
.landing-page .hero-img {
  display: block;
  width: 100%;
  max-width: 720px; /* desktop / tablet max */
  height: auto;
  object-fit: contain;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  margin: 0 auto 20px; /* spacing between image and links */
}

.landing-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 1;
}

.landing-page .container {
  position: relative;
  z-index: 2; /* above overlay and image */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.landing-page .links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  pointer-events: auto;
  margin: 0 auto;
}

.landing-page .btn {
  display: inline-block;
  text-decoration: none;
  background: #000;
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  border: 2px solid #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  min-width: 200px;
  flex: 0 1 auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    opacity 0.12s ease;
}

.landing-page .btn:hover {
  color: #fff;
}

.landing-page .btn:hover,
.landing-page .btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  outline: 3px solid rgba(255, 255, 255, 0.06);
}

.landing-page .btn:active {
  transform: translateY(-1px);
}

.landing-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .landing-page .btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
  /* no extra bottom padding needed when content is centered */
}

@media (max-width: 480px) {
  .landing-page .links {
    flex-direction: column;
  }
  .landing-page .btn {
    width: 100%;
    min-width: 0;
  }
  /* keep image fitting rules; object-fit already handles most cases */
  .landing-page .hero-img {
    width: 96%;
    max-width: none;
    object-fit: contain;
    object-position: center center;
    margin-bottom: 16px;
  }
}

@media (min-width: 1201px) {
  .landing-page .container {
    max-width: 1200px;
  }
}

/* Ensure links remain accessible on very small viewports */
@media (max-width: 360px) {
  .landing-page .btn {
    width: 100%;
    border-radius: 12px;
  }
}
