افزودن نسخه ریسپانسیو بنر هدر موبایل ۱۱۷۰ در ۱۶۸ ویدیویی و گیف

This commit is contained in:
parastoo 2026-11-14 11:27:06 +00:00
parent 12f25a0410
commit 9ac68453b2
2 changed files with 594 additions and 476 deletions

View file

@ -3,7 +3,7 @@
<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@400;500;700;800;900&display=swap" rel="stylesheet">
@ -15,7 +15,7 @@
}
body {
background-color: #161517;
background-color: #141315;
color: #f1f5f9;
font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
padding: 32px 20px 80px;
@ -59,8 +59,18 @@
border-radius: 20px;
}
.badge-mobile {
background: rgba(246, 149, 67, 0.15);
border: 1px solid #f69543;
color: #f69543;
font-size: 12px;
font-weight: 700;
padding: 3px 10px;
border-radius: 20px;
}
.card {
background: #201e22;
background: #1e1d21;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 14px;
padding: 24px;
@ -74,6 +84,8 @@
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 10px;
}
.card-title {
@ -112,41 +124,129 @@
position: absolute;
bottom: 28px;
right: -80px;
width: 280px;
width: 300px;
background: #2c2a2d;
border: 1px solid #6c5dad;
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
border-radius: 8px;
padding: 10px 12px;
padding: 12px 14px;
font-size: 12px;
color: #cbd5e1;
line-height: 1.6;
color: #f1f5f9;
font-weight: 400;
z-index: 100;
transition: all 0.2s ease;
transition: all 0.2s ease-in-out;
transform: translateY(6px);
pointer-events: none;
}
/* Video player container */
.video-wrapper {
.tooltip-box::after {
content: '';
position: absolute;
bottom: -6px;
right: 84px;
border-width: 6px 6px 0;
border-style: solid;
border-color: #2c2a2d transparent transparent;
}
.preview-box {
width: 100%;
background: #0d0c0e;
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;
padding: 16px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
overflow-x: auto;
gap: 12px;
}
.video-player {
width: 100%;
height: auto;
max-height: 70px;
max-width: 1170px;
border-radius: 6px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
display: block;
object-fit: contain;
background: #000;
}
.gif-player {
width: 100%;
max-width: 1170px;
border-radius: 6px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
display: block;
}
/* Mobile Viewport Simulation Mockup */
.mobile-mockup-wrapper {
display: flex;
justify-content: center;
padding: 20px 0;
}
.mobile-phone-frame {
width: 390px;
background: #18171a;
border: 3px solid #333138;
border-radius: 36px;
overflow: hidden;
box-shadow: 0 20px 50px rgba(0,0,0,0.7);
display: flex;
flex-direction: column;
}
.mobile-notch-bar {
height: 36px;
background: #18171a;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
font-size: 11px;
color: #94a3b8;
}
.mobile-topbanner-slot {
height: 56px;
width: 100%;
background-size: cover;
background-position: center;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.mobile-appbar-slot {
height: 54px;
background: #201e22;
border-bottom: 1px solid rgba(255,255,255,0.06);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
color: #cbd5e1;
font-size: 13px;
}
.mobile-content-slot {
height: 180px;
background: #141315;
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
}
.dummy-card {
height: 60px;
background: #201e22;
border-radius: 8px;
}
/* Download links row */
.download-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
@ -157,194 +257,69 @@
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-radius: 10px;
background: #28262b;
padding: 16px 20px;
background: #27252a;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 10px;
color: #ffffff;
text-decoration: none;
font-size: 13px;
font-weight: 600;
font-size: 14px;
font-weight: 500;
transition: all 0.2s ease;
}
.dl-btn:hover {
background: #323036;
background: #323037;
border-color: #35bab1;
transform: translateY(-2px);
}
.badge-ext {
font-size: 11px;
padding: 2px 8px;
font-weight: 700;
padding: 4px 10px;
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;
border-radius: 8px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
user-select: none;
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);
}
@keyframes floatGradient {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}
/* Bottom Animated Neon Line */
.ekeepa-header-banner::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, #35bab1, #6c5dad, #f69543, #35bab1);
background-size: 300% 100%;
animation: neonLineMove 6s linear infinite;
box-shadow: 0 0 10px rgba(53, 186, 177, 0.8);
}
@keyframes neonLineMove {
0% { background-position: 0% 50%; }
100% { background-position: 300% 50%; }
}
.banner-frame {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
padding: 0 16px;
opacity: 0;
visibility: hidden;
pointer-events: none;
}
.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; }
@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 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 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); }
}
/* 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: 15.5px;
font-weight: 700;
white-space: nowrap;
text-shadow: 0 2px 6px rgba(0,0,0,0.8);
position: relative;
z-index: 2;
}
.icon-art-circ {
width: 24px;
height: 24px;
border-radius: 50%;
.badge-mp4 {
background: rgba(53, 186, 177, 0.2);
border: 1px solid #35bab1;
display: inline-flex;
align-items: center;
justify-content: center;
color: #35bab1;
border: 1px solid rgba(53, 186, 177, 0.4);
}
.icon-horror-circ {
width: 24px;
height: 24px;
border-radius: 50%;
.badge-gif {
background: rgba(108, 93, 173, 0.25);
border: 1px solid #6c5dad;
display: inline-flex;
align-items: center;
justify-content: center;
color: #a796e6;
border: 1px solid rgba(108, 93, 173, 0.4);
}
.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;
.badge-opt {
background: rgba(246, 149, 67, 0.2);
color: #f69543;
border: 1px solid rgba(246, 149, 67, 0.4);
}
@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); }
.table-specs {
width: 100%;
border-collapse: collapse;
font-size: 13px;
margin-top: 10px;
}
.cta-arrow {
animation: nudgeLeft 1.2s ease-in-out infinite;
.table-specs th, .table-specs td {
padding: 12px 14px;
text-align: right;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@keyframes nudgeLeft {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(-3px); }
.table-specs th {
background: #252328;
color: #94a3b8;
font-weight: 700;
}
.table-specs tr:hover td {
background: rgba(255, 255, 255, 0.02);
}
</style>
</head>
@ -353,119 +328,203 @@
<div class="container">
<header>
<div class="brand-title">
<h1>ویدیوی هدر بلک‌فرایدی اکیپا</h1>
<span class="badge-live">نسخه نهایی MP4 و CSS</span>
<h1>استودیو ویدیویی و متحرک هدر بلک‌فرایدی اکیپا</h1>
<span class="badge-mobile">نسخه ریسپانسیو موبایل ۱۱۷۰×۱۶۸</span>
<span class="badge-live">دسکتاپ ۱۴۰۰×۵۰</span>
</div>
<div>
<span style="font-size: 13px; color: #94a3b8;">ابعاد: ۱۴۰۰ در ۵۰ پیکسل | ۱۰ ثانیه لوپ</span>
<span style="font-size: 13px; color: #94a3b8;">طراحی اختصاصی کانتینر TopBanner (۵۶px)</span>
</div>
</header>
<!-- CARD 1: RENDERED MP4 VIDEO -->
<!-- CARD 1: MOBILE VIDEO PREVIEW (1170x168) -->
<div class="card">
<div class="card-header">
<span class="card-title">
🎬 پیش‌نمایش فایل ویدیویی رندرشده (MP4 Video 1400x50@30fps)
📱 ۱. ویدیوی مستر نسخه موبایل (MP4 Video 1170x168 @ 30fps)
<span class="info-tooltip">i
<span class="tooltip-box">
ویدیوی واقعی با انکودر H.264 و ابعاد دقیق ۱۴۰۰x۵۰ پیکسل. شامل گرادینت شناور فیروزه‌ای (#35bab1) و بنفش (#6c5dad) در کناره‌ها، مرکز مشکی (#2c2a2d)، انفجار جرقه‌ای در پلان اول و ۳ فریم متنی پیوسته.
<strong>نحوه محاسبه ابعاد:</strong> با توجه به ارتفاع ۵۶ پیکسلی کامپوننت TopBanner در فرانت‌اند سایت و عرض ۳۹۰ پیکسلی استاندارد نمایشگرهای رتینا (3x)، رزولوشن خروجی ۱۱۷۰ در ۱۶۸ پیکسل (نسبت ۲۱:۳) تنظیم شده تا بدون کمترین افت کیفیت و با بالاترین شفافیت متنی نمایش داده شود.
</span>
</span>
</span>
<span style="font-size: 12px; color: #35bab1; font-weight: 700;">H.264 | ۳۶۶ کیلوبایت | ۱۰ ثانیه لوپ</span>
</div>
<div class="video-wrapper">
<div class="preview-box">
<video class="video-player" autoplay loop muted playsinline controls>
<source src="header-banner.mp4" type="video/mp4">
<source src="header-banner-mobile.mp4" type="video/mp4">
مرورگر شما از پخش ویدیو پشتیبانی نمی‌کند.
</video>
</div>
</div>
<!-- CARD 2: PURE CSS LIVE ANIMATION -->
<!-- CARD 2: MOBILE GIF PREVIEW (1170x168) -->
<div class="card">
<div class="card-header">
<span class="card-title">
⚡ کامپوننت زنده Pure CSS & SVG (بدون نیاز به فایل ویدیویی)
✨ ۲. نسخه گیف متحرک موبایل (GIF 1170x168 @ 20fps)
<span class="info-tooltip">i
<span class="tooltip-box">
نسخه وب‌کد بدون سربار لودینگ ویدیو؛ با گرادینت شناور زنده، کی‌فریم‌های انفجار و تایمینگ ۳.۳ ثانیه‌ای برای هر فریم.
<strong>نحوه محاسبه پالت رنگ:</strong> استخراج پالت ۲۵۶ رنگ تطبیقی دو مرحله‌ای با الگوریتم Bayer Dithering در ffmpeg جهت بازتولید گرادینت شناور فیروزه‌ای (#35bab1) و بنفش (#6c5dad) بدون ایجاد نوارافتادگی (Color Banding).
</span>
</span>
</span>
<span style="font-size: 12px; color: #a796e6; font-weight: 700;">پالت ۲۵۶ رنگ | ۶.۲ مگابایت</span>
</div>
<div class="preview-box">
<img class="gif-player" src="header-banner-mobile.gif" alt="گیف هدر بلک فرایدی موبایل اکیپا">
</div>
</div>
<!-- CARD 3: MOBILE LIVE SIMULATOR -->
<div class="card">
<div class="card-header">
<span class="card-title">
📲 ۳. شبیه‌ساز زنده موبایل (Mobile Viewport Simulator - 390x844)
<span class="info-tooltip">i
<span class="tooltip-box">
<strong>نحوه رفتار در مرورگر موبایل:</strong> کامپوننت TopBanner.tsx دارای height: 56px و background-size: cover است. این شبیه‌ساز دقیقاً نحوه قرارگیری فایل گیف را داخل کادر ۵۶ پیکسلی یک گوشی آیفون با ناچ و نوار ابزار بالا نمایش می‌دهد.
</span>
</span>
</span>
</div>
<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 class="mobile-mockup-wrapper">
<div class="mobile-phone-frame">
<div class="mobile-notch-bar">
<span>9:41</span>
<span>5G 🔋</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>
<!-- TOP BANNER 56PX IN MOBILE -->
<div class="mobile-topbanner-slot" style="background-image: url('header-banner-mobile.gif');">
</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 class="mobile-appbar-slot">
<span style="font-weight: 800; color: #35bab1;">ekeepa</span>
<span style="font-size: 12px; color: #94a3b8;">🔍 جستجوی تفریحات...</span>
<span>☰</span>
</div>
<div class="mobile-content-slot">
<div class="dummy-card" style="height: 100px; background: #232126; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #64748b;">
اسلایدر صفحه اصلی (Home Slider)
</div>
<div class="dummy-card" style="height: 40px; background: #1c1b1f;"></div>
</div>
</a>
</div>
</div>
</div>
<!-- CARD 3: ASSET DOWNLOADS & SPECS -->
<!-- CARD 4: DESKTOP MASTER PREVIEWS -->
<div class="card">
<div class="card-header">
<span class="card-title">
📦 فایل‌های تحویلی و مشخصات فنی
🖥️ ۴. نسخه دسکتاپ (Master Desktop 1400x50)
<span class="info-tooltip">i
<span class="tooltip-box">
دانلود مستقیم فایل‌های ویدیویی، تصویری و کدهای استقرار یافته در سرور.
ویدیوی مستر مخصوص نمایشگرهای افقی لپ‌تاپ و دسکتاپ با نسبت عریض ۲۸:۱ و ارتفاع ۵۰ پیکسل.
</span>
</span>
</span>
<span style="font-size: 12px; color: #94a3b8;">1400x50px @ 30fps | ۱۵۰ کیلوبایت</span>
</div>
<div class="preview-box">
<video class="video-player" style="max-width: 1400px; height: 50px;" autoplay loop muted playsinline controls>
<source src="header-banner.mp4" type="video/mp4">
</video>
</div>
</div>
<!-- CARD 5: ASSET DOWNLOADS & SPECS -->
<div class="card">
<div class="card-header">
<span class="card-title">
📦 ۵. دانلود مستقیم فایل‌ها و شناسنامه بسته‌ها
<span class="info-tooltip">i
<span class="tooltip-box">
تمامی خروجی‌ها با متادیتای بهینه‌سازی شده در دسترس هستند. برای آپلود در پنل ادمین اکیپا در فیلد mobile_url از فایل‌های ۱۱۷۰x۱۶۸ و در desktop_url از ۱۴۰۰x۵۰ استفاده کنید.
</span>
</span>
</span>
</div>
<div class="download-grid">
<a href="header-banner-mobile.mp4" download class="dl-btn">
<span>دانلود ویدیوی موبایل (MP4)</span>
<span class="badge-ext badge-mp4">1170x168 | 366 KB</span>
</a>
<a href="header-banner-mobile.gif" download class="dl-btn">
<span>دانلود گیف موبایل رتینا (GIF 20fps)</span>
<span class="badge-ext badge-gif">1170x168 | 6.2 MB</span>
</a>
<a href="header-banner-mobile-2x.gif" download class="dl-btn">
<span>دانلود گیف بهینه موبایل (GIF 15fps)</span>
<span class="badge-ext badge-opt">780x112 | 2.5 MB</span>
</a>
<a href="header-banner.mp4" download class="dl-btn">
<span>دانلود ویدیوی مستر (MP4)</span>
<span class="badge-ext badge-mp4">150 KB</span>
<span>دانلود ویدیوی دسکتاپ (MP4)</span>
<span class="badge-ext badge-mp4">1400x50 | 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>
<span>دانلود گیف دسکتاپ (GIF)</span>
<span class="badge-ext badge-gif">1400x50 | 1.7 MB</span>
</a>
</div>
<table class="table-specs">
<thead>
<tr>
<th>عنوان خروجی</th>
<th>نوع فایل</th>
<th>ابعاد پیکسل</th>
<th>فریم‌ریت</th>
<th>حجم</th>
<th>جایگاه در بک‌اند اکیپا</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>ویدیوی موبایل (پیشنهادی وب)</strong></td>
<td>MP4 (H.264)</td>
<td>1170 × 168</td>
<td>30 fps</td>
<td>366 KB</td>
<td>mobile_video / mobile_url</td>
</tr>
<tr>
<td><strong>گیف موبایل (کیفیت رتینا 3x)</strong></td>
<td>GIF (256-color)</td>
<td>1170 × 168</td>
<td>20 fps</td>
<td>6.2 MB</td>
<td>mobile_url (High DPI)</td>
</tr>
<tr>
<td><strong>گیف موبایل سبک (بهینه 2x)</strong></td>
<td>GIF (256-color)</td>
<td>780 × 112</td>
<td>15 fps</td>
<td>2.5 MB</td>
<td>mobile_url (Fast Load)</td>
</tr>
<tr>
<td><strong>ویدیوی دسکتاپ</strong></td>
<td>MP4 (H.264)</td>
<td>1400 × 50</td>
<td>30 fps</td>
<td>150 KB</td>
<td>desktop_url</td>
</tr>
<tr>
<td><strong>گیف دسکتاپ</strong></td>
<td>GIF</td>
<td>1400 × 50</td>
<td>20 fps</td>
<td>1.7 MB</td>
<td>desktop_url</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>
</html>

View file

@ -3,7 +3,7 @@
<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@400;500;700;800;900&display=swap" rel="stylesheet">
@ -15,7 +15,7 @@
}
body {
background-color: #161517;
background-color: #141315;
color: #f1f5f9;
font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
padding: 32px 20px 80px;
@ -59,8 +59,18 @@
border-radius: 20px;
}
.badge-mobile {
background: rgba(246, 149, 67, 0.15);
border: 1px solid #f69543;
color: #f69543;
font-size: 12px;
font-weight: 700;
padding: 3px 10px;
border-radius: 20px;
}
.card {
background: #201e22;
background: #1e1d21;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 14px;
padding: 24px;
@ -74,6 +84,8 @@
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 10px;
}
.card-title {
@ -112,41 +124,129 @@
position: absolute;
bottom: 28px;
right: -80px;
width: 280px;
width: 300px;
background: #2c2a2d;
border: 1px solid #6c5dad;
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
border-radius: 8px;
padding: 10px 12px;
padding: 12px 14px;
font-size: 12px;
color: #cbd5e1;
line-height: 1.6;
color: #f1f5f9;
font-weight: 400;
z-index: 100;
transition: all 0.2s ease;
transition: all 0.2s ease-in-out;
transform: translateY(6px);
pointer-events: none;
}
/* Video player container */
.video-wrapper {
.tooltip-box::after {
content: '';
position: absolute;
bottom: -6px;
right: 84px;
border-width: 6px 6px 0;
border-style: solid;
border-color: #2c2a2d transparent transparent;
}
.preview-box {
width: 100%;
background: #0d0c0e;
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;
padding: 16px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
overflow-x: auto;
gap: 12px;
}
.video-player {
width: 100%;
height: auto;
max-height: 70px;
max-width: 1170px;
border-radius: 6px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
display: block;
object-fit: contain;
background: #000;
}
.gif-player {
width: 100%;
max-width: 1170px;
border-radius: 6px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
display: block;
}
/* Mobile Viewport Simulation Mockup */
.mobile-mockup-wrapper {
display: flex;
justify-content: center;
padding: 20px 0;
}
.mobile-phone-frame {
width: 390px;
background: #18171a;
border: 3px solid #333138;
border-radius: 36px;
overflow: hidden;
box-shadow: 0 20px 50px rgba(0,0,0,0.7);
display: flex;
flex-direction: column;
}
.mobile-notch-bar {
height: 36px;
background: #18171a;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
font-size: 11px;
color: #94a3b8;
}
.mobile-topbanner-slot {
height: 56px;
width: 100%;
background-size: cover;
background-position: center;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.mobile-appbar-slot {
height: 54px;
background: #201e22;
border-bottom: 1px solid rgba(255,255,255,0.06);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
color: #cbd5e1;
font-size: 13px;
}
.mobile-content-slot {
height: 180px;
background: #141315;
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
}
.dummy-card {
height: 60px;
background: #201e22;
border-radius: 8px;
}
/* Download links row */
.download-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
@ -157,194 +257,69 @@
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-radius: 10px;
background: #28262b;
padding: 16px 20px;
background: #27252a;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 10px;
color: #ffffff;
text-decoration: none;
font-size: 13px;
font-weight: 600;
font-size: 14px;
font-weight: 500;
transition: all 0.2s ease;
}
.dl-btn:hover {
background: #323036;
background: #323037;
border-color: #35bab1;
transform: translateY(-2px);
}
.badge-ext {
font-size: 11px;
padding: 2px 8px;
font-weight: 700;
padding: 4px 10px;
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;
border-radius: 8px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
user-select: none;
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);
}
@keyframes floatGradient {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}
/* Bottom Animated Neon Line */
.ekeepa-header-banner::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, #35bab1, #6c5dad, #f69543, #35bab1);
background-size: 300% 100%;
animation: neonLineMove 6s linear infinite;
box-shadow: 0 0 10px rgba(53, 186, 177, 0.8);
}
@keyframes neonLineMove {
0% { background-position: 0% 50%; }
100% { background-position: 300% 50%; }
}
.banner-frame {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
padding: 0 16px;
opacity: 0;
visibility: hidden;
pointer-events: none;
}
.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; }
@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 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 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); }
}
/* 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: 15.5px;
font-weight: 700;
white-space: nowrap;
text-shadow: 0 2px 6px rgba(0,0,0,0.8);
position: relative;
z-index: 2;
}
.icon-art-circ {
width: 24px;
height: 24px;
border-radius: 50%;
.badge-mp4 {
background: rgba(53, 186, 177, 0.2);
border: 1px solid #35bab1;
display: inline-flex;
align-items: center;
justify-content: center;
color: #35bab1;
border: 1px solid rgba(53, 186, 177, 0.4);
}
.icon-horror-circ {
width: 24px;
height: 24px;
border-radius: 50%;
.badge-gif {
background: rgba(108, 93, 173, 0.25);
border: 1px solid #6c5dad;
display: inline-flex;
align-items: center;
justify-content: center;
color: #a796e6;
border: 1px solid rgba(108, 93, 173, 0.4);
}
.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;
.badge-opt {
background: rgba(246, 149, 67, 0.2);
color: #f69543;
border: 1px solid rgba(246, 149, 67, 0.4);
}
@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); }
.table-specs {
width: 100%;
border-collapse: collapse;
font-size: 13px;
margin-top: 10px;
}
.cta-arrow {
animation: nudgeLeft 1.2s ease-in-out infinite;
.table-specs th, .table-specs td {
padding: 12px 14px;
text-align: right;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@keyframes nudgeLeft {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(-3px); }
.table-specs th {
background: #252328;
color: #94a3b8;
font-weight: 700;
}
.table-specs tr:hover td {
background: rgba(255, 255, 255, 0.02);
}
</style>
</head>
@ -353,119 +328,203 @@
<div class="container">
<header>
<div class="brand-title">
<h1>ویدیوی هدر بلک‌فرایدی اکیپا</h1>
<span class="badge-live">نسخه نهایی MP4 و CSS</span>
<h1>استودیو ویدیویی و متحرک هدر بلک‌فرایدی اکیپا</h1>
<span class="badge-mobile">نسخه ریسپانسیو موبایل ۱۱۷۰×۱۶۸</span>
<span class="badge-live">دسکتاپ ۱۴۰۰×۵۰</span>
</div>
<div>
<span style="font-size: 13px; color: #94a3b8;">ابعاد: ۱۴۰۰ در ۵۰ پیکسل | ۱۰ ثانیه لوپ</span>
<span style="font-size: 13px; color: #94a3b8;">طراحی اختصاصی کانتینر TopBanner (۵۶px)</span>
</div>
</header>
<!-- CARD 1: RENDERED MP4 VIDEO -->
<!-- CARD 1: MOBILE VIDEO PREVIEW (1170x168) -->
<div class="card">
<div class="card-header">
<span class="card-title">
🎬 پیش‌نمایش فایل ویدیویی رندرشده (MP4 Video 1400x50@30fps)
📱 ۱. ویدیوی مستر نسخه موبایل (MP4 Video 1170x168 @ 30fps)
<span class="info-tooltip">i
<span class="tooltip-box">
ویدیوی واقعی با انکودر H.264 و ابعاد دقیق ۱۴۰۰x۵۰ پیکسل. شامل گرادینت شناور فیروزه‌ای (#35bab1) و بنفش (#6c5dad) در کناره‌ها، مرکز مشکی (#2c2a2d)، انفجار جرقه‌ای در پلان اول و ۳ فریم متنی پیوسته.
<strong>نحوه محاسبه ابعاد:</strong> با توجه به ارتفاع ۵۶ پیکسلی کامپوننت TopBanner در فرانت‌اند سایت و عرض ۳۹۰ پیکسلی استاندارد نمایشگرهای رتینا (3x)، رزولوشن خروجی ۱۱۷۰ در ۱۶۸ پیکسل (نسبت ۲۱:۳) تنظیم شده تا بدون کمترین افت کیفیت و با بالاترین شفافیت متنی نمایش داده شود.
</span>
</span>
</span>
<span style="font-size: 12px; color: #35bab1; font-weight: 700;">H.264 | ۳۶۶ کیلوبایت | ۱۰ ثانیه لوپ</span>
</div>
<div class="video-wrapper">
<div class="preview-box">
<video class="video-player" autoplay loop muted playsinline controls>
<source src="header-banner.mp4" type="video/mp4">
<source src="header-banner-mobile.mp4" type="video/mp4">
مرورگر شما از پخش ویدیو پشتیبانی نمی‌کند.
</video>
</div>
</div>
<!-- CARD 2: PURE CSS LIVE ANIMATION -->
<!-- CARD 2: MOBILE GIF PREVIEW (1170x168) -->
<div class="card">
<div class="card-header">
<span class="card-title">
⚡ کامپوننت زنده Pure CSS & SVG (بدون نیاز به فایل ویدیویی)
✨ ۲. نسخه گیف متحرک موبایل (GIF 1170x168 @ 20fps)
<span class="info-tooltip">i
<span class="tooltip-box">
نسخه وب‌کد بدون سربار لودینگ ویدیو؛ با گرادینت شناور زنده، کی‌فریم‌های انفجار و تایمینگ ۳.۳ ثانیه‌ای برای هر فریم.
<strong>نحوه محاسبه پالت رنگ:</strong> استخراج پالت ۲۵۶ رنگ تطبیقی دو مرحله‌ای با الگوریتم Bayer Dithering در ffmpeg جهت بازتولید گرادینت شناور فیروزه‌ای (#35bab1) و بنفش (#6c5dad) بدون ایجاد نوارافتادگی (Color Banding).
</span>
</span>
</span>
<span style="font-size: 12px; color: #a796e6; font-weight: 700;">پالت ۲۵۶ رنگ | ۶.۲ مگابایت</span>
</div>
<div class="preview-box">
<img class="gif-player" src="header-banner-mobile.gif" alt="گیف هدر بلک فرایدی موبایل اکیپا">
</div>
</div>
<!-- CARD 3: MOBILE LIVE SIMULATOR -->
<div class="card">
<div class="card-header">
<span class="card-title">
📲 ۳. شبیه‌ساز زنده موبایل (Mobile Viewport Simulator - 390x844)
<span class="info-tooltip">i
<span class="tooltip-box">
<strong>نحوه رفتار در مرورگر موبایل:</strong> کامپوننت TopBanner.tsx دارای height: 56px و background-size: cover است. این شبیه‌ساز دقیقاً نحوه قرارگیری فایل گیف را داخل کادر ۵۶ پیکسلی یک گوشی آیفون با ناچ و نوار ابزار بالا نمایش می‌دهد.
</span>
</span>
</span>
</div>
<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 class="mobile-mockup-wrapper">
<div class="mobile-phone-frame">
<div class="mobile-notch-bar">
<span>9:41</span>
<span>5G 🔋</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>
<!-- TOP BANNER 56PX IN MOBILE -->
<div class="mobile-topbanner-slot" style="background-image: url('header-banner-mobile.gif');">
</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 class="mobile-appbar-slot">
<span style="font-weight: 800; color: #35bab1;">ekeepa</span>
<span style="font-size: 12px; color: #94a3b8;">🔍 جستجوی تفریحات...</span>
<span>☰</span>
</div>
<div class="mobile-content-slot">
<div class="dummy-card" style="height: 100px; background: #232126; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #64748b;">
اسلایدر صفحه اصلی (Home Slider)
</div>
<div class="dummy-card" style="height: 40px; background: #1c1b1f;"></div>
</div>
</a>
</div>
</div>
</div>
<!-- CARD 3: ASSET DOWNLOADS & SPECS -->
<!-- CARD 4: DESKTOP MASTER PREVIEWS -->
<div class="card">
<div class="card-header">
<span class="card-title">
📦 فایل‌های تحویلی و مشخصات فنی
🖥️ ۴. نسخه دسکتاپ (Master Desktop 1400x50)
<span class="info-tooltip">i
<span class="tooltip-box">
دانلود مستقیم فایل‌های ویدیویی، تصویری و کدهای استقرار یافته در سرور.
ویدیوی مستر مخصوص نمایشگرهای افقی لپ‌تاپ و دسکتاپ با نسبت عریض ۲۸:۱ و ارتفاع ۵۰ پیکسل.
</span>
</span>
</span>
<span style="font-size: 12px; color: #94a3b8;">1400x50px @ 30fps | ۱۵۰ کیلوبایت</span>
</div>
<div class="preview-box">
<video class="video-player" style="max-width: 1400px; height: 50px;" autoplay loop muted playsinline controls>
<source src="header-banner.mp4" type="video/mp4">
</video>
</div>
</div>
<!-- CARD 5: ASSET DOWNLOADS & SPECS -->
<div class="card">
<div class="card-header">
<span class="card-title">
📦 ۵. دانلود مستقیم فایل‌ها و شناسنامه بسته‌ها
<span class="info-tooltip">i
<span class="tooltip-box">
تمامی خروجی‌ها با متادیتای بهینه‌سازی شده در دسترس هستند. برای آپلود در پنل ادمین اکیپا در فیلد mobile_url از فایل‌های ۱۱۷۰x۱۶۸ و در desktop_url از ۱۴۰۰x۵۰ استفاده کنید.
</span>
</span>
</span>
</div>
<div class="download-grid">
<a href="header-banner-mobile.mp4" download class="dl-btn">
<span>دانلود ویدیوی موبایل (MP4)</span>
<span class="badge-ext badge-mp4">1170x168 | 366 KB</span>
</a>
<a href="header-banner-mobile.gif" download class="dl-btn">
<span>دانلود گیف موبایل رتینا (GIF 20fps)</span>
<span class="badge-ext badge-gif">1170x168 | 6.2 MB</span>
</a>
<a href="header-banner-mobile-2x.gif" download class="dl-btn">
<span>دانلود گیف بهینه موبایل (GIF 15fps)</span>
<span class="badge-ext badge-opt">780x112 | 2.5 MB</span>
</a>
<a href="header-banner.mp4" download class="dl-btn">
<span>دانلود ویدیوی مستر (MP4)</span>
<span class="badge-ext badge-mp4">150 KB</span>
<span>دانلود ویدیوی دسکتاپ (MP4)</span>
<span class="badge-ext badge-mp4">1400x50 | 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>
<span>دانلود گیف دسکتاپ (GIF)</span>
<span class="badge-ext badge-gif">1400x50 | 1.7 MB</span>
</a>
</div>
<table class="table-specs">
<thead>
<tr>
<th>عنوان خروجی</th>
<th>نوع فایل</th>
<th>ابعاد پیکسل</th>
<th>فریم‌ریت</th>
<th>حجم</th>
<th>جایگاه در بک‌اند اکیپا</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>ویدیوی موبایل (پیشنهادی وب)</strong></td>
<td>MP4 (H.264)</td>
<td>1170 × 168</td>
<td>30 fps</td>
<td>366 KB</td>
<td>mobile_video / mobile_url</td>
</tr>
<tr>
<td><strong>گیف موبایل (کیفیت رتینا 3x)</strong></td>
<td>GIF (256-color)</td>
<td>1170 × 168</td>
<td>20 fps</td>
<td>6.2 MB</td>
<td>mobile_url (High DPI)</td>
</tr>
<tr>
<td><strong>گیف موبایل سبک (بهینه 2x)</strong></td>
<td>GIF (256-color)</td>
<td>780 × 112</td>
<td>15 fps</td>
<td>2.5 MB</td>
<td>mobile_url (Fast Load)</td>
</tr>
<tr>
<td><strong>ویدیوی دسکتاپ</strong></td>
<td>MP4 (H.264)</td>
<td>1400 × 50</td>
<td>30 fps</td>
<td>150 KB</td>
<td>desktop_url</td>
</tr>
<tr>
<td><strong>گیف دسکتاپ</strong></td>
<td>GIF</td>
<td>1400 × 50</td>
<td>20 fps</td>
<td>1.7 MB</td>
<td>desktop_url</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>
</html>