.circular-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.circular-gallery[data-pointer] {
  cursor: pointer;
}

.circular-gallery[data-dragging] {
  cursor: grabbing;
}

.circular-gallery-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.circular-gallery-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.circular-gallery-label {
  position: absolute;
  top: 0;
  left: 0;
  line-height: 1.2;
  white-space: nowrap;
  will-change: transform, opacity;
  font-family: var(--font-head, 'Space Grotesk', sans-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(168, 85, 247, 0.4);
}

.circular-gallery-caption {
  display: none !important;
  position: absolute;
  top: 0;
  left: 50%;
  width: min(90%, 38rem);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.circular-gallery-caption-text {
  margin: 0;
  line-height: 1.6;
  opacity: 0.9;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.95rem;
  color: var(--text-muted, #cbd5e1);
  background: hsla(265, 30%, 8%, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid var(--border-glow, rgba(168, 85, 247, 0.3));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.circular-gallery-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-glow, rgba(168, 85, 247, 0.3));
  border-radius: 50%;
  background: hsla(265, 30%, 10%, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 20;
}

.circular-gallery-close[data-visible] {
  opacity: 0.9;
  pointer-events: auto;
}

.circular-gallery-close:hover {
  opacity: 1;
  background: var(--accent, #a855f7);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.circular-gallery-close:focus-visible {
  outline: 2px solid var(--accent, #a855f7);
  outline-offset: 3px;
}

.circular-gallery-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Events gallery wrapper & hints */
.events-gallery-wrap {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 600px;
}

@media (max-width: 768px) {
  .events-gallery-wrap {
    height: 480px;
  }
}

.events-gallery-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-glow);
  letter-spacing: 0.08em;
  margin-top: 14px;
  text-transform: uppercase;
}

.events-gallery-hint svg {
  animation: pulseSwipe 2s infinite ease-in-out;
}

@keyframes pulseSwipe {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(6px); opacity: 1; }
}

