html { scroll-behavior: smooth; }

.glass-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(91, 107, 140, 0.2);
}

.design-card {
  transition: transform 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.design-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.4);
}
.design-card:active {
  transform: scale(0.98);
}

.img-shimmer {
  background: linear-gradient(90deg, #111827 0%, #1a2236 50%, #111827 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

button, input {
  min-height: 44px;
}

.outcome-pill {
  display: inline-block;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  color: #60A5FA;
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.search-bar {
  background: #111827;
  border: 1px solid #434655;
  transition: border-color 0.2s ease;
}
.search-bar:focus-within {
  border-color: #60A5FA;
}

.page-btn {
  min-width: 40px;
  min-height: 40px;
}
.page-btn.active {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: white;
}

/* Sandbox modal */
#sandbox-overlay {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(4px);
}
#sandbox-modal {
  background: #0A0F1E;
  border: 1px solid rgba(91, 107, 140, 0.3);
}
.sandbox-name-tag {
  position: absolute;
  transition: opacity 0.2s ease;
}
