افزودن ویدیوی MP4 و افکت انفجار بنر هدر

This commit is contained in:
parastoo 2026-11-14 10:46:12 +00:00
parent 66d24ddf4c
commit 66e98f8532
2 changed files with 718 additions and 360 deletions

View file

@ -3,10 +3,10 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>بنر نواری هدر بلک‌فرایدی اکیپا</title>
<title>استودیو بنر و ویدیوی هدر بلک‌فرایدی اکیپا</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@500;700;800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700;800;900&display=swap" rel="stylesheet">
<style>
* {
box-sizing: border-box;
@ -15,27 +15,184 @@
}
body {
background-color: #1a181b;
background-color: #161517;
color: #f1f5f9;
font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
padding: 40px 16px;
padding: 32px 20px 80px;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
gap: 36px;
}
/* Container for Header Banner */
.ekeepa-top-banner-wrapper {
.container {
width: 100%;
max-width: 1400px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 32px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding-bottom: 20px;
flex-wrap: wrap;
gap: 16px;
}
.brand-title {
display: flex;
align-items: center;
gap: 12px;
}
.badge-live {
background: rgba(53, 186, 177, 0.15);
border: 1px solid #35bab1;
color: #35bab1;
font-size: 12px;
font-weight: 700;
padding: 3px 10px;
border-radius: 20px;
}
.card {
background: #201e22;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 14px;
padding: 24px;
display: flex;
flex-direction: column;
gap: 20px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.card-title {
font-size: 16px;
font-weight: 700;
color: #ffffff;
display: flex;
align-items: center;
gap: 8px;
}
.info-tooltip {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
color: #94a3b8;
font-size: 11px;
font-weight: 700;
cursor: help;
}
.info-tooltip:hover .tooltip-box {
visibility: visible;
opacity: 1;
transform: translateY(0);
}
.tooltip-box {
visibility: hidden;
opacity: 0;
position: absolute;
bottom: 28px;
right: -80px;
width: 280px;
background: #2c2a2d;
border: 1px solid #6c5dad;
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
border-radius: 8px;
padding: 10px 12px;
font-size: 12px;
color: #cbd5e1;
line-height: 1.6;
z-index: 100;
transition: all 0.2s ease;
transform: translateY(6px);
pointer-events: none;
}
/* Video player container */
.video-wrapper {
width: 100%;
border-radius: 8px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.12);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
background: #000;
line-height: 0;
}
.video-player {
width: 100%;
height: auto;
max-height: 70px;
display: block;
object-fit: contain;
}
/* Download links row */
.download-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 16px;
}
.dl-btn {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-radius: 10px;
background: #28262b;
border: 1px solid rgba(255, 255, 255, 0.1);
color: #ffffff;
text-decoration: none;
font-size: 13px;
font-weight: 600;
transition: all 0.2s ease;
}
.dl-btn:hover {
background: #323036;
border-color: #35bab1;
transform: translateY(-2px);
}
.badge-ext {
font-size: 11px;
padding: 2px 8px;
border-radius: 6px;
font-weight: 700;
}
.badge-mp4 { background: rgba(53, 186, 177, 0.2); color: #35bab1; }
.badge-gif { background: rgba(246, 149, 67, 0.2); color: #f69543; }
/* Pure CSS Live Floating Gradient Header Banner */
.live-banner-wrap {
width: 100%;
position: relative;
}
.ekeepa-header-banner {
position: relative;
width: 100%;
height: 50px;
background-color: #2c2a2d;
border-radius: 8px;
overflow: hidden;
display: flex;
@ -43,10 +200,18 @@
justify-content: center;
text-decoration: none;
user-select: none;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
background: linear-gradient(90deg, #35bab1, #2c2a2d 28%, #2c2a2d 72%, #6c5dad);
background-size: 160% 100%;
animation: floatGradient 8s ease-in-out infinite alternate;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
/* Bottom Neon Gradient Line */
@keyframes floatGradient {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}
/* Bottom Animated Neon Line */
.ekeepa-header-banner::after {
content: '';
position: absolute;
@ -56,17 +221,15 @@
height: 2px;
background: linear-gradient(90deg, #35bab1, #6c5dad, #f69543, #35bab1);
background-size: 300% 100%;
animation: neonGlowMove 6s linear infinite;
box-shadow: 0 0 8px rgba(53, 186, 177, 0.6);
animation: neonLineMove 6s linear infinite;
box-shadow: 0 0 10px rgba(53, 186, 177, 0.8);
}
@keyframes neonGlowMove {
@keyframes neonLineMove {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
100% { background-position: 300% 50%; }
}
/* Frame Base Styling */
.banner-frame {
position: absolute;
inset: 0;
@ -78,214 +241,230 @@
opacity: 0;
visibility: hidden;
pointer-events: none;
transform: translateY(6px);
transition: none;
}
/* Frame 1: Hook */
.frame-1 {
animation: frameOneAnim 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.frame-1 { animation: frame1Anim 10s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.frame-2 { animation: frame2Anim 10s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.frame-3 { animation: frame3Anim 10s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
/* Frame 2: Lines coverage */
.frame-2 {
animation: frameTwoAnim 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
/* Frame 3: CTA */
.frame-3 {
animation: frameThreeAnim 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
/* Keyframes 10s Cycle */
@keyframes frameOneAnim {
0% { opacity: 0; visibility: hidden; transform: translateY(6px); }
3% { opacity: 1; visibility: visible; transform: translateY(0); }
29% { opacity: 1; visibility: visible; transform: translateY(0); }
32% { opacity: 0; visibility: hidden; transform: translateY(-6px); }
@keyframes frame1Anim {
0% { opacity: 0; visibility: hidden; }
2% { opacity: 1; visibility: visible; }
29% { opacity: 1; visibility: visible; }
32% { opacity: 0; visibility: hidden; }
100% { opacity: 0; visibility: hidden; }
}
@keyframes frameTwoAnim {
0%, 32% { opacity: 0; visibility: hidden; transform: translateY(6px); }
35% { opacity: 1; visibility: visible; transform: translateY(0); }
62% { opacity: 1; visibility: visible; transform: translateY(0); }
65% { opacity: 0; visibility: hidden; transform: translateY(-6px); }
@keyframes frame2Anim {
0%, 32% { opacity: 0; visibility: hidden; }
35% { opacity: 1; visibility: visible; }
62% { opacity: 1; visibility: visible; }
65% { opacity: 0; visibility: hidden; }
100% { opacity: 0; visibility: hidden; }
}
@keyframes frameThreeAnim {
@keyframes frame3Anim {
0%, 65% { opacity: 0; visibility: hidden; transform: scale(0.96); }
68% { opacity: 1; visibility: visible; transform: scale(1); }
96% { opacity: 1; visibility: visible; transform: scale(1); }
99%, 100% { opacity: 0; visibility: hidden; transform: scale(0.96); }
}
/* Typography & Visual Elements */
/* Explosion particles for Frame 1 */
.burst-core {
position: absolute;
top: 50%;
left: 50%;
width: 160px;
height: 40px;
transform: translate(-50%, -50%);
background: radial-gradient(ellipse at center, rgba(255,255,255,0.7) 0%, rgba(246,149,67,0.4) 40%, rgba(53,186,177,0) 80%);
border-radius: 50%;
animation: burstFlash 10s ease-out infinite;
pointer-events: none;
}
@keyframes burstFlash {
0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
1% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
4% { opacity: 0; transform: translate(-50%, -50%) scale(2.0); }
100% { opacity: 0; }
}
.banner-text {
color: #ffffff;
font-size: 15px;
font-size: 15.5px;
font-weight: 700;
white-space: nowrap;
letter-spacing: -0.2px;
text-shadow: 0 2px 6px rgba(0,0,0,0.8);
position: relative;
z-index: 2;
}
/* Pill Badges & Accents */
.black-friday-badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 8px;
font-size: 11px;
font-weight: 800;
border-radius: 4px;
background: rgba(246, 149, 67, 0.15);
border: 1px solid #f69543;
color: #f69543;
box-shadow: 0 0 8px rgba(246, 149, 67, 0.3);
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Mini Line Icons */
.icon-badge {
display: inline-flex;
align-items: center;
justify-content: center;
.icon-art-circ {
width: 24px;
height: 24px;
border-radius: 50%;
}
.icon-art {
background: rgba(53, 186, 177, 0.15);
border: 1px solid rgba(53, 186, 177, 0.6);
box-shadow: 0 0 6px rgba(53, 186, 177, 0.3);
}
.icon-horror {
background: rgba(108, 93, 173, 0.2);
border: 1px solid rgba(108, 93, 173, 0.6);
box-shadow: 0 0 6px rgba(108, 93, 173, 0.3);
}
/* CTA Pill Button (Frame 3) */
.cta-pill-btn {
background: rgba(53, 186, 177, 0.2);
border: 1px solid #35bab1;
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 16px;
background: rgba(246, 149, 67, 0.12);
border: 1.5px solid #f69543;
border-radius: 20px;
box-shadow: 0 0 12px rgba(246, 149, 67, 0.35);
animation: ctaPulse 1.8s ease-in-out infinite;
justify-content: center;
}
@keyframes ctaPulse {
0%, 100% {
box-shadow: 0 0 8px rgba(246, 149, 67, 0.35);
border-color: #f69543;
}
50% {
box-shadow: 0 0 16px rgba(53, 186, 177, 0.6);
border-color: #35bab1;
}
.icon-horror-circ {
width: 24px;
height: 24px;
border-radius: 50%;
background: rgba(108, 93, 173, 0.25);
border: 1px solid #6c5dad;
display: inline-flex;
align-items: center;
justify-content: center;
}
.cta-pill-box {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 5px 18px;
border-radius: 20px;
border: 1.5px solid #f69543;
background: rgba(246, 149, 67, 0.15);
animation: ctaPulseGlow 1.8s ease-in-out infinite;
}
@keyframes ctaPulseGlow {
0%, 100% { border-color: #f69543; box-shadow: 0 0 10px rgba(246, 149, 67, 0.4); }
50% { border-color: #35bab1; box-shadow: 0 0 16px rgba(53, 186, 177, 0.7); }
}
.cta-arrow {
display: inline-flex;
transition: transform 0.2s ease;
animation: arrowBob 1.2s ease-in-out infinite;
animation: nudgeLeft 1.2s ease-in-out infinite;
}
@keyframes arrowBob {
@keyframes nudgeLeft {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(-3px); }
}
/* Mobile Responsive */
@media (max-width: 768px) {
.ekeepa-header-banner {
height: 46px;
border-radius: 0;
}
.banner-text {
font-size: 13px;
}
.black-friday-badge {
font-size: 10px;
padding: 1px 6px;
}
.icon-badge {
width: 20px;
height: 20px;
}
.cta-pill-btn {
padding: 4px 12px;
}
}
@media (max-width: 480px) {
.banner-text {
font-size: 11.5px;
}
.black-friday-badge {
display: none; /* Hide badge on very small screens to avoid overflow */
}
}
</style>
</head>
<body>
<div class="ekeepa-top-banner-wrapper">
<!-- Clickable Header Banner Component -->
<a href="https://ekeepa.ir/campaign/black-friday" class="ekeepa-header-banner" aria-label="جشنواره بلک فرایدی اکیپا">
<!-- فریم اول: هوک بلک‌فرایدی (ثانیه ۰ تا ۳.۳) -->
<div class="banner-frame frame-1">
<span class="black-friday-badge">BLACK FRIDAY</span>
<span class="banner-text">این شما و این تخفیف‌های بلک‌فرایدی!</span>
<div class="container">
<header>
<div class="brand-title">
<h1>ویدیوی هدر بلک‌فرایدی اکیپا</h1>
<span class="badge-live">نسخه نهایی MP4 و CSS</span>
</div>
<!-- فریم دوم: پوشش لاین‌ها (ثانیه ۳.۳ تا ۶.۶) -->
<div class="banner-frame frame-2">
<span class="icon-badge icon-art" title="کارگاه‌های هنر و آرامش">
<!-- Palette SVG -->
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#35bab1" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="13.5" cy="6.5" r=".5" fill="#35bab1"/>
<circle cx="17.5" cy="10.5" r=".5" fill="#35bab1"/>
<circle cx="8.5" cy="7.5" r=".5" fill="#35bab1"/>
<circle cx="6.5" cy="12.5" r=".5" fill="#35bab1"/>
<path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.563-2.512 5.563-5.563C22 6.5 17.5 2 12 2z"/>
</svg>
</span>
<span class="banner-text">همه تفریح‌های اکیپا با تخفیف استثنایی!</span>
<span class="icon-badge icon-horror" title="اتاق فرار و سینما وحشت">
<!-- Ghost / Horror Mask SVG -->
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#6c5dad" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
<path d="M9 10h.01M15 10h.01"/>
<path d="M10 16c.5-1 1.5-1 2-1s1.5 0 2 1"/>
<path d="M12 2a8 8 0 0 0-8 8v11l3-2 3 2 2-2 3 2 3-2v-11a8 8 0 0 0-8-8z"/>
</svg>
</span>
<div>
<span style="font-size: 13px; color: #94a3b8;">ابعاد: ۱۴۰۰ در ۵۰ پیکسل | ۱۰ ثانیه لوپ</span>
</div>
</header>
<!-- فریم سوم: فراخوان اقدام CTA (ثانیه ۶.۶ تا ۱۰) -->
<div class="banner-frame frame-3">
<div class="cta-pill-btn">
<span class="banner-text">همین حالا تفریحت رو انتخاب کن!</span>
<span class="cta-arrow">
<!-- Left Arrow SVG -->
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="#f69543" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<line x1="19" y1="12" x2="5" y2="12"></line>
<polyline points="12 19 5 12 12 5"></polyline>
</svg>
<!-- CARD 1: RENDERED MP4 VIDEO -->
<div class="card">
<div class="card-header">
<span class="card-title">
🎬 پیش‌نمایش فایل ویدیویی رندرشده (MP4 Video 1400x50@30fps)
<span class="info-tooltip">i
<span class="tooltip-box">
ویدیوی واقعی با انکودر H.264 و ابعاد دقیق ۱۴۰۰x۵۰ پیکسل. شامل گرادینت شناور فیروزه‌ای (#35bab1) و بنفش (#6c5dad) در کناره‌ها، مرکز مشکی (#2c2a2d)، انفجار جرقه‌ای در پلان اول و ۳ فریم متنی پیوسته.
</span>
</span>
</div>
</span>
</div>
<div class="video-wrapper">
<video class="video-player" autoplay loop muted playsinline controls>
<source src="header-banner.mp4" type="video/mp4">
مرورگر شما از پخش ویدیو پشتیبانی نمی‌کند.
</video>
</div>
</div>
<!-- CARD 2: PURE CSS LIVE ANIMATION -->
<div class="card">
<div class="card-header">
<span class="card-title">
⚡ کامپوننت زنده Pure CSS & SVG (بدون نیاز به فایل ویدیویی)
<span class="info-tooltip">i
<span class="tooltip-box">
نسخه وب‌کد بدون سربار لودینگ ویدیو؛ با گرادینت شناور زنده، کی‌فریم‌های انفجار و تایمینگ ۳.۳ ثانیه‌ای برای هر فریم.
</span>
</span>
</span>
</div>
</a>
<div class="live-banner-wrap">
<a href="https://ekeepa.ir/campaign/black-friday" class="ekeepa-header-banner" aria-label="جشنواره بلک فرایدی اکیپا">
<!-- فریم ۱ -->
<div class="banner-frame frame-1">
<div class="burst-core"></div>
<span class="banner-text">این شما و این تخفیف‌های بلک‌فرایدی!</span>
</div>
<!-- فریم ۲ -->
<div class="banner-frame frame-2">
<span class="icon-art-circ">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#35bab1" stroke-width="2.2">
<circle cx="13.5" cy="6.5" r=".5" fill="#35bab1"/>
<circle cx="17.5" cy="10.5" r=".5" fill="#35bab1"/>
<circle cx="8.5" cy="7.5" r=".5" fill="#35bab1"/>
<path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.563-2.512 5.563-5.563C22 6.5 17.5 2 12 2z"/>
</svg>
</span>
<span class="banner-text">همه تفریح‌های اکیپا با تخفیف استثنایی!</span>
<span class="icon-horror-circ">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#6c5dad" stroke-width="2.2">
<path d="M9 10h.01M15 10h.01"/>
<path d="M10 16c.5-1 1.5-1 2-1s1.5 0 2 1"/>
<path d="M12 2a8 8 0 0 0-8 8v11l3-2 3 2 2-2 3 2 3-2v-11a8 8 0 0 0-8-8z"/>
</svg>
</span>
</div>
<!-- فریم ۳ -->
<div class="banner-frame frame-3">
<div class="cta-pill-box">
<span class="banner-text">همین حالا تفریحت رو انتخاب کن!</span>
<span class="cta-arrow">
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="#f69543" stroke-width="2.5">
<line x1="19" y1="12" x2="5" y2="12"></line>
<polyline points="12 19 5 12 12 5"></polyline>
</svg>
</span>
</div>
</div>
</a>
</div>
</div>
<!-- CARD 3: ASSET DOWNLOADS & SPECS -->
<div class="card">
<div class="card-header">
<span class="card-title">
📦 فایل‌های تحویلی و مشخصات فنی
<span class="info-tooltip">i
<span class="tooltip-box">
دانلود مستقیم فایل‌های ویدیویی، تصویری و کدهای استقرار یافته در سرور.
</span>
</span>
</span>
</div>
<div class="download-grid">
<a href="header-banner.mp4" download class="dl-btn">
<span>دانلود ویدیوی مستر (MP4)</span>
<span class="badge-ext badge-mp4">150 KB</span>
</a>
<a href="header-banner.gif" download class="dl-btn">
<span>دانلود نسخه گیف متحرک (GIF)</span>
<span class="badge-ext badge-gif">1.7 MB</span>
</a>
</div>
</div>
</div>
</body>

View file

@ -3,10 +3,10 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>بنر نواری هدر بلک‌فرایدی اکیپا</title>
<title>استودیو بنر و ویدیوی هدر بلک‌فرایدی اکیپا</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@500;700;800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700;800;900&display=swap" rel="stylesheet">
<style>
* {
box-sizing: border-box;
@ -15,27 +15,184 @@
}
body {
background-color: #1a181b;
background-color: #161517;
color: #f1f5f9;
font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
padding: 40px 16px;
padding: 32px 20px 80px;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
gap: 36px;
}
/* Container for Header Banner */
.ekeepa-top-banner-wrapper {
.container {
width: 100%;
max-width: 1400px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 32px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding-bottom: 20px;
flex-wrap: wrap;
gap: 16px;
}
.brand-title {
display: flex;
align-items: center;
gap: 12px;
}
.badge-live {
background: rgba(53, 186, 177, 0.15);
border: 1px solid #35bab1;
color: #35bab1;
font-size: 12px;
font-weight: 700;
padding: 3px 10px;
border-radius: 20px;
}
.card {
background: #201e22;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 14px;
padding: 24px;
display: flex;
flex-direction: column;
gap: 20px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.card-title {
font-size: 16px;
font-weight: 700;
color: #ffffff;
display: flex;
align-items: center;
gap: 8px;
}
.info-tooltip {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
color: #94a3b8;
font-size: 11px;
font-weight: 700;
cursor: help;
}
.info-tooltip:hover .tooltip-box {
visibility: visible;
opacity: 1;
transform: translateY(0);
}
.tooltip-box {
visibility: hidden;
opacity: 0;
position: absolute;
bottom: 28px;
right: -80px;
width: 280px;
background: #2c2a2d;
border: 1px solid #6c5dad;
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
border-radius: 8px;
padding: 10px 12px;
font-size: 12px;
color: #cbd5e1;
line-height: 1.6;
z-index: 100;
transition: all 0.2s ease;
transform: translateY(6px);
pointer-events: none;
}
/* Video player container */
.video-wrapper {
width: 100%;
border-radius: 8px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.12);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
background: #000;
line-height: 0;
}
.video-player {
width: 100%;
height: auto;
max-height: 70px;
display: block;
object-fit: contain;
}
/* Download links row */
.download-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 16px;
}
.dl-btn {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-radius: 10px;
background: #28262b;
border: 1px solid rgba(255, 255, 255, 0.1);
color: #ffffff;
text-decoration: none;
font-size: 13px;
font-weight: 600;
transition: all 0.2s ease;
}
.dl-btn:hover {
background: #323036;
border-color: #35bab1;
transform: translateY(-2px);
}
.badge-ext {
font-size: 11px;
padding: 2px 8px;
border-radius: 6px;
font-weight: 700;
}
.badge-mp4 { background: rgba(53, 186, 177, 0.2); color: #35bab1; }
.badge-gif { background: rgba(246, 149, 67, 0.2); color: #f69543; }
/* Pure CSS Live Floating Gradient Header Banner */
.live-banner-wrap {
width: 100%;
position: relative;
}
.ekeepa-header-banner {
position: relative;
width: 100%;
height: 50px;
background-color: #2c2a2d;
border-radius: 8px;
overflow: hidden;
display: flex;
@ -43,10 +200,18 @@
justify-content: center;
text-decoration: none;
user-select: none;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
background: linear-gradient(90deg, #35bab1, #2c2a2d 28%, #2c2a2d 72%, #6c5dad);
background-size: 160% 100%;
animation: floatGradient 8s ease-in-out infinite alternate;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
/* Bottom Neon Gradient Line */
@keyframes floatGradient {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}
/* Bottom Animated Neon Line */
.ekeepa-header-banner::after {
content: '';
position: absolute;
@ -56,17 +221,15 @@
height: 2px;
background: linear-gradient(90deg, #35bab1, #6c5dad, #f69543, #35bab1);
background-size: 300% 100%;
animation: neonGlowMove 6s linear infinite;
box-shadow: 0 0 8px rgba(53, 186, 177, 0.6);
animation: neonLineMove 6s linear infinite;
box-shadow: 0 0 10px rgba(53, 186, 177, 0.8);
}
@keyframes neonGlowMove {
@keyframes neonLineMove {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
100% { background-position: 300% 50%; }
}
/* Frame Base Styling */
.banner-frame {
position: absolute;
inset: 0;
@ -78,214 +241,230 @@
opacity: 0;
visibility: hidden;
pointer-events: none;
transform: translateY(6px);
transition: none;
}
/* Frame 1: Hook */
.frame-1 {
animation: frameOneAnim 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.frame-1 { animation: frame1Anim 10s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.frame-2 { animation: frame2Anim 10s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.frame-3 { animation: frame3Anim 10s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
/* Frame 2: Lines coverage */
.frame-2 {
animation: frameTwoAnim 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
/* Frame 3: CTA */
.frame-3 {
animation: frameThreeAnim 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
/* Keyframes 10s Cycle */
@keyframes frameOneAnim {
0% { opacity: 0; visibility: hidden; transform: translateY(6px); }
3% { opacity: 1; visibility: visible; transform: translateY(0); }
29% { opacity: 1; visibility: visible; transform: translateY(0); }
32% { opacity: 0; visibility: hidden; transform: translateY(-6px); }
@keyframes frame1Anim {
0% { opacity: 0; visibility: hidden; }
2% { opacity: 1; visibility: visible; }
29% { opacity: 1; visibility: visible; }
32% { opacity: 0; visibility: hidden; }
100% { opacity: 0; visibility: hidden; }
}
@keyframes frameTwoAnim {
0%, 32% { opacity: 0; visibility: hidden; transform: translateY(6px); }
35% { opacity: 1; visibility: visible; transform: translateY(0); }
62% { opacity: 1; visibility: visible; transform: translateY(0); }
65% { opacity: 0; visibility: hidden; transform: translateY(-6px); }
@keyframes frame2Anim {
0%, 32% { opacity: 0; visibility: hidden; }
35% { opacity: 1; visibility: visible; }
62% { opacity: 1; visibility: visible; }
65% { opacity: 0; visibility: hidden; }
100% { opacity: 0; visibility: hidden; }
}
@keyframes frameThreeAnim {
@keyframes frame3Anim {
0%, 65% { opacity: 0; visibility: hidden; transform: scale(0.96); }
68% { opacity: 1; visibility: visible; transform: scale(1); }
96% { opacity: 1; visibility: visible; transform: scale(1); }
99%, 100% { opacity: 0; visibility: hidden; transform: scale(0.96); }
}
/* Typography & Visual Elements */
/* Explosion particles for Frame 1 */
.burst-core {
position: absolute;
top: 50%;
left: 50%;
width: 160px;
height: 40px;
transform: translate(-50%, -50%);
background: radial-gradient(ellipse at center, rgba(255,255,255,0.7) 0%, rgba(246,149,67,0.4) 40%, rgba(53,186,177,0) 80%);
border-radius: 50%;
animation: burstFlash 10s ease-out infinite;
pointer-events: none;
}
@keyframes burstFlash {
0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
1% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
4% { opacity: 0; transform: translate(-50%, -50%) scale(2.0); }
100% { opacity: 0; }
}
.banner-text {
color: #ffffff;
font-size: 15px;
font-size: 15.5px;
font-weight: 700;
white-space: nowrap;
letter-spacing: -0.2px;
text-shadow: 0 2px 6px rgba(0,0,0,0.8);
position: relative;
z-index: 2;
}
/* Pill Badges & Accents */
.black-friday-badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 8px;
font-size: 11px;
font-weight: 800;
border-radius: 4px;
background: rgba(246, 149, 67, 0.15);
border: 1px solid #f69543;
color: #f69543;
box-shadow: 0 0 8px rgba(246, 149, 67, 0.3);
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Mini Line Icons */
.icon-badge {
display: inline-flex;
align-items: center;
justify-content: center;
.icon-art-circ {
width: 24px;
height: 24px;
border-radius: 50%;
}
.icon-art {
background: rgba(53, 186, 177, 0.15);
border: 1px solid rgba(53, 186, 177, 0.6);
box-shadow: 0 0 6px rgba(53, 186, 177, 0.3);
}
.icon-horror {
background: rgba(108, 93, 173, 0.2);
border: 1px solid rgba(108, 93, 173, 0.6);
box-shadow: 0 0 6px rgba(108, 93, 173, 0.3);
}
/* CTA Pill Button (Frame 3) */
.cta-pill-btn {
background: rgba(53, 186, 177, 0.2);
border: 1px solid #35bab1;
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 16px;
background: rgba(246, 149, 67, 0.12);
border: 1.5px solid #f69543;
border-radius: 20px;
box-shadow: 0 0 12px rgba(246, 149, 67, 0.35);
animation: ctaPulse 1.8s ease-in-out infinite;
justify-content: center;
}
@keyframes ctaPulse {
0%, 100% {
box-shadow: 0 0 8px rgba(246, 149, 67, 0.35);
border-color: #f69543;
}
50% {
box-shadow: 0 0 16px rgba(53, 186, 177, 0.6);
border-color: #35bab1;
}
.icon-horror-circ {
width: 24px;
height: 24px;
border-radius: 50%;
background: rgba(108, 93, 173, 0.25);
border: 1px solid #6c5dad;
display: inline-flex;
align-items: center;
justify-content: center;
}
.cta-pill-box {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 5px 18px;
border-radius: 20px;
border: 1.5px solid #f69543;
background: rgba(246, 149, 67, 0.15);
animation: ctaPulseGlow 1.8s ease-in-out infinite;
}
@keyframes ctaPulseGlow {
0%, 100% { border-color: #f69543; box-shadow: 0 0 10px rgba(246, 149, 67, 0.4); }
50% { border-color: #35bab1; box-shadow: 0 0 16px rgba(53, 186, 177, 0.7); }
}
.cta-arrow {
display: inline-flex;
transition: transform 0.2s ease;
animation: arrowBob 1.2s ease-in-out infinite;
animation: nudgeLeft 1.2s ease-in-out infinite;
}
@keyframes arrowBob {
@keyframes nudgeLeft {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(-3px); }
}
/* Mobile Responsive */
@media (max-width: 768px) {
.ekeepa-header-banner {
height: 46px;
border-radius: 0;
}
.banner-text {
font-size: 13px;
}
.black-friday-badge {
font-size: 10px;
padding: 1px 6px;
}
.icon-badge {
width: 20px;
height: 20px;
}
.cta-pill-btn {
padding: 4px 12px;
}
}
@media (max-width: 480px) {
.banner-text {
font-size: 11.5px;
}
.black-friday-badge {
display: none; /* Hide badge on very small screens to avoid overflow */
}
}
</style>
</head>
<body>
<div class="ekeepa-top-banner-wrapper">
<!-- Clickable Header Banner Component -->
<a href="https://ekeepa.ir/campaign/black-friday" class="ekeepa-header-banner" aria-label="جشنواره بلک فرایدی اکیپا">
<!-- فریم اول: هوک بلک‌فرایدی (ثانیه ۰ تا ۳.۳) -->
<div class="banner-frame frame-1">
<span class="black-friday-badge">BLACK FRIDAY</span>
<span class="banner-text">این شما و این تخفیف‌های بلک‌فرایدی!</span>
<div class="container">
<header>
<div class="brand-title">
<h1>ویدیوی هدر بلک‌فرایدی اکیپا</h1>
<span class="badge-live">نسخه نهایی MP4 و CSS</span>
</div>
<!-- فریم دوم: پوشش لاین‌ها (ثانیه ۳.۳ تا ۶.۶) -->
<div class="banner-frame frame-2">
<span class="icon-badge icon-art" title="کارگاه‌های هنر و آرامش">
<!-- Palette SVG -->
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#35bab1" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="13.5" cy="6.5" r=".5" fill="#35bab1"/>
<circle cx="17.5" cy="10.5" r=".5" fill="#35bab1"/>
<circle cx="8.5" cy="7.5" r=".5" fill="#35bab1"/>
<circle cx="6.5" cy="12.5" r=".5" fill="#35bab1"/>
<path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.563-2.512 5.563-5.563C22 6.5 17.5 2 12 2z"/>
</svg>
</span>
<span class="banner-text">همه تفریح‌های اکیپا با تخفیف استثنایی!</span>
<span class="icon-badge icon-horror" title="اتاق فرار و سینما وحشت">
<!-- Ghost / Horror Mask SVG -->
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#6c5dad" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
<path d="M9 10h.01M15 10h.01"/>
<path d="M10 16c.5-1 1.5-1 2-1s1.5 0 2 1"/>
<path d="M12 2a8 8 0 0 0-8 8v11l3-2 3 2 2-2 3 2 3-2v-11a8 8 0 0 0-8-8z"/>
</svg>
</span>
<div>
<span style="font-size: 13px; color: #94a3b8;">ابعاد: ۱۴۰۰ در ۵۰ پیکسل | ۱۰ ثانیه لوپ</span>
</div>
</header>
<!-- فریم سوم: فراخوان اقدام CTA (ثانیه ۶.۶ تا ۱۰) -->
<div class="banner-frame frame-3">
<div class="cta-pill-btn">
<span class="banner-text">همین حالا تفریحت رو انتخاب کن!</span>
<span class="cta-arrow">
<!-- Left Arrow SVG -->
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="#f69543" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<line x1="19" y1="12" x2="5" y2="12"></line>
<polyline points="12 19 5 12 12 5"></polyline>
</svg>
<!-- CARD 1: RENDERED MP4 VIDEO -->
<div class="card">
<div class="card-header">
<span class="card-title">
🎬 پیش‌نمایش فایل ویدیویی رندرشده (MP4 Video 1400x50@30fps)
<span class="info-tooltip">i
<span class="tooltip-box">
ویدیوی واقعی با انکودر H.264 و ابعاد دقیق ۱۴۰۰x۵۰ پیکسل. شامل گرادینت شناور فیروزه‌ای (#35bab1) و بنفش (#6c5dad) در کناره‌ها، مرکز مشکی (#2c2a2d)، انفجار جرقه‌ای در پلان اول و ۳ فریم متنی پیوسته.
</span>
</span>
</div>
</span>
</div>
<div class="video-wrapper">
<video class="video-player" autoplay loop muted playsinline controls>
<source src="header-banner.mp4" type="video/mp4">
مرورگر شما از پخش ویدیو پشتیبانی نمی‌کند.
</video>
</div>
</div>
<!-- CARD 2: PURE CSS LIVE ANIMATION -->
<div class="card">
<div class="card-header">
<span class="card-title">
⚡ کامپوننت زنده Pure CSS & SVG (بدون نیاز به فایل ویدیویی)
<span class="info-tooltip">i
<span class="tooltip-box">
نسخه وب‌کد بدون سربار لودینگ ویدیو؛ با گرادینت شناور زنده، کی‌فریم‌های انفجار و تایمینگ ۳.۳ ثانیه‌ای برای هر فریم.
</span>
</span>
</span>
</div>
</a>
<div class="live-banner-wrap">
<a href="https://ekeepa.ir/campaign/black-friday" class="ekeepa-header-banner" aria-label="جشنواره بلک فرایدی اکیپا">
<!-- فریم ۱ -->
<div class="banner-frame frame-1">
<div class="burst-core"></div>
<span class="banner-text">این شما و این تخفیف‌های بلک‌فرایدی!</span>
</div>
<!-- فریم ۲ -->
<div class="banner-frame frame-2">
<span class="icon-art-circ">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#35bab1" stroke-width="2.2">
<circle cx="13.5" cy="6.5" r=".5" fill="#35bab1"/>
<circle cx="17.5" cy="10.5" r=".5" fill="#35bab1"/>
<circle cx="8.5" cy="7.5" r=".5" fill="#35bab1"/>
<path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.563-2.512 5.563-5.563C22 6.5 17.5 2 12 2z"/>
</svg>
</span>
<span class="banner-text">همه تفریح‌های اکیپا با تخفیف استثنایی!</span>
<span class="icon-horror-circ">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#6c5dad" stroke-width="2.2">
<path d="M9 10h.01M15 10h.01"/>
<path d="M10 16c.5-1 1.5-1 2-1s1.5 0 2 1"/>
<path d="M12 2a8 8 0 0 0-8 8v11l3-2 3 2 2-2 3 2 3-2v-11a8 8 0 0 0-8-8z"/>
</svg>
</span>
</div>
<!-- فریم ۳ -->
<div class="banner-frame frame-3">
<div class="cta-pill-box">
<span class="banner-text">همین حالا تفریحت رو انتخاب کن!</span>
<span class="cta-arrow">
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="#f69543" stroke-width="2.5">
<line x1="19" y1="12" x2="5" y2="12"></line>
<polyline points="12 19 5 12 12 5"></polyline>
</svg>
</span>
</div>
</div>
</a>
</div>
</div>
<!-- CARD 3: ASSET DOWNLOADS & SPECS -->
<div class="card">
<div class="card-header">
<span class="card-title">
📦 فایل‌های تحویلی و مشخصات فنی
<span class="info-tooltip">i
<span class="tooltip-box">
دانلود مستقیم فایل‌های ویدیویی، تصویری و کدهای استقرار یافته در سرور.
</span>
</span>
</span>
</div>
<div class="download-grid">
<a href="header-banner.mp4" download class="dl-btn">
<span>دانلود ویدیوی مستر (MP4)</span>
<span class="badge-ext badge-mp4">150 KB</span>
</a>
<a href="header-banner.gif" download class="dl-btn">
<span>دانلود نسخه گیف متحرک (GIF)</span>
<span class="badge-ext badge-gif">1.7 MB</span>
</a>
</div>
</div>
</div>
</body>