@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;600&display=swap');

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

body {
  font-family: 'Outfit', sans-serif;
  height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  animation: backgroundShift 20s linear infinite;
}

.container {
  position: relative;
  text-align: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 60px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  animation: slideUp 1s ease-out forwards;
  opacity: 0;
  overflow: visible;
}

/* Floating sparkles */
.container::before, .container::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: #00e1ff88;
  filter: blur(6px);
  opacity: 0.7;
  animation: floatSparkle 6s ease-in-out infinite;
}

.container::before {
  width: 12px;
  height: 12px;
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.container::after {
  width: 18px;
  height: 18px;
  bottom: 15%;
  right: 20%;
  animation-delay: 3s;
}

h1.glow {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: glow 2s ease-in-out infinite alternate;
  cursor: default;
  position: relative;
  z-index: 1;
}

p.fade-in {
  font-size: 1.2rem;
  opacity: 0;
  animation: fadeIn 2s 1s forwards;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

/* Add a subtle pulse under the text */
.container::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-radius: 50%;
  background: rgba(0, 225, 255, 0.1);
  filter: blur(20px);
  animation: pulseGlow 3s ease-in-out infinite;
  z-index: 0;
}

/* Button styling with pulse animation */
button.cta {
  background: #00e1ff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  color: #0f2027;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  animation: buttonPulse 2.5s infinite;
  position: relative;
  z-index: 1;
}

button.cta:hover {
  background: #00bcd4;
}

/* Keyframes */

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

@keyframes glow {
  from {
    text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff, 0 0 30px #00f0ff;
  }
  to {
    text-shadow: 0 0 20px #00e1ff, 0 0 30px #00e1ff, 0 0 40px #00e1ff;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes backgroundShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatSparkle {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-15px) scale(1.2);
    opacity: 1;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.1);
  }
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 0 0 6px #00e1ffaa;
  }
  50% {
    box-shadow: 0 0 20px #00e1ffdd;
  }
}
