/* Basic Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #ffe6f0;
  color: #4a004a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav {
  background: #d81b60;
  color: white;
  padding: 1rem 0;
  text-align: center;
  box-shadow: 0 5px 15px rgba(216, 27, 96, 0.4);
}

nav h1 {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
  letter-spacing: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-weight: 600;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ff66b2;
}

main {
  flex-grow: 1;
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  background: #ffd6e8;
  border-radius: 12px;
  padding: 1.8rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 25px rgba(216, 27, 96, 0.15);
}

section h2 {
  color: #9a0454;
  font-size: 1.9rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.clock-container {
  background: white;
  padding: 1.4rem 2rem;
  border-radius: 10px;
  margin: 0.8rem 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(216, 27, 96, 0.2);
}

.clock-container h3 {
  margin-bottom: 0.7rem;
  color: #d81b60;
  font-weight: 700;
}

.clock-container p {
  font-family: monospace;
  font-size: 2.2rem;
  color: #a6046d;
  letter-spacing: 3px;
  font-weight: 700;
}

#countdown p {
  font-size: 1.3rem;
  margin: 0.6rem 0;
}

#fun {
  text-align: center;
}

#surprise-btn {
  background: #d81b60;
  border: none;
  color: white;
  padding: 15px 40px;
  font-size: 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s ease;
}

#surprise-btn:hover {
  background: #ff66b2;
}

#surprise-msg {
  margin-top: 1.2rem;
  font-size: 1.5rem;
  color: #800040;
  font-weight: 700;
  min-height: 2.4em;
}

footer {
  background: #d81b60;
  color: white;
  text-align: center;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 -5px 15px rgba(216, 27, 96, 0.4);
  letter-spacing: 1.2px;
}


