/* test.html */
        .page {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: linear-gradient(to bottom,
                    #00acb51f 0%,
                    #00abb559 50%,
                    #00acb51f 100%) !important;
            height: fit-content !important;
        }

        /* در بخش استایل‌ها، این کد را اضافه کنید */
        video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        body {
            font-family: IRANSansX !important;
        }

        .page::before {
            --size: 45px;
            --line: color-mix(in hsl, canvasText, #ffffff 70%);
            content: "";
            height: 100vh;
            width: 99vw;
            position: absolute;
            background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
            -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
            mask: linear-gradient(-20deg, transparent 50%, white);
            top: 0;
            transform-style: flat;
            pointer-events: none;
            z-index: 8;
        }

        .page::before {
            --line: color-mix(in hsl, canvasText, #b7fbff 70%) !important;
            z-index: -11
        }

        .gradient-bg {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .card-hover {
            transition: all 0.3s ease;
        }

        .card-hover:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .search-highlight {
            background-color: #fef3c7;
            padding: 2px 4px;
            border-radius: 4px;
        }

        .fade-in {
            animation: fadeIn 0.6s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .video-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .category-badge {
            background: linear-gradient(90deg, #61c7cd, #0a7a81);
        }

        .play-btn {
            background: linear-gradient(45deg, #1e2932, #3a5b78);
            box-shadow: 0 4px 15px #334452;
        }

        .play-btn:hover {
            background: linear-gradient(45deg, #3a5b78, #3a5b78);
        }

        /* Modal styles */
        .modal-overlay {
            z-index: 9999;
            backdrop-filter: blur(5px);
        }

        .modal-content {
            max-height: 90vh;
            overflow-y: auto;
        }

    
