body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #fde2e4 0%, #e2d1f9 50%, #c8b6ff 100%);
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

.calculadora {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(186, 104, 200, 0.25);
  border: 2px solid white;
  width: 310px;
  backdrop-filter: blur(10px);
}

.titulo {
  text-align: center;
  color: #8e24aa;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: lowercase;
  opacity: 0.7;
}

#pantalla {
  width: 100%;
  height: 60px;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: right;
  margin-bottom: 20px;
  padding: 10px 18px;
  box-sizing: border-box;
  border: none;
  border-radius: 18px;
  background-color: #fdf2f8;
  color: #4a148c;
  outline: none;
}

.botones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

button {
  height: 62px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background-color: #fce4ec;
  color: #880e4f;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

button:hover {
  animation: salto 0.4s ease;
  background-color: #f8bbd0;
  box-shadow: 0 8px 18px rgba(186, 104, 200, 0.3);
}

button:active {
  transform: scale(0.88);
}

@keyframes salto {
  0% { transform: translateY(0); }
  30% { transform: translateY(-10px); }
  50% { transform: translateY(0); }
  70% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.operador {
  background-color: #e1bee7;
  color: #4a148c;
}

.operador:hover {
  background-color: #ce93d8;
  color: white;
}

#igual {
  background: linear-gradient(135deg, #ba68c8, #8e24aa);
  color: white;
  border-radius: 30px;
  grid-column: span 2;
  width: 100%;
}

#borrar {
  background-color: #f48fb1;
  color: white;
}