body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f0f0f0;
}
#app {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}
h1 {
  text-align: center;
  margin-bottom: 20px;
}
.search-box {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px,1fr));
  gap: 15px;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-4px);
}
.card img {
  width: 100%;
  height: auto;
  display: block;
}
.card .name {
  padding: 8px;
  font-weight: bold;
}
.modal {
  position: fixed;
  top: 0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  text-align: center;
  position: relative;
}
.modal-content .close {
  position: absolute;
  top: 10px; right:10px;
  font-size: 2em;
  cursor: pointer;
}
.modal-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

