/* Custom Styling & Glassmorphism Effects for 3D Travel Site */

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #020617;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
  border: 2px solid #020617;
}
::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}

/* Glassmorphism Panel */
.glass-panel {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Custom Category Button States */
.category-btn {
  background: rgba(15, 23, 42, 0.8);
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.1);
}

.category-btn:hover {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(12, 74, 110, 0.4);
}

.category-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.4);
}

/* 3D Destination Card Tilt & Hover Effect */
.card-3d {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-3d:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.3);
}

/* Glowing atmosphere pulse for 3D pins */
@keyframes pinGlow {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 14px rgba(6, 182, 212, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

.pin-pulse {
  animation: pinGlow 2s infinite;
}

/* Canvas responsiveness */
#globe-canvas {
  touch-action: none;
}
