/* Base / background */
html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  color: #ffffff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";

  background-image: url("background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Create stacking context for the cinematic overlay. */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  /* Darken + add a subtle cinematic vignette. */
  background: radial-gradient(
      circle at 25% 15%,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(0, 0, 0, 0.28) 38%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 5vw, 3rem) 1rem;
}

.content-wrapper {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

h1 {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
    Arial;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  font-size: clamp(2.25rem, 6vw, 4.75rem);
}

p {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cta-button {
  appearance: none;
  border: 1px solid rgba(88, 101, 242, 0.6);
  background: rgba(88, 101, 242, 0.16);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;

  border-radius: 9999px;
  padding: 0.95rem 1.55rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px; /* Helps tapping on mobile */
  min-width: min(20rem, 90vw);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 0 0 rgba(88, 101, 242, 0);
  transition: transform 160ms ease, box-shadow 160ms ease,
    background 160ms ease, border-color 160ms ease, filter 160ms ease;
}

.cta-button:hover {
  background: rgba(88, 101, 242, 0.32);
  border-color: rgba(88, 101, 242, 0.92);
  box-shadow:
    0 0 0.75rem rgba(88, 101, 242, 0.45),
    0 0 2.25rem rgba(88, 101, 242, 0.22);
  transform: translateY(-2px);
}

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

.cta-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  /* Keep the important part of the background more centered on mobile. */
  body {
    background-position: 50% 28%;
  }

  .content-wrapper {
    gap: 1.05rem;
  }

  .cta-button {
    padding: 0.9rem 1.25rem;
    min-width: min(18rem, 92vw);
  }
}

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

