body {
  font-family: Arial, sans-serif;
  background: linear-gradient(120deg, #8fd3f4 0%, #84fab0 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.calculator {
  background: #333;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
#display {
  width: 100%;
  height: 50px;
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: right;
  padding: 5px;
}
.buttons {
  display: grid;
  grid-template-columns: repeat(4, 60px);
  grid-gap: 10px;
}
.btn {
  padding: 20px;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  background: #555;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover {
  background: #777;
}
.equal {
  grid-column: span 4;
  background: #2196F3;
}
.equal:hover {
  background: #1976D2;
}

/* Number buttons */
.btn.number {
  background: #4CAF50;
}
.btn.number:hover {
  background: #388E3C;
}

/* Operator buttons (+, -, *, /) */
.btn.operator {
  background: #FF9800;
}
.btn.operator:hover {
  background: #F57C00;
}

/* Clear button (C or AC) */
.btn.clear {
  background: #E53935;
}
.btn.clear:hover {
  background: #B71C1C;
}