* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(to right, #d8e3f5, #f3e8ff);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  text-align: center;
}

.title {
  color: #b57edc;
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 600;
}

.calculator {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
  width: 320px;
}

#result {
  width: 100%;
  font-size: 2rem;
  padding: 15px;
  border: none;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: right;
  background-color: #f9f9f9;
  color: #333;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

.buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

button {
  padding: 20px;
  font-size: 1.2rem;
  border: none;
  border-radius: 10px;
  background-color: #e0e0e0;
  color: #333;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

button:hover {
  background-color: #d0d0d0;
}

.equal {
  grid-row: span 2;
  background-color: #b57edc;
  color: white;
}

.equal:hover {
  background-color: #a86dd1;
}

.zero {
  grid-column: span 2;
}
