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

body {
  background: #0f0c29;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: sans-serif;
  overflow: hidden;
}

.aurora {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.6;
}

.aurora span {
  position: absolute;
  border-radius: 50%;
  animation: move 8s infinite alternate ease-in-out;
}

.aurora span:nth-child(1) {
  width: 600px; height: 600px;
  background: #5227FF;
  top: -100px; left: -100px;
  animation-duration: 4s;
}

.aurora span:nth-child(2) {
  width: 500px; height: 500px;
  background: #7cff67;
  top: 50%; left: 40%;
  animation-duration: 5s;
}

.aurora span:nth-child(3) {
  width: 400px; height: 400px;
  background: #ff67e7;
  bottom: -100px; right: -100px;
  animation-duration: 3s;
}

@keyframes move {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 80px) scale(1.2); }
}

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

h1 {
  color: white;
  margin-bottom: 40px;
  font-size: 2.5rem;
  letter-spacing: 4px;
  text-shadow: 0 0 20px #a855f7;
  position: relative;
  z-index: 10;
}

.keyboard {
  display: flex;
  position: relative;
  z-index: 10;
}

.key.white {
  width: 60px;
  height: 200px;
  background: linear-gradient(180deg, #ffffff, #e0e0e0);
  border: 1px solid #333;
  border-radius: 0 0 10px 10px;
  cursor: pointer;
  box-shadow: 2px 4px 8px rgba(0,0,0,0.4);
  transition: background 0.1s;
}

.key.white:hover, .key.white.active {
  background: linear-gradient(180deg, #ffe066, #ffcc00);
  box-shadow: 0 0 15px #ffe066;
}

.key.black {
  width: 36px;
  height: 120px;
  background: linear-gradient(180deg, #222, #000);
  border-radius: 0 0 8px 8px;
  cursor: pointer;
  z-index: 11;
  position: absolute;
  box-shadow: 2px 4px 8px rgba(0,0,0,0.6);
  transition: background 0.1s;
}

.key.black:hover, .key.black.active {
  background: linear-gradient(180deg, #555, #333);
  box-shadow: 0 0 12px #a855f7;
}
.key.white {
  position: relative;
}

.key-label {
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: #888;
  font-weight: bold;
  pointer-events: none;
}