@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --bg-color: #080808; /* مشکی عمیق‌تر */
    --surface-color: #121212;
    --text-color: #e8e8e8;
    --text-muted: #888888;
    --accent-color: #c5a059; /* برنزی/طلایی ملایم و حماسی */
    --primary-font: 'Playfair Display', serif;
    --secondary-font: 'Montserrat', sans-serif;
    --nav-glass-bg: rgba(8, 8, 8, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--secondary-font);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Hero Section --- */
/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* گرادیانت اصلاح شده: بیضی شکل، مرکز کمی روشن‌تر برای موبایل، و محو شدن تدریجی و کامل در لبه‌ها */
    background: radial-gradient(ellipse farthest-corner at center, #242424 10%, #080808 70%, var(--bg-color) 100%);
    /*background: radial-gradient(ellipse farthest-corner at center, #242424 0%, #111111 50%, var(--bg-color) 100%);*/
    position: relative;
}

.logo-container {
    animation: fadeIn 2.5s ease-in-out;
    margin-top: -40px;
}
@media (max-width: 768px) {
    .scroll-indicator {
        display: none !important;
    }
    .section-title {
        font-size: 1.9rem !important;
    }
    .global-voices-section .section-title {
       font-size: 1.7rem !important; 
    }
    .hero-section {
    height:55vh;}
    .logo-container {
        margin-top: -90px; /* ← در موبایل فقط ۲۰ پیکسل */
    }
} 
.logo-container img {
    width:200px;
}
.backpack-logo {
    color: var(--accent-color);
    margin-bottom: 25px;
    opacity: 0.9;
}

.logo-type {
    font-family: var(--primary-font);
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-family: var(--secondary-font);
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 300;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;display: inherit;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    animation: pulse 2s infinite;
}
.scroll-indicator span { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; }
.scroll-indicator .line { width: 1px; height: 40px; background-color: var(--accent-color); }

/* --- Navigation & Hamburger --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 10000; /* بالاتر از منوی تمام صفحه */
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.5s ease;
}

.main-nav.sticky {
    opacity: 1;
    transform: translateY(0);
    background: var(--nav-glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1); /* خط بسیار محو برنزی */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--primary-font);
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-logo .backpack-logo.small {
    color: var(--accent-color);
    margin-right: 12px;
    margin-bottom: 0;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 10001;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--text-color);
    transition: all 0.4s ease;
}

/* انیمیشن تبدیل همبرگر به ضربدر */
.hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background-color: var(--accent-color); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background-color: var(--accent-color); }

/* --- Fullscreen Overlay Menu --- */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(8, 8, 8, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

.menu-links {
    list-style: none;
    text-align: center;
}

.menu-links li {
    margin: 25px 0;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
}

.fullscreen-menu.active .menu-links li {
    transform: translateY(0);
    opacity: 1;
}

/* تاخیر در ظاهر شدن آیتم‌های منو */
.fullscreen-menu.active .menu-links li:nth-child(1) { transition-delay: 0.1s; }
.fullscreen-menu.active .menu-links li:nth-child(2) { transition-delay: 0.2s; }
.fullscreen-menu.active .menu-links li:nth-child(3) { transition-delay: 0.3s; }
.fullscreen-menu.active .menu-links li:nth-child(4) { transition-delay: 0.4s; }

.menu-links a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--primary-font);
    font-size: 2.5rem;
    transition: color 0.3s ease;
}

.menu-links a:hover {
    color: var(--accent-color);
}

/* --- Section Headers --- */
section { padding: 120px 30px; max-width: 1400px; margin: 0 auto; }

.section-header {
    text-align: center;
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--primary-font);
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-color);
}

.accent-text { color: var(--accent-color); font-size: 1.5rem; font-family: var(--primary-font); }
/* افکت موشک متحرک در پس زمینه */
.souls-section {
    position: relative;
    overflow: hidden; /* برای اینکه موشک از کادر بیرون نزند */
    z-index: 1;
}
/* افکت ۳ موشک جنگی در حال سقوط */
.souls-section {
    position: relative;
    overflow: hidden; /* محدود کردن حرکت موشک‌ها فقط در همین سکشن */
    z-index: 1;
}

.missile-container {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    pointer-events: none; /* تا مزاحم کلیک کاربر روی کارت‌ها نشوند */
    z-index: -1;
}

.missile {
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c5a059' stroke-width='0.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/%3E%3Cpath d='m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'/%3E%3Cpath d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
}

/* موشک اول: سایز بزرگ، از بیرون کادر سمت چپ بالا */
/* موشک اول: سایز بزرگ، از سمت چپ */
.missile.m1 {
    top: -200px; 
    left: 5%;
    width: 180px; 
    height: 180px;
    /* استفاده از ease-in برای ایجاد شتاب جاذبه در سقوط */
    animation: realisticStrike 12s ease-in infinite;
    animation-delay: 0s; /* شلیک فوری */
}

/* موشک دوم: سایز کوچک، از وسط */
.missile.m2 {
    top: -150px; 
    left: 40%;
    width: 100px; 
    height: 100px;
    animation: realisticStrike 15s ease-in infinite;
    animation-delay: 3s; /* شلیک با ۳ ثانیه تاخیر */
}

/* موشک سوم: سایز متوسط، از سمت راست */
.missile.m3 {
    top: -250px; 
    left: 70%;
    width: 140px; 
    height: 140px;
    animation: realisticStrike 17s ease-in infinite;
    animation-delay: 7s; /* شلیک با ۷ ثانیه تاخیر */
}

/* انیمیشن ضربه واقعی (سقوط آزاد با شتاب و بُعد 3D) */
@keyframes realisticStrike {
    0% { 
        /* نقطه شروع: بالا، کمی کوچکتر (دورتر)، زاویه تندتر رو به پایین */
        transform: translate(0, 0) scale(0.8) rotate(110deg); 
        opacity: 0; 
    }
    5% { 
        opacity: 0.18; /* ظاهر شدن در آسمان */
    }
    25% { 
        /* نقطه برخورد: سرعت به اوج رسیده، افت عمودی بسیار شدید است و موشک کمی بزرگتر شده (نزدیکتر شده) */
        transform: translate(35vw, 130vh) scale(1.2) rotate(110deg); 
        opacity: 0; /* در لحظه برخورد به زمین محو می‌شود */
    }
    100% { 
        /* از 25% تا 100% نامرئی می‌ماند تا فاصله زمانی طبیعی بین شلیک‌ها ایجاد شود */
        transform: translate(35vw, 130vh) scale(1.2) rotate(110deg); 
        opacity: 0; 
    }
}

/* --- Souls Grid --- */
.souls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
    max-height: 350px;
    overflow: hidden;
    transition: max-height 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.souls-grid.expanded { max-height: none; overflow: visible; }
.souls-grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(180deg, transparent, var(--bg-color));
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.souls-grid.expanded::after { opacity: 0; }

.soul-card {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.soul-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.soul-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background-size: cover;
    background-position: top center; /* تراز شدن با بالای عکس برای نمایش بهتر چهره */
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.5s ease;
}

.soul-card:hover .soul-photo {
    filter: grayscale(0%) contrast(1); 
} 
.soul-info { padding: 20px; text-align: center; }
.soul-name { font-family: var(--primary-font); font-size: 1.2rem; font-weight: 400; }
.soul-age { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; }
/* تنظیمات اختصاصی موبایل برای نمایش ۳ کارت کنار هم */
@media (max-width: 768px) {
    .souls-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px; /* فاصله کمتر بین کارت‌ها */
    }
    .logo-type {font-size: 2rem;}
    .hero-subtitle {font-size: 0.6rem;}
    .soul-info {
        padding: 10px 4px; /* فضای داخلی کمتر */
    }
    .soul-name {
        font-size: 0.75rem; /* نام کوچکتر */
        letter-spacing: 0;
    }
    .soul-age {
        font-size: 0.6rem; /* سن کوچکتر */
        letter-spacing: 0;
        margin-top: 2px;
    }
}
/* دکمه حماسی و شیک */
.see-all-btn {
    display: block;
    margin: 50px auto 0;
    padding: 15px 40px;
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    font-family: var(--secondary-font);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 2px;
}

.see-all-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}


/* --- News Section --- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px; }

.news-card {
    background: transparent;
    cursor: pointer;
}

.news-card:hover .news-thumbnail { transform: scale(1.02); }

.news-thumbnail {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    transition: transform 0.6s ease;
}

.news-content { padding: 25px 0; }

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.news-title { font-family: var(--primary-font); font-size: 1.5rem; font-weight: 400; line-height: 1.4; transition: color 0.3s; }
.news-card:hover .news-title { color: var(--accent-color); }

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.active { opacity: 1; transform: translateY(0); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { opacity: 0.4; } 50% { opacity: 0.8; } 100% { opacity: 0.4; } }
/* جابجایی ترتیب نقشه و فرم در موبایل (نقشه بالا، فرم پایین) */
/* --- Mobile Bottom Navigation --- */
.mobile-bottom-nav {
    display: none; /* در دسکتاپ مخفی است */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    z-index: 10000;
    justify-content: space-around;
    padding: 12px 0;
    /* این خط باعث می‌شود در آیفون‌های جدید منو زیر خط پایین صفحه نرود */
    padding-bottom: calc(12px + env(safe-area-inset-bottom)); 
}
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-family: var(--secondary-font);
    transition: all 0.3s ease;
}

.mobile-bottom-nav .nav-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
    color: var(--accent-color); /* این خط آیکون‌ها را طلایی می‌کند */
    transition: stroke 0.3s ease, transform 0.3s ease;
}
.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item:active,
.mobile-bottom-nav .nav-item.active {
    color: var(--accent-color);
}
.mobile-bottom-nav .nav-item:hover svg,
.mobile-bottom-nav .nav-item:active svg,
.mobile-bottom-nav .nav-item.active svg {
    transform: translateY(-3px);
}

/* نمایش فقط در موبایل */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    /* برای اینکه محتوای انتهای سایت زیر منو مخفی نشود */
    body {
        padding-bottom: 75px; 
    }
}
#vom-load-more-status .loading-text {
    display: inline-block;
    animation: textFlicker 1.5s infinite;
    font-size: 0.9rem;
    text-transform: uppercase;
}

@keyframes textFlicker {
    0% { opacity: 0.2; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.2; transform: scale(0.98); }
}

/*single*/
/* --- Single Post Content Styles --- */
.story-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0; /* رنگ کمی روشن‌تر برای خوانایی بهتر روی پس‌زمینه مشکی */
    font-family: var(--secondary-font);
}

.story-content p {
    margin-bottom: 25px;
}

/* استایل دهی به لینک‌های داخل متن */
.story-content a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-color);
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.story-content a:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
    background-color: rgba(197, 160, 89, 0.1);
}

/* استایل دهی به تصاویر داخل متن وردپرس */
.story-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(197, 160, 89, 0.2); /* حاشیه ظریف طلایی */
    display: block; /* برای اینکه تصویر در یک خط جداگانه قرار گیرد */
}

/* اگر تصویری کپشن (توضیحات) داشت */
.wp-caption {
    max-width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.wp-caption img {
    margin-bottom: 10px;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    font-family: var(--primary-font);
}

/* استایل برای نقل قول (Blockquote) */
.story-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 15px 25px;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.03);
    font-family: var(--primary-font);
    font-size: 1.3rem;
    font-style: italic;
    color: #fff;
    border-radius: 0 8px 8px 0;
}
/* ========================================
   MEMORIAL VIDEO SECTION
   ======================================== */

.memorial-video-section {
    position: relative;
    padding: 80px 30px;
    background: linear-gradient(
        180deg,
        var(--bg-color) 0%,
        rgba(18, 18, 18, 0.95) 20%,
        rgba(24, 24, 24, 0.9) 50%,
        rgba(18, 18, 18, 0.95) 80%,
        var(--bg-color) 100%
    );
    overflow: hidden;
    max-width:100% !important;
    border-top: 1px solid rgba(197, 160, 89, 0.15);
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

/* --- افکت‌های پس‌زمینه --- */
.video-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
/* ذرات گرد و غبار - نسخه بزرگ، هماهنگ و واضح */
.dust-particle {
    position: absolute;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.7); /* درخشش طلایی قوی */
    pointer-events: none;
}

/* توزیع یکنواخت در کل صفحه + سایزهای هماهنگ */
.dust-particle.p1  { width: 14px; height: 14px; left: 5%;  top: 15%; animation: dustDrift 16s ease-in-out infinite; animation-delay: 0s; }
.dust-particle.p2  { width: 13px; height: 13px; left: 15%; top: 70%; animation: dustDrift 18s ease-in-out infinite; animation-delay: 1.5s; }
.dust-particle.p3  { width: 15px; height: 15px; left: 25%; top: 35%; animation: dustDrift 14s ease-in-out infinite; animation-delay: 3s; }
.dust-particle.p4  { width: 12px; height: 12px; left: 35%; top: 85%; animation: dustDrift 20s ease-in-out infinite; animation-delay: 0.5s; }
.dust-particle.p5  { width: 14px; height: 14px; left: 45%; top: 20%; animation: dustDrift 15s ease-in-out infinite; animation-delay: 4s; }
.dust-particle.p6  { width: 13px; height: 13px; left: 55%; top: 65%; animation: dustDrift 19s ease-in-out infinite; animation-delay: 2s; }
.dust-particle.p7  { width: 16px; height: 16px; left: 65%; top: 10%; animation: dustDrift 13s ease-in-out infinite; animation-delay: 5s; }
.dust-particle.p8  { width: 12px; height: 12px; left: 75%; top: 80%; animation: dustDrift 21s ease-in-out infinite; animation-delay: 1s; }
.dust-particle.p9  { width: 14px; height: 14px; left: 85%; top: 40%; animation: dustDrift 17s ease-in-out infinite; animation-delay: 3.5s; }
.dust-particle.p10 { width: 15px; height: 15px; left: 95%; top: 25%; animation: dustDrift 16s ease-in-out infinite; animation-delay: 2.5s; }
.dust-particle.p11 { width: 12px; height: 12px; left: 10%; top: 50%; animation: dustDrift 22s ease-in-out infinite; animation-delay: 4.5s; }
.dust-particle.p12 { width: 14px; height: 14px; left: 30%; top: 55%; animation: dustDrift 14s ease-in-out infinite; animation-delay: 0.8s; }
.dust-particle.p13 { width: 13px; height: 13px; left: 50%; top: 45%; animation: dustDrift 18s ease-in-out infinite; animation-delay: 3.2s; }
.dust-particle.p14 { width: 12px; height: 12px; left: 70%; top: 50%; animation: dustDrift 20s ease-in-out infinite; animation-delay: 1.8s; }
.dust-particle.p15 { width: 14px; height: 14px; left: 90%; top: 75%; animation: dustDrift 15s ease-in-out infinite; animation-delay: 4.2s; }
.dust-particle.p16 { width: 15px; height: 15px; left: 40%; top: 90%; animation: dustDrift 19s ease-in-out infinite; animation-delay: 2.8s; }

/* انیمیشن شناور - بهینه برای وضوح بیشتر */
@keyframes dustDrift {
    0% {
        transform: translate(0, 0) scale(0.6);
        opacity: 0;
    }
    15% {
        transform: translate(8px, -15px) scale(0.9);
        opacity: 0.45; /* ظاهر شدن سریع‌تر */
    }
    50% {
        transform: translate(45px, -65px) scale(1);
        opacity: 0.3;
    }
    85% {
        transform: translate(80px, -110px) scale(0.85);
        opacity: 0.35;
    }
    100% {
        transform: translate(110px, -150px) scale(0.5);
        opacity: 0;
    }
}

/* بهینه‌سازی برای موبایل (ذرات واضح‌تر در اطراف فریم ویدیو) */
@media (max-width: 768px) {
    .dust-particle {
        box-shadow: 0 0 22px rgba(197, 160, 89, 0.95); /* درخشش قوی‌تر */
    }
    /* ذرات گوشه‌ای در موبایل کمی بزرگتر دیده شوند */
    .dust-particle.p1, .dust-particle.p7, .dust-particle.p10, .dust-particle.p15 {
        animation-duration: 14s;
    }
}

/* --- کانتینر ویدیو --- */
.video-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(197, 160, 89, 0.1),
        inset 0 0 0 1px rgba(197, 160, 89, 0.2);
    cursor: pointer;
    transition: box-shadow 0.5s ease;
}

.video-container:hover {
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(197, 160, 89, 0.2),
        inset 0 0 0 1px rgba(197, 160, 89, 0.4);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* لایه گرادینت روی ویدیو */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.3) 0%,
        transparent 30%,
        transparent 70%,
        rgba(8, 8, 8, 0.6) 100%
    );
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-overlay {
    opacity: 0.8;
}

/* --- دکمه پخش/توقف --- */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 80px;
    height: 80px;
    background: rgba(197, 160, 89, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(197, 160, 89, 0.4);
    border-radius: 50%;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    margin-left: 4px; /* تراز بصری برای آیکون پخش */
}

.video-play-btn .pause-icon {
    margin-left: 0;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(197, 160, 89, 0.25);
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
}

.video-play-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.video-play-btn.playing {
    opacity: 0;
    pointer-events: none;
}

.video-container:hover .video-play-btn.playing {
    opacity: 0.7;
    pointer-events: auto;
}

/* --- نوار پیشرفت --- */
.video-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 2;
}

.video-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-color), #e6c980);
    transition: width 0.1s linear;
    position: relative;
}

.video-progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
    transition: transform 0.2s ease;
}

.video-container:hover .video-progress-bar::after {
    transform: translateY(-50%) scale(1);
}

/* --- متن کپشن --- */
.video-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.video-container:hover .video-caption {
    opacity: 1;
    transform: translateY(0);
}

.video-caption p {
    font-family: var(--primary-font);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ========================================
   RESPONSIVE - MEMORIAL VIDEO SECTION
   ======================================== */

/* تبلت */
@media (max-width: 1024px) {
    .memorial-video-section {
        padding: 60px 20px;
    }

}

/* موبایل */
@media (max-width: 768px) {
    .memorial-video-section {
        padding: 40px 15px;
        border-top: 1px solid rgba(197, 160, 89, 0.1);
        border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    }
    
    
    .video-container {
        border-radius: 8px;
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.7),
            0 0 20px rgba(197, 160, 89, 0.08),
            inset 0 0 0 1px rgba(197, 160, 89, 0.15);
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
    }
    
    .video-play-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .video-progress {
        height: 3px;
    }
    
    .video-caption p {
        font-size: 0.85rem;
        padding: 0 10px;
    }
    
    .video-caption {
        bottom: 15px;
    }
}

/* موبایل کوچک */
@media (max-width: 480px) {
    .memorial-video-section {
        padding: 30px 10px;
    }
    
    .video-play-btn {
        width: 50px;
        height: 50px;
    }
    
    .video-play-btn svg {
        width: 20px;
        height: 20px;
        margin-left: 2px;
    }
    
    .video-caption p {
        font-size: 0.75rem;
    }
}
/* --- دکمه کنترل صدا --- */
.video-volume-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(8, 8, 8, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-volume-btn svg {
    width: 20px;
    height: 20px;
}

.video-volume-btn:hover {
    background: rgba(197, 160, 89, 0.2);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

/* نمایش آیکون مناسب بر اساس وضعیت */
.video-volume-btn.muted .volume-on-icon { display: none !important; }
.video-volume-btn.muted .volume-off-icon { display: block !important; }
.video-volume-btn:not(.muted) .volume-off-icon { display: none !important; }
.video-volume-btn:not(.muted) .volume-on-icon { display: block !important; }

/* در موبایل */
@media (max-width: 768px) {
    .video-volume-btn {
        width: 35px;
        height: 35px;
        bottom: 12px;
        right: 12px;
    }
    .video-volume-btn svg {
        width: 18px;
        height: 18px;
    }
}
/* ========================================
   VIDEO FULLSCREEN BUTTON & MODE
   ======================================== */

/* دکمه تمام‌صفحه */
.video-fullscreen-btn {
    position: absolute;
    bottom: 15px;
    right: 60px; /* کنار دکمه صدا */
    width: 40px;
    height: 40px;
    background: rgba(8, 8, 8, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-fullscreen-btn svg {
    width: 20px;
    height: 20px;
}

.video-fullscreen-btn:hover {
    background: rgba(197, 160, 89, 0.2);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

/* نمایش آیکون مناسب بر اساس وضعیت */
.video-fullscreen-btn.fullscreen-active .fullscreen-enter-icon { display: none !important; }
.video-fullscreen-btn.fullscreen-active .fullscreen-exit-icon { display: block !important; }
.video-fullscreen-btn:not(.fullscreen-active) .fullscreen-exit-icon { display: none !important; }
.video-fullscreen-btn:not(.fullscreen-active) .fullscreen-enter-icon { display: block !important; }

/* --- حالت تمام‌صفحه --- */
.video-container:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    z-index: 2147483647 !important;
}

.video-container:-moz-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    z-index: 2147483647 !important;
}

.video-container:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    z-index: 2147483647 !important;
}

/* ویدیو در حالت تمام‌صفحه */
.video-container:-webkit-full-screen video,
.video-container:-moz-full-screen video,
.video-container:fullscreen video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #000;
}

/* مخفی کردن المان‌های اضافی در تمام‌صفحه */
.video-container:-webkit-full-screen .video-caption,
.video-container:-moz-full-screen .video-caption,
.video-container:fullscreen .video-caption {
    opacity: 0 !important;
    pointer-events: none;
}

/* دکمه‌ها در حالت تمام‌صفحه */
.video-container:-webkit-full-screen .video-play-btn,
.video-container:-moz-full-screen .video-play-btn,
.video-container:fullscreen .video-play-btn,
.video-container:-webkit-full-screen .video-volume-btn,
.video-container:-moz-full-screen .video-volume-btn,
.video-container:fullscreen .video-volume-btn,
.video-container:-webkit-full-screen .video-fullscreen-btn,
.video-container:-moz-full-screen .video-fullscreen-btn,
.video-container:fullscreen .video-fullscreen-btn {
    bottom: 25px !important;
    width: 50px !important;
    height: 50px !important;
}

.video-container:-webkit-full-screen .video-play-btn svg,
.video-container:-moz-full-screen .video-play-btn svg,
.video-container:fullscreen .video-play-btn svg,
.video-container:-webkit-full-screen .video-volume-btn svg,
.video-container:-moz-full-screen .video-volume-btn svg,
.video-container:fullscreen .video-volume-btn svg,
.video-container:-webkit-full-screen .video-fullscreen-btn svg,
.video-container:-moz-full-screen .video-fullscreen-btn svg,
.video-container:fullscreen .video-fullscreen-btn svg {
    width: 24px !important;
    height: 24px !important;
}

/* موقعیت دکمه‌ها در تمام‌صفحه */
.video-container:-webkit-full-screen .video-volume-btn,
.video-container:-moz-full-screen .video-volume-btn,
.video-container:fullscreen .video-volume-btn {
    right: 75px !important;
}

.video-container:-webkit-full-screen .video-fullscreen-btn,
.video-container:-moz-full-screen .video-fullscreen-btn,
.video-container:fullscreen .video-fullscreen-btn {
    right: 125px !important; /* سمت چپ دکمه صدا */
}

.video-container:-webkit-full-screen .video-progress,
.video-container:-moz-full-screen .video-progress,
.video-container:fullscreen .video-progress {
    bottom: 0 !important;
    height: 5px !important;
}

/* --- موبایل: چرخش خودکار در تمام‌صفحه --- */
@media (max-width: 768px) {
    .video-container:fullscreen {
        /* اجازه چرخش صفحه در موبایل */
        transform: rotate(0deg) !important;
    }
    
    /* اگر کاربر گوشی را چرخاند، ویدیو فیت شود */
    @media (orientation: landscape) {
        .video-container:fullscreen video {
            object-fit: contain !important;
        }
    }
    
    /* دکمه‌ها در موبایل تمام‌صفحه */
    .video-container:fullscreen .video-play-btn,
    .video-container:fullscreen .video-volume-btn,
    .video-container:fullscreen .video-fullscreen-btn {
        bottom: 20px !important;
        width: 45px !important;
        height: 45px !important;
    }
    
    .video-container:fullscreen .video-volume-btn {
        right: 65px !important;
    }
    
    .video-container:fullscreen .video-fullscreen-btn {
        right: 110px !important;
    }
}

/* --- مخفی کردن دکمه تمام‌صفحه اگر مرورگر پشتیبانی نکند --- */
@supports not ((position: -webkit-sticky) or (position: sticky)) {
    .video-fullscreen-btn {
        display: none;
    }
}
/* ==========================================================================
   Developer Credit in Fullscreen Menu
   ========================================================================== */
.menu-developer-credit {
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.65rem;
    color: rgba(136, 136, 136, 0.35); /* محو و کم‌رنگ */
    font-family: var(--secondary-font);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease 0.8s, transform 0.6s ease 0.8s;
    pointer-events: none; /* تا زمانی که منو باز نشده، کلیک‌پذیر نباشد */
}

/* انیمیشن ظاهر شدن هم‌زمان با باز شدن منو */
.fullscreen-menu.active .menu-developer-credit {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* استایل لینک: بدون خط، همرنگ متن، فقط در هاور کمی روشن‌تر */
.menu-developer-credit a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.menu-developer-credit a:hover {
    color: var(--accent-color); /* طلایی ملایم هنگام هاور */
    opacity: 0.8;
}

/* واکنش‌گرا برای موبایل */
@media (max-width: 768px) {
    .menu-developer-credit {
        font-size: 0.6rem;
        bottom:100px;
        letter-spacing: 1px;
    }
}