* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
      
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}
      
header {
  background: linear-gradient(135deg, #667eea 0%,#764ba2 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}
  
header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.8;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  margin-bottom: 3rem;
}

h2 {
  color: #667eea;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.search-section {
  text-align: center;
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 8px;
}

form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

input {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  flex: 1;
  min-width: 250px;
}

button {
  padding: 0.75rem 2rem;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

button:hover {
  background: #764ba2;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  font-size: 1.3rem;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.trending ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.trending li {
  padding: 1.5rem;
  background: #f5f5f5;
  border-left: 4px solid #667eea;
  border-radius: 4px;
}

footer {
  text-align: center;
  padding: 15px;
  margin-top: 30px;
  background-color: #eee;
}

.gift-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.gift-card {
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 8px;
  text-align: center;
}

.gift-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.gift-card h4 {
  color: #667eea;
  margin-bottom: 0.5rem;
}

.gift-card p {
  margin-bottom: 1rem;
}

.gift-card a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.gift-card a:hover {
  background: #764ba2;
}

img {
  border-radius: 10px;
}