/* کهکشان متحرک */
#galaxy-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars:after, .stars2:after, .stars3:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, #fff, transparent),
        radial-gradient(1px 1px at 90px 40px, #ddd, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 160px 30px, #eee, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: starsMove 50s linear infinite;
}

.stars2:after {
    animation-duration: 100s;
    background-size: 300px 150px;
}

.stars3:after {
    animation-duration: 150s;
    background-size: 400px 200px;
}

@keyframes starsMove {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}
/* ستاره های چشمک زن */
.stars:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(3px 3px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, #fff, transparent),
        radial-gradient(2px 2px at 90px 40px, #fff, transparent),
        radial-gradient(3px 3px at 130px 80px, #fff, transparent),
        radial-gradient(1px 1px at 160px 30px, #fff, transparent),
        radial-gradient(2px 2px at 200px 120px, #fff, transparent),
        radial-gradient(3px 3px at 250px 80px, #fff, transparent),
        radial-gradient(1px 1px at 300px 40px, #fff, transparent);
    background-repeat: repeat;
    background-size: 300px 200px;
    animation: starsMove 60s linear infinite, twinkle 3s ease-in-out infinite alternate;
}

.stars2:after {
    animation: starsMove 100s linear infinite, twinkle 5s ease-in-out infinite alternate 1s;
    background-size: 400px 300px;
}

.stars3:after {
    animation: starsMove 150s linear infinite, twinkle 4s ease-in-out infinite alternate 2s;
    background-size: 500px 400px;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}
/* شهاب سنگ */
.shooting-stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shooting-stars:before, .shooting-stars:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px white;
    animation: shootingStar 8s linear infinite;
}

.shooting-stars:after {
    animation-delay: 4s;
    left: 50%;
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translateX(500px) translateY(500px) rotate(45deg);
        opacity: 0;
    }
}

/* کارت های فال */
.fals-grid, .games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.fal-card, .game-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fal-card:before, .game-card:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.fal-card:hover:before, .game-card:hover:before {
    transform: rotate(45deg) translate(50px, 50px);
}

.fal-card:hover, .game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.3);
    border-color: var(--nebula-pink);
}

.card-icon, .game-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.card-title, .game-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--star-white);
}

.card-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-link, .game-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.card-link:hover, .game-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}
/* رفع مشکل لینک های کارت */
.fal-card,
.game-card {
    position: relative;
    z-index: 1;
}

.card-link,
.game-link {
    position: relative;
    z-index: 10;
    cursor: pointer;
}

/* مطمئن شو عناصر قبل مانع کلیک نشدن */
.fal-card:before,
.game-card:before {
    pointer-events: none;
    z-index: 2;
}

.fal-card *,
.game-card * {
    position: relative;
    z-index: 5;
}
/* دسته بندی های اصلی */
.category-links {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.category-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    text-align: center;
}

.category-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.3);
    border-color: var(--nebula-pink);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.category-title {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ابزارک ها */
.widget {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title {
    color: var(--star-white);
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--nebula-pink);
    padding-bottom: 10px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.footer-widget {
    color: rgba(255, 255, 255, 0.8);
}


/* فوتر */
.main-footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* منوی ساده */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* هدر */
.main-header {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.star-icon {
    color: var(--comet-gold);
    animation: twinkle 2s ease-in-out infinite alternate;
}

/* مخفی کردن منوی پیشفرض وردپرس */
.main-header .menu,
.main-header .wp-menu,
.main-header .navigation {
    display: none !important;
}

/* فقط منوی سفارشی ما نمایش داده شود */
.main-nav .nav-menu {
    display: flex !important;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* لینک های فوتر */
.footer-links {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
    border-color: var(--nebula-pink);
    text-decoration: none;
}

.footer-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .footer-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .footer-icon {
        font-size: 1rem;
    }
}

/* استایل لینک های ابزارک فوتر */
.footer-widget a,
.footer-widgets a,
.footer-widget .menu a,
.footer-widgets .menu a {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white !important;
    text-decoration: none !important;
    margin: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-widget a:hover,
.footer-widgets a:hover,
.footer-widget .menu a:hover,
.footer-widgets .menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
    border-color: var(--nebula-pink);
    text-decoration: none !important;
}

/* اگر میخوای شبیه دکمه های اصلی باشه */
.footer-widget a,
.footer-widgets a {
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple)) !important;
    border: none !important;
}

.footer-widget a:hover,
.footer-widgets a:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4) !important;
}

/* برای منوهای فوتر */
.footer-widget .nav-menu,
.footer-widgets .nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.footer-widget .nav-menu li,
.footer-widgets .nav-menu li {
    margin: 0;
    padding: 0;
}

.footer-widget .nav-menu li a,
.footer-widgets .nav-menu li a {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    border-radius: 25px;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.footer-widget .nav-menu li a:hover,
.footer-widgets .nav-menu li a:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

/* بخش جستجو */
.search-section {
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    width: 100%;
}

.search-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-input:focus {
    outline: none;
    border-color: var(--nebula-pink);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 30px;
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
}

.search-icon {
    font-size: 1.2rem;
}

.search-text {
    display: inline;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-input {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }
    
    .search-text {
        display: inline;
    }
}

/* صفحه جستجو */
.search-page {
    padding: 40px 0;
    min-height: 70vh;
}

.search-page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.search-page-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--star-white);
}

.search-query {
    color: var(--nebula-pink);
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 10px;
    font-style: italic;
}

.search-results-count {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* گرید نتایج جستجو */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.search-result-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.search-result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.3);
    border-color: var(--nebula-pink);
}

/* تصویر کارت */
.search-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.search-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-result-card:hover .search-thumbnail {
    transform: scale(1.1);
}

.search-default-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--nebula-pink), var(--galaxy-purple));
    text-decoration: none;
}

/* محتوای کارت */
.search-card-content {
    padding: 25px;
}

.search-card-title {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.search-card-title a {
    color: var(--star-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-card-title a:hover {
    color: var(--nebula-pink);
}

.search-card-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.search-card-type,
.search-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.search-card-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.link-arrow {
    transition: transform 0.3s ease;
}

.search-card-link:hover .link-arrow {
    transform: translateX(5px);
}

/* صفحه بندی */
.search-pagination {
    text-align: center;
    margin-top: 50px;
}

.navigation.pagination {
    display: inline-block;
}

.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.page-numbers.current,
.page-numbers:hover {
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    transform: scale(1.05);
}

/* حالت بدون نتیجه */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-results-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--star-white);
}

.no-results-message {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.no-results-suggestions {
    text-align: right;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.no-results-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.no-results-suggestions li {
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.8);
}

.no-results-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.no-results-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .search-page-title {
        font-size: 1.8rem;
    }
    
    .search-card-meta {
        flex-direction: column;
        gap: 10px;
    }
}
/* صفحه بلاگ */
.blog-page {
    padding: 40px 0;
    min-height: 70vh;
}

.blog-page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.blog-page-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--star-white);
}

.blog-page-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* گرید مطالب بلاگ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.3);
    border-color: var(--nebula-pink);
}

/* تصویر مطلب */
.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-thumbnail {
    transform: scale(1.1);
}

/* محتوای کارت بلاگ */
.blog-card-content {
    padding: 25px;
}

.blog-card-title {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.blog-card-title a {
    color: var(--star-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--nebula-pink);
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.blog-card-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.blog-card-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

/* صفحه بندی بلاگ */
.blog-pagination {
    text-align: center;
}

/* حالت بدون مطلب */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.no-posts-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card-meta {
        flex-direction: column;
        gap: 10px;
    }
}
/* طرح‌بندی صفحه بلاگ */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.blog-main {
    min-height: 500px;
}

/* مطالب اصلی بلاگ */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-post-full {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-post-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.2);
    border-color: var(--nebula-pink);
}

/* تصویر شاخص */
.blog-featured-image {
    height: 300px;
    overflow: hidden;
}

.blog-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-full:hover .blog-main-image {
    transform: scale(1.05);
}

/* محتوای مطلب */
.blog-post-content {
    padding: 30px;
}

.blog-post-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.blog-post-title a {
    color: var(--star-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: var(--nebula-pink);
}

/* متادیتا */
.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-icon {
    font-size: 1rem;
}

.post-category a {
    color: var(--nebula-pink);
    text-decoration: none;
}

.post-category a:hover {
    text-decoration: underline;
}

/* خلاصه مطلب */
.blog-post-excerpt {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 25px;
}

/* دکمه ادامه مطلب */
.blog-read-more {
    text-align: left;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.read-more-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* سایدبار */
.blog-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--star-white);
    border-bottom: 2px solid var(--nebula-pink);
    padding-bottom: 10px;
}

/* جستجوی سایدبار */
.sidebar-search {
    display: flex;
    gap: 10px;
}

.sidebar-search-input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
}

.sidebar-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.sidebar-search-btn {
    padding: 12px 15px;
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-search-btn:hover {
    transform: scale(1.1);
}

/* دسته بندی های سایدبار */
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    margin-bottom: 10px;
}

.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-categories a:hover {
    color: var(--nebula-pink);
    padding-right: 10px;
}

.sidebar-categories span {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* مطالب پربازدید */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post-item {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-post-link {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 5px;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.popular-post-link:hover {
    color: var(--nebula-pink);
}

.popular-post-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-sidebar {
        position: static;
    }
    
    .blog-post-meta {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .blog-post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .blog-featured-image {
        height: 200px;
    }
    
    .blog-post-content {
        padding: 20px;
    }
}
/* صفحه پست */
.single-post-page {
    padding: 40px 0;
}

.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.single-post-main {
    min-height: 500px;
}

/* هدر پست */
.single-post-header {
    margin-bottom: 40px;
    text-align: center;
}

.post-categories {
    margin-bottom: 20px;
}

.post-category {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0 5px 5px 0;
    transition: all 0.3s ease;
}

.post-category:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.single-post-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--star-white);
}

.single-post-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.single-post-meta > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    font-size: 1.1rem;
}

/* تصویر شاخص */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
}

/* محتوای پست */
.single-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: var(--star-white);
    margin: 40px 0 20px 0;
}

.single-post-content h2 {
    font-size: 1.8rem;
    border-right: 4px solid var(--nebula-pink);
    padding-right: 15px;
}

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

.single-post-content blockquote {
    border-right: 4px solid var(--nebula-pink);
    padding-right: 20px;
    margin: 30px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

/* تگ ها */
.single-post-tags {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.tags-title {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tag {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.post-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* نویسنده */
.single-post-author {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin: 40px 0;
    align-items: center;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-name {
    margin-bottom: 10px;
    color: var(--star-white);
}

.author-bio {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* سایدبار پست */
.single-post-sidebar {
    position: sticky;
    top: 20px;
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .single-post-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .single-post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .single-post-title {
        font-size: 1.8rem;
    }
    
    .single-post-meta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .single-post-author {
        flex-direction: column;
        text-align: center;
    }
}
/* سیستم کامنت */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.comments-header {
    margin-bottom: 40px;
    text-align: center;
}

.comments-title {
    font-size: 1.6rem;
    color: var(--star-white);
    margin-bottom: 10px;
}

.comments-count {
    color: var(--nebula-pink);
    font-size: 1.2rem;
}

/* لیست کامنت‌ها */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.comment-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.comment-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.1);
}

.comment-item .comment-item {
    margin-right: 30px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.comment-avatar {
    float: right;
    margin-left: 20px;
}

.comment-avatar img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.comment-content {
    overflow: hidden;
}

.comment-header {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.author-name {
    color: var(--star-white);
    font-size: 1.1rem;
}

.author-badge {
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-right: 8px;
}

.comment-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.comment-time {
    white-space: nowrap;
}

.comment-actions a {
    color: var(--nebula-pink);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.comment-actions a:hover {
    text-decoration: underline;
}

.comment-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
}

.comment-awaiting-moderation {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 15px;
    color: #ffd700;
}

/* فرم کامنت */
.comment-respond {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    margin-top: 40px;
}

.comment-reply-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--star-white);
    text-align: center;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--star-white);
    font-weight: 500;
    font-size: 0.95rem;
}

.required {
    color: var(--nebula-pink);
}

.form-group input,
.form-group textarea {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--nebula-pink);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.comment-form .form-group:last-child {
    margin-top: 10px;
}

.submit-btn {
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.comment-notes {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.must-log-in,
.logged-in-as {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
}

.must-log-in a,
.logged-in-as a {
    color: var(--nebula-pink);
    text-decoration: none;
}

.must-log-in a:hover,
.logged-in-as a:hover {
    text-decoration: underline;
}

/* ناوبری کامنت */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.nav-previous a,
.nav-next a {
    color: var(--nebula-pink);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    text-decoration: underline;
}

.no-comments {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-style: italic;
}

/* ریسپانسیو کامنت */
@media (max-width: 768px) {
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .comment-avatar {
        float: none;
        margin-left: 0;
        margin-bottom: 15px;
    }
    
    .comment-avatar img {
        width: 50px;
        height: 50px;
    }
    
    .comment-item .comment-item {
        margin-right: 15px;
    }
    
    .comment-respond {
        padding: 20px;
    }
    
    .comment-navigation {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
/* صفحه آرشیو بلاگ */
.blog-archive-page {
    padding: 40px 0;
}

.blog-archive-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.blog-archive-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--star-white);
}

.blog-archive-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* طرح‌بندی آرشیو */
.blog-archive-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.blog-archive-main {
    min-height: 500px;
}

/* گرید مطالب */
.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-archive-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-archive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.3);
    border-color: var(--nebula-pink);
}

/* تصویر */
.blog-archive-image {
    height: 200px;
    overflow: hidden;
}

.blog-archive-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-archive-card:hover .blog-archive-thumbnail {
    transform: scale(1.1);
}

.no-blog-image {
    display: block;
    height: 100%;
    text-decoration: none;
}

.blog-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nebula-pink), var(--galaxy-purple));
    font-size: 3rem;
    color: white;
}

/* محتوای کارت */
.blog-archive-content {
    padding: 25px;
}

.blog-archive-category {
    margin-bottom: 15px;
}

.blog-archive-category a {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-archive-card-title {
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-archive-card-title a {
    color: var(--star-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-archive-card-title a:hover {
    color: var(--nebula-pink);
}

.blog-archive-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.blog-archive-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-archive-readmore {
    text-align: left;
}

.blog-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--nebula-pink), var(--galaxy-purple));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.blog-readmore-btn:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

/* سایدبار */
.blog-archive-sidebar {
    position: sticky;
    top: 20px;
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .blog-archive-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-archive-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-archive-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-archive-title {
        font-size: 2rem;
    }
}
/* کامنت های برگه ها */
.page-comments {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* استفاده از همون استایل کامنت پست ها */
.page-comments .comments-area,
.page-comments .comment-list,
.page-comments .comment-respond {
    /* همه استایل های کامنت پست ها اینجا اعمال میشن */
}