body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #f9a8d4, #a5f3fc, #fde68a);
  font-family: Arial, sans-serif;
}

.calculator {
  width: 320px;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.display {
  width: 100%;
  height: 60px;
  background: #f3f4f6;
  border-radius: 10px;
  text-align: right;
  padding: 10px;
  font-size: 24px;
  margin-bottom: 15px;
  overflow: hidden;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

button {
  height: 60px;
  border: none;
  border-radius: 12px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

/* Different button colors */
.btn-num { background: #93c5fd; }   /* Blue */
.btn-op  { background: #fcd34d; }   /* Yellow */
.btn-clear { background: #f87171; } /* Red */
.btn-equal { background: #34d399; grid-column: span 2; } /* Green and wide */

button:hover {
  filter: brightness(1.1);
}
