/* Container fills screen and centers content */
.page-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: #111; /* dark background */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
}

/* Centered content with flex and spacing */
.content {
  position: relative;
  z-index: 10; /* above overlay */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.content h1 {
  font-size: 4rem;
  margin: 0;
  color: #fff;
}

.content p {
  font-size: 1.5rem;
  margin: 0;
}

.home-button {
  padding: 0.75rem 1.5rem;
  background-color: var( --color-link-hover);
  color: #fff;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.home-button:hover {
  background-color: var( --color-link-hover);
}

/* Spotlight overlay */
#overlay {
  position: absolute;
  inset: 0;
  background-color: #000;
  z-index: 20;
  pointer-events: none;

  /* Initial spotlight in center */
  mask-image: radial-gradient(circle 500px at 50% 50%, transparent 0%, black 500px);
  -webkit-mask-image: radial-gradient(circle 500px at 50% 50%, transparent 0%, black 500px);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}
