body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 20px;
}

.wrapper {
  max-width: 700px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
}

h1 {
  color: #ff4fcf;
}

a {
  color: #ff4fcf;
  text-decoration: none;
}

header h1 {
  color: #ff4fcf;
  font-size: 2.5rem;
  margin-bottom: 0.3em;
  position: relative;
  display: inline-block;
}

header h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background: #ff4fcf;
  border-radius: 5px;
  animation: grow 1.5s ease-out;
}

@keyframes grow {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

header p {
  font-size: 1.1rem;
  color: #4e4e4e;
  margin-bottom: 30px;
}

.search-box {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

input {
  padding: 14px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #555;
  background-color: #c5c5c5;
  color: #ff4fcf;
  width: 260px;
  transition: border 0.3s;
}

input:focus {
  outline: none;
  border: 1px solid #ff4fcf;
}

button {
  padding: 14px 22px;
  background: #ff4fcf;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #e33bb6;
}

.result-box {
  margin-top: 30px;
  font-size: 1.3rem;
  font-weight: 500;
}

footer {
  margin-top: 80px;
  font-size: 0.9rem;
  color: #666;
}
