body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  margin: 0;
  background: #ffffff;
  min-height: 100vh;
  padding: 20px 0;
}

.logo {
  text-align: center;
  padding: 30px 20px 20px;
  animation: fadeInDown 0.8s ease-out;
}

.logo img {
  max-width: 320px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

#searchForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 920px;
  margin: 0 auto 30px;
  padding: 0 20px;
  gap: 15px;
}

#query {
  width: 90%;
  max-width: 90%;
  padding: 16px 24px;
  font-size: 16px;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  outline: none;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  transition: all 0.3s ease;
}

#query:focus {
  box-shadow: 0 2px 8px rgba(32, 33, 36, 0.28);
  border-color: transparent;
}

#query::placeholder {
  color: #a0a0a0;
}

button {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: bold;
  background: linear-gradient(135deg, #44aefa 0%, #9140ff 100%);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

button:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
}

button:active {
  transform: translateY(1px);
}

#results {
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.result-item {
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.result-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.result-item a {
  font-size: 20px;
  font-weight: 600;
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s ease;
}

.result-item a:hover {
  color: #764ba2;
  text-decoration: none;
}

.result-url {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #10b981;
  margin: 4px 0 8px;
}

.result-snippet {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}