← back to Goodquestion Ai

video-html/templates/feature-list.html

117 lines

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{title}}</title>
<style>
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body {
    width: {{width}}px;
    height: {{height}}px;
    overflow: hidden;
    background: #0B0B0F;
    color: #E8E8ED;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  .slide {
    width: {{width}}px;
    height: {{height}}px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding: 80px 120px;
    background: radial-gradient(ellipse at 30% 30%, #111827 0%, #0B0B0F 60%);
  }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .features-title {
    font-size: 56px;
    font-weight: 800;
    color: #00D4FF;
    margin-bottom: 48px;
    animation: fadeInUp 0.7s ease-out 0.2s both;
  }

  .features-list {
    list-style: none;
    width: 100%;
    max-width: 1400px;
  }

  .feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 36px;
    padding: 16px 0;
    opacity: 0;
    animation: slideInLeft 0.6s ease-out both;
  }
  .feature-item:nth-child(1) { animation-delay: 0.5s; }
  .feature-item:nth-child(2) { animation-delay: 0.8s; }
  .feature-item:nth-child(3) { animation-delay: 1.1s; }
  .feature-item:nth-child(4) { animation-delay: 1.4s; }
  .feature-item:nth-child(5) { animation-delay: 1.7s; }

  .feature-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .feature-text {
    color: #E8E8ED;
    line-height: 1.4;
  }

  /* Avatar */
  @keyframes avatarFadeIn {
    0%   { opacity: 0; transform: scale(0.8); }
    15%  { opacity: 1; transform: scale(1); }
    85%  { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.9); }
  }
  .avatar-container {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #00D4FF;
    box-shadow: 0 0 30px rgba(0,212,255,0.3);
    animation: avatarFadeIn 3s ease-in-out forwards;
    z-index: 100;
    display: {{avatarDisplay}};
  }
  .avatar-container img { width: 100%; height: 100%; object-fit: cover; }
</style>
</head>
<body>
  <div class="slide">
    <h2 class="features-title">{{title}}</h2>
    <ul class="features-list">
      <!-- FEATURE_ITEMS -->
    </ul>
    <div class="avatar-container">
      <img src="{{avatarImage}}" alt="Avatar">
    </div>
  </div>
</body>
</html>