/* Vibe Demos - Listing-Cards */

.demos-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.5rem;
}

.demos-page-head {
  margin-bottom: 1.5rem;
}

.demos-page-title {
  font-size: 1.6rem;
  margin: 0 0 0.4rem 0;
}

.demos-page-sub {
  font-size: 0.92rem;
  opacity: 0.8;
  margin: 0;
  max-width: 60ch;
}

.demos-page-sub a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.demo-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}

.demo-card-live { cursor: pointer; }

.demo-card-live:hover {
  border-color: rgba(139, 195, 74, 0.5);
  transform: translateY(-2px);
}

.demo-card-coming-soon {
  opacity: 0.7;
}

.demo-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.demo-title {
  font-size: 1.15rem;
  margin: 0 0 0.4rem 0;
}

.demo-title a {
  color: inherit;
  text-decoration: none;
}

.demo-title a:hover {
  text-decoration: underline;
}

.demo-teaser {
  font-size: 0.88rem;
  opacity: 0.85;
  margin: 0 0 0.8rem 0;
  flex-grow: 1;
}

.demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
}

.demo-tag {
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  opacity: 0.85;
}

.demo-foot {
  margin-top: auto;
}

.demo-cta {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: #8bc34a;
}

.demo-cta:hover {
  text-decoration: underline;
}

.demo-cta-disabled {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}
