* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

:root {
    --bg-dark: #05070a;
    --panel-bg: rgba(13, 17, 26, 0.4);
    --neon-blue: #2dd4bf;   
    --neon-purple: #a855f7;
    --neon-green: #10b981;  
    --neon-red: #f43f5e;
    --neon-yellow: #fbbf24;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    background: radial-gradient(circle at top center, #111827 0%, var(--bg-dark) 100%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: -20%; left: 50%; transform: translateX(-50%);
    width: 60vw; height: 60vh;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

a { text-decoration: none; color: inherit; }

.glass-panel {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 20px;
    box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.3);
}

/* Layout */
.container { 
    flex: 1; 
    padding: 40px 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
    max-width: 1000px; /* برای مقاله عرض کمتر بهتر است */
    margin: 0 auto; 
    width: 100%; 
}

/* Header Base Styles (Extracted from index) */
.header_check {
    position: sticky;
    top: 0px;
    z-index: 1010;
    margin: 0 auto;
    max-width: 1400px;
    width: -webkit-fill-available;
    padding: 10px 20px;
    margin-top: 15px;
}

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

.logo-section { display: flex; align-items: center; gap: 15px; }
.logo-icon-wrapper { color: var(--neon-blue); font-size: 24px; font-weight: bold; display: flex; align-items: center; }
.icon-spade { width: 30px; height: 30px; }
.brand-text .main-title { font-size: 20px; color: var(--neon-blue); font-weight: 800; text-transform: uppercase; }
.brand-text .sub-title { font-size: 11px; color: var(--text-muted); }

.nav-list { display: flex; gap: 20px; list-style: none; }
.nav-item { color: var(--text-muted); font-weight: 500; font-size: 14px; transition: 0.3s; }
.nav-item:hover, .nav-item.active { color: var(--neon-blue); }
.mobile-nav-header { display: none; }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* Buttons */
.neon-btn-primary {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(16, 185, 129, 0.2));
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-shadow: 0 0 8px rgba(45, 212, 191, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.neon-btn-primary:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.4);
}

.about-title{
        display: flex;
    gap: 15px;
}

/* Article Styles */
.article-section {
    padding: 40px;
}
.article-header {
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
    margin-bottom: 30px;
}
.article-header h1 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
}
.article-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.article-body h2 {
    font-size: 22px;
    color: var(--neon-blue);
    margin: 25px 0 15px;
}
.article-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 15px;
}
.article-body ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: #cbd5e1;
    line-height: 1.8;
}
.article-body li {
    margin-bottom: 8px;
}

.cta-box {
    margin-top: 40px;
    padding: 30px;
    text-align: center;
    background: rgba(45, 212, 191, 0.05);
    border-color: rgba(45, 212, 191, 0.2);
}
.cta-box h3 {
    color: #fff;
    margin-bottom: 10px;
}

/* Footer (Extracted from index) */
.neo-footer { margin-top: auto; border-top: 1px solid var(--glass-border); background: rgba(0,0,0,0.3); padding: 40px 20px 20px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-brand h3 { color: var(--neon-blue); margin-bottom: 15px; }
.footer-brand p { color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.footer-links h4, .footer-newsletter h4 { color: #fff; margin-bottom: 15px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 14px; transition: 0.3s; }
.footer-links a:hover { color: var(--neon-blue); }
.footer-newsletter p { color: var(--text-muted); font-size: 13px; margin-bottom: 15px; }

.neo-subscribe-form { display: flex; gap: 10px; }
.neo-subscribe-form input { flex: 1; padding: 10px 15px; background: rgba(0,0,0,0.4); border: 1px solid var(--glass-border); border-radius: 8px; color: #fff; }
.neo-subscribe-form button { background: var(--neon-blue); color: #000; border: none; padding: 10px 15px; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.neo-subscribe-form button:hover { box-shadow: 0 0 15px rgba(45, 212, 191, 0.5); }
.footer-bottom-bar { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--glass-border); font-size: 12px; color: var(--text-muted); }

/* Toasts */
#toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: rgba(15, 23, 42, 0.95); color: #fff; padding: 12px 20px; border-radius: 8px; border-left: 4px solid var(--neon-blue); box-shadow: 0 5px 15px rgba(0,0,0,0.3); opacity: 0; transform: translateX(100%); transition: all 0.3s ease; display: flex; align-items: center; gap: 10px; }
.toast.show { opacity: 1; transform: translateX(0); }
.toast.success { border-left-color: var(--neon-green); }
.toast.error { border-left-color: var(--neon-red); }

/* Responsive Header */
@media (max-width: 991px) {
    .nav-list { flex-direction: column; width: 100%; gap: 0; }
    .nav-item { display: block; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .main-nav { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: var(--bg-dark); z-index: 2000; transition: 0.4s; flex-direction: column; display: flex; padding-top: 20px; box-shadow: -5px 0 25px rgba(0,0,0,0.5); }
    .main-nav.open { right: 0; }
    .mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .mobile-close-btn { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
    .mobile-menu-btn { display: block; }
    .actions-section { display: none; } /* Hide main CTA on small screens in header, show in menu or center */
}