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

body,
html {
  height: 100%;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #ffe6eb, #fff4f9);
  color: #333;
  overflow: hidden;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
  padding: 20px;
  text-align: center;
  animation: fadeInContainer 1.5s ease;
}

.section {
  max-width: 600px;
  animation: fadeIn 1s ease;
}

h1,
h2,
p,
#kataIndah,
#selamat {
  font-size: 2.2rem;
  margin-bottom: 20px;
  animation: romanticGlow 2s infinite alternate;
}

button {
  padding: 16px 28px;
  margin: 10px;
  font-size: 1.2rem;
  border: none;
  border-radius: 12px;
  background-color: #ff69b4;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
  background-color: #ff1493;
  transform: scale(1.05);
}

input {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  width: 80%;
  font-size: 1.1rem;
}

input:focus {
  outline: none;
  border: 2px solid #ff69b4;
  box-shadow: 0 0 5px rgba(255, 105, 180, 0.5);
}

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

@keyframes fadeInContainer {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes romanticGlow {
  from {
    text-shadow: 0 0 10px #ff69b4;
  }
  to {
    text-shadow: 0 0 20px #ff1493;
  }
}

.fadeSlideUp {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.8s ease-out forwards;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .section {
    max-width: 90%;
  }

  h1,
  h2,
  p,
  #kataIndah,
  #selamat {
    font-size: 1.6rem;
  }

  button {
    padding: 12px 20px;
    font-size: 1rem;
  }

  input {
    width: 100%;
    font-size: 1rem;
  }
}
