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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #0d0221 0%, #000000 100%);
  font-family: 'Trebuchet MS', 'Segoe UI', Verdana, sans-serif;
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

#balloons-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.balloon {
  position: absolute;
  bottom: -220px;
  opacity: 0.95;
  animation: rise linear infinite;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.balloon svg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes rise {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-25vh) translateX(20px) rotate(3deg);
  }
  50% {
    transform: translateY(-50vh) translateX(-20px) rotate(-3deg);
  }
  75% {
    transform: translateY(-75vh) translateX(20px) rotate(3deg);
  }
  100% {
    transform: translateY(-130vh) translateX(0) rotate(0deg);
  }
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 2rem;
  text-align: center;
}

.title {
  max-width: 900px;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.subtitle {
  max-width: 700px;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.title span,
.subtitle span {
  background: linear-gradient(
    90deg,
    #ff4d6d,
    #ffb703,
    #8ac926,
    #1982c4,
    #6a4c93,
    #ff4d6d
  );
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: colorShift 6s linear infinite, floaty 3s ease-in-out infinite;
  display: inline-block;
}

.title span:nth-child(1) { animation-delay: 0s, 0s; }
.title span:nth-child(2) { animation-delay: -0.5s, 0.15s; }
.title span:nth-child(3) { animation-delay: -1s, 0.3s; }
.title span:nth-child(4) { animation-delay: -1.5s, 0.45s; }

.subtitle span:nth-child(1) { animation-delay: -2s, 0.1s; }
.subtitle span:nth-child(2) { animation-delay: -2.3s, 0.2s; }
.subtitle span:nth-child(3) { animation-delay: -2.6s, 0.3s; }
.subtitle span:nth-child(4) { animation-delay: -2.9s, 0.4s; }
.subtitle span:nth-child(5) { animation-delay: -3.2s, 0.5s; }
.subtitle span:nth-child(6) { animation-delay: -3.5s, 0.6s; }
.subtitle span:nth-child(7) { animation-delay: -3.8s, 0.7s; }
.subtitle span:nth-child(8) { animation-delay: -4.1s, 0.8s; }
.subtitle span:nth-child(9) { animation-delay: -4.4s, 0.9s; }

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

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
