/* Custom styles for ChangoPrint 3D */

.bg-slate-850 {
  background-color: #151e2e;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 3D Card Hover Effects */
.model-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(56, 189, 248, 0.2);
}

/* Platform badge gradient shadows */
.badge-mw {
  background-color: rgba(0, 174, 66, 0.15);
  color: #22c55e;
  border: 1px solid rgba(0, 174, 66, 0.3);
}

.badge-printables {
  background-color: rgba(250, 104, 49, 0.15);
  color: #fb923c;
  border: 1px solid rgba(250, 104, 49, 0.3);
}

.badge-thingiverse {
  background-color: rgba(36, 139, 245, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(36, 139, 245, 0.3);
}

/* Subtle animation on card preview canvas */
.preview-svg-container {
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.preview-svg-container svg {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.model-card:hover .preview-svg-container svg {
  transform: scale(1.1) rotate(-2deg);
}

/* Pulse animation for Argentine accent */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

.animate-pulse-subtle {
  animation: pulse-subtle 3s ease-in-out infinite;
}
