/* STREAMING_CHUNK:Configuring base styles... */ @font-face { font-family: 'yekan'; src: url('https://cdn.bayan.ir/blog/templates/shared/fonts/BYekan.woff?download') format('woff'); font-weight: normal; font-style: normal; }:root { --primary: #007aff; --primary-hover: #005ecb; --primary-bg: #eff6ff; --bg-body: #f4f6f9; --bg-card: #ffffff; --bg-glass: rgba(255, 255, 255, 0.9); --text-main: #2c3e50; --text-secondary: #64748b; --text-light: #94a3b8; --border-color: #e2e8f0; --shadow-sm: 0 2px 4px rgba(44, 62, 80, 0.05); --shadow-hover: 0 10px 25px -5px rgba(0, 122, 255, 0.15); }body.dark-mode { --primary: #0a84ff; --primary-hover: #409cff; --primary-bg: #1c2a3a; --bg-body: #121212; --bg-card: #1e1e1e; --bg-glass: rgba(30, 30, 30, 0.9); --text-main: #e0e0e0; --text-secondary: #a0a0a0; --text-light: #6e6e6e; --border-color: #333333; --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3); --shadow-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.5); }{ box-sizing: border-box; outline: none; }body { font-family: 'yekan', Tahoma, sans-serif; background-color: var(--bg-body); margin: 0; padding: 0; color: var(--text-main); transition: background-color 0.3s ease, color 0.3s ease; display: flex; flex-direction: column; min-height: 100vh; }.container { max-width: 1250px; margin: 0 auto; padding: 20px 20px 60px; position: relative; flex: 1; width: 100%; }/* STREAMING_CHUNK:Styling navigation and header... */ .theme-toggle { position: absolute; top: 20px; left: 20px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-main); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; box-shadow: var(--shadow-sm); transition: all 0.3s ease; z-index: 100; } .theme-toggle:hover { background: var(--primary-bg); color: var(--primary); transform: rotate(15deg); }.top-menu { position: absolute; top: 25px; right: 20px; display: flex; gap: 20px; z-index: 100; }.top-menu a { text-decoration: none; color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: all 0.2s ease; position: relative; }.top-menu a:hover { color: var(--primary); }.top-menu a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; right: 0; background-color: var(--primary); transition: width 0.3s; }.top-menu a:hover::after { width: 100%; }header { text-align: center; margin-bottom: 40px; padding-top: 80px; animation: fadeIn 0.8s ease; }.site-logo { height: 100px; width: auto; margin-bottom: 0px; filter: drop-shadow(0 4px 10px rgba(0, 122, 255, 0.1)); transition: transform 0.3s; } .site-logo:hover { transform: scale(1.05) rotate(-2deg); }p.subtitle { color: var(--text-secondary); font-size: 16px; margin: 0; font-weight: 500; }/* STREAMING_CHUNK:Styling search component... */ .search-container { background: var(--bg-glass); backdrop-filter: blur(15px); padding: 5px; border-radius: 18px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); display: flex; gap: 8px; margin-bottom: 30px; border: 1px solid var(--border-color); max-width: 550px; margin-left: auto; margin-right: auto; transition: all 0.3s ease; } .search-container:focus-within { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 122, 255, 0.12); border-color: var(--primary); }.search-input { flex: 1; padding: 8px 16px; border: none; font-size: 15px; background: transparent; color: var(--text-main); font-family: 'yekan'; } .search-input::placeholder { color: var(--text-light); }.search-btn { padding: 8px 20px; background: var(--primary); color: white; border: none; border-radius: 14px; font-size: 13px; cursor: pointer; transition: all 0.2s; font-family: 'yekan'; font-weight: bold; display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 8px rgba(0, 100, 255, 0.2); } .search-btn:hover { background: var(--primary-hover); transform: scale(1.02); }/* STREAMING_CHUNK:Styling categories component... */ .categories-wrapper { margin-bottom: 25px; overflow-x: auto; padding: 5px 0 10px; text-align: center; white-space: nowrap; scrollbar-width: none; } .categories-wrapper::-webkit-scrollbar { display: none; }.categories-nav { display: inline-flex; gap: 8px; padding: 0 15px; }.cat-btn { background: var(--bg-card); border: 1px solid var(--border-color); padding: 6px 16px; border-radius: 50px; font-size: 12px; color: var(--text-secondary); text-decoration: none; transition: all 0.2s ease; display: flex; align-items: center; gap: 6px; font-weight: 500; } .cat-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-bg); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 122, 255, 0.15); } .cat-btn.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 10px rgba(0, 122, 255, 0.25); } .cat-icon { font-size: 14px; }/* STREAMING_CHUNK:Styling grid and cards... */ .results-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; animation: slideUp 0.5s ease-out; justify-content: center; padding: 0 5px; }.icon-card { display: flex; flex-direction: column; align-items: center; text-decoration: none; transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative; text-align: center; padding: 4px; border-radius: 14px; } .icon-card:hover { transform: translateY(-4px); background-color: var(--bg-card); box-shadow: 0 4px 12px rgba(0,0,0,0.08); z-index: 100; }.icon-img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; box-shadow: 0 4px 10px rgba(0,0,0,0.06); background-color: var(--bg-card); border: 1px solid var(--border-color); transition: box-shadow 0.3s; margin-bottom: 4px; } .icon-card:hover .icon-img { box-shadow: 0 8px 20px rgba(0, 122, 255, 0.2); border-color: rgba(0, 122, 255, 0.1); }.icon-title { font-size: 11px; font-weight: 500; color: var(--text-main); direction: ltr; line-height: 1.2; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; padding: 0 1px; margin-top: 2px; }/* STREAMING_CHUNK:Styling tooltips... */ .hover-tooltip { position: absolute; bottom: 80%; left: 50%; transform: translateX(-50%); width: 200px; background: var(--bg-card); backdrop-filter: blur(12px); padding: 12px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 4px 8px rgba(0,0,0,0.05); border: 1px solid var(--border-color); opacity: 0; visibility: hidden; transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 101; text-align: right; pointer-events: none; display: flex; flex-direction: column; gap: 8px; } .icon-card:hover .hover-tooltip { opacity: 1; visibility: visible; bottom: 105%; } .hover-tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -6px; border-width: 6px; border-style: solid; border-color: var(--bg-card) transparent transparent transparent; }.tooltip-header { border-bottom: 1px solid var(--border-color); padding-bottom: 6px; } .tooltip-title { font-weight: 700; color: var(--text-main); font-size: 13px; direction: ltr; text-align: right; line-height: 1.3; } .tooltip-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--text-secondary); } .tooltip-badges { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; } .t-badge { background: var(--bg-body); color: var(--text-secondary); padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 600; border: 1px solid var(--border-color); } .t-badge.blue { background: var(--primary-bg); color: var(--primary); border-color: transparent; } .tooltip-tags { font-size: 10px; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }/* STREAMING_CHUNK:Styling utilities... */ .no-result { text-align: center; color: var(--text-secondary); width: 100%; margin-top: 60px; font-size: 15px; background: var(--bg-card); padding: 40px; border-radius: 24px; border: 1px solid var(--border-color); grid-column: 1 / -1; box-shadow: var(--shadow-sm); }.pagination-container { display: flex; justify-content: center; gap: 6px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); grid-column: 1 / -1; } .page-link { display: flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; border-radius: 10px; background: var(--bg-card); color: var(--text-secondary); text-decoration: none; font-size: 13px; font-weight: bold; border: 1px solid var(--border-color); transition: all 0.2s; } .page-link:hover { border-color: var(--primary); color: var(--primary); background-color: var(--primary-bg); transform: translateY(-2px); } .page-link.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3); }footer { padding: 15px 0; margin-top: auto; }.footer-content { max-width: 1250px; margin: 0 auto; display: flex; justify-content: center; align-items: center; padding: 0 20px; flex-wrap: wrap; gap: 20px; }.footer-links { display: flex; gap: 10px; align-items: center; }.footer-icon-btn { color: var(--text-secondary); font-size: 18px; transition: all 0.2s; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-body); border: 1px solid var(--border-color); text-decoration: none; }.footer-icon-btn:hover { color: var(--primary); transform: translateY(-2px); border-color: var(--primary); background: var(--primary-bg); }.copy-text { font-size: 12px; color: var(--text-light); font-weight: 500; }@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }/* STREAMING_CHUNK:Styling responsiveness... / / ریسپانسیو */ @media (max-width: 1000px) { .results-grid { grid-template-columns: repeat(6, 1fr); } } @media (max-width: 700px) { .results-grid { grid-template-columns: repeat(4, 1fr); } } @media (max-width: 480px) { .results-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .container { padding-bottom: 20px; } .site-logo { height: 70px; } .icon-img { width: 56px; height: 56px; } .hover-tooltip { display: none; } .footer-content { flex-direction: column-reverse; gap: 15px; text-align: center; } .top-menu { gap: 10px; right: 10px; } .top-menu a { font-size: 12px; } }