body {
  background: linear-gradient(135deg, #eef2ff, #f8fafc 35%, #ecfeff);
  min-height: 100vh;
}

.card {
  border-radius: 18px;
}

.btn {
  border-radius: 999px;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.btn:hover {
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.03);
}

.demo-btn.is-fired {
  background: linear-gradient(135deg, #10b981, #3b82f6);
  color: white;
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.28);
}

.accordion-button:not(.collapsed) {
  background: #e0f2fe;
  color: #0f172a;
}

.progress {
  height: 18px;
  border-radius: 999px;
}

#demoListGroup .list-group-item {
  transition: all 0.2s ease;
}

#demoListGroup .list-group-item.active {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border-color: transparent;
  transform: translateX(4px);
}

.status-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  font-size: 0.75rem;
  font-weight: 700;
}

.reaction-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.reaction-bar {
  width: 110px;
  height: 6px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f87171, #60a5fa, #fbbf24);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  flex-basis: 100%;
}

.reaction-bar.active {
  transform: scaleX(1.08);
  box-shadow: 0 0 18px rgba(96, 165, 250, 0.25);
}

.demo-action.active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.list-demo-wrap {
  position: relative;
  z-index: 1;
}

.list-announcement {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  padding: 1.2rem 2.2rem;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.38);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  animation: listAnnounceFade 1.8s ease forwards;
}

.list-announcement::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
  z-index: -1;
  animation: listOverlayFade 1.8s ease forwards;
}

@keyframes listAnnounceFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  72% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes listOverlayFade {
  0%, 30% {
    opacity: 0;
  }
  25%, 70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
