 * {
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      background: linear-gradient(135deg, #5b2bbc, #210430);
      color: white;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 2rem 1rem;
      min-height: 100vh;
      margin: 0;
    }

    h1 {
      margin-bottom: 1rem;
      font-size: 2rem;
      text-align: center;
    }

    input {
      padding: 0.6rem;
      font-size: 1rem;
      font-weight: 200;
      font-style: italic;
      width: 100%;
      max-width: 300px;
      border-radius: 8px;
      border: none;
      margin-bottom: 1rem;
      text-align: center;
    }

    button {
      padding: 0.6rem 1.2rem;
      font-size: 1rem;
      background-color: #56dc3c;   #dc4332
      color: white; 
      border: none;
      border-radius: 8px;
      cursor: pointer;
      margin-bottom: 1rem;
      width: 100%;
      max-width: 300px;
      transition: background-color 0.3s ease, transform 0.2s ease;  /* Smooth transition for hover effect */
    }

    button:hover {
  background-color:#dc4332;    /* New color on hover */
  transform: scale(1.05);        /* Optional: slight grow effect */
}

    .result {
      max-height: 400px;
      overflow-y: auto;
      background: rgba(233, 224, 224, 0.998);
      padding: 1rem;
      border-radius: 10px;
      width: 100%;
      max-width: 350px; 
      text-align: center;
    }

    .result p {
      margin: 0.3rem 0;
      font-size: 1.5rem;
      color: #210430;  /* Darker text for better contrast */
      font-weight: 550;
    }

    @media (max-width: 400px) {
      h1 {
        font-size: 1.6rem;
      }

      input,
      button,
      .result {
        max-width: 90%;
      }
    }