.post-hero { padding: 140px 24px 60px; background: var(--black); position: relative; overflow: hidden; border-bottom: 1px solid var(--border); } .post-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,195,255,0.06) 0%, transparent 60%); pointer-events: none; } .post-hero::after { content: ''; position: absolute; top:0; left:0; right:0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), transparent); } .post-hero-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 2; } .post-back { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--text-muted); text-decoration: none; margin-bottom: 24px; transition: color 0.2s; } .post-back:hover { color: var(--cyan); } .post-cat-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 18px; } .post-hero-inner h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.3; margin-bottom: 18px; } [lang="ar"] .post-hero-inner h1 { font-size: clamp(1.4rem, 3.6vw, 2.3rem); } .post-meta { display: flex; align-items: center; gap: 14px; font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; } .post-meta i { font-size: 0.84rem; } .post-meta .sep { color: var(--border); } .post-tags { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; } .post-tag { font-size: 0.75rem; padding: 3px 10px; border-radius: 20px; border: 1px solid var(--border); color: var(--text-muted); background: transparent; }  .post-layout { background: var(--deep); padding: 60px 24px 80px; } .post-layout-inner { max-width: 780px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; }  .post-body { line-height: 1.9; } .post-body p { font-size: 1rem; color: var(--text-secondary); margin-bottom: 22px; opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; } .post-body p.visible { opacity: 1; transform: translateY(0); } .post-body h2 { font-size: 1.35rem; color: var(--text-primary); margin: 36px 0 14px; opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; } .post-body h2.visible { opacity: 1; transform: translateY(0); } .post-body h3 { font-size: 1.1rem; color: var(--cyan); margin: 28px 0 10px; opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; } .post-body h3.visible { opacity: 1; transform: translateY(0); } .post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 22px; color: var(--text-secondary); font-size: 1rem; opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; } .post-body ul.visible, .post-body ol.visible { opacity: 1; transform: translateY(0); } .post-body li { margin-bottom: 8px; } .post-body strong { color: var(--text-primary); } .post-body em { color: var(--cyan); font-style: normal; } .post-body blockquote { border-left: 3px solid var(--cyan); padding: 16px 20px; margin: 28px 0; background: rgba(0,195,255,0.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-secondary); font-size: 1rem; opacity: 0; transform: translateX(-10px); transition: opacity 0.55s ease, transform 0.55s ease; } .post-body blockquote.visible { opacity: 1; transform: translateX(0); } .post-body pre { background: rgba(0,0,0,0.4); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; font-family: 'Courier New', monospace; font-size: 0.85rem; color: var(--cyan); overflow-x: auto; margin-bottom: 22px; opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; } .post-body pre.visible { opacity: 1; transform: translateY(0); } .post-body img { width: 100%; border-radius: var(--radius-md); border: 1px solid var(--border); margin-bottom: 22px; opacity: 0; transform: translateY(12px); transition: opacity 0.55s ease, transform 0.55s ease; } .post-body img.visible { opacity: 1; transform: translateY(0); } .post-body a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(0,195,255,0.3); } .post-body a:hover { border-color: var(--cyan); }  .reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--grad-cyan); z-index: 9999; width: 0%; transition: width 0.1s linear; }  .post-author { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; display: flex; gap: 20px; align-items: flex-start; } .post-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-cyan); filter: grayscale(40%); } .post-author-info h4 { font-size: 0.95rem; margin-bottom: 4px; } .post-author-info span { font-size: 0.78rem; color: var(--cyan); display: block; margin-bottom: 8px; } .post-author-info p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; margin: 0; }  .post-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .post-share span { font-size: 0.82rem; color: var(--text-muted); } .share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); font-size: 0.8rem; text-decoration: none; cursor: pointer; transition: var(--t-base); font-family: var(--font-body); } .share-btn:hover { border-color: var(--border-cyan); color: var(--text-primary); transform: translateY(-2px); } .share-btn.primary-share { background: rgba(0,195,255,0.1); border-color: rgba(0,195,255,0.35); color: var(--cyan); font-weight: 600; } .share-btn.fb { background: rgba(24,119,242,0.1); border-color: rgba(24,119,242,0.35); color: #1877f2; } .share-btn.wa { background: rgba(37,211,102,0.1); border-color: rgba(37,211,102,0.35); color: #25d366; } .share-btn.tw { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); color: #fff; } .share-btn.li { background: rgba(10,102,194,0.1); border-color: rgba(10,102,194,0.35); color: #0a66c2; } .share-btn.ig { background: rgba(228,64,95,0.1); border-color: rgba(228,64,95,0.35); color: #e4405f; } .share-btn.copy-btn { cursor: pointer; }  .share-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.82); backdrop-filter: blur(6px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; } .share-modal-overlay.open { display: flex; } .share-modal-box { background: #0d1020; border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; width: 100%; max-width: 520px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.6); } .share-modal-header { padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; } .share-modal-header h3 { font-size: 0.95rem; font-weight: 600; } .share-modal-close { background: transparent; border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: all 0.2s; } .share-modal-close:hover { border-color: #ff4444; color: #ff4444; }  .share-card-preview { margin: 16px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); position: relative; } .sc-hero { padding: 28px 24px 20px; position: relative; min-height: 140px; } .sc-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #001a2e 0%, #003855 60%, #060810 100%); } .sc-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.18; } .sc-hero-content { position: relative; z-index: 2; } .sc-brand { font-family: 'Orbitron', sans-serif; font-size: 0.65rem; letter-spacing: 2px; color: rgba(0,195,255,0.7); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; } .sc-brand::before { content: ''; display: inline-block; width: 20px; height: 1px; background: rgba(0,195,255,0.5); } .sc-cat { display: inline-flex; align-items: center; gap: 5px; font-size: 0.68rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; } .sc-title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; color: #f0f4ff; } .sc-desc { font-size: 0.8rem; color: rgba(255,255,255,0.62); line-height: 1.55; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .sc-body { padding: 16px 24px 20px; background: #0a0d1a; border-top: 1px solid rgba(255,255,255,0.05); } .sc-author { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .sc-author-photo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(0,195,255,0.4); flex-shrink: 0; } .sc-author-initials { width: 42px; height: 42px; border-radius: 50%; background: rgba(0,195,255,0.1); border: 2px solid rgba(0,195,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: #00c3ff; flex-shrink: 0; } .sc-author-info { flex: 1; } .sc-author-name { font-size: 0.82rem; font-weight: 600; color: #f0f4ff; } .sc-author-title { font-size: 0.72rem; color: #00c3ff; } .sc-footer { display: flex; align-items: center; justify-content: space-between; } .sc-url { font-size: 0.7rem; color: rgba(255,255,255,0.3); } .sc-date { font-size: 0.7rem; color: rgba(255,255,255,0.3); }  .share-platforms { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 10px; } .share-platforms-row { display: flex; gap: 8px; flex-wrap: wrap; } .sp-btn { flex: 1; min-width: 100px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 14px; border-radius: 10px; border: 1px solid; font-size: 0.82rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.2s; text-decoration: none; } .sp-btn:hover { transform: translateY(-2px); filter: brightness(1.15); } .sp-fb { background: rgba(24,119,242,0.12); border-color: rgba(24,119,242,0.4); color: #1877f2; } .sp-wa { background: rgba(37,211,102,0.1); border-color: rgba(37,211,102,0.4); color: #25d366; } .sp-tw { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); color: #e7e7e7; } .sp-li { background: rgba(10,102,194,0.1); border-color: rgba(10,102,194,0.4); color: #0a66c2; } .sp-ig { background: linear-gradient(135deg,rgba(228,64,95,0.1),rgba(159,82,204,0.1)); border-color: rgba(228,64,95,0.4); color: #e4405f; } .sp-dl { background: rgba(0,195,255,0.08); border-color: rgba(0,195,255,0.3); color: #00c3ff; } .sp-copy { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); color: #b8c4e0; }  .post-related h2 { font-size: 1.1rem; margin-bottom: 24px; } .related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; } .related-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; text-decoration: none; transition: var(--t-base); display: flex; flex-direction: column; gap: 8px; } .related-card:hover { border-color: var(--border-cyan); transform: translateY(-3px); } .related-card .rc-cat { font-size: 0.7rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.5px; } .related-card .rc-title { font-size: 0.84rem; font-weight: 600; color: var(--text-primary); line-height: 1.4; } .related-card .rc-meta { font-size: 0.74rem; color: var(--text-muted); }  .post-reactions-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px 28px; text-align: center; } .post-reactions-title { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.3px; margin-bottom: 18px; } .reaction-bar { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; } .reaction-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--border); background: transparent; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.18s; min-width: 60px; user-select: none; font-family: inherit; } .reaction-btn:hover { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); transform: translateY(-3px) scale(1.08); } .reaction-btn:active { transform: scale(0.93); } .reaction-btn.mine { border-color: rgba(0,195,255,0.55); background: rgba(0,195,255,0.09); } .reaction-emoji { font-size: 1.55rem; line-height: 1; } .reaction-count { font-size: 0.68rem; font-weight: 600; color: var(--text-muted); font-family: 'Inter', sans-serif; line-height: 1; } .reaction-btn.mine .reaction-count { color: var(--cyan); } .reaction-people { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 28px; } .reaction-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #0044ff, #00c3ff); color: #fff; font-size: 0.58rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--surface); font-family: 'Inter', sans-serif; text-transform: uppercase; margin-left: -6px; flex-shrink: 0; } .reaction-avatar:first-child { margin-left: 0; } .reaction-summary-text { font-size: 0.74rem; color: var(--text-muted); margin-left: 8px; font-family: 'Inter', sans-serif; } .reaction-login-hint { font-size: 0.74rem; color: var(--text-muted); margin-top: 12px; font-family: 'Inter', sans-serif; } .reaction-login-hint a { color: var(--cyan); text-decoration: none; font-weight: 500; } .reaction-login-hint a:hover { text-decoration: underline; }  .post-notfound { text-align: center; padding: 100px 24px; color: var(--text-muted); } .post-notfound i { font-size: 3rem; opacity: 0.25; display: block; margin-bottom: 20px; } .post-notfound h2 { margin-bottom: 10px; color: var(--text-secondary); }  .post-loading { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; padding: 60px 24px; animation: skel-pulse 1.5s ease-in-out infinite; } .post-loading .skel { height: 14px; border-radius: 7px; background: rgba(255,255,255,0.06); } .post-loading .skel.h1 { height: 38px; width: 80%; } .post-loading .skel.h2 { height: 22px; width: 60%; } .post-loading .skel.p { width: 100%; } .post-loading .skel.p2 { width: 90%; } @keyframes skel-pulse { 0%,100%{opacity:1} 50%{opacity:.45} }