body {
  background: #0d0d0d;
  color: #fff;
}

.filters {
  max-width: 1200px;
}

.filter-btn {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 8px 14px;
  margin: 4px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
  background: #fff;
  color: #000;
}

.filter-btn.active {
  background: #0ff;
  color: #000;
  border-color: #0ff;
}

.card {
  background: #111;
  border: 3px solid #fff;
  box-shadow: 4px 4px 0 #fff;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.18s ease-out;
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 #0ff;
}

.card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}

.nav-arrow.left { left: 0; }
.nav-arrow.right { right: 0; }

.nav-arrow:hover {
  background: rgba(0,0,0,0.9);
}

#modalImage {
  max-height: 80vh;
  object-fit: contain;
  margin: auto;
  display: block;
  padding: 10px;
  border: 2px solid #fff;
  background: #000;
}

.modal-backdrop.show {
  backdrop-filter: blur(8px);
  background-color: rgba(0,0,0,0.7);
}

.modal.fade .modal-dialog {
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.25s ease-out;
}

.modal.fade.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}

#modalDesc {
  font-size: 0.85rem;
  color: #aaa;
  max-width: 600px;
  margin: 0 auto;
}

.fade-out {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.25s ease;
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #000;
  color: #fff;
  border: 2px solid #fff;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;

  /* animación */
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.art-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: #fff;
  padding: 10px 6px;
  text-align: center;
}

.art-title {
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.art-desc {
  font-size: 0.7rem;
  color: #ccc;
  margin-top: 2px;
}

.contact-info p {
  font-size: 0.8rem;
  color: #ccc;
  margin: 2px 0;
}

.copy-item {
  cursor: pointer;
  transition: color 0.2s ease;
}

.copy-item:hover {
  color: #fff;
}

#copyFeedback {
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#copyFeedback.show {
  opacity: 1;
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  border: 2px solid #444;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-links a:hover {
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#scrollTopBtn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}
