
        /* =======================================================
           Fonts (معرفی فونت وزیرمتن از پوشه fonts)
        ======================================================== */
        @font-face {
            font-family: 'Vazirmatn';
            src: url('fonts/Vazirmatn-Regular.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        @font-face {
            font-family: 'Vazirmatn';
            src: url('fonts/Vazirmatn-Bold.ttf') format('truetype');
            font-weight: bold;
            font-style: normal;
        }

        /* =======================================================
           Base & Header Styles (استایل‌های پایه و هدر)
        ======================================================== */
        * { box-sizing: border-box; font-family: 'Vazirmatn', Tahoma, Arial, sans-serif; }
        body { margin: 0; padding: 0; background-color: #fafafa; }
        a { text-decoration: none; }

        .acoa-header {
            position: fixed; top: 0; left: 0; right: 0;
            background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); z-index: 1000; direction: rtl;
            border-bottom: 1px solid #eaeaea;
        }
        .header-container {
            display: flex; justify-content: space-between; align-items: center;
            max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 65px; 
        }
        .header-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; }
        .acoa-logo { height: 40px; width: auto; object-fit: contain; margin-bottom: 2px; }
        .logo-subtext { font-size: 10px; color: #666; font-weight: bold; white-space: nowrap; }

        .header-nav { display: flex; gap: 10px; align-items: center; }
        .nav-btn {
            padding: 7px 14px; border-radius: 6px; font-size: 12.5px; font-weight: bold;
            cursor: pointer; border: 1px solid transparent; transition: all 0.3s ease;
            display: inline-flex; align-items: center; justify-content: center;
        }
        .btn-orange { background-color: #fff4ed; color: #ff7a00; border-color: #ffd6b8; }
        .btn-orange:hover { background-color: #ff7a00; color: #fff; }
        .btn-purple { background-color: #f5f0ff; color: #8b5cf6; border-color: #ddd0f8; }
        .btn-purple:hover { background-color: #8b5cf6; color: #fff; }
        .btn-blue { background-color: #f0f7ff; color: #007aff; border-color: #cce4ff; }
        .btn-blue:hover { background-color: #007aff; color: #fff; }

        .hamburger-btn {
            display: none; flex-direction: column; justify-content: space-between;
            width: 28px; height: 20px; background: transparent; border: none; cursor: pointer; z-index: 1001;
            padding: 0;
        }
        .hamburger-btn .bar { height: 3px; width: 100%; background-color: #333; border-radius: 10px; transition: all 0.3s ease; }

        /* =======================================================
           Video Grid Styles (شبکه ویدئوها)
        ======================================================== */
        .grid-container {
            max-width: 935px;
            margin: 110px auto 50px;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px 20px;
            direction: rtl;
        }

        .video-card {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        .video-title {
            font-size: 14px;
            color: #333;
            margin: 0 0 10px 0;
            font-weight: bold;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
            display: block;
        }

        /* ساختار جدید برای مربع‌های کاملاً دقیق */
        .grid-item {
            position: relative;
            width: 100%;
            padding-top: 100%; /* این خط تضمین می‌کند که کادر همیشه مربع کامل است */
            background-color: #222;
            overflow: hidden;
            cursor: pointer;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        }

        .grid-item img {
            position: absolute;
            top: 0; left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .grid-item:hover img {
            transform: scale(1.08);
        }

        .grid-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .grid-item:hover .grid-overlay {
            opacity: 1;
        }

        .play-icon {
            width: 45px;
            height: 45px;
            color: white;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
        }

        /* =======================================================
           Modal Styles (پاپ‌آپ پخش ویدئو)
        ======================================================== */
        .grid-video-modal {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
        }

        .modal-wrapper {
            position: relative;
            width: 90%;
            max-width: 380px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        #popup-player {
            width: 100%;
            max-height: 80vh;
            border-radius: 12px;
            background-color: #000;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            outline: none;
        }

        .popup-title {
            color: white;
            margin-top: 15px;
            font-size: 16px;
            text-align: center;
            direction: rtl;
            font-weight: bold;
        }

        .close-modal {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 35px;
            cursor: pointer;
            transition: color 0.3s;
        }

        .close-modal:hover {
            color: #ff7a00;
        }

        /* =======================================================
           Responsive Mobile (ریسپانسیو برای تبلت و گوشی)
        ======================================================== */
        @media screen and (max-width: 850px) {
            .header-container { height: 55px; padding: 0 15px; }
            .acoa-logo { height: 30px; margin-bottom: 2px; }
            .logo-subtext { font-size: 8.5px; }
            
            .grid-container {
                margin-top: 85px;
                grid-template-columns: repeat(2, 1fr);
                gap: 30px 15px;
            }

            .hamburger-btn { display: flex; }
            .header-nav {
                position: absolute; top: 55px; left: 0; width: 100%;
                background-color: #fff; flex-direction: column; padding: 0;
                box-shadow: 0 10px 15px rgba(0,0,0,0.1); border-bottom: 2px solid #ff7a00;
                max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out;
            }
            .header-nav.active { max-height: 250px; padding: 15px 20px; }
            .nav-btn { width: 100%; justify-content: center; padding: 10px; margin-bottom: 5px; font-size: 14px; }
            
            .hamburger-btn.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
            .hamburger-btn.active .bar:nth-child(2) { opacity: 0; }
            .hamburger-btn.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
            
            .grid-overlay {
                opacity: 1; 
                background-color: transparent;
                align-items: center; justify-content: center;
            }
            .play-icon { width: 45px; height: 45px; }
        }

        @media screen and (max-width: 600px) {
            .grid-container {
                grid-template-columns: repeat(1, 1fr);
                gap: 40px 0;
                padding: 0 25px;
            }
            .video-title { font-size: 15px; margin-bottom: 12px; }
        }
   