@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #7b2cbf;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #1a0033;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  z-index: 9999;
  animation: fadeOut 2.5s 3s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

#background {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

#content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 50px 20px;
}

h1 {
  font-size: 28px;
  line-height: 1.6;
  color: #fff;
  text-shadow: 0 0 10px #fff, 0 0 20px #c77dff;
}

.blur {
  filter: blur(8px);
  cursor: pointer;
  transition: filter 0.5s ease;
}

.blur.clear {
  filter: blur(0);
}

#buttons {
  margin-top: 30px;
}

button {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 15px;
  margin: 0 10px;
  border-radius: 15px;
  font-size: 24px;
  cursor: pointer;
  transition: 0.3s;
  backdrop-filter: blur(5px);
}

button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.heart, .star, .compliment {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.heart {
  color: #ff8ce6;
  font-size: 20px;
  animation: fall linear forwards;
}

@keyframes fall {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.star {
  color: #fff;
  font-size: 2px;
  opacity: 0.8;
}

.compliment {
  color: #fff;
  font-size: 18px;
  text-shadow: 0 0 5px #fff, 0 0 10px #ff00f7;
  animation: floatUp 3s ease forwards;
}

@keyframes floatUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-150px);
    opacity: 0;
  }
}
