* {
  box-sizing: border-box;
  margin: 0; 
  padding: 0;
}
body {
  font-family: 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #ff7e5f, #feb47b);
  color: #fff;
}
.calculator {
  background: rgba(255,255,255,0.2);
  padding: 4rem;
  border: 4px solid rgba(255,255,255,0.5);
  border-radius: 30px;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 12px 25px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}
.calculator:hover {
  transform: scale(1.02);
}
.calculator h1 {
  margin-bottom: 2.5rem;
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 0 2px 2px rgba(0,0,0,0.4);
}
.calculator input {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
}
.button-group {
  display: flex;
  gap: 1rem;
}
.calculator button {
  flex: 1;
  width: auto;
  padding: 1.25rem;
  margin-top: 1rem;
  background: #4CAF50;
  color: #000;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.calculator button:hover {
  background: #45a049;
}
.share-button {
  background: #00bfff !important;
}
.share-button:hover {
  background: #33ccff !important;
}
.result {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  display: none;
}
@media (max-width: 480px) {
  .calculator {
    padding: 2rem;
  }
  .calculator h1 {
    font-size: 1.8rem;
  }
}