body {
  font-family: "Inter", sans-serif;
  background: #cf81ff;
  color: #222;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  text-align: center;
  padding: 1.5rem;
}

h1 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

#search {
  padding: 0.6rem 1rem;
  width: 300px;
  max-width: 80%;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.grid {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  width: 90%;
  max-width: 1200px;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
}

.card h2 {
  font-size: 1.2rem;
  margin: 0;
}

.card .studio {
  color: #777;
  font-size: 0.9rem;
}

.card .links {
  margin-top: 0.5rem;
}

.card .links a {
  font-size: 0.85rem;
  color: #0077cc;
  margin-right: 0.5rem;
  text-decoration: none;
}
