/* General Page Layout */
body {
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #74ebd5, #acb6e5, #ff9a9e);
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  padding: 20px;
}

/* Animated Gradient */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Card Container */
.container {
  background: rgba(255, 255, 255, 0.3);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 400px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Title */
.title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

/* Inputs */
.label {
  font-weight: 600;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
}

input[type="number"] {
  width: 80px;
  padding: 8px;
  border: 2px solid #74ebd5;
  border-radius: 10px;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

input[type="number"]:focus {
  border-color: #ff9a9e;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 154, 158, 0.6);
}

/* Checkbox Section */
.options {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 15px 0;
  font-size: 1rem;
}

.options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgb(255, 255, 255);
  font-weight: bolder ;
  cursor: pointer;
  transition: transform 0.2s;
}

.options label:hover {
  transform: scale(1.05);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #74ebd5;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #74ebd5, #acb6e5);
  border: none;
  color: #fff;
  padding: 12px 20px;
  margin: 8px 5px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn:hover {
  background: linear-gradient(135deg, #acb6e5, #74ebd5);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(116, 235, 213, 0.4);
}

.secondary {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}

.secondary:hover {
  background: linear-gradient(135deg, #fad0c4, #ff9a9e);
}

/* Result Display */
#result {
  margin-top: 15px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  word-wrap: break-word;
  background: rgba(255, 255, 255, 0.3);
  padding: 10px;
  border-radius: 8px;
    border: 2px solid #74ebd5;

  min-height: 30px;
  transition: background 0.3s ease;
}

/* Responsive Design */
@media (max-width: 480px) {
  .container {
    padding: 25px;
    border-radius: 15px;
  }

  .title {
    font-size: 1.5rem;
  }

  input[type="number"] {
    width: 70px;
  }

  .btn {
    font-size: 0.95rem;
    padding: 10px;
  }
}