.demos-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.demos-hero {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px 20px;
}

.demos-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.demos-hero p {
  font-size: 20px;
  color: #666666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.demos-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.demo-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0000001a;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.demo-card:hover {
  box-shadow: 0 4px 16px #00000026;
}

.demo-content {
  display: flex;
  gap: 30px;
  padding: 30px;
}

.demo-thumbnail {
  position: relative;
  flex-shrink: 0;
  width: 320px;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  cursor: pointer;
}

.demo-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-size: 48px;
}

.demo-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fffffff2;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #667eea;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px #00000033;
}

.demo-play-button:hover {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 16px #0000004d;
}

.demo-play-button i {
  margin-left: 3px;
}

.demo-play-button .fa-times {
  margin-left: 0;
}

.demo-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.demo-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}

.demo-description {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

.demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.demo-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #f0f0f0;
  color: #555555;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.demo-tag:hover {
  background: #667eea;
  color: #ffffff;
}

.demo-video-container {
  padding: 0 30px 30px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }

  to {
    opacity: 1;
    max-height: 1000px;
  }
}

.demo-video {
  width: 100%;
  border-radius: 8px;
  background: #000000;
  outline: none;
}

.demos-empty {
  text-align: center;
  padding: 80px 20px;
  color: #999999;
}

.demos-empty i {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.demos-empty p {
  font-size: 18px;
  margin: 0;
}

@media (width <= 768px) {
  .demos-hero h1 {
    font-size: 36px;
  }

  .demos-hero p {
    font-size: 18px;
  }

  .demo-content {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .demo-thumbnail {
    width: 100%;
    height: 200px;
  }

  .demo-title {
    font-size: 24px;
  }

  .demo-description {
    font-size: 15px;
  }

  .demo-video-container {
    padding: 0 20px 20px;
  }

  .demos-list {
    gap: 30px;
  }
}

@media (width <= 480px) {
  .demos-container {
    padding: 20px 10px;
  }

  .demos-hero {
    margin-bottom: 40px;
    padding: 20px 10px;
  }

  .demos-hero h1 {
    font-size: 28px;
  }

  .demos-hero p {
    font-size: 16px;
  }

  .demo-content {
    padding: 15px;
  }

  .demo-thumbnail {
    height: 180px;
  }

  .demo-play-button {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .demo-title {
    font-size: 20px;
  }

  .demo-description {
    font-size: 14px;
  }

  .demo-tag {
    font-size: 12px;
    padding: 5px 12px;
  }

  .demo-video-container {
    padding: 0 15px 15px;
  }
}
