@font-face {
  font-family: 'Fontmagicfile';
  src:
    url('https://magicfile.ir/font/magicfile.woff2') format('woff2'),
    url('https://magicfile.ir/font/magicfile.woff') format('woff');
  font-display: swap;
}

:root { --primary: #6C63FF; --primary-dark: #5A52D5; --primary-light: #8B85FF; --secondary: #FF6584; --accent: #36D1DC; --success: #4CD964; --warning: #FF9500; --error: #FF3B30; --light: #F8F9FA; --dark: #1A1D29; --gray-100: #F8F9FA; --gray-200: #E9ECEF; --gray-300: #DEE2E6; --gray-400: #CED4DA; --gray-500: #ADB5BD; --gray-600: #6C757D; --gray-700: #495057; --gray-800: #343A40; --gray-900: #212529; --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08); --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12); --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16); --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #FF8E53 100%); --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); --gradient-vip: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FFD700 100%); }
* { box-sizing: border-box; }
body { font-family: 'Fontmagicfile'; margin: 0; direction: rtl; line-height: 1.6; background-color: #f1f5f9; color: var(--dark); line-height: 1.6; }
.container { margin: 0 auto; padding: 10px; max-width: 1700px; width: 100%;  }
.main { width: 100%; max-width: 100%; margin: 0 auto; }
.breadcrumb { background: white; padding: 10px; border-radius: var(--radius-md); margin-bottom: 10px; box-shadow: var(--shadow-sm); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 16px; width: 100%; max-width: 100%; }
.breadcrumb a { text-decoration: none; color: var(--primary); display: flex; align-items: center; gap: 6px; transition: var(--transition); padding: 4px 8px; border-radius: var(--radius-sm); }
.breadcrumb a:hover { color: var(--primary-dark); background: var(--gray-100); }
.breadcrumb span { color: var(--gray-600); }
.breadcrumb .separator { color: var(--gray-400); margin: 0 4px; }
.product-layout { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 10px; margin-bottom: 30px; width: 100%; max-width: 100%;  }
.product-left { display: flex; flex-direction: column; gap: 5px; width: 100%; max-width: 100%; }
.product-card { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; transition: var(--transition); position: relative; width: 100%; max-width: 100%; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-image { width: 100%; max-width: 400px; height: auto; aspect-ratio: 1/1; position: relative; margin: 0 auto; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-image:hover img { transform: scale(1.05); }
.product-badge { position: absolute; top: 16px; left: 16px; background: var(--gradient-secondary); color: white; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow-sm); z-index: 2; }
.vip-badge { position: absolute; top: 16px; left: 16px; background: var(--gradient-vip); color: white; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow-sm); z-index: 2; animation: pulse 2s infinite; }
.product-info { padding: 24px; }
.product-title { font-size: 28px; font-weight: 800; margin-bottom: 16px; color: var(--dark); line-height: 1.3; word-wrap: break-word; }
.product-meta { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 8px; color: var(--gray-600); font-size: 14px; background: var(--gray-100); padding: 8px 12px; border-radius: var(--radius-sm); }
.meta-item i { color: var(--primary); }
.product-short-desc { font-size: 16px; color: var(--gray-700); margin-bottom: 24px; line-height: 1.8; word-wrap: break-word; }
.action-buttons { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 12px 20px; border-radius: var(--radius-md); font-weight: 600; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; font-size: 15px; position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%; background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0)); opacity: 0; transition: var(--transition); }
.btn:hover::before { opacity: 1; }
.btn-primary { background: var(--gradient-primary); color: white; box-shadow: 0 4px 14px rgba(108, 99, 255, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(108, 99, 255, 0.5); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.user-satisfaction { background: var(--gray-100); padding: 10px; border-radius: var(--radius-lg); margin-top: 20px; border: 1px solid var(--gray-200); }
.satisfaction-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-item { text-align: center; padding: 10px; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer; }
.stat-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-value { font-size: 18px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--gray-600); }
.progress-container { margin-top: 16px; }
.progress-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.progress-label { font-weight: 700; color: var(--dark); }
.progress-value { font-weight: 700; color: var(--primary); }
.progress-bar { height: 12px; background: var(--gray-200); border-radius: 10px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; background: var(--gradient-primary); border-radius: 10px; width: 89%; position: relative; overflow: hidden; }
.progress-fill::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: shimmer 2s infinite; }
.progress-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--gray-600); }
.tags-section { background: white; padding: 8px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; max-width: 100%; }
.section-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; color: var(--dark); display: flex; align-items: center; gap: 10px; }
.section-title i { color: var(--primary); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { background: var(--gray-100); padding: 5px 14px; border-radius: 20px; font-size: 14px; color: var(--dark); transition: var(--transition); border: 1px solid var(--gray-200); font-weight: 600; text-decoration: none; display: inline-block; }
.tag:hover { background: var(--primary); color: white; cursor: pointer; transform: translateY(-2px); }
.share-section { background: white; padding: 14px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; max-width: 100%; }
.share-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.share-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; background: var(--gray-100); border-radius: var(--radius-md); text-decoration: none; color: var(--dark); transition: var(--transition); border: 1px solid var(--gray-200); text-align: center; }
.share-btn:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.share-btn i { font-size: 20px; }
.share-btn span { font-size: 12px; font-weight: 600; }
.short-link-container { display: flex; gap: 10px; margin-top: 16px; }
.short-link-input {     text-align: left;flex: 1; padding: 12px 16px; border: 1px solid var(--gray-300); border-radius: var(--radius-md); background: white; font-family: monospace; font-size: 14px; width: 100%; }
.copy-btn { padding: 12px 16px; background: var(--primary); color: white; border: none; border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; margin: 5px;}
.copy-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.product-right { display: flex; flex-direction: column; min-width: 0; width: 100%; max-width: 100%;  }
.tabs-container { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; position: relative; min-height: 600px; width: 100%; max-width: 100%; }
.tabs-header { display: flex; border-bottom: 1px solid var(--gray-200); background: var(--gray-100); flex-wrap: wrap; overflow-x: auto; }
.tab-btn { flex: 1;  padding: 20px; background: none; border: none; font-weight: 600; color: var(--gray-600); cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; position: relative;  }
.tab-btn:hover { color: var(--primary); background: rgba(108, 99, 255, 0.05); }
.tab-btn.active { color: var(--primary); background: white; }
.tab-btn.active::after { content: ''; position: absolute; bottom: 0; right: 0; width: 100%; height: 3px; background: var(--gradient-primary); }
.tab-content { display: none; padding: 30px; animation: fadeIn 0.5s ease; width: 100%; max-width: 100%; overflow: hidden; }
.tab-content.active { display: block; }
.sticky-download { position: sticky; bottom: 5px; margin-top: 20px; z-index: 10; }
.sticky-download .btn { width: 100%; justify-content: center; padding: 12px; font-size: 16px; box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4); }
.product-full-desc { line-height: 1.8; color: var(--gray-800); width: 100%; max-width: 100%;  word-wrap: break-word; }
.product-full-desc p { margin-bottom: 16px; width: 100%; max-width: 100%; overflow-wrap: break-word; }
.product-full-desc img { max-width: 100% !important; height: auto !important; display: block; margin: 20px auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition); }
.product-full-desc img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.responsive-img { max-width: 100% !important; height: auto !important; }
.table-container { width: 100%; overflow-x: auto; margin: 1rem 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.responsive-table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display: block; overflow-x: auto; white-space: nowrap; }
.responsive-table table { width: 100%; min-width: 600px; }
.responsive-table th, .responsive-table td, table th, table td { padding: 12px 15px; text-align: right; border-bottom: 1px solid var(--gray-200); white-space: nowrap; }
.responsive-table th, table th { background-color: var(--primary); color: white; font-weight: 600; }
.responsive-table tr:nth-child(even), table tr:nth-child(even) { background-color: var(--gray-100); }
.responsive-table tr:hover, table tr:hover { background-color: var(--gray-200); }
.lightbox-img { cursor: zoom-in; transition: var(--transition); max-width: 100%; height: auto; }
.lightbox-img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.lightbox-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); animation: fadeIn 0.3s ease; }
.lightbox-content { position: relative; margin: auto; display: block; width: 90%; max-width: 1700px; max-height: 90vh; top: 50%; transform: translateY(-50%); }
.lightbox-img-full { width: 100%; height: auto; max-height: 90vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 1001; }
.lightbox-close:hover { color: var(--primary); }
.lightbox-caption { position: absolute; bottom: 20px; left: 0; width: 100%; text-align: center; color: white; padding: 10px; background: rgba(0,0,0,0.7); }
.video-container { width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark); position: relative; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }
.video-placeholder { color: white; text-align: center; }
.video-placeholder i { font-size: 64px; margin-bottom: 16px; color: var(--primary); }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; max-width: 100%; }
.form-group { margin-bottom: 20px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark); }
.form-control { width: 100%; padding: 14px 16px; border: 1px solid var(--gray-300); border-radius: var(--radius-md); font-size: 15px; transition: var(--transition); background: white; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2); }
.form-control.error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.2); }
textarea.form-control { min-height: 140px; resize: vertical; }
.captcha-container { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
.captcha-image { border-radius: var(--radius-md); font-weight: 700; letter-spacing: 3px; min-width: 140px; text-align: center; font-size: 18px; box-shadow: var(--shadow-sm); cursor: pointer; }
.error-message { color: var(--error); font-size: 14px; margin-top: 5px; display: none; }
.comments-list { margin-top: 30px; width: 100%; max-width: 100%; }
.comment-card { background: white; padding: 24px; border-radius: var(--radius-lg); margin-bottom: 20px; border-right: 4px solid var(--primary); transition: var(--transition); box-shadow: var(--shadow-sm); width: 100%; max-width: 100%; }
.comment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.comment-reply { margin-right: 40px; border-right-color: var(--success); background: var(--gray-50); }
.comment-header { display: flex; justify-content: space-between; margin-bottom: 12px; align-items: flex-start; }
.comment-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; }
.support-avatar { background: var(--gradient-secondary); }
.author-info { display: flex; flex-direction: column; }
.author-name { font-weight: 700; color: var(--dark); font-size: 16px; }
.comment-date { font-size: 14px; color: var(--gray-600); }
.comment-body { line-height: 1.8; color: var(--gray-800); padding-right: 62px; word-wrap: break-word; }
.alert { padding: 16px 20px; border-radius: var(--radius-md); margin-bottom: 20px; border-right: 4px solid; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 100%; }
.alert-success { background: rgba(76, 217, 100, 0.1); border-color: var(--success); color: #2e7d32; }
.alert-warning { background: rgba(255, 149, 0, 0.1); border-color: var(--warning); color: #f57c00; }
.alert-error { background: rgba(255, 59, 48, 0.1); border-color: var(--error); color: #d32f2f; }
.alert i { font-size: 20px; }
.social-links-section { background: white; padding: 12px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);  width: 100%; max-width: 100%; }
.social-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 12px; }
.social-link-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px; background: var(--gray-100); border-radius: var(--radius-md); text-decoration: none; color: var(--dark); transition: var(--transition); border: 1px solid var(--gray-200); text-align: center; }
.social-link-item:hover { background: var(--primary); color: white; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.social-link-item img { width: 32px; height: 32px; object-fit: contain; }
.social-link-item span { font-size: 14px; font-weight: 600; }
.products-grid {display: grid;grid-template-columns: repeat(auto-fit, minmax(300px, 300px));gap: 20px;margin-top: 20px;width: 100%;max-width: 100%;justify-content: center;justify-items: center;}
.product-item {background: white;border-radius: var(--radius-lg);overflow: hidden;box-shadow: var(--shadow-sm);transition: var(--transition);position: relative;width: 100%;max-width: 100%;}
.product-item:hover {transform: translateY(-5px);box-shadow: var(--shadow-lg);}
.product-item .product-image {width: 100%;}
.product-item .product-info {padding: 16px;}
.product-item .product-title {font-size: 16px;margin-bottom: 12px;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;word-wrap: break-word;}
.download-btn, .details-btn { display: block; text-align: center; padding: 10px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; transition: var(--transition); margin-bottom: 8px; width: 100%; }
.download-btn { background: var(--gradient-primary); color: white; }
.download-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.details-btn { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.details-btn:hover { background: var(--primary); color: white; }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.fade-in { animation: fadeIn 0.6s ease forwards; }
.slide-in { animation: slideIn 0.5s ease forwards; }
.loading-spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { .product-layout { grid-template-columns: 1fr; gap: 20px; } .product-left, .product-right { width: 100%; max-width: 100%; } }
@media (max-width: 768px) { .container { padding: 16px; } .product-image { max-width: 100%; height: auto; aspect-ratio: 1/1; } .action-buttons { flex-direction: column; } .btn { width: 100%; justify-content: center; } .satisfaction-stats {  } .comment-form { grid-template-columns: 1fr; } .share-buttons {  } .social-links-grid { grid-template-columns: repeat(4, 1fr); } .tabs-header {  } .tab-btn {  } .tab-btn.active::after {  } .product-title { font-size: 24px; } .comment-body { padding-right: 0; } .comment-author { flex-direction: column; align-items: flex-start; gap: 8px; } .author-avatar { width: 40px; height: 40px; font-size: 16px; } .tab-content { padding: 20px; } .video-container { height: 250px; } .product-info { padding: 16px; } }
@media (max-width: 480px) { .product-image { height: auto; aspect-ratio: 1/1; } .share-buttons {  } .social-links-grid {  } .short-link-container {  } .products-grid { grid-template-columns: 1fr; } .breadcrumb { padding: 8px 16px; font-size: 14px; } .section-title { font-size: 18px; } }
@media (max-width: 1024px) and (min-width: 769px) { .product-image { max-width: 350px; height: auto; aspect-ratio: 1/1; } .product-layout { grid-template-columns: minmax(280px, 350px) 1fr; } }
@media (max-width: 768px) { .product-title { font-size: 22px; } .section-title { font-size: 18px; } .btn { padding: 12px 20px; font-size: 14px; } .product-short-desc { font-size: 14px; } }
@media (max-width: 480px) { .container { padding: 10px; } .product-info { padding: 12px; } .action-buttons { gap: 8px; } .tabs-header { gap: 0; } .tab-btn { padding: 16px; font-size: 14px; } }
h1 { font-size: 28px; font-weight: bold; margin-bottom: 10px; text-shadow: 1px 1px 2px rgba(0, 0, 0, .2); line-height: 1.2; text-transform: uppercase; }
h2 { color: #0072ff; font-size: 24px; font-weight: bold; text-shadow: 2px 1px 1px rgba(0, 0, 0, .1); }
h3 { font-weight: bold; text-shadow: 1px 1px 1px rgba(0, 0, 0, .1); }
code { background-color: #f5f5f5; color: #c7254e; padding: 0.2em 0.4em; margin: 0; font-size: 90%; font-family: Consolas, Monaco, 'Courier New', monospace; border-radius: 4px; border: 1px solid #e0e0e0; white-space: pre-wrap; word-break: break-word; direction: ltr; text-align: left; display: inline-block; }
a { text-decoration: none; }

#downloadBtnstak {
    position: fixed;
    bottom: 0px;
    padding: 6px;
    background: #5c51ff;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    width: 100%;
}