body {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#drum-machine {
  background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  max-width: 500px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#pad-bank {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.drum-pad {
  background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  padding: 35px 0;
  cursor: pointer;
  box-shadow: 0 6px 0 #1a1a1a;
  transition: all 0.07s ease;
  text-transform: uppercase;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

.drum-pad::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.drum-pad:hover::before {
  left: 100%;
}

.drum-pad:active, .drum-pad.active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #1a1a1a;
  background: linear-gradient(145deg, #4a4a4a, #3a3a3a);
}

.drum-pad:active::before, .drum-pad.active::before {
  left: 100%;
}

#display {
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  color: #4ade80;
  text-align: center;
  padding: 18px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0;
  font-family: 'Courier New', monospace;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5), 0 1px 1px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

/* Key press animation */
@keyframes pulse {
  0% {
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.8);
  }
  100% {
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
  }
}

.display-pulse {
  animation: pulse 0.2s ease;
}

/* Responsive design */
@media (max-width: 480px) {
  #drum-machine {
    padding: 15px;
    margin: 20px;
  }
  
  .drum-pad {
    font-size: 22px;
    padding: 25px 0;
  }
  
  #display {
    font-size: 16px;
    padding: 12px;
  }
}