/* Reset & Base Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Verdana', sans-serif;
  background: linear-gradient(135deg, #d5c4e4, #713d9c);
  color: #1f2937;
}

/* Main Container */
.container {
  width: 100%;
  max-width: 640px;
  text-align: center;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Logo image */
.logo {
  width: 180px;
  margin-bottom: 3rem;
}

/* Search Form */
.form {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 9999px;
  padding: 0.75rem 1rem;
  border: 2px solid #333;
  width: 100%;
  max-width: 420px;
}

.input {
  flex: 1;
  padding: 0.5rem 1rem;
  font-size: 1.125rem;
  border: none;
  outline: none;
  border-radius: 9999px;
  background: transparent;
  color: #111;
}

.button {
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.button:hover {
  background: #111;
}

/* Result Output */
.result {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: #fff;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 2rem 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: #eee;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #ff89dc;
}

/* Utility */
.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 600px) {
  .form {
    flex-direction: row;
    padding: 0.6rem 0.8rem;
  }

  .input {
    font-size: 1rem;
  }

  .button {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .logo {
    width: 150px;
  }
}
