.gallery-viewer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.gallery-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 80vw;
  max-width: 700px;
  height: 60vw;
  max-height: 500px;
  margin-bottom: 1.5rem;
}

#gallery-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  border: 3px solid #00fff7;
  box-shadow: 0 0 32px #00fff7, 0 0 64px #ff00cc44;
  background: #18192a;
  transition: box-shadow 0.3s, border 0.3s;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #ff00cc, #00fff7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  font-family: 'Orbitron', monospace;
  font-weight: bold;
  box-shadow: 0 0 16px #00fff7, 0 0 32px #ff00cc;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-arrow-left {
  left: -24px;
}

.gallery-arrow-right {
  right: -24px;
}

.gallery-arrow:hover, .gallery-arrow:focus {
  background: linear-gradient(135deg, #00fff7, #ff00cc);
  color: #ff00cc;
  box-shadow: 0 0 32px #ff00cc, 0 0 48px #00fff7;
}

.gallery-link {
  display: block;
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #00fff7;
  background: #18192a;
  border: 2px solid #ff00cc;
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 12px #00fff7, 0 0 24px #ff00cc44;
  transition: color 0.2s, border 0.2s, box-shadow 0.2s;
}

.gallery-link:hover, .gallery-link:focus {
  color: #ff00cc;
  border-color: #00fff7;
  box-shadow: 0 0 24px #ff00cc, 0 0 48px #00fff7;
}

.gallery-counter {
  text-align: center;
  color: #00fff7;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.5rem;
  text-shadow: 0 0 8px #00fff7;
}

.gallery-swipe-hint {
  display: none;
  color: #00fff7;
  font-family: 'Orbitron', monospace;
  font-size: 1.25rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 2rem;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 600px) {
  .gallery-image-wrapper {
    width: 98vw;
    max-width: 98vw;
    height: 60vw;
    max-height: 60vw;
    min-height: 220px;
  }
  #gallery-main-image {
    border-radius: 10px;
    border-width: 2px;
  }
  .gallery-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    left: 0 !important;
    right: 0 !important;
  }
  .gallery-arrow-left {
    left: 2px !important;
  }
  .gallery-arrow-right {
    right: 2px !important;
  }
  .gallery-link {
    font-size: 1rem;
    padding: 0.4rem 1rem;
  }
  .gallery-swipe-hint {
    display: block;
  }
  .gallery-arrow {
    display: none !important;
  }
}
.gallery-header{
	color: #00fff7;
}