1653 lines
No EOL
94 KiB
HTML
1653 lines
No EOL
94 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="fa" dir="rtl" class="scroll-smooth">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0">
|
||
<title>وبلاگ اکیپا | مرجع تخصصی بازیهای گروهی، اتاق فرار و بردگیم</title>
|
||
|
||
<!-- Google Fonts: Vazirmatn for Persian typography -->
|
||
<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@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
|
||
|
||
<!-- Font Awesome 6 Icons -->
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
||
|
||
<!-- Tailwind CSS CDN -->
|
||
<script src="https://cdn.tailwindcss.com"></script>
|
||
|
||
<script>
|
||
tailwind.config = {
|
||
darkMode: 'class',
|
||
theme: {
|
||
extend: {
|
||
fontFamily: {
|
||
sans: ['Vazirmatn', 'system-ui', 'sans-serif'],
|
||
},
|
||
colors: {
|
||
ekipa: {
|
||
dark: '#070a13',
|
||
card: '#0f172a',
|
||
cardBorder: '#1e293b',
|
||
accent: '#8b5cf6',
|
||
neon: '#06b6d4',
|
||
fire: '#f43f5e',
|
||
amber: '#f59e0b',
|
||
emerald: '#10b981'
|
||
}
|
||
},
|
||
boxShadow: {
|
||
'glow-purple': '0 0 25px -5px rgba(139, 92, 246, 0.45)',
|
||
'glow-cyan': '0 0 25px -5px rgba(6, 182, 212, 0.45)',
|
||
'glow-card': '0 10px 30px -10px rgba(0, 0, 0, 0.7)'
|
||
}
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style>
|
||
/* Custom Scrollbars */
|
||
::-webkit-scrollbar {
|
||
width: 6px;
|
||
height: 6px;
|
||
}
|
||
::-webkit-scrollbar-track {
|
||
background: #090d16;
|
||
}
|
||
::-webkit-scrollbar-thumb {
|
||
background: #334155;
|
||
border-radius: 9999px;
|
||
}
|
||
::-webkit-scrollbar-thumb:hover {
|
||
background: #8b5cf6;
|
||
}
|
||
|
||
.no-scrollbar::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
.no-scrollbar {
|
||
-ms-overflow-style: none;
|
||
scrollbar-width: none;
|
||
}
|
||
|
||
/* Glassmorphism utilities */
|
||
.glass-panel {
|
||
background: rgba(15, 23, 42, 0.82);
|
||
backdrop-filter: blur(14px);
|
||
-webkit-backdrop-filter: blur(14px);
|
||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||
}
|
||
|
||
.text-shadow-sm {
|
||
text-shadow: 0 2px 4px rgba(0,0,0,0.85);
|
||
}
|
||
|
||
/* Keypad Shake for wrong lock */
|
||
@keyframes shake-wrong {
|
||
0%, 100% { transform: translateX(0); }
|
||
20%, 60% { transform: translateX(-6px); }
|
||
40%, 80% { transform: translateX(6px); }
|
||
}
|
||
.animate-shake {
|
||
animation: shake-wrong 0.4s ease-in-out;
|
||
}
|
||
|
||
/* Category Accordion Header for Desktop */
|
||
.cat-accordion-item {
|
||
transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s ease;
|
||
}
|
||
@media (min-width: 1024px) {
|
||
.cat-accordion-item {
|
||
flex: 1;
|
||
}
|
||
.cat-accordion-item:hover, .cat-accordion-item.active-accordion {
|
||
flex: 3.2;
|
||
}
|
||
.cat-accordion-item .accordion-caption {
|
||
opacity: 0;
|
||
max-height: 0;
|
||
transform: translateY(8px);
|
||
transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s, max-height 0.4s ease;
|
||
}
|
||
.cat-accordion-item:hover .accordion-caption, .cat-accordion-item.active-accordion .accordion-caption {
|
||
opacity: 1;
|
||
max-height: 100px;
|
||
transform: translateY(0);
|
||
}
|
||
}
|
||
</style>
|
||
</head>
|
||
|
||
<body class="bg-ekipa-dark text-slate-100 font-sans selection:bg-purple-600 selection:text-white antialiased min-h-screen flex flex-col overflow-x-hidden">
|
||
|
||
<!-- نوار پیشرفت مطالعه در بالای صفحه (فقط سینگل پیج) -->
|
||
<div id="readingProgressContainer" class="fixed top-0 left-0 right-0 h-1 z-[60] bg-transparent">
|
||
<div id="readingProgressBar" class="h-full bg-gradient-to-r from-purple-500 via-amber-400 to-emerald-400 w-0 transition-all duration-150"></div>
|
||
</div>
|
||
|
||
|
||
<!-- Toast Notification Box (No alert requirement) -->
|
||
<div id="toast-container" class="fixed top-20 sm:top-24 left-1/2 -translate-x-1/2 z-50 flex flex-col gap-2 pointer-events-none transition-all duration-300 w-11/12 max-w-md"></div>
|
||
|
||
<!-- Reading Progress Bar (Single Page) -->
|
||
<div id="reading-progress-bar" class="fixed top-0 left-0 right-0 h-1 bg-gradient-to-r from-purple-500 via-pink-500 to-cyan-400 z-50 transform origin-right scale-x-0 transition-transform duration-100 hidden"></div>
|
||
|
||
<!-- Global Header & Navigation -->
|
||
<header class="sticky top-0 z-40 glass-panel border-b border-white/5 transition-all duration-300">
|
||
<div class="max-w-7xl mx-auto px-3 sm:px-6 lg:px-8 h-16 sm:h-20 flex items-center justify-between gap-3">
|
||
|
||
<!-- Brand Logo -->
|
||
<div class="flex items-center gap-2.5 sm:gap-3 cursor-pointer shrink-0" onclick="switchPage('landing')">
|
||
<div class="w-10 h-10 sm:w-12 sm:h-12 rounded-2xl bg-gradient-to-tr from-purple-600 via-pink-600 to-amber-500 flex items-center justify-center shadow-glow-purple">
|
||
<i class="fa-solid fa-dice-d20 text-white text-xl sm:text-2xl"></i>
|
||
</div>
|
||
<div>
|
||
<span class="text-xl sm:text-2xl font-black tracking-tight bg-gradient-to-r from-white via-slate-100 to-purple-300 bg-clip-text text-transparent">اکیپـا</span>
|
||
<span class="text-[10px] sm:text-xs font-semibold block text-purple-400 tracking-wider">مجله تخصصی بازی و دورهمی</span>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Desktop Navigation Menu -->
|
||
<nav class="hidden lg:flex items-center gap-1 bg-slate-900/60 p-1.5 rounded-2xl border border-white/5">
|
||
<a href="index.html" id="nav-landing" class="nav-tab-btn px-4 py-2 rounded-xl text-sm font-medium text-slate-300 hover:text-white hover:bg-white/5 transition flex items-center gap-1.5">
|
||
<i class="fa-solid fa-house-chimney text-xs"></i> صفحه اصلی وبلاگ
|
||
</a>
|
||
<a href="category.html" id="nav-category" class="nav-tab-btn px-4 py-2 rounded-xl text-sm font-medium text-slate-300 hover:text-white hover:bg-white/5 transition flex items-center gap-1.5">
|
||
<i class="fa-solid fa-layer-group text-xs"></i> دستهبندی موضوعی
|
||
</a>
|
||
<a href="single.html" id="nav-single" class="nav-tab-btn px-4 py-2 rounded-xl text-sm font-medium text-white bg-purple-600/30 border border-purple-500/40 transition flex items-center gap-1.5">
|
||
<i class="fa-solid fa-newspaper text-xs"></i> نمونه مقاله (سینگل)
|
||
</a>
|
||
<div class="h-4 w-px bg-white/10 mx-1"></div>
|
||
<a href="#newsletter-section" class="px-3 py-2 rounded-xl text-xs font-medium text-amber-400 hover:text-amber-300 transition flex items-center gap-1.5">
|
||
<i class="fa-solid fa-bell"></i> پیامکنامه
|
||
</a>
|
||
</nav>
|
||
|
||
<!-- Quick Action Buttons -->
|
||
<div class="flex items-center gap-2 sm:gap-3">
|
||
<!-- Search Trigger -->
|
||
<button onclick="openSearchModal()" class="w-9 h-9 sm:w-10 sm:h-10 rounded-xl bg-slate-800/80 hover:bg-slate-700/80 border border-white/10 flex items-center justify-center text-slate-300 hover:text-white transition" title="جستجو در مقالات">
|
||
<i class="fa-solid fa-magnifying-glass text-xs sm:text-sm"></i>
|
||
</button>
|
||
|
||
<!-- Mobile Menu Toggle Button -->
|
||
<button onclick="toggleMobileMenu()" class="lg:hidden w-9 h-9 sm:w-10 sm:h-10 rounded-xl bg-slate-800/80 border border-white/10 flex items-center justify-center text-slate-200">
|
||
<i class="fa-solid fa-bars text-base"></i>
|
||
</button>
|
||
|
||
<!-- CTA Member Button -->
|
||
<a href="#newsletter-section" class="hidden sm:flex items-center gap-2 px-3.5 sm:px-4 py-2 sm:py-2.5 rounded-xl bg-gradient-to-r from-purple-600 to-indigo-600 hover:from-purple-500 hover:to-indigo-500 text-white text-xs sm:text-sm font-bold shadow-lg shadow-purple-600/20 transition transform hover:-translate-y-0.5">
|
||
<i class="fa-solid fa-users-viewfinder"></i>
|
||
عضویت اکیپا
|
||
</a>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Mobile Dropdown Navigation -->
|
||
<div id="mobile-nav" class="hidden lg:hidden border-t border-white/10 bg-slate-900/98 backdrop-blur-xl px-4 py-3 space-y-2">
|
||
<a href="index.html" class="w-full text-right px-4 py-2.5 rounded-xl text-xs sm:text-sm font-medium text-slate-300 hover:bg-white/5 flex items-center gap-2">
|
||
<i class="fa-solid fa-house-chimney text-purple-400"></i> صفحه اصلی لندینگ
|
||
</a>
|
||
<a href="category.html" class="w-full text-right px-4 py-2.5 rounded-xl text-xs sm:text-sm font-medium text-slate-300 hover:bg-white/5 flex items-center gap-2">
|
||
<i class="fa-solid fa-layer-group text-cyan-400"></i> صفحه دستهبندی مقالات
|
||
</a>
|
||
<a href="single.html" class="w-full text-right px-4 py-2.5 rounded-xl text-xs sm:text-sm font-medium text-white bg-purple-600/20 border border-purple-500/30 flex items-center gap-2">
|
||
<i class="fa-solid fa-newspaper text-amber-400"></i> نمونه مقاله (سینگل)
|
||
</a>
|
||
</div>
|
||
</header>
|
||
|
||
<!-- Search Modal Overlay -->
|
||
<div id="search-modal" class="fixed inset-0 z-50 bg-black/80 backdrop-blur-md hidden flex items-start justify-center pt-20 sm:pt-24 px-4 transition-opacity">
|
||
<div class="bg-slate-900 border border-purple-500/30 rounded-3xl w-full max-w-2xl p-5 sm:p-6 shadow-2xl relative">
|
||
<button onclick="closeSearchModal()" class="absolute top-4 left-4 text-slate-400 hover:text-white text-lg">
|
||
<i class="fa-solid fa-xmark"></i>
|
||
</button>
|
||
<h3 class="text-base sm:text-lg font-bold text-white mb-3 sm:mb-4 flex items-center gap-2">
|
||
<i class="fa-solid fa-magnifying-glass text-purple-400"></i> جستجو در مجله اکیپا
|
||
</h3>
|
||
<div class="relative">
|
||
<input type="text" id="search-input" placeholder="عنوان مقاله، بازی یا ژانر مدنظرتان را بنویسید (مثلاً: اتاق فرار)..."
|
||
class="w-full bg-slate-800/90 border border-slate-700 rounded-2xl px-4 py-3 text-white placeholder-slate-400 focus:outline-none focus:border-purple-500 transition text-xs sm:text-sm">
|
||
</div>
|
||
<div class="mt-3 flex flex-wrap gap-1.5 sm:gap-2 text-[11px] sm:text-xs">
|
||
<span class="text-slate-400 self-center">داغترینها:</span>
|
||
<button onclick="fillSearch('اسکیپ روم ترسناک')" class="px-2.5 py-1 rounded-lg bg-slate-800 text-purple-300 hover:bg-purple-900/50">#اسکیپ_روم_ترسناک</button>
|
||
<button onclick="fillSearch('نقشهای شب مافیا')" class="px-2.5 py-1 rounded-lg bg-slate-800 text-purple-300 hover:bg-purple-900/50">#نقشهای_مافیا</button>
|
||
<button onclick="fillSearch('بردگیم استراتژیک')" class="px-2.5 py-1 rounded-lg bg-slate-800 text-purple-300 hover:bg-purple-900/50">#بردگیم_کژوال</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- MAIN WRAPPER FOR 3 PAGES -->
|
||
<main class="flex-grow">
|
||
|
||
<!-- ===============================================================
|
||
PAGE 1: LANDING PAGE (دستنخورده، کاملاً مطابق دیزاین اصلی اولیه)
|
||
=============================================================== -->
|
||
|
||
<main id="page-single" class="max-w-7xl mx-auto px-4 sm:px-6 py-6 pb-24">
|
||
|
||
|
||
<!-- ساختار گرید دو ستونه: راست محتوا، چپ سایدبار فیکس و چسبنده -->
|
||
<div class="grid grid-cols-1 lg:grid-cols-12 gap-8 items-start">
|
||
|
||
<!-- ========================================== -->
|
||
<!-- ستون سمت راست: محتوای غنی مقاله (۸ ستون در دسکتاپ) -->
|
||
<!-- ========================================== -->
|
||
<div class="lg:col-span-8 space-y-6">
|
||
|
||
<!-- نوار بالا: بردکرامب و دکمه بازگشت -->
|
||
<div class="flex items-center justify-between gap-3 text-xs text-slate-400 pb-2 border-b border-white/5">
|
||
<div class="flex items-center gap-2 flex-wrap">
|
||
<button onclick="window.location.href='index.html'" class="hover:text-purple-400 text-purple-400">صفحه اصلی</button>
|
||
<span>/</span>
|
||
<button onclick="window.location.href='category.html'" class="hover:text-purple-400">اتاق فرار</button>
|
||
<span>/</span>
|
||
<span class="text-slate-300 font-medium truncate max-w-[200px] sm:max-w-none">کالبدشکافی سناریوهای نسل ۵</span>
|
||
</div>
|
||
|
||
<button onclick="window.location.href='index.html'" class="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-xl bg-white/5 hover:bg-white/10 text-slate-200 border border-white/10 text-xs font-bold transition-all">
|
||
<svg class="w-3.5 h-3.5 rotate-180" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"/></svg>
|
||
<span>بازگشت</span>
|
||
</button>
|
||
</div>
|
||
|
||
<!-- بجهای موضوعی مقاله -->
|
||
<div class="flex items-center gap-2">
|
||
<span class="px-3 py-1 rounded-full bg-purple-900/60 text-purple-300 border border-purple-500/30 text-xs font-bold">
|
||
پرونده ویژه سردبیر
|
||
</span>
|
||
<span class="px-3 py-1 rounded-full bg-emerald-950/60 text-emerald-300 border border-emerald-500/30 text-xs font-bold">
|
||
مهندسی بازی و تعامل
|
||
</span>
|
||
</div>
|
||
|
||
<!-- تیتر اصلی و لید مقاله -->
|
||
<div class="space-y-3">
|
||
<h1 class="text-2xl sm:text-3xl lg:text-4xl font-black text-white leading-tight">
|
||
کالبدشکافی سناریوهای اتاق فرار نسل ۵: وقتی مرز واقعیت، تکنولوژی و توهم شکسته میشود!
|
||
</h1>
|
||
<p class="text-xs sm:text-sm text-slate-300 leading-relaxed font-normal">
|
||
بررسی جامع تحولات بازیهای محیطی در سال ۲۰۲۶؛ از دکورهای مکانیکی بدون کلید تا استفاده از هوش مصنوعی برای کنترل ریتم ترس در لحظه.
|
||
</p>
|
||
</div>
|
||
|
||
<!-- مشخصات نویسنده و تاریخ انتشار -->
|
||
<div class="flex items-center justify-between p-3.5 rounded-2xl bg-white/[0.03] border border-white/5">
|
||
<div class="flex items-center gap-3">
|
||
<div class="w-10 h-10 rounded-full bg-purple-700/80 border border-purple-400/40 flex items-center justify-center font-bold text-white text-xs">
|
||
ات
|
||
</div>
|
||
<div>
|
||
<span class="text-xs font-bold text-white block">آرین تیموری</span>
|
||
<span class="text-[10px] text-slate-400">سردبیر ارشد و تحلیلگر بازیهای محیطی اکیپا</span>
|
||
</div>
|
||
</div>
|
||
<div class="flex items-center gap-3 text-[11px] text-slate-400">
|
||
<span>📅 ۶ فروردین ۱۴۰۵</span>
|
||
<span>⏱️ ۹ دقیقه</span>
|
||
<span>👁️ ۴,۲۴۰</span>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- تصویر شاخص مقاله با کپشن استودیو -->
|
||
<div class="space-y-2">
|
||
<div class="rounded-3xl overflow-hidden border border-white/10 shadow-2xl h-64 sm:h-[400px]">
|
||
<img src="https://images.unsplash.com/photo-1511512578047-dfb367046420?w=1100&auto=format&fit=crop&q=80" alt="تصویر شاخص بازی" class="w-full h-full object-cover">
|
||
</div>
|
||
<p class="text-[11px] text-slate-400 text-center italic">عکاسی اختصاصی: استودیو اکیپا از اسکیپروم «اتاق تاریک»</p>
|
||
</div>
|
||
|
||
<!-- دسترسی سریع به سرفصلها بلافاصله بعد از عکس در موبایل -->
|
||
<div class="block lg:hidden space-y-4 pt-2">
|
||
<div class="p-4 rounded-2xl bg-[#0f172a] border border-purple-500/30">
|
||
<span class="text-xs font-bold text-purple-400 block mb-2">📌 دسترسی سریع به سرفصلهای این مقاله:</span>
|
||
<div class="flex flex-wrap gap-2 text-xs">
|
||
<button onclick="scrollToSection('sec-1')" class="px-3 py-1.5 rounded-xl bg-white/5 hover:bg-purple-600/30 border border-white/10 text-slate-200">۱. وداع با کلیدهای سنتی</button>
|
||
<button onclick="scrollToSection('sec-2')" class="px-3 py-1.5 rounded-xl bg-white/5 hover:bg-purple-600/30 border border-white/10 text-slate-200">۲. تنظیم وحشت با هوش مصنوعی</button>
|
||
<button onclick="scrollToSection('sec-3')" class="px-3 py-1.5 rounded-xl bg-white/5 hover:bg-purple-600/30 border border-white/10 text-slate-200">۳. بازیگران تعاملی و دراماتورژی</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- بدنه و پاراگرافهای متنی مقاله -->
|
||
<article class="space-y-6 text-sm sm:text-base leading-8 text-slate-300 text-justify">
|
||
|
||
<p>
|
||
اگر در سالهای ابتدایی ورود اتاق فرار به کشور، تجربه بازیکنان به چرخاندن رمز قفلهای چهار رقمی مستهلک یا پیدا کردن کلیدهای برنجی پشت قاب عکسها خلاصه میشد، امروز با انقلابی شگرف در طراحی تعاملی روبرو هستیم. در نسل پنجم اسکیپرومها، هر وسیلهای در اتاق یک قطعه زنده از معماست؛ لمس دیوارهای باستانی، چیدمان متقارن کتابها در قفسه یا حتی نحوه ایستادن اعضای تیم روی کاشیهای کف سالن، همگی از طریق سنسورهای مادون قرمز و فرستندههای التراسونیک خوانش میشوند.
|
||
</p>
|
||
|
||
<!-- نقلقول درونمتنی -->
|
||
<blockquote class="p-4 sm:p-5 rounded-2xl bg-[#14122d] border-r-4 border-purple-500 text-purple-200 text-xs sm:text-sm font-medium my-6 shadow-lg">
|
||
«در یک اتاق فرار ایدهآل نسل جدید، بازیکن هرگز نباید احساس کند که در حال حل یک تمرین ریاضی است؛ معما باید پیامد منطقی و طبیعی اتفاقات داستان باشد.» — تیم طراحی اکیپا
|
||
</blockquote>
|
||
|
||
<!-- بنر رزرو تجربه زنده این سناریو در متن -->
|
||
<div class="rounded-2xl p-4 bg-gradient-to-r from-purple-900/60 via-[#131b31] to-[#0c1220] border border-purple-500/40 flex flex-col sm:flex-row items-center justify-between gap-4 shadow-xl">
|
||
<div class="flex items-center gap-3">
|
||
<div class="w-10 h-10 rounded-xl bg-purple-600/30 border border-purple-400/30 flex items-center justify-center text-xl">
|
||
🎮
|
||
</div>
|
||
<div>
|
||
<span class="text-[10px] text-amber-400 font-bold block">تجربه زنده این سناریو</span>
|
||
<h4 class="text-xs sm:text-sm font-extrabold text-white">اتاق فرار نسل پنجمی «دالان تاریک»</h4>
|
||
<p class="text-[11px] text-slate-400">میرداماد، تهران | ۹۰ دقیقه | سیستم صوتی ۳۶۰ درجه هوشمند</p>
|
||
</div>
|
||
</div>
|
||
<a href="https://ekeepa.co" target="_blank" class="px-4 py-2 rounded-xl bg-purple-600 hover:bg-purple-500 text-white font-bold text-xs whitespace-nowrap shadow-lg shadow-purple-600/30 transition-all">
|
||
رزرو با ۲۰٪ تخفیف اکیپا
|
||
</a>
|
||
</div>
|
||
|
||
<!-- تبلیغ بنری اول (کوچک و استاندارد) -->
|
||
<div class="my-6 p-3 rounded-2xl bg-[#0b101c] border border-white/10 flex items-center justify-between gap-3 max-w-md mx-auto">
|
||
<div class="flex items-center gap-2.5">
|
||
<span class="text-[9px] bg-amber-500/20 text-amber-400 px-2 py-0.5 rounded border border-amber-400/30 font-bold">آگهی</span>
|
||
<span class="text-xs text-slate-300 font-bold">کافه بردگیم فکریتو؛ تخفیف ویژه اکیپهای ۴+ نفر</span>
|
||
</div>
|
||
<a href="#" class="text-xs text-purple-400 hover:text-purple-300 font-bold whitespace-nowrap">مشاهده منو ←</a>
|
||
</div>
|
||
|
||
<!-- سرفصل ۱ -->
|
||
<h2 id="sec-1" class="text-lg sm:text-xl font-black text-white pt-4 pb-1 border-b border-white/5">
|
||
۱. هوش مصنوعی چگونه میزان وحشت را متناسب با نبض تیم تنظیم میکند؟
|
||
</h2>
|
||
<p>
|
||
یکی از بزرگترین چالشهای همیشگی طراحان بازی، ناهمگونی آستانه تحمل افراد در مواجهه با ترس بوده است. یک اکتور ناگهانی ممکن است برای بازیکنی حرفهای ملالآور باشد، در حالی که همان اتفاق برای بازیکنی دیگر حمله پانیک ایجاد کند. در سالهای اخیر، برخی بازیهای پیشرو از سیستمهای رصد حرارتی و تحلیل صدا بهره میبرند تا سرعت بازی و حضور اکتور را به صورت پویا تنظیم کنند.
|
||
</p>
|
||
|
||
<!-- تبلیغ بنری دوم (کوچک و استاندارد) -->
|
||
<div class="my-6 p-3 rounded-2xl bg-[#0b101c] border border-white/10 flex items-center justify-between gap-3 max-w-md mx-auto">
|
||
<div class="flex items-center gap-2.5">
|
||
<span class="text-[9px] bg-purple-500/20 text-purple-400 px-2 py-0.5 rounded border border-purple-400/30 font-bold">پیشنهاد</span>
|
||
<span class="text-xs text-slate-300 font-bold">برگزاری رویداد مافیا با گردانندگان بینالمللی</span>
|
||
</div>
|
||
<a href="#" class="text-xs text-purple-400 hover:text-purple-300 font-bold whitespace-nowrap">ثبتنام ←</a>
|
||
</div>
|
||
|
||
<!-- سرفصل ۲ -->
|
||
<h2 id="sec-2" class="text-lg sm:text-xl font-black text-white pt-4 pb-1 border-b border-white/5">
|
||
۲. بازیگران تعاملی (Live Actors) و اصول دراماتورژی صحنه
|
||
</h2>
|
||
<p>
|
||
در نسل جدید، اکتور دیگر فقط یک روح سرگردان نیست که از گوشه کمد بپرد و فریاد بزند. بازیگران زنده در نقش کاراکترهای سناریو وارد دیالوگ مستقیم با اعضای تیم میشوند، اطلاعات حیاتی را در قالب گفتگوهای دراماتیک انتقال میدهند و تصمیمهای اخلاقی بازیکنان سرنوشت نهایی پایان بازی را تعیین میکند.
|
||
</p>
|
||
|
||
<!-- سرفصل ۳ -->
|
||
<h2 id="sec-3" class="text-lg sm:text-xl font-black text-white pt-4 pb-1 border-b border-white/5">
|
||
۳. جمعبندی: آینده اتاقهای فرار در تعامل با واقعیت ترکیبی
|
||
</h2>
|
||
<p>
|
||
پیوند واقعیت فیزیکی با عناصر نورپردازی هوشمند و صوت چندکاناله، فضایی ایجاد کرده که در آن تجربه تفریح گروهی به اوج خود میرسد. اکیپا همواره با بررسی موشکافانه این روندها در کنار شماست تا بهترین گزینهها را برای آخر هفته خود رزرو کنید.
|
||
</p>
|
||
|
||
</article>
|
||
|
||
<!-- واکنشها، لایک و اشتراکگذاری -->
|
||
<div class="flex items-center justify-between p-4 rounded-2xl bg-[#0f172a] border border-white/10 flex-wrap gap-3">
|
||
<span class="text-xs text-slate-300 font-bold">آیا این مقاله برایتان مفید بود؟</span>
|
||
<div class="flex items-center gap-2">
|
||
<button onclick="reactPost('like')" class="px-3.5 py-1.5 rounded-xl bg-white/5 hover:bg-rose-600/20 text-slate-300 hover:text-rose-400 border border-white/10 text-xs font-bold flex items-center gap-1.5 transition-all">
|
||
<span>❤️ ۱۲۴</span>
|
||
</button>
|
||
<button onclick="reactPost('bookmark')" class="px-3.5 py-1.5 rounded-xl bg-white/5 hover:bg-amber-600/20 text-slate-300 hover:text-amber-400 border border-white/10 text-xs font-bold flex items-center gap-1.5 transition-all">
|
||
<span>🔖 ۸۹</span>
|
||
</button>
|
||
<button onclick="sharePost()" class="px-3.5 py-1.5 rounded-xl bg-purple-600 hover:bg-purple-500 text-white text-xs font-bold flex items-center gap-1.5 transition-all shadow-md shadow-purple-600/20">
|
||
<svg class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z"/></svg>
|
||
<span>اشتراک</span>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- دیدگاههای بازیکنان و فرم ثبت نظر جدید -->
|
||
<section id="commentsSection" class="space-y-5 pt-4">
|
||
<div class="flex items-center justify-between">
|
||
<h3 class="text-base sm:text-lg font-black text-white flex items-center gap-2">
|
||
<span>💬 دیدگاههای بازیکنان</span>
|
||
<span id="commentCountBadge" class="text-xs px-2 py-0.5 rounded-full bg-purple-600/30 text-purple-300 font-bold border border-purple-500/20">۲ نظر</span>
|
||
</h3>
|
||
</div>
|
||
|
||
<!-- فرم ارسال دیدگاه جدید -->
|
||
<form onsubmit="handleNewComment(event)" class="p-5 rounded-2xl bg-[#0f172a] border border-white/10 space-y-3">
|
||
<span class="text-xs text-slate-300 font-bold block">نظر یا تجربه خود را درباره این موضوع به اشتراک بگذارید:</span>
|
||
|
||
<div class="grid grid-cols-1 sm:grid-cols-2 gap-3">
|
||
<input type="text" id="commentAuthor" required placeholder="نام یا نام مستعار شما" class="px-4 py-2.5 rounded-xl bg-black/40 border border-white/10 text-xs text-white placeholder-slate-500 focus:outline-none focus:border-purple-400">
|
||
<input type="email" id="commentEmail" placeholder="ایمیل شما (محرمانه خواهد ماند)" class="px-4 py-2.5 rounded-xl bg-black/40 border border-white/10 text-xs text-white placeholder-slate-500 focus:outline-none focus:border-purple-400">
|
||
</div>
|
||
|
||
<textarea id="commentBody" required rows="3" placeholder="متن دیدگاه شما..." class="w-full px-4 py-2.5 rounded-xl bg-black/40 border border-white/10 text-xs text-white placeholder-slate-500 focus:outline-none focus:border-purple-400"></textarea>
|
||
|
||
<button type="submit" class="px-6 py-2.5 rounded-xl bg-purple-600 hover:bg-purple-500 text-white font-bold text-xs transition-all shadow-lg shadow-purple-600/30">
|
||
ثبت دیدگاه
|
||
</button>
|
||
</form>
|
||
|
||
<!-- لیست کامنتها -->
|
||
<div id="commentsList" class="space-y-3">
|
||
<div class="p-4 rounded-2xl bg-[#0d1424] border border-white/5 space-y-1.5">
|
||
<div class="flex items-center justify-between text-xs">
|
||
<div class="flex items-center gap-2">
|
||
<div class="w-6 h-6 rounded-lg bg-purple-600/50 flex items-center justify-center font-bold text-white text-[10px]">پ</div>
|
||
<span class="font-bold text-purple-300">پویا علیزاده</span>
|
||
</div>
|
||
<span class="text-slate-500 text-[10px]">۲ روز پیش</span>
|
||
</div>
|
||
<p class="text-xs text-slate-300 leading-relaxed pr-8">
|
||
کاملاً با بخش تنظیم ترس توسط هوش مصنوعی موافقم! هفته پیش توی یکی از بازیها سنسورهای صدا متوجه شدن تیم ما واقعاً ترسیده و اکتور کمی عقبنشینی کرد که بازی قفل نشه.
|
||
</p>
|
||
</div>
|
||
|
||
<div class="p-4 rounded-2xl bg-[#0d1424] border border-white/5 space-y-1.5">
|
||
<div class="flex items-center justify-between text-xs">
|
||
<div class="flex items-center gap-2">
|
||
<div class="w-6 h-6 rounded-lg bg-amber-600/50 flex items-center justify-center font-bold text-white text-[10px]">ن</div>
|
||
<span class="font-bold text-amber-300">نگین صدری</span>
|
||
</div>
|
||
<span class="text-slate-500 text-[10px]">۴ روز پیش</span>
|
||
</div>
|
||
<p class="text-xs text-slate-300 leading-relaxed pr-8">
|
||
کاش همه اتاق فرارها از قفلهای قدیمی دست بکشن. این مقاله عالی بود و دید خیلی خوبی درباره نسل جدید داد.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- پیشنهاد هوشمند مقاله بعدی در انتهای صفحه (Up Next Card) -->
|
||
<section class="mt-10 rounded-3xl p-6 sm:p-8 bg-gradient-to-br from-[#1b1438] via-[#0f172a] to-[#0a0f1d] border border-purple-500/30 relative overflow-hidden shadow-2xl group">
|
||
<div class="absolute -top-16 -right-16 w-60 h-60 bg-purple-600/10 rounded-full blur-3xl pointer-events-none"></div>
|
||
|
||
<div class="relative z-10 flex flex-col md:flex-row items-center gap-6">
|
||
<div class="relative w-full md:w-56 h-40 rounded-2xl overflow-hidden flex-shrink-0 border border-white/10">
|
||
<img src="https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?w=600&auto=format&fit=crop&q=80" alt="مقاله بعدی" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
|
||
<span class="absolute top-2.5 right-2.5 bg-black/70 backdrop-blur-md text-amber-300 text-[10px] font-bold px-2.5 py-1 rounded-md border border-amber-400/30">
|
||
⚡ پرونده پیشنهادی بعدی
|
||
</span>
|
||
</div>
|
||
|
||
<div class="flex-1 space-y-2 text-center md:text-right">
|
||
<div class="flex items-center justify-center md:justify-start gap-3 text-xs text-slate-400">
|
||
<span class="text-purple-400 font-bold">اتاق فرار • مهندسی وحشت</span>
|
||
<span>•</span>
|
||
<span>⏱️ ۸ دقیقه مطالعه</span>
|
||
<span>•</span>
|
||
<span>👁️ ۳.۸k بازدید</span>
|
||
</div>
|
||
<h3 class="text-base sm:text-xl font-extrabold text-white group-hover:text-purple-300 transition-colors leading-snug">
|
||
جادوی فضاسازی صوتی: چرا یک افکت ساده شما را در اتاق فرار میخکوب میکند؟
|
||
</h3>
|
||
<p class="text-xs text-slate-300 leading-relaxed line-clamp-2">
|
||
اگر از بررسی مکانیزمهای هوش مصنوعی در اتاق فرار لذت بردید، این پرونده تخصصی به تحلیل نقش فرکانسهای مادونصوت در تحریک ضربان قلب و تسلیم روانی بازیکنان میپردازد.
|
||
</p>
|
||
</div>
|
||
|
||
<button onclick="window.scrollTo({top: 0, behavior: 'smooth'})" class="w-full md:w-auto px-6 py-3.5 rounded-xl bg-purple-600 hover:bg-purple-500 text-white font-bold text-xs flex items-center justify-center gap-2 flex-shrink-0 shadow-lg shadow-purple-600/30 transition-all">
|
||
<span>مطالعه پرونده بعدی</span>
|
||
<svg class="w-4 h-4 rotate-180" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"/></svg>
|
||
</button>
|
||
</div>
|
||
</section>
|
||
|
||
</div>
|
||
|
||
<!-- ========================================== -->
|
||
<!-- ستون سمت چپ: سایدبار فیکس دسکتاپ (Sticky Sidebar) -->
|
||
<!-- ========================================== -->
|
||
<aside class="hidden lg:block lg:col-span-4 sticky top-20 space-y-6">
|
||
|
||
<!-- کارت پیشنهاد بازی مطابق تصویر ۲ دقیق (پل رزرو آنلاین اکیپا) -->
|
||
<div class="rounded-3xl bg-[#0f172a] border border-purple-500/30 p-5 shadow-2xl relative overflow-hidden">
|
||
|
||
<!-- هدر سایدبار با فلشهای ناوبری -->
|
||
<div class="flex items-center justify-between mb-4 pb-3 border-b border-white/5">
|
||
<div>
|
||
<span class="text-[10px] text-purple-400 font-bold block">پل رزرو آنلاین اکیپا</span>
|
||
<h3 class="text-sm font-extrabold text-white">بازیهای پیشنهادی این دستهبندی</h3>
|
||
</div>
|
||
|
||
<div class="flex items-center gap-1.5">
|
||
<button onclick="prevSingleGame()" class="w-7 h-7 rounded-lg bg-white/5 hover:bg-purple-600 text-slate-200 border border-white/10 flex items-center justify-center transition-all">
|
||
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M9 5l7 7-7 7"/></svg>
|
||
</button>
|
||
<button onclick="nextSingleGame()" class="w-7 h-7 rounded-lg bg-white/5 hover:bg-purple-600 text-slate-200 border border-white/10 flex items-center justify-center transition-all">
|
||
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M15 19l-7-7 7-7"/></svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- بدنه کارت بازی -->
|
||
<div id="singleGameCardContainer" class="transition-all duration-300 space-y-3">
|
||
|
||
<div class="relative h-44 rounded-2xl overflow-hidden border border-white/10">
|
||
<img id="singleGameImage" src="https://images.unsplash.com/photo-1518709268805-4e9042af9f23?w=600&auto=format&fit=crop&q=80" alt="پوستر بازی" class="w-full h-full object-cover">
|
||
<div class="absolute inset-0 bg-gradient-to-t from-black/90 via-black/30 to-transparent"></div>
|
||
|
||
<span id="singleGameBadge" class="absolute top-2.5 right-2.5 text-[11px] font-bold px-2.5 py-1 rounded-full bg-purple-600 text-white shadow-md flex items-center gap-1">
|
||
🔥 پرمخاطبترین
|
||
</span>
|
||
|
||
<span id="singleGameRating" class="absolute top-2.5 left-2.5 text-[11px] font-extrabold px-2 py-0.5 rounded-md bg-amber-400 text-black flex items-center gap-1">
|
||
⭐ ۹.۸ / ۱۰
|
||
</span>
|
||
|
||
<div class="absolute bottom-3 right-3 text-right">
|
||
<span id="singleGameGenre" class="text-[11px] text-purple-300 font-semibold block">اتاق فرار • دلهرهآور</span>
|
||
<h4 id="singleGameTitle" class="text-base font-black text-white">دخمه جنزده آرارات</h4>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- مشخصات ۲ ستونه بازی -->
|
||
<div class="grid grid-cols-2 gap-2.5 p-3 rounded-2xl bg-[#0b101c] border border-white/5 text-xs text-slate-300">
|
||
<div class="flex items-center gap-1.5">
|
||
<span class="text-slate-400">📍 لوکیشن:</span>
|
||
<span id="singleGameLoc" class="font-bold text-white">میرداماد</span>
|
||
</div>
|
||
<div class="flex items-center gap-1.5">
|
||
<span class="text-slate-400">👥 ظرفیت:</span>
|
||
<span id="singleGameCap" class="font-bold text-white">۴-۸ نفر</span>
|
||
</div>
|
||
<div class="flex items-center gap-1.5">
|
||
<span class="text-slate-400">⏱️ سانس:</span>
|
||
<span id="singleGameDur" class="font-bold text-white">۸۰ دقیقه</span>
|
||
</div>
|
||
<div class="flex items-center gap-1.5">
|
||
<span class="text-slate-400">🎯 سختی:</span>
|
||
<span id="singleGameDiff" class="font-bold text-amber-400">سخت</span>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- دکمه بنفش رزرو و قیمت -->
|
||
<div class="flex items-center justify-between gap-3 pt-2">
|
||
<a href="https://ekeepa.co" target="_blank" class="px-5 py-2.5 rounded-xl bg-gradient-to-r from-purple-600 to-indigo-600 hover:from-purple-500 text-white font-bold text-xs shadow-lg shadow-purple-600/30 flex items-center gap-1.5">
|
||
<span>رزرو سانس در اکیپا</span>
|
||
<svg class="w-3.5 h-3.5 rotate-180" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M14 5l7 7m0 0l-7 7m7-7H3"/></svg>
|
||
</a>
|
||
|
||
<div class="text-left">
|
||
<span class="text-[10px] text-slate-400 block">شروع قیمت هر نفر:</span>
|
||
<span id="singleGamePrice" class="text-sm font-black text-amber-400">۲۸۰,۰۰۰ تومان</span>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ایندیکیتور کپسولی متحرک -->
|
||
<div class="flex items-center justify-center gap-1.5 pt-3 border-t border-white/5">
|
||
<span class="single-dot w-6 h-1.5 rounded-full bg-purple-500 transition-all"></span>
|
||
<span class="single-dot w-2 h-1.5 rounded-full bg-white/20 transition-all"></span>
|
||
<span class="single-dot w-2 h-1.5 rounded-full bg-white/20 transition-all"></span>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<!-- باکس سرفصلهای مقاله با قابلیت Smooth Scroll -->
|
||
<div class="rounded-3xl bg-[#0f172a] border border-white/10 p-5 shadow-xl space-y-3">
|
||
<span class="text-xs font-bold text-purple-400 block">📑 سرفصلهای این مقاله</span>
|
||
<ul class="space-y-2 text-xs">
|
||
<li>
|
||
<button onclick="scrollToSection('sec-1')" class="text-right text-slate-300 hover:text-purple-300 flex items-center gap-2 w-full transition-colors">
|
||
<span class="w-1.5 h-1.5 rounded-full bg-purple-500"></span>
|
||
<span>۱. وداع با کلیدهای سنتی و سنسورها</span>
|
||
</button>
|
||
</li>
|
||
<li>
|
||
<button onclick="scrollToSection('sec-2')" class="text-right text-slate-300 hover:text-purple-300 flex items-center gap-2 w-full transition-colors">
|
||
<span class="w-1.5 h-1.5 rounded-full bg-slate-500"></span>
|
||
<span>۲. تنظیم وحشت با هوش مصنوعی</span>
|
||
</button>
|
||
</li>
|
||
<li>
|
||
<button onclick="scrollToSection('sec-3')" class="text-right text-slate-300 hover:text-purple-300 flex items-center gap-2 w-full transition-colors">
|
||
<span class="w-1.5 h-1.5 rounded-full bg-slate-500"></span>
|
||
<span>۳. بازیگران تعاملی و دراماتورژی</span>
|
||
</button>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
|
||
</aside>
|
||
|
||
</div>
|
||
|
||
<!-- ========================================== -->
|
||
<!-- نوار شناور پایین موبایل (با حلقه پیشرفت مطالعه Progress Ring) -->
|
||
<!-- ========================================== -->
|
||
<div id="mobileSingleBar" class="lg:hidden fixed bottom-4 left-4 right-4 z-40 bg-[#0e172a]/95 backdrop-blur-xl border border-purple-500/30 rounded-2xl p-2.5 shadow-2xl flex items-center justify-between">
|
||
|
||
<div class="flex items-center gap-2.5 overflow-hidden pr-1">
|
||
<!-- حلقه پیشرفت مطالعه SVG -->
|
||
<button onclick="toggleSingleDrawer()" class="relative w-11 h-11 flex-shrink-0 flex items-center justify-center rounded-xl bg-purple-950/60 border border-purple-500/20" title="مشاهده پیشرفت و سرفصلها">
|
||
<svg class="w-10 h-10 -rotate-90 transform" viewBox="0 0 36 36">
|
||
<path class="text-white/10" stroke-width="3" stroke="currentColor" fill="none"
|
||
d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" />
|
||
<path id="mobileProgressCircle" class="text-purple-400 transition-all duration-100" stroke-dasharray="0, 100" stroke-width="3" stroke-linecap="round" stroke="currentColor" fill="none"
|
||
d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" />
|
||
</svg>
|
||
<span id="mobileProgressPercent" class="absolute text-[10px] font-black text-amber-300">0%</span>
|
||
</button>
|
||
|
||
<div class="truncate">
|
||
<span class="text-[10px] text-purple-400 font-bold block">در حال مطالعه:</span>
|
||
<span id="mobileActiveHeadingText" class="text-xs font-bold text-white truncate block">کالبدشکافی نسل ۵</span>
|
||
</div>
|
||
</div>
|
||
|
||
<button onclick="toggleSingleDrawer()" class="flex-shrink-0 px-3.5 py-2 rounded-xl bg-purple-600 hover:bg-purple-500 text-white font-bold text-xs flex items-center gap-1.5 shadow-lg shadow-purple-600/30">
|
||
<span>سرفصلها و بازی</span>
|
||
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 15l7-7 7 7"/></svg>
|
||
</button>
|
||
</div>
|
||
|
||
<!-- دراور و باتمشیت موبایل (Bottom Sheet Drawer) -->
|
||
<div id="singleMobileDrawer" class="lg:hidden fixed inset-x-0 bottom-0 z-50 bg-[#0d1424] border-t border-purple-500/40 rounded-t-3xl p-6 shadow-2xl transition-transform duration-300 transform translate-y-full max-h-[85vh] overflow-y-auto">
|
||
<div class="w-12 h-1.5 rounded-full bg-white/20 mx-auto mb-4 cursor-pointer" onclick="toggleSingleDrawer()"></div>
|
||
|
||
<div class="flex items-center justify-between pb-3 border-b border-white/10 mb-4">
|
||
<h3 class="text-sm font-bold text-white">سرفصلهای مقاله و بازی پیشنهادی</h3>
|
||
<button onclick="toggleSingleDrawer()" class="p-1 rounded-lg bg-white/5 text-slate-300">✕</button>
|
||
</div>
|
||
|
||
<div class="space-y-2 mb-6">
|
||
<button onclick="scrollToSection('sec-1'); toggleSingleDrawer();" class="w-full text-right p-3 rounded-xl bg-white/5 text-xs text-slate-200 hover:bg-purple-600/20 block font-bold">
|
||
۱. وداع با کلیدهای سنتی و سنسورها
|
||
</button>
|
||
<button onclick="scrollToSection('sec-2'); toggleSingleDrawer();" class="w-full text-right p-3 rounded-xl bg-white/5 text-xs text-slate-200 hover:bg-purple-600/20 block font-bold">
|
||
۲. تنظیم وحشت با هوش مصنوعی
|
||
</button>
|
||
<button onclick="scrollToSection('sec-3'); toggleSingleDrawer();" class="w-full text-right p-3 rounded-xl bg-white/5 text-xs text-slate-200 hover:bg-purple-600/20 block font-bold">
|
||
۳. جمعبندی و بازیگران زنده
|
||
</button>
|
||
</div>
|
||
|
||
<div class="p-4 rounded-2xl bg-[#141d33] border border-purple-500/30 flex items-center justify-between gap-3">
|
||
<div>
|
||
<span class="text-[10px] text-amber-400 font-bold block">بازی پیشنهادی این مقاله</span>
|
||
<h4 class="text-xs font-extrabold text-white">دخمه جنزده آرارات</h4>
|
||
<span class="text-[10px] text-slate-400">۲۸۰,۰۰۰ تومان</span>
|
||
</div>
|
||
<a href="https://ekeepa.co" target="_blank" class="px-4 py-2 rounded-xl bg-purple-600 text-white text-xs font-bold">رزرو در اکیپا</a>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</main>
|
||
<!-- MODAL: SMART ENTERTAINMENT FINDER QUIZ (سیستم پیشرفته پیشنهاد بازی و دستهبندی اکیپا) -->
|
||
<div id="quiz-modal" class="fixed inset-0 z-50 bg-black/85 backdrop-blur-md hidden flex items-center justify-center p-3 sm:p-4 transition-all duration-300">
|
||
<div class="bg-slate-900 border border-purple-500/40 rounded-3xl w-full max-w-xl p-5 sm:p-7 shadow-2xl relative overflow-hidden max-h-[92vh] overflow-y-auto">
|
||
|
||
<!-- Ambient Glows -->
|
||
<div class="absolute -top-14 -right-14 w-40 h-40 bg-purple-600/20 rounded-full blur-3xl pointer-events-none"></div>
|
||
<div class="absolute -bottom-14 -left-14 w-40 h-40 bg-pink-600/20 rounded-full blur-3xl pointer-events-none"></div>
|
||
|
||
<!-- Close Button -->
|
||
<button onclick="closeQuizModal()" class="absolute top-4 left-4 w-8 h-8 rounded-full bg-slate-800 text-slate-400 hover:text-white hover:bg-slate-700 flex items-center justify-center text-sm transition">
|
||
<i class="fa-solid fa-xmark"></i>
|
||
</button>
|
||
|
||
<!-- Quiz Header -->
|
||
<div class="flex items-center justify-between mb-2 pl-8">
|
||
<div class="flex items-center gap-2 text-purple-400 text-xs font-bold">
|
||
<i class="fa-solid fa-wand-magic-sparkles"></i> موتور هوشمند پیشنهاد بازی اکیپا
|
||
</div>
|
||
<span id="quiz-step-badge" class="px-2.5 py-0.5 rounded-full text-[10px] font-bold bg-purple-500/20 border border-purple-500/30 text-purple-300">گام ۱ از ۳: دستهبندی</span>
|
||
</div>
|
||
|
||
<!-- Progress Track -->
|
||
<div class="w-full bg-slate-800/80 h-1.5 rounded-full mb-4 overflow-hidden border border-white/5">
|
||
<div id="quiz-progress-bar" class="bg-gradient-to-r from-purple-500 via-pink-500 to-amber-400 h-full w-1/3 transition-all duration-300"></div>
|
||
</div>
|
||
|
||
<!-- Question Title & Description -->
|
||
<div id="quiz-question-header" class="mb-4">
|
||
<h3 class="text-base sm:text-lg font-black text-white" id="quiz-question-title">
|
||
گام اول: چه مدل سرگرمی و تجربهای مد نظرتونه؟
|
||
</h3>
|
||
<p class="text-xs text-slate-400 mt-1" id="quiz-question-subtitle">
|
||
ابتدا دستهبندی اصلی سرگرمی مورد علاقه اکیپ را مشخص کنید:
|
||
</p>
|
||
</div>
|
||
|
||
<!-- Options Container -->
|
||
<div id="quiz-options-container" class="space-y-2.5">
|
||
<!-- Rendered via JS -->
|
||
</div>
|
||
|
||
<!-- Result Showcase Container -->
|
||
<div id="quiz-result-container" class="hidden space-y-4 pt-1">
|
||
<!-- Rendered via JS -->
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<footer class="mt-12 sm:mt-16 bg-slate-950 border-t border-white/10 pt-8 sm:pt-12 pb-6 sm:pb-8 text-xs text-slate-400">
|
||
<div class="max-w-7xl mx-auto px-3 sm:px-6 lg:px-8">
|
||
|
||
<div class="grid grid-cols-1 md:grid-cols-12 gap-6 sm:gap-8 pb-8 sm:pb-12 border-b border-white/5">
|
||
<div class="md:col-span-5 space-y-3">
|
||
<div class="flex items-center gap-3">
|
||
<div class="w-9 h-9 sm:w-10 sm:h-10 rounded-xl bg-purple-600 flex items-center justify-center text-white">
|
||
<i class="fa-solid fa-dice-d20 text-lg sm:text-xl"></i>
|
||
</div>
|
||
<span class="text-lg sm:text-xl font-black text-white">مجله تخصصی اکیپا</span>
|
||
</div>
|
||
<p class="text-slate-400 leading-relaxed text-justify pr-1 text-[11px] sm:text-xs">
|
||
اکیپا پلتفرم جامع تحلیل، نقد صادقانه و هدایت علاقهمندان به دنیای تفریحات تیمی، اتاق فرار، بوردگیمهای رومیزی و بازیهای نقشمخفی در ایران است. هدف ما غنیسازی لحظات دورهمی شما با چاشنی هوش و آدرنالین است.
|
||
</p>
|
||
<div class="flex items-center gap-2.5 pt-1 text-slate-300 text-sm">
|
||
<a href="#" class="w-8 h-8 sm:w-9 sm:h-9 rounded-xl bg-slate-900 hover:bg-purple-600 hover:text-white flex items-center justify-center transition"><i class="fa-brands fa-instagram"></i></a>
|
||
<a href="#" class="w-8 h-8 sm:w-9 sm:h-9 rounded-xl bg-slate-900 hover:bg-purple-600 hover:text-white flex items-center justify-center transition"><i class="fa-brands fa-telegram"></i></a>
|
||
<a href="#" class="w-8 h-8 sm:w-9 sm:h-9 rounded-xl bg-slate-900 hover:bg-purple-600 hover:text-white flex items-center justify-center transition"><i class="fa-brands fa-youtube"></i></a>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="md:col-span-3 space-y-2">
|
||
<h5 class="text-xs sm:text-sm font-bold text-white mb-2.5 sm:mb-3">صفحات اصلی مجله</h5>
|
||
<ul class="space-y-1.5 sm:space-y-2 text-[11px] sm:text-xs">
|
||
<li><button onclick="window.location.href='index.html'" class="hover:text-purple-400 transition">صفحه نخست وبلاگ</button></li>
|
||
<li><button onclick="window.location.href='category.html'" class="hover:text-purple-400 transition">آرشیو دستهبندی موضوعی</button></li>
|
||
<li><button onclick="window.location.href='single.html'" class="hover:text-purple-400 transition">آخرین مقاله ویژه سردبیر</button></li>
|
||
<li><a href="#newsletter-section" class="hover:text-purple-400 transition">ثبت شماره در خبرنامه</a></li>
|
||
</ul>
|
||
</div>
|
||
|
||
<div class="md:col-span-4 space-y-2.5 sm:space-y-3">
|
||
<h5 class="text-xs sm:text-sm font-bold text-white mb-1.5 sm:mb-2">اطمینان و استاندارد محتوا</h5>
|
||
<div class="p-3 sm:p-3.5 rounded-xl sm:rounded-2xl bg-slate-900/70 border border-white/5 space-y-1.5">
|
||
<div class="flex items-center gap-2 text-purple-300 font-bold text-xs">
|
||
<i class="fa-solid fa-certificate"></i> نقد مستقل و بدون حمایت مالی اتاقها
|
||
</div>
|
||
<p class="text-[10px] sm:text-[11px] text-slate-400 leading-normal">
|
||
تمامی مقالات و امتیازهای درجشده حاصل آزمون تجربی اتاقها توسط تیم منتقدان اکیپا بدون دریافت وجه از مراکز بازی میباشد.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="pt-4 sm:pt-6 flex flex-col sm:flex-row items-center justify-between gap-2.5 text-slate-500 text-[10px] sm:text-[11px]">
|
||
<div>© ۲۰۲۶ تمامی حقوق مادی و معنوی برای مجله سرگرمی و بازی «اکیپـا» محفوظ است.</div>
|
||
<div class="flex items-center gap-3">
|
||
<a href="#" class="hover:text-slate-300">حریم خصوصی</a>
|
||
<a href="#" class="hover:text-slate-300">قوانین و مقررات</a>
|
||
<a href="#" class="hover:text-slate-300">تماس با تحریریه</a>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</footer>
|
||
|
||
|
||
<script>
|
||
function switchPage(pageKey) {
|
||
if (pageKey === 'landing') window.location.href = 'index.html';
|
||
else if (pageKey === 'category') window.location.href = 'category.html';
|
||
else if (pageKey === 'single') window.location.href = 'single.html';
|
||
}
|
||
|
||
const singleGames = [
|
||
{
|
||
title: "دخمه جنزده آرارات",
|
||
genre: "اتاق فرار • دلهرهآور",
|
||
badge: "🔥 پرمخاطبترین",
|
||
rating: "⭐ ۹.۸ / ۱۰",
|
||
image: "https://images.unsplash.com/photo-1518709268805-4e9042af9f23?w=600&auto=format&fit=crop&q=80",
|
||
loc: "میرداماد",
|
||
cap: "۴-۸ نفر",
|
||
dur: "۸۰ دقیقه",
|
||
diff: "سخت",
|
||
price: "۲۸۰,۰۰۰ تومان"
|
||
},
|
||
{
|
||
title: "اتاق تاریک (نسل ۵)",
|
||
genre: "اتاق فرار • هوش مصنوعی",
|
||
badge: "⚡ دکور مگامکانیک",
|
||
rating: "⭐ ۹.۹ / ۱۰",
|
||
image: "https://images.unsplash.com/photo-1511512578047-dfb367046420?w=600&auto=format&fit=crop&q=80",
|
||
loc: "سعادتآباد",
|
||
cap: "۴-۶ نفر",
|
||
dur: "۹۰ دقیقه",
|
||
diff: "بسیار سخت",
|
||
price: "۳۲۰,۰۰۰ تومان"
|
||
},
|
||
{
|
||
title: "پرونده شرلوک در هتل",
|
||
genre: "معمایی • بدون وحشت",
|
||
badge: "💎 کلاسیک تحلیلی",
|
||
rating: "⭐ ۹.۴ / ۱۰",
|
||
image: "https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?w=600&auto=format&fit=crop&q=80",
|
||
loc: "انقلاب",
|
||
cap: "۳-۶ نفر",
|
||
dur: "۷۵ دقیقه",
|
||
diff: "متوسط",
|
||
price: "۲۴۰,۰۰۰ تومان"
|
||
}
|
||
];
|
||
|
||
let currentSingleGame = 0;
|
||
|
||
function renderSingleGame(idx) {
|
||
const g = singleGames[idx];
|
||
const box = document.getElementById('singleGameCardContainer');
|
||
box.style.opacity = '0';
|
||
|
||
setTimeout(() => {
|
||
document.getElementById('singleGameImage').src = g.image;
|
||
document.getElementById('singleGameBadge').textContent = g.badge;
|
||
document.getElementById('singleGameRating').textContent = g.rating;
|
||
document.getElementById('singleGameGenre').textContent = g.genre;
|
||
document.getElementById('singleGameTitle').textContent = g.title;
|
||
document.getElementById('singleGameLoc').textContent = g.loc;
|
||
document.getElementById('singleGameCap').textContent = g.cap;
|
||
document.getElementById('singleGameDur').textContent = g.dur;
|
||
document.getElementById('singleGameDiff').textContent = g.diff;
|
||
document.getElementById('singleGamePrice').textContent = g.price;
|
||
|
||
const dots = document.querySelectorAll('.single-dot');
|
||
dots.forEach((d, i) => {
|
||
if (i === idx) {
|
||
d.className = "single-dot w-6 h-1.5 rounded-full bg-purple-500 transition-all";
|
||
} else {
|
||
d.className = "single-dot w-2 h-1.5 rounded-full bg-white/20 transition-all";
|
||
}
|
||
});
|
||
|
||
box.style.opacity = '1';
|
||
}, 150);
|
||
}
|
||
|
||
function nextSingleGame() {
|
||
currentSingleGame = (currentSingleGame + 1) % singleGames.length;
|
||
renderSingleGame(currentSingleGame);
|
||
}
|
||
|
||
function prevSingleGame() {
|
||
currentSingleGame = (currentSingleGame - 1 + singleGames.length) % singleGames.length;
|
||
renderSingleGame(currentSingleGame);
|
||
}
|
||
|
||
// ۶. دیتای بازیهای پیشنهادی در اسلایدر دستهبندی (Category Slider)
|
||
const catGames = [
|
||
{
|
||
title: "دخمه جنزده آرارات",
|
||
genre: "اتاق فرار • دلهرهآور",
|
||
badge: "🔥 پرمخاطبترین",
|
||
rating: "⭐ ۹.۸ / ۱۰",
|
||
image: "https://images.unsplash.com/photo-1518709268805-4e9042af9f23?w=600&auto=format&fit=crop&q=80",
|
||
loc: "میرداماد",
|
||
cap: "۴-۸ نفر",
|
||
dur: "۸۰ دقیقه",
|
||
diff: "سخت",
|
||
price: "۲۸۰,۰۰۰ تومان"
|
||
},
|
||
{
|
||
title: "سرقت از موزه لوور",
|
||
genre: "اتاق فرار • معمایی و هیجانی",
|
||
badge: "💎 بدون چاشنی وحشت",
|
||
rating: "⭐ ۹.۵ / ۱۰",
|
||
image: "https://images.unsplash.com/photo-1509198397868-475647b2a1e5?w=600&auto=format&fit=crop&q=80",
|
||
loc: "سعادتآباد",
|
||
cap: "۴-۶ نفر",
|
||
dur: "۷۵ دقیقه",
|
||
diff: "متوسط",
|
||
price: "۲۵۰,۰۰۰ تومان"
|
||
},
|
||
{
|
||
title: "طلسم معبد مایا",
|
||
genre: "اتاق فرار • باستانشناسی",
|
||
badge: "⚡ دکور تمام متحرک",
|
||
rating: "⭐ ۹.۷ / ۱۰",
|
||
image: "https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?w=600&auto=format&fit=crop&q=80",
|
||
loc: "پاسداران",
|
||
cap: "۴-۷ نفر",
|
||
dur: "۹۰ دقیقه",
|
||
diff: "سخت",
|
||
price: "۳۰۰,۰۰۰ تومان"
|
||
}
|
||
];
|
||
|
||
let currentCatGame = 0;
|
||
|
||
function renderCatGame(idx) {
|
||
const g = catGames[idx];
|
||
const box = document.getElementById('catGameCardContainer');
|
||
box.style.opacity = '0';
|
||
|
||
setTimeout(() => {
|
||
document.getElementById('catGameImage').src = g.image;
|
||
document.getElementById('catGameBadge').textContent = g.badge;
|
||
document.getElementById('catGameRating').textContent = g.rating;
|
||
document.getElementById('catGameGenre').textContent = g.genre;
|
||
document.getElementById('catGameTitle').textContent = g.title;
|
||
document.getElementById('catGameLocation').textContent = g.loc;
|
||
document.getElementById('catGameCapacity').textContent = g.cap;
|
||
document.getElementById('catGameDuration').textContent = g.dur;
|
||
document.getElementById('catGameDifficulty').textContent = g.diff;
|
||
document.getElementById('catGamePrice').textContent = g.price;
|
||
|
||
const dots = document.querySelectorAll('.cat-dot-ind');
|
||
dots.forEach((d, i) => {
|
||
if (i === idx) {
|
||
d.className = "cat-dot-ind w-6 h-1.5 rounded-full bg-purple-500 transition-all duration-300";
|
||
} else {
|
||
d.className = "cat-dot-ind w-2 h-1.5 rounded-full bg-white/20 transition-all duration-300";
|
||
}
|
||
});
|
||
|
||
box.style.opacity = '1';
|
||
}, 150);
|
||
}
|
||
|
||
function nextCatGame() {
|
||
currentCatGame = (currentCatGame + 1) % catGames.length;
|
||
renderCatGame(currentCatGame);
|
||
}
|
||
|
||
function prevCatGame() {
|
||
currentCatGame = (currentCatGame - 1 + catGames.length) % catGames.length;
|
||
renderCatGame(currentCatGame);
|
||
}
|
||
|
||
function goToCatGame(idx) {
|
||
currentCatGame = idx;
|
||
renderCatGame(currentCatGame);
|
||
}
|
||
|
||
// ۷. لاجیک کوئیز هوشمند دستهبندی
|
||
»، سناریوی دخمه جنزده آرارات با تخفیف ویژه برای اکیپ شما پیشنهاد میشود.`;
|
||
}
|
||
|
||
// ==========================================
|
||
// 5. SUB-CATEGORY & READ TIME FILTERS
|
||
// ==========================================
|
||
function filterSubCat(cat, btn) {
|
||
document.querySelectorAll('.subcat-chip').forEach(b => {
|
||
b.className = "subcat-chip shrink-0 px-3.5 py-1.5 rounded-xl bg-slate-800 text-slate-300 hover:text-white text-xs font-medium";
|
||
});
|
||
btn.className = "subcat-chip shrink-0 px-3.5 py-1.5 rounded-xl bg-purple-600 text-white text-xs font-bold shadow-md";
|
||
showToast(`فیلتر روی «${btn.innerText.trim()}» اعمال گردید.`, 'info');
|
||
}
|
||
|
||
function setReadTimeFilter(mode, btn) {
|
||
document.querySelectorAll('.readtime-btn').forEach(b => {
|
||
b.className = "readtime-btn px-2.5 py-1 rounded-lg text-slate-300 hover:text-white";
|
||
});
|
||
btn.className = "readtime-btn px-2.5 py-1 rounded-lg bg-purple-600 text-white font-bold";
|
||
showToast(`فیلتر زمان مطالعه روی «${btn.innerText.trim()}» تنظیم شد.`, 'info');
|
||
}
|
||
|
||
// ==========================================
|
||
// 6. MISC & TOAST HANDLERS
|
||
// ==========================================
|
||
function handleNewsletterSubmit(e) {
|
||
e.preventDefault();
|
||
const input = document.getElementById('mobile-number-input');
|
||
const val = input ? input.value.trim() : '';
|
||
if (!/^09[0-9]{9}$/.test(val)) {
|
||
showToast("لطفاً یک شماره موبایل معتبر ۱۱ رقمی (با پیششماره ۰۹) وارد کنید.", "warning");
|
||
return;
|
||
}
|
||
showToast(`شماره ${val} در پیامکنامه اکیپا با موفقیت ثبت شد!`, "success");
|
||
if (input) input.value = '';
|
||
}
|
||
|
||
function filterLandingGrid(categoryKey, btnEl) {
|
||
document.querySelectorAll('.chip-btn').forEach(b => {
|
||
b.className = 'chip-btn shrink-0 px-3.5 py-1.5 sm:px-4 sm:py-2 rounded-xl text-xs font-bold transition bg-slate-800 text-slate-300 hover:text-white hover:bg-slate-700';
|
||
});
|
||
if (btnEl) {
|
||
btnEl.className = 'chip-btn shrink-0 px-3.5 py-1.5 sm:px-4 sm:py-2 rounded-xl text-xs font-bold transition bg-purple-600 text-white shadow-glow-purple';
|
||
}
|
||
const cards = document.querySelectorAll('.article-grid-card');
|
||
let visibleCount = 0;
|
||
cards.forEach(c => {
|
||
const cat = c.getAttribute('data-cat');
|
||
if (categoryKey === 'all' || cat === categoryKey) {
|
||
c.style.display = 'flex';
|
||
visibleCount++;
|
||
} else {
|
||
c.style.display = 'none';
|
||
}
|
||
});
|
||
const titleEl = document.getElementById('grid-category-title');
|
||
if (titleEl) titleEl.innerText = `نمایش ${visibleCount} مقاله منتخب در این موضوع`;
|
||
}
|
||
|
||
function scrollPeekCarousel(direction) {
|
||
const container = document.getElementById('peek-carousel');
|
||
if (!container) return;
|
||
const scrollAmount = window.innerWidth < 640 ? 260 : 300;
|
||
container.scrollBy({ left: direction === 'left' ? -scrollAmount : scrollAmount, behavior: 'smooth' });
|
||
}
|
||
|
||
function toggleMobileMenu() {
|
||
const menu = document.getElementById('mobile-nav');
|
||
if (menu) menu.classList.toggle('hidden');
|
||
}
|
||
|
||
function openSearchModal() {
|
||
const modal = document.getElementById('search-modal');
|
||
if (modal) {
|
||
modal.classList.remove('hidden');
|
||
document.getElementById('search-input')?.focus();
|
||
}
|
||
}
|
||
|
||
function closeSearchModal() {
|
||
document.getElementById('search-modal')?.classList.add('hidden');
|
||
}
|
||
|
||
function fillSearch(val) {
|
||
const input = document.getElementById('search-input');
|
||
if (input) input.value = val;
|
||
showToast(`جستجو برای «${val}» انجام شد.`, 'info');
|
||
setTimeout(closeSearchModal, 500);
|
||
}
|
||
|
||
function reactPost(type, btn) {
|
||
const countEl = btn.querySelector('.react-count');
|
||
if (countEl) {
|
||
let current = parseInt(countEl.innerText, 10) || 0;
|
||
countEl.innerText = current + 1;
|
||
btn.classList.add('scale-110');
|
||
setTimeout(() => btn.classList.remove('scale-110'), 200);
|
||
showToast("بازخورد شما ثبت شد!", "success");
|
||
}
|
||
}
|
||
|
||
function copyArticleLink() {
|
||
const dummy = document.createElement('input');
|
||
document.body.appendChild(dummy);
|
||
dummy.value = window.location.href;
|
||
dummy.select();
|
||
try {
|
||
document.execCommand('copy');
|
||
showToast("لینک مقاله در حافظه کپی شد!", "info");
|
||
} catch (err) {
|
||
showToast("کپی خودکار انجام نشد.", "warning");
|
||
}
|
||
document.body.removeChild(dummy);
|
||
}
|
||
|
||
function handleCommentSubmit(e) {
|
||
e.preventDefault();
|
||
const author = document.getElementById('comment-author').value.trim();
|
||
const text = document.getElementById('comment-text').value.trim();
|
||
if (!author || !text) return;
|
||
const list = document.getElementById('comment-list');
|
||
const newComment = document.createElement('div');
|
||
newComment.className = "p-3.5 sm:p-4 rounded-xl sm:rounded-2xl bg-purple-950/30 border border-purple-500/30 space-y-1.5";
|
||
newComment.innerHTML = `
|
||
<div class="flex items-center justify-between text-xs">
|
||
<span class="font-bold text-white flex items-center gap-2">
|
||
<span class="w-6 h-6 rounded-lg bg-purple-600 flex items-center justify-center text-white text-xs">${author.charAt(0)}</span>
|
||
${author} (دیدگاه شما)
|
||
</span>
|
||
<span class="text-purple-300 text-[10px]">هماکنون</span>
|
||
</div>
|
||
<p class="text-[11px] sm:text-xs text-slate-200 leading-relaxed">${text}</p>
|
||
`;
|
||
list.prepend(newComment);
|
||
document.getElementById('comment-author').value = '';
|
||
document.getElementById('comment-email').value = '';
|
||
document.getElementById('comment-text').value = '';
|
||
showToast("دیدگاه شما با موفقیت ثبت شد.", "success");
|
||
}
|
||
|
||
function loadMoreArticles() {
|
||
const btn = document.getElementById('btn-load-more');
|
||
if (btn) {
|
||
btn.innerHTML = '<i class="fa-solid fa-spinner animate-spin"></i> در حال فراخوانی...';
|
||
setTimeout(() => {
|
||
btn.innerHTML = '<i class="fa-solid fa-check text-emerald-400"></i> تمام مقالات این بخش نمایش داده شدند';
|
||
showToast("تمامی مقالات در صفحه لود شدند.", "info");
|
||
}, 700);
|
||
}
|
||
}
|
||
|
||
window.addEventListener('scroll', () => {
|
||
const progressBar = document.getElementById('reading-progress-bar');
|
||
if (progressBar && !progressBar.classList.contains('hidden')) {
|
||
const totalHeight = document.documentElement.scrollHeight - window.innerHeight;
|
||
if (totalHeight > 0) {
|
||
const progress = window.scrollY / totalHeight;
|
||
progressBar.style.transform = `scaleX(${progress})`;
|
||
}
|
||
}
|
||
});
|
||
|
||
function showToast(message, type = 'info') {
|
||
const container = document.getElementById('toast-container');
|
||
if (!container) return;
|
||
const toast = document.createElement('div');
|
||
let bg = 'bg-slate-900/95 border-purple-500/50 text-white';
|
||
let icon = 'fa-info-circle text-purple-400';
|
||
if (type === 'success') {
|
||
bg = 'bg-slate-900/95 border-emerald-500/60 text-white';
|
||
icon = 'fa-circle-check text-emerald-400';
|
||
} else if (type === 'warning') {
|
||
bg = 'bg-slate-900/95 border-amber-500/60 text-white';
|
||
icon = 'fa-triangle-exclamation text-amber-400';
|
||
}
|
||
toast.className = `pointer-events-auto flex items-center gap-2.5 px-4 py-2.5 sm:px-5 sm:py-3 rounded-xl sm:rounded-2xl border shadow-2xl backdrop-blur-md text-xs sm:text-sm font-semibold transition-all duration-300 transform -translate-y-2 opacity-0 ${bg}`;
|
||
toast.innerHTML = `<i class="fa-solid ${icon} text-sm sm:text-base"></i><span>${message}</span>`;
|
||
container.appendChild(toast);
|
||
requestAnimationFrame(() => toast.classList.remove('-translate-y-2', 'opacity-0'));
|
||
setTimeout(() => {
|
||
toast.classList.add('-translate-y-2', 'opacity-0');
|
||
setTimeout(() => toast.remove(), 350);
|
||
}, 3500);
|
||
}
|
||
</script>
|
||
|
||
<script>
|
||
|
||
// موتور جامع هوشمند پیشنهاد بازی اکیپا
|
||
const quizData = {
|
||
escape: {
|
||
horror: {
|
||
title: "دخمه جنزده آرارات",
|
||
catName: "اتاق فرار • دلهرهآور و تئاتر تعاملی",
|
||
badge: "🔥 پرمخاطبترین اتاق فرار پایتخت",
|
||
rating: "⭐ ۹.۸ / ۱۰ (از ۱,۴۲۰ نظر)",
|
||
matchPercent: "۹۸٪",
|
||
image: "https://images.unsplash.com/photo-1509248961158-e54f6934749c?w=600&auto=format&fit=crop&q=80",
|
||
loc: "میرداماد، تهران",
|
||
dur: "۸۰ دقیقه",
|
||
diff: "سخت (۹/۱۰)",
|
||
desc: "سناریوی تعاملی و ماوراءالطبیعه با دکور چندسطحی و بازیگرهای حرفهای. طراحی معماها کاملاً ارگانیک بوده و ضربان قلب شما را تا آخرین دقیقه روی بالاترین حد نگه میدارد.",
|
||
price: "۲۸۰,۰۰۰ تومان",
|
||
discountCode: "EKIPA-HORROR",
|
||
bookingUrl: "https://ekeepa.co",
|
||
articleUrl: "single.html"
|
||
},
|
||
detective: {
|
||
title: "سرقت از موزه لوور: پرونده سیاه",
|
||
catName: "اتاق فرار • کارآگاهی و معماهای مکانیکی",
|
||
badge: "🏆 رتبه یک سناریوی معمایی سال",
|
||
rating: "⭐ ۹.۶ / ۱۰ (از ۹۸۰ نظر)",
|
||
matchPercent: "۹۶٪",
|
||
image: "https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?w=600&auto=format&fit=crop&q=80",
|
||
loc: "سعادتآباد، تهران",
|
||
dur: "۷۵ دقیقه",
|
||
diff: "متعادل (۸/۱۰)",
|
||
desc: "حل پرونده سرقت مرموز آثار باستانی با بیش از ۱۲ معمای مکانیکی نسل پنجم و تکنولوژی سنسورهای لیزری بدون دخالت سنتی اکتور.",
|
||
price: "۲۶۰,۰۰۰ تومان",
|
||
discountCode: "EKIPA-LOVRE",
|
||
bookingUrl: "https://ekeepa.co",
|
||
articleUrl: "single.html"
|
||
},
|
||
adventure: {
|
||
title: "معبد باستانی اینکاها",
|
||
catName: "اتاق فرار • ماجراجویی سینمایی و فانتزی",
|
||
badge: "✨ دکور عظیم و بدون ژانر وحشت",
|
||
rating: "⭐ ۹.۷ / ۱۰ (از ۸۴۰ نظر)",
|
||
matchPercent: "۹۵٪",
|
||
image: "https://images.unsplash.com/photo-1518709268805-4e9042af9f23?w=600&auto=format&fit=crop&q=80",
|
||
loc: "شهرک غرب، تهران",
|
||
dur: "۹۰ دقیقه",
|
||
diff: "متعادل (۷/۱۰)",
|
||
desc: "یک سفر هیجانانگیز به دل تمدن اینکاها با غارهای سنگی، تلههای متحرک و جلوههای صوتی سهبعدی؛ انتخابی فوقالعاده برای اکیپهای خانوادگی و دوستانه.",
|
||
price: "۲۵۰,۰۰۰ تومان",
|
||
discountCode: "EKIPA-INCA",
|
||
bookingUrl: "https://ekeepa.co",
|
||
articleUrl: "single.html"
|
||
}
|
||
},
|
||
boardgame: {
|
||
strategy: {
|
||
title: "شب استراتژی: سایث (Scythe) & کاتان",
|
||
catName: "بردگیم • استراتژیک، مدیریت منابع و جنگ تاکتیکی",
|
||
badge: "🧠 مخصوص گیمرهای حرفهای",
|
||
rating: "⭐ ۹.۵ / ۱۰ (از ۷۱۰ نظر)",
|
||
matchPercent: "۹۷٪",
|
||
image: "https://images.unsplash.com/photo-1610890716171-6b1bb98ffd09?w=600&auto=format&fit=crop&q=80",
|
||
loc: "کافهبردگیمهای منتخب اکیپا",
|
||
dur: "۱۲۰ دقیقه",
|
||
diff: "پیشرفته",
|
||
desc: "تجربه رقابت بر سر منابع صنعتی و کنترل نقشه با قوانین عمیق. در پلتفرم اکیپا میزهای آموزشدادهشده همراه با گیممستر اختصاصی رزرو کنید.",
|
||
price: "۹۵,۰۰۰ تومان / نفر",
|
||
discountCode: "EKIPA-BOARD",
|
||
bookingUrl: "https://ekeepa.co",
|
||
articleUrl: "single.html"
|
||
},
|
||
party: {
|
||
title: "دورهمی پارتیگیم: کودتا (Coup) & نام رمز",
|
||
catName: "بردگیم • سرعتی، خندهدار و پرانرژی",
|
||
badge: "🥳 بمب خنده و انرژی اکیپی",
|
||
rating: "⭐ ۹.۴ / ۱۰ (از ۱,۱۵۰ نظر)",
|
||
matchPercent: "۹۹٪",
|
||
image: "https://images.unsplash.com/photo-1606167668584-78701c57f13d?w=600&auto=format&fit=crop&q=80",
|
||
loc: "کافهبازیهای مرکز و غرب تهران",
|
||
dur: "۴۵ دقیقه",
|
||
diff: "ساده و سرعتی",
|
||
desc: "بازیهای بدون توقف با یادگیری ۳ دقیقهای که یخ هر دورهمی را فوراً آب میکند. مناسب برای همه سنین و جمعهای شاد.",
|
||
price: "۸۰,۰۰۰ تومان / نفر",
|
||
discountCode: "EKIPA-PARTY",
|
||
bookingUrl: "https://ekeepa.co",
|
||
articleUrl: "single.html"
|
||
},
|
||
bluff: {
|
||
title: "کلاب بلوفزنی: زیرخاکی & اسکل هیل",
|
||
catName: "بردگیم • روانشناسی، بلوف و ریسکپذیری",
|
||
badge: "🃏 چالش ذهنخوانی و شانس",
|
||
rating: "⭐ ۹.۳ / ۱۰ (از ۵۳۰ نظر)",
|
||
matchPercent: "۹۴٪",
|
||
image: "https://images.unsplash.com/photo-1511193311914-0346f16efe90?w=600&auto=format&fit=crop&q=80",
|
||
loc: "ایونتهای هفتگی اکیپا",
|
||
dur: "۶۰ دقیقه",
|
||
diff: "متوسط",
|
||
desc: "هنر کنترل چهره (Poker Face) و گول زدن حریفان در بازیهای کارتی جذاب. همراه با پذیرایی ویژه برای رزروهای تیمی.",
|
||
price: "۸۵,۰۰۰ تومان / نفر",
|
||
discountCode: "EKIPA-BLUFF",
|
||
bookingUrl: "https://ekeepa.co",
|
||
articleUrl: "single.html"
|
||
}
|
||
},
|
||
mafia: {
|
||
godfather: {
|
||
title: "ایونت رسمی مافیا: سناریوی پدرخوانده & لئون",
|
||
catName: "مافیا • استدلال تحلیلی، گاد بینالمللی و ضبط تصویر",
|
||
badge: "🎩 حرفهایترین لیگ مافیای پایتخت",
|
||
rating: "⭐ ۹.۹ / ۱۰ (از ۲,۱۰۰ نظر)",
|
||
matchPercent: "۹۹٪",
|
||
image: "https://images.unsplash.com/photo-1511193311914-0346f16efe90?w=600&auto=format&fit=crop&q=80",
|
||
loc: "باشگاههای VIP مافیا، نیاوران و ونک",
|
||
dur: "۱۱۰ دقیقه",
|
||
diff: "حرفهای",
|
||
desc: "اجرای سناریوهای رسمی با داوری حرفهای، کارتهای حس ششم و نوستالژی. شبی پر از استدلال، تارگت و فکتهای منطقی.",
|
||
price: "۱۲۰,۰۰۰ تومان / نفر",
|
||
discountCode: "EKIPA-MAFIA",
|
||
bookingUrl: "https://ekeepa.co",
|
||
articleUrl: "single.html"
|
||
},
|
||
zodiac: {
|
||
title: "مافیای شبهای زودیاک و بازپرس",
|
||
catName: "مافیا • نقشهای هیجانی، گردانندگی پویا",
|
||
badge: "⚡ پر از پیچش داستانی و تعلیق",
|
||
rating: "⭐ ۹.۷ / ۱۰ (از ۹۸۰ نظر)",
|
||
matchPercent: "۹۶٪",
|
||
image: "https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?w=600&auto=format&fit=crop&q=80",
|
||
loc: "انقلاب و یوسفآباد",
|
||
dur: "۹۰ دقیقه",
|
||
diff: "متوسط",
|
||
desc: "سناریویی با حضور زودیاک مستقل و نقشهای مدرن که بازی را تا ثانیه آخر غیرقابل پیشبینی نگه میدارد.",
|
||
price: "۱۰۰,۰۰۰ تومان / نفر",
|
||
discountCode: "EKIPA-ZODIAC",
|
||
bookingUrl: "https://ekeepa.co",
|
||
articleUrl: "single.html"
|
||
},
|
||
secrethitler: {
|
||
title: "شبهای سکرت هیتلر & آوالون (Avalon)",
|
||
catName: "نقشمخفی • مکالمه آزاد و بدون حذف بازیکن",
|
||
badge: "🛡️ مناسب اکیپهای پرجمعیت",
|
||
rating: "⭐ ۹.۸ / ۱۰ (از ۸۹۰ نظر)",
|
||
matchPercent: "۹۷٪",
|
||
image: "https://images.unsplash.com/photo-1610890716171-6b1bb98ffd09?w=600&auto=format&fit=crop&q=80",
|
||
loc: "فضاهای رویداد اکیپا",
|
||
dur: "۷۵ دقیقه",
|
||
diff: "متوسط",
|
||
desc: "هیچکس در این بازیها حذف و بیکار نمیشود! همه تا پایان بازی مشغول گفتوگو، سیاستورزی و رایگیری هستند.",
|
||
price: "۹۰,۰۰۰ تومان / نفر",
|
||
discountCode: "EKIPA-AVALON",
|
||
bookingUrl: "https://ekeepa.co",
|
||
articleUrl: "single.html"
|
||
}
|
||
},
|
||
vr: {
|
||
zombie: {
|
||
title: "جوخه نبرد واقعیت مجازی: زامبی آپوکالیپس",
|
||
catName: "واقعیت مجازی • شوتینگ تیمی بیسیم (Free-Roam VR)",
|
||
badge: "🥽 اوج ترشح آدرنالین بدون سیم",
|
||
rating: "⭐ ۹.۶ / ۱۰ (از ۶۲۰ نظر)",
|
||
matchPercent: "۹۸٪",
|
||
image: "https://images.unsplash.com/photo-1593508512255-86ab42a8e620?w=600&auto=format&fit=crop&q=80",
|
||
loc: "مگامال و پالادیوم",
|
||
dur: "۵۰ دقیقه",
|
||
diff: "مهیج و فیزیکی",
|
||
desc: "قدم زدن آزادانه در یک زمین ۲۰۰ متری با عینکهای نسل جدید بدون سیم؛ همراه اکیپ خود در مقابل هجوم موجودات بقا بجنگید.",
|
||
price: "۲۱۰,۰۰۰ تومان / نفر",
|
||
discountCode: "EKIPA-VR",
|
||
bookingUrl: "https://ekeepa.co",
|
||
articleUrl: "single.html"
|
||
},
|
||
vrescape: {
|
||
title: "اتاق فرار واقعیت مجازی: ایستگاه فضایی سرگردان",
|
||
catName: "VR Escape Room • حل معما در گرانش صفر",
|
||
badge: "🚀 تجربه غیرممکن در دنیای فیزیکی",
|
||
rating: "⭐ ۹.۵ / ۱۰ (از ۵۱۰ نظر)",
|
||
matchPercent: "۹۵٪",
|
||
image: "https://images.unsplash.com/photo-1518709268805-4e9042af9f23?w=600&auto=format&fit=crop&q=80",
|
||
loc: "ایرانمال",
|
||
dur: "۶۰ دقیقه",
|
||
diff: "سخت و علمی",
|
||
desc: "ترکیب معماهای پیچیده اسکیپروم با قوانین شبیهسازی گرانش صفر و معلق بودن در مدار زمین.",
|
||
price: "۲۲۰,۰۰۰ تومان / نفر",
|
||
discountCode: "EKIPA-SPACE",
|
||
bookingUrl: "https://ekeepa.co",
|
||
articleUrl: "single.html"
|
||
},
|
||
motion: {
|
||
title: "شبیهسازهای فرمول یک و مسابقات تیمی",
|
||
catName: "سیمولاتور حرکتی • رقابت سرعت و دریفت",
|
||
badge: "🏎️ شتاب ۳ جی و جکهای هیدرولیک",
|
||
rating: "⭐ ۹.۳ / ۱۰ (از ۴۴۰ نظر)",
|
||
matchPercent: "۹۳٪",
|
||
image: "https://images.unsplash.com/photo-1509248961158-e54f6934749c?w=600&auto=format&fit=crop&q=80",
|
||
loc: "مرکز خرید کوروش",
|
||
dur: "۴۰ دقیقه",
|
||
diff: "سرعتی",
|
||
desc: "مسابقه همزمان اعضای اکیپ در پیستهای شبیهسازی شده موونا با احساس واقعی ناهمواریهای جاده.",
|
||
price: "۱۹۰,۰۰۰ تومان / نفر",
|
||
discountCode: "EKIPA-RACE",
|
||
bookingUrl: "https://ekeepa.co",
|
||
articleUrl: "single.html"
|
||
}
|
||
}
|
||
};
|
||
|
||
|
||
let quizState = {
|
||
step: 1,
|
||
category: null,
|
||
teamSize: null,
|
||
vibe: null
|
||
};
|
||
|
||
function openQuizModal() {
|
||
const modal = document.getElementById('quiz-modal');
|
||
if (!modal) return;
|
||
modal.classList.remove('hidden');
|
||
resetQuizState();
|
||
}
|
||
|
||
function closeQuizModal() {
|
||
const modal = document.getElementById('quiz-modal');
|
||
if (modal) modal.classList.add('hidden');
|
||
}
|
||
|
||
function resetQuizState() {
|
||
quizState = { step: 1, category: null, teamSize: null, vibe: null };
|
||
renderQuizStep1();
|
||
}
|
||
|
||
function renderQuizStep1() {
|
||
quizState.step = 1;
|
||
const badge = document.getElementById('quiz-step-badge');
|
||
const bar = document.getElementById('quiz-progress-bar');
|
||
const title = document.getElementById('quiz-question-title');
|
||
const sub = document.getElementById('quiz-question-subtitle');
|
||
if (badge) badge.textContent = "گام ۱ از ۳: دستهبندی";
|
||
if (bar) bar.style.width = "33%";
|
||
if (title) title.textContent = "گام اول: چه مدل سرگرمی و تجربهای مد نظرتونه؟";
|
||
if (sub) sub.textContent = "ابتدا دستهبندی اصلی سرگرمی مورد علاقه اکیپ را مشخص کنید:";
|
||
|
||
const qHeader = document.getElementById('quiz-question-header');
|
||
const optCont = document.getElementById('quiz-options-container');
|
||
const resCont = document.getElementById('quiz-result-container');
|
||
if (qHeader) qHeader.classList.remove('hidden');
|
||
if (optCont) optCont.classList.remove('hidden');
|
||
if (resCont) resCont.classList.add('hidden');
|
||
|
||
const categories = [
|
||
{ key: 'escape', icon: 'fa-door-open', title: 'اتاق فرار و اسکیپروم', desc: 'دکور فیزیکی، حل معماهای مهیج، دلهره یا ماجراجویی تیمی' },
|
||
{ key: 'boardgame', icon: 'fa-dice-d20', title: 'بازیهای رومیزی و بردگیم', desc: 'کافهبازی، استراتژی، بازیهای خندهدار و دورهمی صمیمی' },
|
||
{ key: 'mafia', icon: 'fa-user-secret', title: 'مافیا و بازیهای نقشمخفی', desc: 'استدلال کلامی، بلوفزنی، کشف هویت و ایونتهای داوریشده' },
|
||
{ key: 'vr', icon: 'fa-vr-cardboard', title: 'واقعیت مجازی و شبیهساز حرکتی', desc: 'عینکهای VR بیسیم، شوتینگ تیمی، لیزرتگ و شتاب حرکتی' }
|
||
];
|
||
|
||
let html = '';
|
||
categories.forEach(opt => {
|
||
html += `
|
||
<button onclick="selectQuizCategory('${opt.key}')" class="w-full text-right p-3.5 rounded-2xl bg-slate-800/80 hover:bg-purple-600/20 border border-white/5 hover:border-purple-500/40 text-white transition-all group flex items-center justify-between">
|
||
<div class="flex items-center gap-3">
|
||
<div class="w-10 h-10 rounded-xl bg-purple-500/10 text-purple-400 group-hover:bg-purple-500 group-hover:text-white flex items-center justify-center text-base transition-all">
|
||
<i class="fa-solid ${opt.icon}"></i>
|
||
</div>
|
||
<div>
|
||
<div class="text-xs sm:text-sm font-bold text-white group-hover:text-purple-300 transition">${opt.title}</div>
|
||
<div class="text-[11px] text-slate-400 mt-0.5 line-clamp-1">${opt.desc}</div>
|
||
</div>
|
||
</div>
|
||
<i class="fa-solid fa-angle-left text-slate-500 group-hover:text-purple-400 group-hover:-translate-x-1 transition-all text-xs"></i>
|
||
</button>
|
||
`;
|
||
});
|
||
if (optCont) optCont.innerHTML = html;
|
||
}
|
||
|
||
function selectQuizCategory(catKey) {
|
||
quizState.category = catKey;
|
||
renderQuizStep2();
|
||
}
|
||
|
||
function renderQuizStep2() {
|
||
quizState.step = 2;
|
||
const badge = document.getElementById('quiz-step-badge');
|
||
const bar = document.getElementById('quiz-progress-bar');
|
||
const title = document.getElementById('quiz-question-title');
|
||
const sub = document.getElementById('quiz-question-subtitle');
|
||
if (badge) badge.textContent = "گام ۲ از ۳: جمعیت تیم";
|
||
if (bar) bar.style.width = "66%";
|
||
if (title) title.textContent = "تعداد نفرات اکیپ شما معمولاً چند نفره است؟";
|
||
if (sub) sub.textContent = "ظرفیت برای تنظیم بهینه فضای بازی و درجه سختی معماها مهم است:";
|
||
|
||
const sizes = [
|
||
{ key: 'small', label: '۲ الی ۴ نفر', desc: 'اکیپ کوچک و متمرکز، دوستان صمیمی یا زوج' },
|
||
{ key: 'medium', label: '۵ الی ۷ نفر', desc: 'ترکیب استاندارد و طلایی برای بیشترین تنوع بازیها' },
|
||
{ key: 'large', label: '۸ نفر به بالا', desc: 'دورهمیهای بزرگ، ایونتهای دوستانه، جشن و تولد' }
|
||
];
|
||
|
||
let html = '';
|
||
sizes.forEach(s => {
|
||
html += `
|
||
<button onclick="selectQuizTeamSize('${s.key}')" class="w-full text-right p-3.5 rounded-2xl bg-slate-800/80 hover:bg-purple-600/20 border border-white/5 hover:border-purple-500/40 text-white transition-all group flex items-center justify-between">
|
||
<div class="flex items-center gap-3">
|
||
<div class="w-10 h-10 rounded-xl bg-purple-500/10 text-purple-400 group-hover:bg-purple-500 group-hover:text-white flex items-center justify-center text-sm transition-all">
|
||
<i class="fa-solid fa-users"></i>
|
||
</div>
|
||
<div>
|
||
<div class="text-xs sm:text-sm font-bold text-white group-hover:text-purple-300 transition">${s.label}</div>
|
||
<div class="text-[11px] text-slate-400 mt-0.5">${s.desc}</div>
|
||
</div>
|
||
</div>
|
||
<i class="fa-solid fa-angle-left text-slate-500 group-hover:text-purple-400 group-hover:-translate-x-1 transition-all text-xs"></i>
|
||
</button>
|
||
`;
|
||
});
|
||
|
||
html += `
|
||
<button onclick="renderQuizStep1()" class="text-xs text-slate-400 hover:text-white pt-2 flex items-center gap-1.5 transition">
|
||
<i class="fa-solid fa-arrow-right"></i> بازگشت به انتخاب دستهبندی
|
||
</button>
|
||
`;
|
||
const optCont = document.getElementById('quiz-options-container');
|
||
if (optCont) optCont.innerHTML = html;
|
||
}
|
||
|
||
function selectQuizTeamSize(sizeKey) {
|
||
quizState.teamSize = sizeKey;
|
||
renderQuizStep3();
|
||
}
|
||
|
||
function renderQuizStep3() {
|
||
quizState.step = 3;
|
||
const badge = document.getElementById('quiz-step-badge');
|
||
const bar = document.getElementById('quiz-progress-bar');
|
||
const title = document.getElementById('quiz-question-title');
|
||
const sub = document.getElementById('quiz-question-subtitle');
|
||
if (badge) badge.textContent = "گام ۳ از ۳: حس و حال";
|
||
if (bar) bar.style.width = "90%";
|
||
if (title) title.textContent = "بیشتر دنبال چه حس، اتمسفر یا سبکی هستید؟";
|
||
if (sub) sub.textContent = "بر اساس دستهبندی انتخابی شما، سبک تجربه را مشخص کنید:";
|
||
|
||
let options = [];
|
||
if (quizState.category === 'escape') {
|
||
options = [
|
||
{ key: 'horror', icon: 'fa-skull', title: 'ترسناک، دلهرهآور و تئاتر تعاملی', desc: 'آدرنالین خالص، اکتور زنده، تم ماورایی و شوکهای غیرمنتظره' },
|
||
{ key: 'detective', icon: 'fa-magnifying-glass', title: 'کارآگاهی، معمایی و حل پرونده', desc: 'معماهای مکانیکی نسل جدید، رازهای جنایی و تفکر عمیق' },
|
||
{ key: 'adventure', icon: 'fa-compass', title: 'ماجراجویی، فانتزی و سینمایی', desc: 'دکورهای عظیم باستانی، سفر در زمان و بدون ترس' }
|
||
];
|
||
} else if (quizState.category === 'boardgame') {
|
||
options = [
|
||
{ key: 'strategy', icon: 'fa-chess-knight', title: 'استراتژیک، فکری و مدیریت منابع', desc: 'رقابت نفسگیر تاکتیکی برای گیمرهای علاقهمند به فکر عمیق' },
|
||
{ key: 'party', icon: 'fa-face-laugh-squint', title: 'پارتیگیم، خندهدار و سرعتی', desc: 'یادگیری ۳ دقیقهای، انرژی بالا و خنده فراوان برای دورهمی' },
|
||
{ key: 'bluff', icon: 'fa-masks-theater', title: 'روانشناسی، بلوفزنی و کارتی', desc: 'مهارت ذهنخوانی رقیب و ریسکپذیری کارتی' }
|
||
];
|
||
} else if (quizState.category === 'mafia') {
|
||
options = [
|
||
{ key: 'godfather', icon: 'fa-hat-cowboy', title: 'سناریوی رسمی پدرخوانده و لئون', desc: 'با گاد حرفهای، تصویربرداری و بالاترین استانداردهای مافیا' },
|
||
{ key: 'zodiac', icon: 'fa-bolt', title: 'سناریوهای مهیج مثل زودیاک و بازپرس', desc: 'پر از نقشهای مدرن، ریتم تند و پایان غیرقابل پیشبینی' },
|
||
{ key: 'secrethitler', icon: 'fa-comments', title: 'سکرت هیتلر و اولون (بدون حذف بازیکن)', desc: 'مکالمه آزاد تا پایان بازی و مشارکت صددرصدی همه اعضا' }
|
||
];
|
||
} else {
|
||
options = [
|
||
{ key: 'zombie', icon: 'fa-biohazard', title: 'شوتینگ تیمی و بقا در زامبی', desc: 'تحرک آزاد در زمین ۲۰۰ متری بدون سیم و هیجان شلیک' },
|
||
{ key: 'vrescape', icon: 'fa-rocket', title: 'اتاق فرار واقعیت مجازی و فضا', desc: 'حل معماهای پیچیده در گرانش صفر و معلق در فضا' },
|
||
{ key: 'motion', icon: 'fa-car', title: 'مسابقه سرعت و سیمولاتور حرکتی', desc: 'شتاب هیدرولیک و مسابقه رودرروی اعضای اکیپ' }
|
||
];
|
||
}
|
||
|
||
let html = '';
|
||
options.forEach(opt => {
|
||
html += `
|
||
<button onclick="finishSmartQuiz('${opt.key}')" class="w-full text-right p-3.5 rounded-2xl bg-slate-800/80 hover:bg-purple-600/20 border border-white/5 hover:border-purple-500/40 text-white transition-all group flex items-center justify-between">
|
||
<div class="flex items-center gap-3">
|
||
<div class="w-10 h-10 rounded-xl bg-purple-500/10 text-purple-400 group-hover:bg-purple-500 group-hover:text-white flex items-center justify-center text-sm transition-all">
|
||
<i class="fa-solid ${opt.icon}"></i>
|
||
</div>
|
||
<div>
|
||
<div class="text-xs sm:text-sm font-bold text-white group-hover:text-purple-300 transition">${opt.title}</div>
|
||
<div class="text-[11px] text-slate-400 mt-0.5">${opt.desc}</div>
|
||
</div>
|
||
</div>
|
||
<i class="fa-solid fa-angle-left text-slate-500 group-hover:text-purple-400 group-hover:-translate-x-1 transition-all text-xs"></i>
|
||
</button>
|
||
`;
|
||
});
|
||
|
||
html += `
|
||
<button onclick="renderQuizStep2()" class="text-xs text-slate-400 hover:text-white pt-2 flex items-center gap-1.5 transition">
|
||
<i class="fa-solid fa-arrow-right"></i> بازگشت به انتخاب جمعیت
|
||
</button>
|
||
`;
|
||
const optCont = document.getElementById('quiz-options-container');
|
||
if (optCont) optCont.innerHTML = html;
|
||
}
|
||
|
||
function finishSmartQuiz(vibeKey) {
|
||
quizState.vibe = vibeKey;
|
||
quizState.step = 4;
|
||
|
||
const catData = quizData[quizState.category] || quizData.escape;
|
||
const game = catData[vibeKey] || Object.values(catData)[0];
|
||
|
||
const badge = document.getElementById('quiz-step-badge');
|
||
const bar = document.getElementById('quiz-progress-bar');
|
||
if (badge) badge.textContent = "نتیجه هوشمند 🎉";
|
||
if (bar) bar.style.width = "100%";
|
||
|
||
const qHeader = document.getElementById('quiz-question-header');
|
||
const optCont = document.getElementById('quiz-options-container');
|
||
const resCont = document.getElementById('quiz-result-container');
|
||
if (qHeader) qHeader.classList.add('hidden');
|
||
if (optCont) optCont.classList.add('hidden');
|
||
if (!resCont) return;
|
||
resCont.classList.remove('hidden');
|
||
|
||
resCont.innerHTML = `
|
||
<!-- Top Match Alert -->
|
||
<div class="flex items-center justify-between p-3 rounded-2xl bg-gradient-to-r from-emerald-500/20 to-teal-500/10 border border-emerald-500/30">
|
||
<div class="flex items-center gap-2">
|
||
<div class="w-7 h-7 rounded-xl bg-emerald-500 text-slate-950 flex items-center justify-center text-xs font-black">
|
||
<i class="fa-solid fa-check"></i>
|
||
</div>
|
||
<span class="text-xs font-bold text-white">تطابق هوشمند: <span class="text-emerald-400 font-extrabold">${game.matchPercent}</span> با سلیقه اکیپ شما</span>
|
||
</div>
|
||
<span class="text-[10px] text-emerald-300 bg-emerald-500/20 px-2 py-0.5 rounded-md font-mono">الگوریتم اکیپا</span>
|
||
</div>
|
||
|
||
<!-- Recommended Game Card -->
|
||
<div class="bg-slate-800/90 border border-purple-500/30 rounded-2xl overflow-hidden p-3.5 space-y-3">
|
||
<div class="relative h-44 rounded-xl overflow-hidden group">
|
||
<img src="${game.image}" alt="${game.title}" class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-105">
|
||
<div class="absolute inset-0 bg-gradient-to-t from-slate-950 via-slate-950/40 to-transparent"></div>
|
||
<span class="absolute top-2.5 right-2.5 px-2.5 py-1 rounded-lg bg-purple-600/90 text-white text-[10px] font-bold backdrop-blur-md">
|
||
${game.badge}
|
||
</span>
|
||
<span class="absolute top-2.5 left-2.5 px-2 py-1 rounded-lg bg-black/60 text-amber-400 text-[10px] font-bold backdrop-blur-md">
|
||
${game.rating}
|
||
</span>
|
||
<div class="absolute bottom-2.5 right-3 left-3 text-right">
|
||
<div class="text-[11px] text-purple-300 font-bold">${game.catName}</div>
|
||
<h4 class="text-base sm:text-lg font-black text-white mt-0.5">${game.title}</h4>
|
||
</div>
|
||
</div>
|
||
|
||
<p class="text-xs text-slate-300 leading-relaxed text-justify">
|
||
${game.desc}
|
||
</p>
|
||
|
||
<!-- Key Specs Badges -->
|
||
<div class="grid grid-cols-3 gap-2 pt-1 border-t border-white/5 text-[11px] text-slate-300">
|
||
<div class="flex items-center gap-1.5 p-2 rounded-xl bg-slate-900/60">
|
||
<i class="fa-solid fa-location-dot text-purple-400 text-xs"></i>
|
||
<span class="truncate">${game.loc}</span>
|
||
</div>
|
||
<div class="flex items-center gap-1.5 p-2 rounded-xl bg-slate-900/60">
|
||
<i class="fa-solid fa-clock text-cyan-400 text-xs"></i>
|
||
<span class="truncate">${game.dur}</span>
|
||
</div>
|
||
<div class="flex items-center gap-1.5 p-2 rounded-xl bg-slate-900/60">
|
||
<i class="fa-solid fa-gauge-high text-amber-400 text-xs"></i>
|
||
<span class="truncate">${game.diff}</span>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Discount Coupon Box -->
|
||
<div class="flex items-center justify-between p-2.5 rounded-xl bg-purple-950/40 border border-purple-500/40 text-xs">
|
||
<div class="flex items-center gap-2">
|
||
<i class="fa-solid fa-tag text-amber-400"></i>
|
||
<span class="text-slate-300 text-[11px]">کد تخفیف ویژه رزرو:</span>
|
||
<span class="font-mono font-bold text-amber-300 tracking-wider">${game.discountCode}</span>
|
||
</div>
|
||
<button onclick="copyQuizCoupon('${game.discountCode}')" class="px-2.5 py-1 rounded-lg bg-purple-600/40 hover:bg-purple-600 text-[11px] text-white font-bold transition">
|
||
کپی کد
|
||
</button>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Action Buttons -->
|
||
<div class="grid grid-cols-1 sm:grid-cols-2 gap-2.5 pt-1">
|
||
<a href="${game.bookingUrl}" target="_blank" class="w-full py-3 rounded-xl bg-gradient-to-r from-purple-600 to-indigo-600 hover:from-purple-500 hover:to-indigo-500 text-white font-bold text-xs flex items-center justify-center gap-2 shadow-lg shadow-purple-600/30 transition-all">
|
||
<i class="fa-solid fa-calendar-check"></i> رزرو آنلاین سانس در اکیپا
|
||
</a>
|
||
<a href="${game.articleUrl}" class="w-full py-3 rounded-xl bg-slate-800 hover:bg-slate-700 text-slate-200 hover:text-white font-bold text-xs flex items-center justify-center gap-2 border border-white/5 transition-all">
|
||
<i class="fa-solid fa-book-open"></i> نقد و بررسی در وبلاگ
|
||
</a>
|
||
</div>
|
||
|
||
<!-- Retake Button -->
|
||
<div class="text-center pt-1">
|
||
<button onclick="resetQuizState()" class="text-xs text-slate-400 hover:text-purple-300 transition flex items-center justify-center gap-1.5 mx-auto">
|
||
<i class="fa-solid fa-rotate-right"></i> آزمون مجدد / تغییر دستهبندی و معیارها
|
||
</button>
|
||
</div>
|
||
`;
|
||
}
|
||
|
||
function copyQuizCoupon(code) {
|
||
navigator.clipboard.writeText(code);
|
||
if (typeof showToast === 'function') {
|
||
showToast(`کد تخفیف ${code} با موفقیت کپی شد!`, 'success');
|
||
} else {
|
||
alert(`کد تخفیف ${code} با موفقیت کپی شد!`);
|
||
}
|
||
}
|
||
|
||
</script>
|
||
</body>
|
||
</html> |