
        /* متغیرهای رنگی برای هماهنگی کامل */
        :root {
            --primary: #14012e;
            --primary-light: #2d0a5e;
            --primary-dark: #0a0118;
            --accent: #bf9dda;
            --accent-light: #d4bfe8;
            --accent-dark: #9f7ac0;
            --gold: #ffb302;
            --gold-light: #ffc13d;
            --gold-dark: #e09600;
            --text-dark: #333;
            --text-light: #f8f9fa;
            --bg-light: #f4f7f6;
            --bg-dark: #121212;
            --card-light: #ffffff;
            --card-dark: #1e1e1e;
            --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
            --shadow-dark: 0 5px 15px rgba(0, 0, 0, 0.2);
            --sidebar-width: 300px;
            --transition: all 0.3s ease;
            --header-height: 70px;

            /* نئومورفیسم لایت مود */
            --nm-light-bg: #f0f0f0;
            --nm-light-shadow1: #ffffff;
            --nm-light-shadow2: rgba(0, 0, 0, 0.1);

            /* نئومورفیسم دارک مود */
            --nm-dark-bg: #1e1e1e;
            --nm-dark-shadow1: #2a2a2a;
            --nm-dark-shadow2: #121212;
        }

        /* تنظیمات عمومی */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            transition: var(--transition);
        }

        body {
            font-family: 'Vazirmatn', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-dark);
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            transition: background-color 0.5s ease, color 0.5s ease;
        }

        body.dark-mode {
            background-color: var(--bg-dark);
            color: var(--text-light);
        }

  
        /* استایل بخش اصلی */
        .main-wrapper {
            display: flex;
            min-height: calc(100vh - var(--header-height));
            position: relative;
        }

        /* استایل سایدبار */
        .sidebar {
            width: var(--sidebar-width);
            background: var(--card-light);
            border-left: 1px solid rgba(0, 0, 0, 0.05);
            height: calc(100vh - var(--header-height));
            position: sticky;
            top: var(--header-height);
            overflow-y: auto;
            padding: 20px 0;
            transition: var(--transition), transform 0.3s ease;
            box-shadow: var(--shadow-light);
            scrollbar-width: thin;
            scrollbar-color: var(--accent) transparent;
        }

        .dark-mode .sidebar {
            background: var(--card-dark);
            border-left: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: var(--shadow-dark);
            scrollbar-color: var(--accent-dark) var(--primary-dark);
        }

        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background-color: var(--accent);
            border-radius: 10px;
        }

        .dark-mode .sidebar::-webkit-scrollbar-thumb {
            background-color: var(--accent-dark);
        }

        .sidebar-header {
            padding: 0 25px 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            margin-bottom: 10px;
        }

        .dark-mode .sidebar-header {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .sidebar-header h2 {
            font-size: 1.2rem;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .dark-mode .sidebar-header h2 {
            color: var(--accent);
        }

        .sidebar-header p {
            font-size: 0.85rem;
            color: #777;
            line-height: 1.6;
        }

        .dark-mode .sidebar-header p {
            color: #aaa;
        }

        .sidebar-item {
            padding: 12px 25px;
            cursor: pointer;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            font-size: 0.95rem;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .dark-mode .sidebar-item {
            color: var(--text-light);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .sidebar-item i {
            margin-left: 10px;
            font-size: 1rem;
            color: var(--primary);
            transition: var(--transition);
        }

        .dark-mode .sidebar-item i {
            color: var(--accent);
        }

        .sidebar-item:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            height: 100%;
            width: 3px;
            background: var(--gold);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .sidebar-item:hover {
            background: rgba(191, 157, 218, 0.1);
            color: var(--primary);
            padding-right: 30px;
        }

        .dark-mode .sidebar-item:hover {
            background: rgba(191, 157, 218, 0.05);
            color: var(--accent);
        }

        .sidebar-item:hover:before {
            transform: scaleY(1);
        }

        .sidebar-item:hover i {
            color: var(--gold);
        }

        .sidebar-item.active {
            background: linear-gradient(to left, rgba(191, 157, 218, 0.2), transparent);
            color: var(--primary);
            font-weight: 600;
            border-right: 3px solid var(--gold);
        }

        .dark-mode .sidebar-item.active {
            background: linear-gradient(to left, rgba(191, 157, 218, 0.1), transparent);
            color: var(--accent);
        }

        .sidebar-item.active i {
            color: var(--gold);
        }

        /* استایل محتوای اصلی */
        .content-area {
            flex: 1;
            padding: 40px;
            margin: 20px;
            border-radius: 15px;
            background: var(--card-light);
            box-shadow: var(--shadow-light);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .dark-mode .content-area {
            background: var(--card-dark);
            box-shadow: var(--shadow-dark);
        }

        /* افکت نئومورفیسم برای کانتنت */
        .content-area {
            border-radius: 20px;
            background: var(--nm-light-bg);
            box-shadow: 8px 8px 16px var(--nm-light-shadow2),
                -8px -8px 16px var(--nm-light-shadow1);
        }

        .dark-mode .content-area {
            background: var(--nm-dark-bg);
            box-shadow: 8px 8px 16px var(--nm-dark-shadow2),
                -8px -8px 16px var(--nm-dark-shadow1);
        }

        .article-content {
            display: none;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .article-content.active {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .article-header {
            position: relative;
            margin-bottom: 30px;
            padding-bottom: 15px;
        }

        .article-header:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100px;
            height: 3px;
            background: linear-gradient(to left, var(--gold), var(--accent));
        }

        h1 {
            color: var(--primary);
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 5px;
        }

        .dark-mode h1 {
            color: var(--accent);
        }

        .article-meta {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            font-size: 0.85rem;
            color: #777;
        }

        .dark-mode .article-meta {
            color: #aaa;
        }

        .article-meta span {
            display: flex;
            align-items: center;
            margin-left: 20px;
        }

        .article-meta i {
            margin-left: 5px;
            color: var(--gold);
        }

        h2 {
            color: var(--primary-light);
            font-size: 1.4rem;
            margin: 30px 0 15px;
            position: relative;
            padding-right: 15px;
        }

        .dark-mode h2 {
            color: var(--accent-light);
        }

        h2:before {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 5px;
            height: 20px;
            background: var(--gold);
            border-radius: 5px;
        }

        h3 {
            color: var(--primary);
            font-size: 1.2rem;
            margin: 20px 0 10px;
        }

        .dark-mode h3 {
            color: var(--accent);
        }

        p {
            line-height: 1.9;
            text-align: justify;
            margin-bottom: 15px;
            color: var(--text-dark);
        }

        .dark-mode p {
            color: var(--text-light);
        }

        ul,
        ol {
            padding-right: 25px;
            margin: 15px 0;
        }

        li {
            margin-bottom: 10px;
            line-height: 1.6;
            position: relative;
        }

        ul li::before {
            content: '◉';
            color: var(--gold);
            font-size: 0.8rem;
            position: absolute;
            right: -20px;
        }

        /* استایل جدول */
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 25px 0;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
        }

        .dark-mode table {
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        }

        th,
        td {
            padding: 15px;
            text-align: center;
            border: none;
        }

        th {
            background: linear-gradient(to left, var(--primary), var(--primary-light));
            color: white;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 1px;
        }

        tr:nth-child(even) {
            background-color: rgba(0, 0, 0, 0.02);
        }

        .dark-mode tr:nth-child(even) {
            background-color: rgba(255, 255, 255, 0.02);
        }

        tr:hover {
            background-color: rgba(191, 157, 218, 0.1);
        }

        td {
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .dark-mode td {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* کارت‌های نئومورفیک */
        .card-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin: 30px 0;
        }

        .card {
            border-radius: 15px;
            padding: 25px;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        /* استایل نئومورفیک برای کارت‌ها */
        .card {
            background: var(--nm-light-bg);
            box-shadow: 5px 5px 10px var(--nm-light-shadow2),
                -5px -5px 10px var(--nm-light-shadow1);
        }

        .dark-mode .card {
            background: var(--nm-dark-bg);
            box-shadow: 5px 5px 10px var(--nm-dark-shadow2),
                -5px -5px 10px var(--nm-dark-shadow1);
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .card-icon {
            font-size: 2rem;
            color: var(--gold);
            margin-bottom: 15px;
            display: inline-block;
        }

        .card h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--primary);
        }

        .dark-mode .card h3 {
            color: var(--accent);
        }

        .card p {
            font-size: 0.9rem;
            margin-bottom: 0;
        }

        /* استایل دکمه */
        .btn {
            display: inline-block;
            padding: 10px 25px;
            border-radius: 30px;
            background: var(--primary);
            color: white;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            margin-top: 20px;
            position: relative;
            overflow: hidden;
            z-index: 1;
            box-shadow: 0 4px 15px rgba(20, 1, 46, 0.2);
        }

        .btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0%;
            height: 100%;
            background: var(--gold);
            transition: width 0.3s ease;
            z-index: -1;
        }

        .btn:hover {
            color: white;
            box-shadow: 0 4px 20px rgba(255, 179, 2, 0.3);
        }

        .btn:hover:before {
            width: 100%;
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .dark-mode .btn-outline {
            border-color: var(--accent);
            color: var(--accent);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        .dark-mode .btn-outline:hover {
            background: var(--accent);
            color: var(--primary);
        }

        /* استایل برای تصاویر */
        .img-container {
            margin: 25px 0;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow-light);
        }

        .dark-mode .img-container {
            box-shadow: var(--shadow-dark);
        }

        .img-container img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
        }

        .img-container:hover img {
            transform: scale(1.03);
        }

        /* استایل برای پیشنهادات مقاله */
        .related-articles {
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }

        .dark-mode .related-articles {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .related-articles h3 {
            margin-bottom: 20px;
        }

        .article-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }

        .article-item {
            padding: 15px;
            border-radius: 10px;
            background: rgba(0, 0, 0, 0.02);
            transition: var(--transition);
            cursor: pointer;
        }

        .dark-mode .article-item {
            background: rgba(255, 255, 255, 0.02);
        }

        .article-item:hover {
            background: rgba(191, 157, 218, 0.1);
            transform: translateY(-3px);
        }

        .article-item h4 {
            font-size: 1rem;
            margin-bottom: 5px;
            color: var(--primary);
        }

        .dark-mode .article-item h4 {
            color: var(--accent);
        }

        .article-item p {
            font-size: 0.85rem;
            margin-bottom: 0;
            color: #777;
        }

        .dark-mode .article-item p {
            color: #aaa;
        }

        /* انیمیشن پس‌زمینه */
        .background-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.03;
            pointer-events: none;
        }

        .dark-mode .background-animation {
            opacity: 0.05;
        }

        .particle {
            position: absolute;
            border-radius: 50%;
            background: var(--primary);
            animation: float 15s infinite;
        }

        .dark-mode .particle {
            background: var(--accent);
        }

        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 1;
            }

            100% {
                transform: translateY(-1000px) rotate(720deg);
                opacity: 0;
            }
        }
/* استایل ریسپانسیو بدون هدر */

@media (max-width: 1200px) {

    .content-area {
        padding: 30px;
        margin: 15px;
    }

}

@media (max-width: 992px) {

    .main-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        max-height: 0;
        overflow: hidden;
        position: relative;
        transition: max-height 0.5s ease;
        border-left: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 0;
    }

    .dark-mode .sidebar {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .sidebar.active {
        max-height: 500px;
        overflow-y: auto;
        padding: 20px 0;
    }

    .sidebar-header {
        padding: 15px 25px;
    }

    .content-area {
        margin: 10px;
        padding: 25px;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .article-list {
        grid-template-columns: 1fr;
    }

    .content-area {
        padding: 20px;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

}

@media (max-width: 576px) {

    .content-area {
        padding: 15px;
        margin: 10px;
    }

    h1 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    .article-meta {
        flex-wrap: wrap;
    }

    .article-meta span {
        margin-bottom: 5px;
    }

}