.gallery-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInScale 0.6s ease-out;
}

.gallery-item:hover {
 
}

.gallery-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-image-dressed {
  opacity: 1;
  z-index: 2;
}

.gallery-image-undressed {
  opacity: 0;
  z-index: 1;
}

.gallery-item:hover .gallery-image-dressed {
  opacity: 0;
}

.gallery-item:hover .gallery-image-undressed {
  opacity: 1;
}

.gallery-item:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
}

.censorship-banner {
  position: absolute;
  bottom: 38%;
  left: 40%;
  transform: translateX(-50%) rotate(-15deg);
  background: #FFD700;
  color: #000;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFA000;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.censorship-banner-small {
  position: absolute;
  bottom: 2%;
  left: 40%;
  transform: translateX(-50%) rotate(-10deg);
  background: #FF6B35;
  color: #fff;
  padding: 2px 12px;
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 1px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  border: 2px solid #E55A2B;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .censorship-banner,
.gallery-item:hover .censorship-banner-small {
  opacity: 1;
}

@keyframes fadeInScale {
  from {
    /* opacity: 0; */
    /* transform: scale(0.9); */
  }
  to {
    /* opacity: 1; */
    /* transform: scale(1); */
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .gallery-image-container {
    height: 300px;
  }
  
  .censorship-banner {
    font-size: 8px;
    padding: 6px 12px;
  }
  
  .censorship-banner-small {
    font-size: 6px;
    padding: 1px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item {
    animation: none;
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .gallery-image {
    transition: none;
  }
  
  .censorship-banner,
  .censorship-banner-small {
    transition: none;
  }
}