    @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap');
    :root {
        --bg: #0a0a0a;
        --card: #141414;
        --border: #222;
        --text: #f5f5f5;
        --text-dim: #bbbbbb;
        --brand: #0099ff;
        --brand-hover: #007acc;
        --font: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
        --radius: 18px;
        --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.5);
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        --gap-desktop: 36px;
        --gap-mobile: 16px;
        --min-card-desktop: 260px;
        --min-card-tablet: 180px;
        --min-card-mobile: 130px;
    }
    * { box-sizing: border-box; margin:0; padding:0; }
    body {
        font-family: var(--font);
        background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
        color: var(--text);
        line-height: 1.7;
        min-height: 100vh;
        overflow-x: hidden;
    }
    .container {
        max-width: 1800px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* --- هدر کوچکتر و جمع و جور --- */
    .header {
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
        margin-bottom: 28px;
        backdrop-filter: blur(14px);
        background: rgba(10,10,10,0.94);
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .header-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .header-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: var(--text);
        font-weight: 700;
        font-size: 1.35rem;
        transition: var(--transition);
    }
    .header-logo:hover { color: var(--brand); }
    .header-logo img {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        box-shadow: 0 0 14px rgba(0, 153, 255, 0.4);
        transition: var(--transition);
    }
    .header-logo:hover img { transform: scale(1.08); }
    .header-badge {
        background: linear-gradient(135deg, #ff6b6b, #feca57);
        color: #fff;
        font-size: 0.62rem;
        padding: 3px 8px;
        border-radius: 20px;
        font-weight: 600;
    }

    /* --- منوی راست --- */
    .header-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .header-btn {
        background: var(--brand);
        color: #fff;
        padding: 4px 11px;
        border-radius: 7px;
        font-weight: 600;
        font-size: 0.92rem;
        text-decoration: none;
        transition: var(--transition);
        box-shadow: 0 3px 10px rgba(0, 153, 255, 0.3);
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .header-btn:hover {
        background: var(--brand-hover);
        transform: translateY(-1.5px);
        box-shadow: 0 5px 16px rgba(0, 153, 255, 0.4);
    }
    .header-btn.app::before {
        content: "App";
        font-size: 1.05rem;
    }

    /* --- فیلترها --- */
    .category-filters {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 36px;
    }
    .btn {
        background: var(--card);
        color: var(--text-dim);
        border: 1px solid var(--border);
        padding: 11px 22px;
        border-radius: 11px;
        cursor: pointer;
        font-weight: 500;
        font-size: 0.96rem;
        transition: var(--transition);
        backdrop-filter: blur(8px);
    }
    .btn:hover {
        color: var(--text);
        border-color: #555;
        transform: translateY(-1px);
    }
    .btn.active {
        background: linear-gradient(135deg, var(--brand), #0066cc);
        color: #fff;
        border-color: var(--brand);
        box-shadow: 0 0 22px rgba(0, 153, 255, 0.4);
        transform: translateY(-1px);
    }

    /* --- گالری - ابعاد بزرگ فقط در دسکتاپ و لپ‌تاپ --- */
    #gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(var(--min-card-desktop), 1fr));
        gap: var(--gap-desktop);
        padding: 20px 0;
    }
    .gallery-item {
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
        cursor: pointer;
        position: relative;
    }
    .gallery-item:hover {
        transform: translateY(-8px) scale(1.04);
        box-shadow: var(--shadow-md);
        border-color: var(--brand);
    }

    .media-container {
        position: relative;
        width: 100%;
        aspect-ratio: 9 / 16;
        background: #000;
        overflow: hidden;
        border-bottom: 1px solid var(--border);
    }
    .media-container img,
    .media-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: opacity 0.3s ease;
    }
    .media-container video {
        position: absolute;
        top: 0; left: 0;
        z-index: 1;
    }

    .description {
        padding: 20px;
        text-align: center;
        background: linear-gradient(to top, rgba(20,20,20,0.95), transparent);
        backdrop-filter: blur(6px);
        font-size: 1.02rem;
        font-weight: 500;
    }
    .description p {
        margin: 0;
        color: var(--text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }

    /* --- لایت‌باکس --- */
    #lightbox {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        backdrop-filter: blur(16px);
    }
    #lightbox.show { opacity: 1; visibility: visible; }
    #lightbox-container {
        max-width: 98vw;
        max-height: 98vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #000;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
    }
    #lightbox-content {
        max-width: 100%;
        max-height: calc(98vh - 80px);
        overflow: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }
    #lightbox-content img,
    #lightbox-content video {
        max-width: 60%;
        max-height: 60%;
        object-fit: contain;
        display: block;
        border-radius: 8px;
    }
    .lightbox-controls {
        display: flex;
        gap: 14px;
        padding: 14px 18px;
        width: 100%;
        justify-content: center;
        background: rgba(0,0,0,0.8);
    }
    .lightbox-btn {
        background: rgba(51, 51, 51, 0.9);
        color: #fff;
        padding: 13px 26px;
        border-radius: 10px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: var(--transition);
        font-size: 0.96rem;
    }
    .lightbox-btn:hover {
        background: rgba(90, 90, 90, 0.95);
        transform: translateY(-1px);
    }
    .lightbox-btn.download {
        background: linear-gradient(135deg, var(--brand), #0066cc);
    }
    .lightbox-btn.download:hover {
        box-shadow: 0 0 26px rgba(0, 153, 255, 0.5);
    }

    /* --- فوتر --- */
    .footer {
        padding: 65px 0 45px;
        margin-top: 110px;
        border-top: 1px solid var(--border);
        background: rgba(10,10,10,0.96);
        backdrop-filter: blur(14px);
        position: relative;
        overflow: hidden;
    }
    .footer::before {
        content: '';
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 2px;
        background: linear-gradient(90deg, transparent, #00c6ff, #0099ff, #00c6ff, transparent);
        animation: shimmer 3s infinite;
    }
    @keyframes shimmer {
        0%, 100% { transform: translateX(-100%); }
        50% { transform: translateX(100%); }
    }
    .footer-content {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 40px;
        align-items: center;
    }
    .footer-info {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .footer-logo {
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .footer-logo img {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        box-shadow: 0 0 20px rgba(0, 153, 255, 0.4);
    }
    .footer-logo span {
        font-size: 1.5rem;
        font-weight: 700;
        background: linear-gradient(135deg, #0099ff, #00c6ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .footer-text {
        font-size: 0.95rem;
        color: var(--text-dim);
        line-height: 1.8;
    }
    .sora-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.9rem;
        color: var(--text-dim);
    }
    .sora-brand img {
        width: 26px;
        height: 26px;
        filter: brightness(0) invert(1);
    }
    .footer-links {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-links a {
        color: var(--text);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        position: relative;
        transition: var(--transition);
    }
    .footer-links a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 1.5px;
        background: var(--brand);
        transition: width 0.3s ease;
    }
    .footer-links a:hover { color: var(--brand); }
    .footer-links a:hover::after { width: 100%; }

    /* --- ریسپانسیو: تبلت --- */
    @media (max-width: 1024px) {
        #gallery-grid {
            grid-template-columns: repeat(auto-fill, minmax(var(--min-card-tablet), 1fr));
            gap: calc(var(--gap-desktop) * 0.8);
        }
        .description {
            padding: 16px;
            font-size: 0.94rem;
        }
    }

    /* --- ریسپانسیو: موبایل --- */
    @media (max-width: 768px) {
        :root {
            --gap-mobile: 16px;
        }
        #gallery-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: var(--gap-mobile);
            padding: 14px 0;
        }
        .gallery-item:hover {
            transform: translateY(-4px) scale(1.02);
        }
        .description {
            padding: 12px;
            font-size: 0.84rem;
        }
        .header-nav { flex-direction: column; gap: 13px; text-align: center; }
        .header-right { gap: 8px; }
        .header-btn { padding: 5px 7px; font-size: 0.88rem; }
        .category-filters { gap: 7px; }
        .btn { padding: 9px 16px; font-size: 0.86rem; }
        .footer-content { grid-template-columns: 1fr; text-align: center; }
        .footer-links { justify-content: center; gap: 16px; }
    }

    @media (max-width: 480px) {
        #gallery-grid { gap: 12px; }
        .header-logo { font-size: 1.25rem; }
        .header-logo img { width: 36px; height: 36px; }
        .description { padding: 10px; font-size: 0.82rem; }
        .lightbox-controls { flex-direction: column; gap: 10px; }
    }
    
/* باکس AI Platforms */
.footer-info {
    background-color: #1a1a1a; /* رنگ پس‌زمینه باکس */
    padding: 20px;
    border-radius: 12px; /* گوشه‌های گرد */
    border: 1px solid #00c6ff; /* خط حاشیه رنگ برند */
    margin-top: 20px;
}

.footer-info .ai-list-title {
    font-weight: bold;
    font-size: 16px;
    color: #00c6ff;
    margin-bottom: 15px;
}

.footer-info .ai-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-info .ai-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: #262626;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.footer-info .ai-list a img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.footer-info .ai-list a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.footer-info .ai-footer-text {
    margin-top: 12px;
    font-size: 12px;
    color: #ccc;
    font-style: italic;
}

/* واکنش‌گرا برای موبایل */
@media (max-width: 600px) {
    .footer-info .ai-list {
        flex-direction: column;
        gap: 8px;
    }
}

