← back to Goodquestion Ai
video-html/templates/cta.html
131 lines
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{brand}}</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: center;
justify-content: center;
overflow: hidden;
background: linear-gradient(135deg, #0B0B0F 0%, #0D1B2A 40%, #1B2838 70%, #0B0B0F 100%);
background-size: 300% 300%;
animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes growWidth {
from { width: 0; }
}
@keyframes pulseGlow {
0%, 100% { filter: brightness(1); }
50% { filter: brightness(1.2); }
}
.cta-brand {
font-size: 96px;
font-weight: 900;
background: linear-gradient(135deg, #00D4FF, #FF6B35);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: fadeInUp 0.8s ease-out 0.3s both, pulseGlow 3s ease-in-out 1.5s infinite;
}
.cta-handle {
font-size: 36px;
color: #00D4FF;
margin-top: 20px;
animation: fadeInUp 0.7s ease-out 0.7s both;
}
.cta-url {
font-size: 28px;
color: #6B7280;
margin-top: 12px;
animation: fadeInUp 0.7s ease-out 0.9s both;
}
.cta-line {
width: 160px;
height: 3px;
background: linear-gradient(90deg, #00D4FF, #FF6B35);
border-radius: 2px;
margin-top: 40px;
animation: growWidth 1s ease-out 1.1s both;
}
.cta-tagline {
font-size: 24px;
color: #6B7280;
margin-top: 32px;
font-style: italic;
animation: fadeIn 1s ease-out 1.4s both;
}
/* 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">
<div class="cta-brand">{{brand}}</div>
<div class="cta-handle">{{handle}}</div>
<div class="cta-url">{{url}}</div>
<div class="cta-line"></div>
<div class="cta-tagline">{{tagline}}</div>
<div class="avatar-container">
<img src="{{avatarImage}}" alt="Avatar">
</div>
</div>
</body>
</html>