/* ----------------------------------
  Global Variables for Easy Tweaks
---------------------------------- */
:root {
  --bg-gradient: linear-gradient(315deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  --text-gradient: linear-gradient(90deg, #ff8a00, #e52e71, #9c27b0, #673ab7, #ff8a00);
  --font-family: 'Poppins', sans-serif;
}

/* ----- RESET & LAYOUT ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  background: #0f2027; /* fallback */
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-family);
}

/* ----- HEADING STYLES ----- */
h1 {
  font-size: clamp(3rem, 12vw, 12rem); /* responsive size */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--text-gradient);
  background-size: 400% 100%;
  /* Gradient clipped inside text */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  animation: gradientShift 8s ease-in-out infinite, floaty 6s ease-in-out infinite;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  filter: drop-shadow(0 0 10px rgba(255, 200, 255, 0.5));
  transition: transform 0.5s;
}

h1:hover {
  transform: perspective(600px) rotateX(10deg) rotateY(-10deg) scale(1.05);
}

/* Gradient animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Subtle floating effect */
@keyframes floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ----- OPTIONAL SPARKLE EFFECT ----- */
.sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: sparkleMove linear infinite;
  opacity: 0;
}

@keyframes sparkleMove {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
} 