parastoo-dashboards/dashboards/header-banner.html

471 lines
No EOL
14 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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">
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #161517;
color: #f1f5f9;
font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
padding: 32px 20px 80px;
display: flex;
flex-direction: column;
align-items: center;
gap: 36px;
}
.container {
width: 100%;
max-width: 1400px;
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;
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%;
background: rgba(53, 186, 177, 0.2);
border: 1px solid #35bab1;
display: inline-flex;
align-items: center;
justify-content: center;
}
.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 {
animation: nudgeLeft 1.2s ease-in-out infinite;
}
@keyframes nudgeLeft {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(-3px); }
}
</style>
</head>
<body>
<div class="container">
<header>
<div class="brand-title">
<h1>ویدیوی هدر بلک‌فرایدی اکیپا</h1>
<span class="badge-live">نسخه نهایی MP4 و CSS</span>
</div>
<div>
<span style="font-size: 13px; color: #94a3b8;">ابعاد: ۱۴۰۰ در ۵۰ پیکسل | ۱۰ ثانیه لوپ</span>
</div>
</header>
<!-- 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>
</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>
<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>
</html>