body.dark-theme {
  background:#121212;
  color:#eee;
  font-family:sans-serif;
  margin:0; padding:0;
}

main {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 15px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.gallery-item {
  background:#181820;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 0 10px #0003;
  padding:10px;
  display:flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width:100%;
  height:160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.album-title {
  font-weight: bold;
  font-size: 1.1em;
  color: #fff;
  margin-bottom: 6px;
}

.album-description {
  font-size: 0.9em;
  color: #bbb;
  margin-bottom: 10px;
}

.download-link, .back-button {
  display: inline-block;
  background: #19C8FA;
  color: #0c0f16;
  padding: 8px 12px;
  border-radius: 7px;
  font-weight: 600;
  text-decoration: none;
  margin: 5px auto;
  cursor: pointer;
  transition: background 0.3s;
}

.download-link:hover, .back-button:hover {
  background: #147ba6;
  color: #fff;
}

.info-overlay {
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px;
  font-size: 13px;
  text-align: left;
  border-radius: 0 0 12px 12px;
  width: 100%;
}

.reaction-bar {
  display: flex;
  gap: 12px;
  margin: 10px 0;
  justify-content: center;
}

.emoji-btn {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.15em;
  color: #fff;
  outline: none;
  transition: color 0.18s;
}

.emoji-btn.selected {
  color: #19C8FA;
  font-weight: bold;
}

/* Responsive */

@media (max-width: 900px) {
  main {
    margin: 20px 10px;
  }
  .gallery-container {
    grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
    gap: 16px;
    padding: 15px 5px;
  }
  .gallery-item img {
    height: 120px;
  }
}

@media (max-width: 600px) {
  main {
    margin: 15px 5px;
    padding: 0 5px;
  }
  .gallery-container {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px 2vw;
  }
  .gallery-item img {
    height: 100px;
  }
  .download-link, .back-button {
    padding: 7px 10px;
    font-size: 0.9em;
  }
}
