* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

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

  transition: background-color 1s ease;
}
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}


.hidden {
  display: none;
}

#start-screen {
  position: absolute;
}

#start-button {
  font-size: 1.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

#countdown-container h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: white;
  text-shadow: 2px 2px 5px black;
}

#countdown {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 5px black;
}

#reveal-container h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: white;
}

/* Gender colors override image */
.boy {
  background-image: none;
  background-color: #9ad0ff;
}

.girl {
  background-image: none;
  background-color: #ffb6c1;
}
#registry-link {
  position: fixed;
  right: 20px;
  bottom: 20px;

  padding: 12px 18px;
  font-size: 1rem;
  font-weight: bold;

  color: white;
  background: rgba(0, 0, 0, 0.65);
  text-decoration: none;

  border-radius: 999px;
  backdrop-filter: blur(6px);

  z-index: 2147483647; /* absolute top layer */
  pointer-events: auto;
}

#registry-link:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

/* 📱 Mobile tweak */
@media (max-width: 600px) {
  #registry-link {
    bottom: 15px;
    right: 15px;
    font-size: 0.95rem;
    padding: 10px 14px;
  }
}



