body {
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: background-image 0.5s;
}
header {
  background: rgba(255,255,255,0.9);
  padding: 1rem;
  text-align: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s;
  background: white;
}
.card:hover { transform: scale(1.02); }
.card img { width: 100%; height: 200px; object-fit: cover; display: block; }

#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}
#lightbox img { max-width: 90%; max-height: 80vh; }

#category-filters button {
  margin: 0.25rem;
  padding: 0.3rem 1rem;
  border: 1px solid #333;
  background: white;
  border-radius: 20px;
  cursor: pointer;
}
#category-filters button.active { background: #333; color: white; }