body {
  margin: 0;
  padding: 0;
  background-image: url('./istockphoto-1191251531-612x612.jpg');
  background-position: center;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  text-align: center;
  background-color: white;
  padding: 75px 30px;
  margin: 1.5rem;
  width: 43rem;
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.links p {
  font-size: 18px;
  color: rgba(0, 0, 0, 0.74);
  margin-bottom: 14px;
  font-family: "Chewy", system-ui;
  transition: transform 0.3s ease;
}

.links p:active {
  transform: scale(1.1);
}

.links a {
  font-family: "Raleway", sans-serif;
  font-weight: bold;
  color: #d6336c; 
  font-size: 16px;
  text-decoration: none;
}

.links a:active {
  color: #0077cc;   
}

.title {
  font-size: 1.6rem;
  font-family: "Pacifico", cursive;
  margin-bottom: 1.9rem;
  color: #333;
  font-weight: light;
}

/* Countdown Styles */
.countdown-wrapper {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: 'Raleway', sans-serif;
  text-align: center;
  background-color: white;
  padding: 55px 30px;
  margin: 1.5rem;
  width: 43rem;
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

#countdown {
  font-size: 1.5rem;
  font-weight: bold;
  color: #c2185b;
  font-family: 'Major Mono Display', monospace;
  letter-spacing: 1.5px;
  margin-bottom: 0.3rem;
}

.timer-subtext {
  font-size: 1.1rem;
  color: #6e6e6e ;
  font-weight: bold;
  font-family: 'Playfair Display', serif;
}

/* Clean state when unlocked */
#gift-section {
  transition: filter 1s ease, opacity 1s ease;
}
#magic-btn {
  position: absolute;
  bottom: 145px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: #ff69b4;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: bold;
  font-style: oblique;
  font-family: 'Playfair Display', serif;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  z-index: 999;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease;
}

#magic-btn.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 600px) {
  .countdown-wrapper {
    font-size: 1.4rem;
    padding:  45px 15px;
  }

  #countdown {
    font-size: 1.2rem;
  }

  #magic-btn {
    font-size: 12px;
    padding: 12px 20px;
    bottom: 120px;
  }

  .timer-subtext {
    font-size: 0.9rem;
  }

  #typewriter {
    font-size: 1.2rem;
    padding: 10px 15px;
  }
}