/**
 * AnimationManager Demo Styles
 */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
/* Demo Cards */
.demo-card {
  background: var(--bg-body, #fff);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.demo-card h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--text-secondary, #666);
}
/* Animation Boxes */
.animation-box {
  width: 120px;
  height: 80px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
}
/* Controls */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.controls label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* Animated Panel */
.animated-panel {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 1rem;
}
.animated-panel h3 {
  margin: 0 0 0.5rem;
}
.animated-panel p {
  margin: 0.5rem 0;
  opacity: 0.9;
}
/* Scroll Demo / Reveal Cards */
.scroll-demo {
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--bg-body, #fff);
  border-radius: 8px;
}
.reveal-card {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
}
.reveal-card h3 {
  margin: 0 0 0.5rem;
}
.reveal-card p {
  margin: 0;
  opacity: 0.9;
}
/* Stagger List */
.stagger-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.stagger-item {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  padding: 1rem 1.5rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: none;
}
/* Parallel / Chain / Control / Queue Boxes */
.parallel-box,
.chain-box,
.control-box,
.queue-box,
.custom-box {
  width: 150px;
  height: 150px;
  margin: 2rem auto;
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.control-box {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #333;
  text-shadow: none;
}
.queue-box {
  background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
  color: #333;
  text-shadow: none;
}
.custom-box {
  background: #3498db;
}
/* Queue Info */
.queue-info {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary, #666);
}
.queue-info span {
  font-weight: 700;
  color: var(--color-primary, #667eea);
}
/* Easing Demo */
.easing-track {
  background: var(--bg-body, #fff);
  height: 60px;
  border-radius: 30px;
  position: relative;
  margin: 2rem 0;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.easing-ball {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
/* Animation Gallery */
.animation-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.gallery-item {
  text-align: center;
  cursor: pointer;
  padding: 1rem;
  background: var(--color-surface, #f8f9fa);
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.gallery-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.75rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
}
.gallery-item span {
  font-size: 0.85rem;
  color: var(--text-secondary, #666);
  font-family: monospace;
}
/* Help Text */
.help-text {
  font-size: 0.9rem;
  color: var(--text-secondary, #666);
  margin-bottom: 1rem;
}
/* Responsive */
@media (max-width: 768px) {
  .demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .animation-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .controls {
    flex-direction: column;
    align-items: stretch;
  }
  .easing-track {
    margin: 1rem 0;
  }
  .easing-ball {
    width: 40px;
    height: 40px;
  }
}