body {
  font-family: 'Kanit', sans-serif;
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  overflow: hidden;
  color: white;
  margin: 0;
  padding: 0;
  height: 100vh;
}

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--duration) ease-in-out infinite;
  opacity: var(--opacity);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

h1.glow {
  font-family: 'Sriracha', cursive;
  text-shadow: 0 0 10px #ff00de, 0 0 20px #ff00de, 0 0 30px #ff00de, 0 0 40px #ff22de;
  animation: pulsate 2s infinite alternate;
}

@keyframes pulsate {
  100% {
    text-shadow: 0 0 4px #fff, 0 0 11px #fff, 0 0 19px #fff,
      0 0 40px #ff00de, 0 0 80px #ff00de, 0 0 90px #ff00de,
      0 0 100px #ff00de, 0 0 150px #ff00de;
  }
  0% {
    text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 6px #fff,
      0 0 10px #ff00de, 0 0 45px #ff00de, 0 0 55px #ff00de,
      0 0 70px #ff00de, 0 0 80px #ff00de;
  }
}

textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  transition: all 0.3s ease;
}

textarea:focus {
  outline: none;
  border-color: #ff00de;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(255, 0, 222, 0.3);
}

input[type="text"] {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  transition: all 0.3s ease;
}

input[type="text"]:focus {
  outline: none;
  border-color: #ff00de;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(255, 0, 222, 0.3);
}

.btn-grad {
  background-image: linear-gradient(to right, #DA22FF 0%, #9733EE 51%, #DA22FF 100%);
  transition: 0.5s;
  background-size: 200% auto;
}

.btn-grad:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.countdown-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

#canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.wish-display {
  font-family: 'Sriracha', cursive;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}
.wish-display.show {
  opacity: 1;
  transform: translateY(0);
}
