/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #880351, #54a0ff);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Main Container */
.container {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(82, 3, 51, 0.2);
  width: 100%;
  max-width: 500px;
  text-align: center;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heading */
.container h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #7506a1;
}

/* Input */
input[type="text"] {
  width: 80%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 2px solid #920a5a;
  border-radius: 10px;
  outline: none;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

input[type="text"]:focus {
  border-color: #e64c87;
  box-shadow: 0 0 8px rgba(48, 1, 15, 0.5);
}

/* Button */
button {
  padding: 12px 25px;
  font-size: 1rem;
  color: white;
  background-color: #bd0d56;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;

  margin-left: 10px;
}

button:hover {
  background-color: #6c0979;
}

/* Result Box */
#result {
  margin-top: 30px;
  text-align: left;
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 15px;
  box-shadow: inset 0 0 10px rgba(30, 1, 77, 0.05);
  max-height: 300px;
  overflow-y: auto;
}

#result h2 {
  color: #041e74;
  margin-bottom: 10px;
}

#result p {
  margin-bottom: 10px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .container {
    padding: 20px;
    width: 90%;
  }

  input[type="text"] {
    width: 100%;
    margin-bottom: 15px;
  }

  button {
    width: 100%;
    margin-left: 0;
    padding: 12px;
  }
}

