body {
  text-align: center;
  background: radial-gradient(circle at center, #1e2749 0%, #0d1424 100%);
  font-family: "Arvo", cursive;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

h1 {
  font-size: 5rem;
  color: #ff6ec7;
  text-shadow: 0 0 10px #ff6ec7, 0 0 20px #ff4cb6, 0 0 30px #ff1c9e;
  margin-top: 40px;
  animation: fadeIn 1.2s ease-in-out, pulseGlow 2s infinite alternate;
}

footer {
  color: #fff;
  font-family: sans-serif;
  padding: 20px;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
}

.set {
  margin: 8% auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.drum {
  outline: none;
  border: none;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  width: 160px;
  height: 160px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  position: relative;
}

.drum::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  opacity: 0;
  transition: opacity 0.3s;
}

.drum:hover::after {
  opacity: 1;
}

.drum:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3),
    inset 0 0 15px rgba(255, 255, 255, 0.2);
  filter: brightness(1.15);
}

.pressed {
  transform: scale(0.95);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.4);
  filter: brightness(0.9);
}

.game-over {
  background-color: rgba(255, 0, 0, 0.6);
  animation: flash 0.3s ease-in-out;
}

.w {
  background-image: url("images/tom1.png");
}
.a {
  background-image: url("images/tom2.png");
}
.s {
  background-image: url("images/tom3.png");
}
.d {
  background-image: url("images/tom4.png");
}
.j {
  background-image: url("images/snare.png");
}
.k {
  background-image: url("images/crash.png");
}
.l {
  background-image: url("images/kick.png");
}

@keyframes flash {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  from {
    text-shadow: 0 0 10px #ff6ec7, 0 0 20px #ff4cb6, 0 0 30px #ff1c9e;
  }
  to {
    text-shadow: 0 0 20px #ff6ec7, 0 0 30px #ff4cb6, 0 0 40px #ff1c9e;
  }
}
html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  background: radial-gradient(circle at center, #1e2749 0%, #0d1424 100%);
  text-align: center;
  font-family: "Arvo", cursive;
}

.set {
  flex: 1; 
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

footer {
  color: #fff;
  font-family: sans-serif;
  padding: 20px;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  text-align: center;
}
