* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: #1e3a5f;
  color: #fffaf0;
  overflow: hidden;
}

.background {
  background: linear-gradient(to bottom right, #1e3a5f, #2c3e50);
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.container {
  max-width: 520px;
  margin: auto;
  padding: 60px 30px;
  text-align: center;
  background: rgba(255, 250, 240, 0.08);
  border: 2px solid #ffd70080;
  border-radius: 20px;
  margin-top: 8vh;
  backdrop-filter: blur(10px);
}

h1 {
  font-size: 2.2rem;
  color: #ffd700;
  margin-bottom: 16px;
}

.message {
  font-size: 1.1rem;
  color: #fffaf0cc;
  margin-bottom: 30px;
  line-height: 1.6;
}

button {
  padding: 12px 28px;
  background: #ffd700;
  color: #1e3a5f;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px #ffd70080;
}

button:hover {
  background: #e6be00;
  transform: scale(1.05);
}

#surprise {
  margin-top: 30px;
  animation: fadeIn 0.8s ease forwards;
}

#surprise img {
  width: 200px;
  margin-top: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

audio {
  margin-top: 20px;
  width: 100%;
  border-radius: 6px;
}

.love-note {
  color: #f3e5ab;
  font-style: italic;
  margin-bottom: 20px;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .container {
    margin-top: 4vh;
    padding: 40px 20px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .message {
    font-size: 1rem;
  }
}

.audio-icon {
  font-size: 32px;
  color: #ffd700;
  margin: 20px auto 0;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: pulse 2s infinite;
}

.audio-icon:hover {
  transform: scale(1.2);
}

audio {
  display: none;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
