/* Custom Text Selection (Warm Amber Luxury) */
::selection {
  background: rgba(245, 158, 11, 0.35);
  color: #fef3c7;
}
::-moz-selection {
  background: rgba(245, 158, 11, 0.35);
  color: #fef3c7;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #080c10;
}
::-webkit-scrollbar-thumb {
  background: #1e2d42;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* Hide scrollbar utility for tab bars & horizontal scrollers */
.scrollbar-none,
.draggable-tab-bar {
  -ms-overflow-style: none !important; /* IE and Edge */
  scrollbar-width: none !important; /* Firefox */
}
.scrollbar-none::-webkit-scrollbar,
.draggable-tab-bar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Subtle grid pattern */
.bg-grid-pattern {
  background-size: 44px 44px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

/* 3D Tilt perspective wrapper */
.perspective-container {
  perspective: 1000px;
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.3s ease;
}

/* Floating subtle breathing effect */
@keyframes floatBob {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: floatBob 6s ease-in-out infinite;
}

/* Shimmer effect on picture border (Warm Amber Glow) */
.border-glow-pulse {
  box-shadow: 0 0 35px -5px rgba(245, 158, 11, 0.25);
}

/* Floating stickers subtle breathing keyframes */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

@keyframes floatMid {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

@keyframes floatFast {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.animate-float-slow {
  animation: floatSlow 4s ease-in-out infinite;
}

.animate-float-mid {
  animation: floatMid 3.5s ease-in-out infinite 0.4s;
}

.animate-float-fast {
  animation: floatFast 4.5s ease-in-out infinite 0.8s;
}

/* Symmetrical Works Grid */
.works-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.works-card {
  width: 100%;
}

@media (min-width: 768px) {
  .works-card {
    width: calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1024px) {
  .works-card {
    width: calc((100% - 3rem) / 3);
  }
}
