body {
  margin: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at bottom, #0a0a2a 0%, #000 100%);
  height: 100vh;
  color: white;
  font-family: 'Poppins', sans-serif;
}

h1 {
  position: absolute;
  top: 20%;
  width: 100%;
  text-align: center;
  font-size: 3.5rem;
  color: #ffcc00;
  text-shadow: 0 0 15px #ff9900, 0 0 30px #ff6600;
  animation: glow 2s infinite alternate;
  z-index:10;
}
@keyframes glow {
  from { text-shadow: 0 0 10px #ff6600, 0 0 20px #ff3300; }
  to { text-shadow: 0 0 25px #ff9900, 0 0 45px #ffcc00; }
}

/* Ground and crackers */
.ground {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, #1a1a1a, transparent);
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.cracker {
  position: relative;
  width: 10px;
  height: 40px;
  background: linear-gradient(to top, #ff0000, #ffa500);
  margin: 0 30px;
  border-radius: 5px;
  animation: spark 1s infinite;
}

.spark {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 20px;
  background: radial-gradient(circle, #fff, transparent);
  animation: burn 0.3s infinite;
}

@keyframes spark {
  0% { transform: scaleY(1); }
  50% { transform: scaleY(0.9); }
  100% { transform: scaleY(1); }
}

@keyframes burn {
  0% { height: 0; opacity: 1; }
  50% { height: 15px; opacity: 0.8; }
  100% { height: 25px; opacity: 0.3; }
}

/* Fireworks canvas */
canvas {
  position: absolute;
  top: 0;
  left: 0;
}