body {
  font-family: "Inter", sans-serif;
  background: #0f172a;
  color: #f1f5f9;
  margin: 0;
  padding: 20px;
}
.container { max-width: 1200px; margin: auto; }
header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.controls { display: flex; gap: 10px; flex-wrap: wrap; }
input, select, button {
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 8px;
}
button { cursor: pointer; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.card {
  background: #1e293b;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
}
.card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}
.card span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.9);
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.modal-content {
  background: #1e293b;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}
.modal-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
}
#close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: #f1f5f9;
  cursor: pointer;
}
#info {
  font-size: 14px;
  color: #cbd5e1;
  margin: 10px 0;
}
a#downloadBtn {
  background: #06b6d4;
  padding: 8px 12px;
  border-radius: 6px;
  color: #0f172a;
  text-decoration: none;
}
