* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: #2e3b4e;
  color: white;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.card {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  animation: fadeIn 2s ease-out;
}

.title {
  font-size: 36px;
  font-weight: bold;
  color: #f9c74f;
}

.message {
  font-size: 20px;
  margin: 20px 0;
}

.wish-btn {
  padding: 10px 20px;
  background-color: #f9c74f;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s;
}

.wish-btn:hover {
  background-color: #f4a261;
}

.wish-message {
  margin-top: 20px;
  font-size: 22px;
  font-weight: bold;
  color: #f9c74f;
  display: none;
}

.snowflakes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.snowflake {
  position: absolute;
  color: white;
  font-size: 30px;
  opacity: 0.7;
  pointer-events: none;
  animation: fall 10s linear infinite, drift 5s ease-in-out infinite;
}

/* Падающие снежинки */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fall {
  from {
    transform: translateY(-100px); /* Снежинки начинают падать с верхней части экрана */
  }
  to {
    transform: translateY(100vh); /* Снежинки падают до нижней части экрана */
  }
}

@keyframes drift {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-15px);
  }
  100% {
    transform: translateX(15px);
  }
}
