
:root {
    --accent: #00f2ff;
    --accent-dark: #0066ff;
    --bg: #05070a;
    --card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
}

body, button, input, h3, p {
    font-family: 'Vazirmatn', sans-serif !important;
}

body { background: var(--bg); color: var(--text); direction: rtl; overflow-x: hidden; }



/* حذف هاله آبی رنگ پیش‌فرض در موبایل */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* حذف خط دور (Outline) هنگام فوکوس برای تمیزی بیشتر */
*:focus {
    outline: none !important;
}



* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, Tahoma; }



.bg-glow { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% -20%, #1a237e, transparent);
    z-index: -1;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

header { padding: 40px 0; text-align: center; }
.logo { font-size: 24px; font-weight: 800; letter-spacing: 2px; }
.logo span { color: var(--accent); }

.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 30px; }
.hero h1 span { color: var(--accent); text-shadow: 0 0 20px rgba(0, 242, 255, 0.5); }
.hero p { color: #888; font-size: 1.1rem; }

.controls { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; }

.search-wrapper { position: relative; width: 100%; max-width: 600px; }
.search-wrapper i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--accent); }
.search-wrapper input { 
    width: 100%; padding: 18px 50px 18px 20px; background: var(--card); border: 1px solid var(--border);
    border-radius: 15px; color: white; backdrop-filter: blur(10px); outline: none; transition: 0.3s;
}
.search-wrapper input:focus { border-color: var(--accent); box-shadow: 0 0 15px rgba(0, 242, 255, 0.2); }

.btn-f { 
    padding: 10px 30px; border-radius: 12px; border: 1px solid var(--border);
    background: var(--card); color: #fff; cursor: pointer; transition: 0.3s;
}
.btn-f.active { background: var(--accent); color: #000; font-weight: bold; border-color: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; padding: 50px 0; }

/* مدرن‌ترین استایل کارت */
.card { 
    background: var(--card); border: 1px solid var(--border); border-radius: 24px;
    overflow: hidden; position: relative; transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover { transform: translateY(-10px) scale(1.02); border-color: var(--accent); }

.card-img-wrapper { height: 400px; width: 100%; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.card:hover img { transform: scale(1.1); filter: brightness(0.4) blur(2px); }

.card-info { 
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 25px;
    transform: translateY(60px); opacity: 0; transition: 0.4s;
}
.card:hover .card-info { transform: translateY(0); opacity: 1; }

.card-info h3 { color: var(--accent); margin-bottom: 10px; }
.card-info p { font-size: 0.9rem; color: #ccc; margin-bottom: 20px; }

.copy-btn { 
    width: 100%; padding: 12px; background: var(--accent); border: none;
    border-radius: 12px; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
}

/* سیستم نوتیفیکیشن خفن */
#toast-container { position: fixed; top: 20px; left: 20px; z-index: 9999; }
.toast { 
    background: #111; border-left: 4px solid var(--accent); color: white; padding: 20px;
    border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); display: flex; align-items: center; gap: 15px;
    margin-bottom: 10px; animation: slideIn 0.5s forwards;
}
@keyframes slideIn { from { transform: translateX(-120%); } to { transform: translateX(0); } }

@media (max-width: 768px) {
    .card-info { opacity: 1; transform: translateY(0); background: linear-gradient(transparent, rgba(0,0,0,0.9)); }
}

/* استایل کلی برای بج دسته‌بندی‌ها */
.cat-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    background: rgba(0, 242, 255, 0.1); /* رنگ نئونی بسیار ملایم برای زمینه */
    color: var(--accent); /* رنگ فیروزه‌ای اصلی سایت شما */
    border: 1px solid rgba(0, 242, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

/* اگر بخوای دسته‌های خاص رنگ متفاوتی داشته باشن (اختیاری) */
.cat-badge[data-type="male"] { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border-color: #3b82f6; }
.cat-badge[data-type="female"] { background: rgba(236, 72, 153, 0.2); color: #f472b6; border-color: #ec4899; }





/* انیمیشن ورود کارت‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

/* دکمه اکتیو نئونی */
.btn-f.active {
    background: #00f2ff !important;
    color: #000 !important;
    box-shadow: 0 0 15px #00f2ff;
    border-color: #00f2ff;
}



* {
    font-family: 'Vazirmatn', sans-serif !important;
    box-sizing: border-box;
}

/* ۲. انیمیشن ورود نرم کارت‌ها */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
    contain: content; /* بهینه‌سازی سرعت رندر */
}

/* ۳. استایل دکمه‌های فیلتر نئونی */
.btn-f {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 22px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    margin: 5px;
}

.btn-f.active {
    background: #00f2ff !important;
    color: #000 !important;
    box-shadow: 0 0 15px #00f2ff;
    border-color: #00f2ff;
    font-weight: bold;
}

/* ۴. دکمه کپی */
.copy-btn {
    width: 100%;
    padding: 12px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: #00f2ff;
    border-radius: 10px;
    transition: 0.3s;
}

.copy-btn:hover {
    background: #00f2ff;
    color: #000;
}


/* تنظیمات پیش‌فرض برای دسکتاپ */
.mobile-filter-header {
    display: none;
    /* در دسکتاپ مخفی است */
}

.nav-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {

    .grid{
        padding: 10px 0px 50px 0px;
    }


    /* کانتینر اصلی فیلتر - دقیقاً هم‌اندازه باکس سرچ */
    .filter-nav {
        width: 100%;
        max-width: 600px; /* مطابق با عرض باکس سرچ شما */
        margin: 0 auto;   /* فقط برای وسط‌چین شدن کانتینر در صفحه */
        position: relative; 
        box-sizing: border-box;
    }

    .mobile-filter-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 20px;
        border-radius: 15px;
        color: #fff;
        cursor: pointer;
        width: 100%;
        box-sizing: border-box;
    }

    /* تنظیمات دراپ‌داون - باز شدن دقیقاً زیر باکس */
    .nav-buttons-wrapper {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 8px); /* فاصله کم از باکس بالایی */
        left: 0;   /* تراز شدن دقیق با لبه سمت چپ هدر */
        right: 0;  /* تراز شدن دقیق با لبه سمت راست هدر */
        background: #0d1117;
        border: 1px solid rgba(0, 242, 255, 0.3);
        border-radius: 15px;
        z-index: 9999;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-buttons-wrapper.open {
        display: flex;
        animation: fadeInDown 0.3s ease-out;
    }



    .mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* این باعث می‌شود متن سمت راست و آیکون سمت چپ قرار بگیرد */
    padding: 10px 15px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 15px;
    cursor: pointer;
    color: var(--text);
    margin-bottom: 10px;
}

/* نمایش اجباری آیکون */
.mobile-filter-header i {
    display: inline-block !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 ; /* برای آیکون‌های Solid */
    color: #FFF; /* رنگ نئونی برای دید بهتر */
    margin-right: 10px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

/* انیمیشن چرخش آیکون وقتی منو باز می‌شود */
.nav-buttons-wrapper.open + .mobile-filter-header i {
    transform: rotate(180deg);
}

.mobile-filter-header {
    position: relative;
    z-index: 10;
}


}










/* انیمیشن باز شدن از بالا به پایین */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
























/* ظرف اصلی دکمه‌ها */
.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    height: 48px; /* ارتفاع ثابت ردیف برای تراز بودن */
    align-items: center;
    justify-content: space-between;
}

/* دکمه کپی */
.copy-btn {
    flex: 1;
    height: 100%;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: #00f2ff;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Vazirmatn';
    transition: 0.3s;
}

/* دکمه لایک مربعی */
.like-btn {
    width: 48px; /* عرض و ارتفاع برابر برای مربع کامل */
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    line-height: 1;
}

/* استایل دکمه لایک شده */
.like-btn.liked {
    color: #ff4b2b;
    border-color: rgba(255, 75, 43, 0.4);
    background: rgba(255, 75, 43, 0.08);
}

.like-count {
    font-size: 10px;
    font-weight: bold;
    margin-top: 2px;
}

/* مطمئن شدن از نمایش آیکون */
.like-btn i {
    display: inline-block !important; /* اجبار به نمایش */
    font-family: "Font Awesome 6 Free" !important; /* اطمینان از فونت صحیح */
    font-weight: 400; /* برای fa-regular */
    font-size: 13px;
    color: #888; /* رنگ پیش‌فرض */
    pointer-events: none; /* جلوگیری از تداخل کلیک با آیکون */
    line-height: 22px;
}

.like-btn.liked i {
    font-weight: 900; /* برای fa-solid */
    color: #ff4b2b; /* رنگ قرمز لایک */
}
















/* نسخه نهایی و اصلاح شده بج - بدون باگ تراز */
.model-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: transparent !important;
    backdrop-filter: none !important;
    display: inline-flex; /* تغییر به این‌لاین فلکس برای فیت شدن دور متن */
    align-items: center;
    justify-content: center;
    padding: 4px 12px 2px 12px; 
    border: 1px solid currentColor;
    border-radius: 50px; /* کپسولی شکل برای زیبایی بیشتر */
    font-size: 11px;
    font-weight: 900;
    height: auto; 
    min-width: fit-content;
    z-index: 10;
    letter-spacing: 0.5px;
}

/* افکت نئونی ظریف روی متن و بردر */
.badge-midjourney { color: #00f2ff; filter: drop-shadow(0 0 3px rgba(155, 89, 182, 0.5)); }
.badge-chatgpt { color: #00f2ff; filter: drop-shadow(0 0 3px rgba(16, 163, 127, 0.5)); }
.badge-stable-diffusion { color: #00f2ff; filter: drop-shadow(0 0 3px rgba(52, 152, 219, 0.5)); }



















/* --- ورژن ۵: Skeleton Screen Styles --- */

.skeleton-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    /* هم‌اندازه کارت‌های اصلی */
    position: relative;
}

.skeleton-img {
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
}

.skeleton-content {
    padding: 20px;
}

.skeleton-title {
    width: 60%;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 4px;
}

.skeleton-text {
    width: 90%;
    height: 12px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 8px;
    border-radius: 4px;
}

/* انیمیشن درخشش (Shimmer) */
.skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}























/*قدرت گرفته از لیام پایین صفحه */
.powered-by {
    text-align: center;
    padding: 35px 0;
    border-top: 1px solid rgba(0, 242, 255, 0.1);
    margin-top: 50px;
    border-radius: 30px 30px 0px 0px;
}

.studio-name {
    color: var(--accent);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.back-to-main {
    display: inline-block;
    margin-top: 15px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 17px;
    transition: 0.3s;
}

.back-to-main:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent);
    border-color: var(--accent);
}












/*هدر استیکی */
.top-bar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    padding: 15px 0;
    transition: background 0.5s ease, backdrop-filter 0.3s ease;
    box-sizing: border-box;

}
/* در حالت اسکرول فقط رنگ و افکت را تغییر بده، نه ابعاد را */
.top-bar-sticky.scrolled {
    background: rgb(13 18 55 / 69%) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 0px 0px 30px 30px;
}

nav{
    display: flex;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    width: 80%;

}




/* استایل لوگوی اصلی (PROMPT HUB) */
.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.3s;
    color: #fff;
    
}

.logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 5px var(--accent));
}

/* خط جداکننده نئونی */
.divider {
    width: 1px;
    height: 30px;
    background: rgba(0, 242, 255, 0.3);
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.5);
}

/* استایل لوگوی لیام استودیو */
.main-site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.3s;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.main-site-logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 5px var(--accent));
}

.main-site-logo img {
    height: 25px; /* اندازه لوگوی کوچک شما */
    width: auto;
}

.main-site-logo span {
    color: var(--accent);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap; /* جلوگیری از شکستن متن در موبایل */
}





@media (MIN-width: 768px){
        .lang-wrapper-MOB{
        display: none;
    }

    .lang-wrapper-DESK{
                display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding: 10px 15px;
                    background: var(--card);
                    border: 1px solid var(--border);
                    border-radius: 15px;
                    cursor: pointer;
                    color: var(--text);
                    width: 10%;
                    height: 45PX;
    }
}





@media (max-width: 768px) {

    .lang-wrapper-DESK{
        display: none;
    }

    .lang-wrapper-MOB{
                display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding: 10px 15px;
                    background: var(--card);
                    border: 1px solid var(--border);
                    border-radius: 15px;
                    cursor: pointer;
                    color: var(--text);
                    width: 100%;
    }

    /* در حالت اسکرول فقط رنگ و افکت را تغییر بده، نه ابعاد را */
    .top-bar-sticky.scrolled {
        background: rgb(13 18 55 / 69%) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        border-radius: 20px;
    }

    .logo {
        font-size: 17px;
        font-weight: 800;
        letter-spacing: 1px;
        text-decoration: none;
        transition: 0.3s;
        color: #fff;
        margin-right: 0;
    }
    .main-site-logo {
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        transition: 0.3s;
        color: #fff;
        font-size: 17px;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .main-site-logo span {
        color: var(--accent);
        font-size: 17px;
        font-weight: 800;
        letter-spacing: 1px;
        white-space: nowrap;
        /* جلوگیری از شکستن متن در موبایل */
    }

    .top-bar-sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 10px;
        width: 93%;
        margin: 0 auto;
        z-index: 1000;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        padding: 15px 0;
        transition: background 0.5s ease, backdrop-filter 0.3s ease;
        box-sizing: border-box;

    }
}



i {
    color: #00f2ff ; /* رنگ نئونی برای تست */
    display: inline-block !important;
    visibility: visible !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}




































/* استایل نئونی سوئیچر زبان */
.lang-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid #00ffcc;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
    MARGIN: 10PX AUTO;
}

.lang-dropdown {
    background: transparent;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    width: 100%;
}

.lang-dropdown option {
    background: #111;
    color: #fff;
}

/* تنظیم خودکار فونت برای زبان‌های مختلف */
[lang="en"] body, [lang="tr"] body, [lang="ru"] body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif !important;
}

[lang="fa"] body, [lang="ar"] body {
    font-family: 'Vazirmatn', sans-serif !important;
}















.logo-imag{
    width: 10%;
}
.logo-img {
    height: 45px;
    width: auto;
    display: block;
}


@media (max-width: 768px){
    .logo-imag{
    display: none;
    }
}