/* article.css - Enhanced & Completely Responsive Version */ :root { --accent: #1A92EC; --accent-hover: #0d8aeb; --bg-primary: #0a0a0a; --bg-secondary: #1a1a1a; --text-primary: #ffffff; --text-secondary: #b0b0b0; --white: #ffffff; --white-muted: #888888; --border-color: #333333; --success: #00d26a; --warning: #ff6b6b; --yellow: #f2e300; --yellow-hover: #d4c900; } .article-section { padding: clamp(3rem, 8vw, 6.25rem) 0 clamp(1.5rem, 4vw, 3.125rem); min-height: 100vh; min-height: 100dvh; background: var(--bg-primary); display: flex; flex-direction: column; } .article-container { max-width: min(800px, 95%); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 1.25rem); width: 100%; flex: 1; } .article-loading { text-align: center; padding: clamp(4rem, 10vw, 6.25rem) 0; color: var(--white-muted); } .article-loading .fa-spinner { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: clamp(0.75rem, 2vw, 1rem); display: block; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .article-error { text-align: center; padding: clamp(4rem, 10vw, 6.25rem) 0; color: var(--warning); } .article-error .fa-exclamation-triangle { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: clamp(0.75rem, 2vw, 1rem); display: block; } .article-header { margin-bottom: clamp(2rem, 5vw, 2.5rem); } .article-meta { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.25rem); margin-bottom: clamp(1rem, 3vw, 1.25rem); font-size: clamp(0.8rem, 2vw, 0.9rem); color: var(--white-muted); flex-wrap: wrap; } .article-category { background: var(--accent); color: white; padding: clamp(0.25rem, 1vw, 0.375rem) clamp(0.75rem, 2vw, 0.875rem); border-radius: 20px; font-size: clamp(0.7rem, 1.8vw, 0.8rem); text-transform: capitalize; font-weight: 600; } .article-title { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 700; margin-bottom: clamp(1rem, 3vw, 1.25rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--text-primary); word-wrap: break-word; } .article-image { width: 100%; height: clamp(200px, 40vh, 400px); object-fit: cover; border-radius: clamp(10px, 3vw, 15px); margin-bottom: clamp(1.5rem, 4vw, 2rem); background: var(--bg-secondary); } .article-cover-content { font-size: clamp(1rem, 2.5vw, 1.2rem); line-height: 1.6; color: var(--white-muted); margin-bottom: clamp(1.5rem, 4vw, 2rem); padding: clamp(1rem, 3vw, 1.25rem); background: rgba(255, 255, 255, 0.05); border-radius: clamp(8px, 2vw, 10px); border-left: 4px solid var(--accent); } .article-content { font-size: clamp(1rem, 2.5vw, 1.1rem); line-height: 1.8; color: var(--white); } .article-content h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: clamp(2rem, 5vw, 2.5rem) 0 clamp(1rem, 3vw, 1.25rem); color: var(--text-primary); line-height: 1.3; } .article-content h3 { font-size: clamp(1.25rem, 3.5vw, 1.5rem); margin: clamp(1.5rem, 4vw, 2rem) 0 clamp(0.75rem, 2vw, 1rem); color: var(--text-primary); line-height: 1.4; } .article-content p { margin-bottom: clamp(1rem, 3vw, 1.25rem); word-wrap: break-word; hyphens: auto; } .article-actions { display: flex; gap: clamp(0.75rem, 2vw, 1rem); margin: clamp(2rem, 5vw, 2.5rem) 0; padding: clamp(1rem, 3vw, 1.25rem) 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); flex-wrap: wrap; } .action-btn { background: transparent; border: 1px solid var(--border-color); color: var(--white); padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 2.5vw, 1.25rem); border-radius: 25px; cursor: pointer; display: flex; align-items: center; gap: clamp(0.375rem, 1vw, 0.5rem); transition: all 0.3s ease; font-size: clamp(0.8rem, 2vw, 0.9rem); min-width: fit-content; flex: 1 0 auto; justify-content: center; max-width: 200px; } .action-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); } .action-btn:hover:not(:disabled) i { color: var(--accent); } .action-btn.active { background: var(--accent); border-color: var(--accent); color: white; } .action-btn.active i { color: white; } .action-btn.active:hover i { color: var(--yellow); } .action-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; } .action-btn:disabled:hover { border-color: var(--border-color); color: var(--white-muted); } .action-btn:disabled:hover i { color: var(--white-muted); } .like-count { font-weight: 600; font-size: 0.85em; } /* Comments Section */ .comments-section { margin-top: clamp(3rem, 6vw, 3.75rem); padding-top: clamp(2rem, 5vw, 2.5rem); border-top: 1px solid var(--border-color); } .comments-section h3 { font-size: clamp(1.5rem, 4vw, 1.8rem); margin-bottom: clamp(1.5rem, 4vw, 2rem); color: var(--text-primary); } .comments-stats { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1rem); margin-bottom: clamp(1.5rem, 4vw, 2rem); padding: clamp(0.75rem, 2vw, 1rem); background: rgba(255, 255, 255, 0.03); border-radius: 10px; border-left: 4px solid var(--accent); flex-wrap: wrap; } .comments-count { font-weight: 600; color: var(--accent); font-size: clamp(0.9rem, 2vw, 1rem); } .comments-loading { text-align: center; padding: clamp(2rem, 5vw, 2.5rem); color: var(--white-muted); } .comments-list { margin-bottom: clamp(2rem, 5vw, 2.5rem); } .comment-item { background: rgba(255, 255, 255, 0.05); padding: clamp(1rem, 3vw, 1.25rem); border-radius: 10px; margin-bottom: clamp(1rem, 3vw, 1.25rem); border-left: 4px solid var(--accent); transition: transform 0.2s ease; } .comment-item:hover { transform: translateX(5px); } .comment-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(0.75rem, 2vw, 1rem); gap: 1rem; flex-wrap: wrap; } .comment-author { color: var(--text-primary); font-weight: 600; font-size: clamp(0.9rem, 2vw, 1rem); line-height: 1.4; } .comment-date { color: var(--white-muted); font-size: clamp(0.75rem, 1.8vw, 0.85rem); flex-shrink: 0; } .comment-content { color: var(--text-secondary); line-height: 1.6; font-size: clamp(0.9rem, 2vw, 0.95rem); margin-bottom: clamp(0.75rem, 2vw, 1rem); word-wrap: break-word; hyphens: auto; } .comment-actions { display: flex; gap: clamp(0.75rem, 2vw, 1rem); align-items: center; margin-top: clamp(0.75rem, 2vw, 1rem); flex-wrap: wrap; } .comment-action-btn { background: none; border: none; color: var(--white-muted); cursor: pointer; display: flex; align-items: center; gap: 5px; font-size: clamp(0.8rem, 2vw, 0.85rem); transition: all 0.3s ease; padding: clamp(0.375rem, 1vw, 0.5rem) clamp(0.5rem, 1.5vw, 0.75rem); border-radius: 15px; min-width: fit-content; } .comment-action-btn:hover:not(:disabled) { color: var(--accent); background: rgba(26, 146, 236, 0.1); } .comment-action-btn:hover:not(:disabled) i { color: var(--yellow); } .comment-action-btn.active { color: var(--accent); } .comment-action-btn.active i { color: var(--accent); } .comment-action-btn.active:hover i { color: var(--yellow); } .comment-action-btn:disabled { opacity: 0.5; cursor: not-allowed; } .comment-like-count { font-size: clamp(0.75rem, 1.8vw, 0.8rem); color: var(--white-muted); } /* Reply System */ .reply-section { margin-top: clamp(0.75rem, 2vw, 1rem); padding-left: clamp(1rem, 3vw, 1.875rem); border-left: 2px solid var(--border-color); } .reply-form { background: rgba(255, 255, 255, 0.03); padding: clamp(0.75rem, 2vw, 1rem); border-radius: 8px; margin-top: clamp(0.5rem, 1.5vw, 0.75rem); display: none; } .reply-form.active { display: block; animation: slideDown 0.3s ease; } .reply-input { width: 100%; padding: clamp(0.75rem, 2vw, 1rem) clamp(0.875rem, 2vw, 1rem); background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border-color); border-radius: 5px; color: var(--text-primary); font-size: clamp(0.85rem, 2vw, 0.9rem); margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem); resize: vertical; min-height: 80px; font-family: inherit; transition: all 0.3s ease; } .reply-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(26, 146, 236, 0.2); } .reply-actions { display: flex; gap: clamp(0.5rem, 1.5vw, 0.75rem); justify-content: flex-end; flex-wrap: wrap; } .reply-item { background: rgba(255, 255, 255, 0.03); padding: clamp(0.75rem, 2vw, 1rem); border-radius: 8px; margin-top: clamp(0.5rem, 1.5vw, 0.75rem); border-left: 3px solid var(--success); } .reply-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem); gap: 1rem; flex-wrap: wrap; } .reply-author { color: var(--text-primary); font-weight: 600; font-size: clamp(0.85rem, 2vw, 0.9rem); line-height: 1.4; } .reply-date { color: var(--white-muted); font-size: clamp(0.75rem, 1.8vw, 0.8rem); flex-shrink: 0; } .reply-content { color: var(--text-secondary); line-height: 1.5; font-size: clamp(0.85rem, 2vw, 0.9rem); word-wrap: break-word; hyphens: auto; } .reply-actions-small { display: flex; gap: clamp(0.5rem, 1.5vw, 0.75rem); align-items: center; margin-top: clamp(0.5rem, 1.5vw, 0.75rem); flex-wrap: wrap; } .no-comments { text-align: center; color: var(--white-muted); font-style: italic; padding: clamp(2rem, 5vw, 2.5rem); background: rgba(255, 255, 255, 0.03); border-radius: 10px; font-size: clamp(0.9rem, 2vw, 1rem); } /* Comment Form */ .add-comment { background: rgba(255, 255, 255, 0.03); padding: clamp(1.5rem, 4vw, 2rem); border-radius: 10px; border: 1px solid var(--border-color); margin-top: clamp(1.5rem, 4vw, 2rem); } .add-comment h4 { margin-bottom: clamp(1rem, 3vw, 1.25rem); color: var(--text-primary); font-size: clamp(1.1rem, 3vw, 1.3rem); } .comment-form .form-group { margin-bottom: clamp(1rem, 3vw, 1.25rem); } .comment-form input, .comment-form textarea { width: 100%; padding: clamp(0.875rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.125rem); background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border-color); border-radius: 5px; color: var(--text-primary); font-size: clamp(0.9rem, 2vw, 1rem); transition: all 0.3s ease; font-family: inherit; } .comment-form input::placeholder, .comment-form textarea::placeholder { color: var(--white-muted); } .comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 2px rgba(26, 146, 236, 0.2); } .comment-form textarea { resize: vertical; min-height: clamp(100px, 20vh, 120px); } .btn-primary { background: var(--accent); color: white; border: none; padding: clamp(0.875rem, 2vw, 1rem) clamp(1.5rem, 3vw, 1.75rem); border-radius: 5px; cursor: pointer; font-size: clamp(0.9rem, 2vw, 0.95rem); transition: all 0.3s ease; display: flex; align-items: center; gap: clamp(0.375rem, 1vw, 0.5rem); min-width: fit-content; } .btn-primary:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-2px); } .btn-primary:hover:not(:disabled) i { color: var(--yellow); } .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .btn-primary:disabled:hover i { color: inherit; } .btn-secondary { background: transparent; color: var(--white); border: 1px solid var(--border-color); padding: clamp(0.75rem, 2vw, 0.875rem) clamp(1rem, 2.5vw, 1.25rem); border-radius: 5px; cursor: pointer; font-size: clamp(0.85rem, 2vw, 0.9rem); transition: all 0.3s ease; } .btn-secondary:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); } .btn-secondary:hover:not(:disabled) i { color: var(--yellow); } .btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; } .btn-small { padding: clamp(0.5rem, 1.5vw, 0.625rem) clamp(0.75rem, 2vw, 1rem); font-size: clamp(0.8rem, 2vw, 0.85rem); } .subscription-notice { background: rgba(255, 107, 107, 0.1); border: 1px solid var(--warning); color: var(--warning); padding: clamp(0.75rem, 2vw, 1rem); border-radius: 8px; margin-top: clamp(0.75rem, 2vw, 1rem); font-size: clamp(0.85rem, 2vw, 0.9rem); text-align: center; } /* Newsletter Modal */ .newsletter-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 1000; align-items: center; justify-content: center; backdrop-filter: blur(5px); padding: clamp(1rem, 3vw, 1.25rem); } .newsletter-modal.active { display: flex; animation: fadeIn 0.3s ease; } .modal-content { background: var(--bg-secondary); border-radius: clamp(10px, 3vw, 15px); padding: clamp(1.5rem, 4vw, 2rem); max-width: min(400px, 95%); width: 100%; border: 1px solid var(--border-color); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); animation: modalSlideIn 0.3s ease-out; max-height: 90vh; overflow-y: auto; } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(1rem, 3vw, 1.25rem); } .modal-header h3 { margin: 0; font-size: clamp(1.2rem, 3vw, 1.5rem); color: var(--text-primary); } .modal-close { background: none; border: none; color: var(--white); font-size: clamp(1.2rem, 3vw, 1.5rem); cursor: pointer; padding: 0; width: clamp(25px, 6vw, 30px); height: clamp(25px, 6vw, 30px); display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s ease; flex-shrink: 0; } .modal-close:hover { background: rgba(255, 255, 255, 0.1); color: var(--yellow); } .modal-body p { margin-bottom: clamp(1rem, 3vw, 1.25rem); color: var(--white-muted); line-height: 1.5; font-size: clamp(0.9rem, 2vw, 1rem); } .modal-actions { display: flex; gap: clamp(0.5rem, 1.5vw, 0.75rem); flex-wrap: wrap; } /* User Info Styles */ .comment-user-info, .reply-user-info { background: rgba(26, 146, 236, 0.1); padding: clamp(0.5rem, 1.5vw, 0.625rem) clamp(0.75rem, 2vw, 1rem); border-radius: 5px; margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem); border-left: 3px solid var(--accent); } .comment-user-info small, .reply-user-info small { color: var(--accent); font-size: clamp(0.8rem, 2vw, 0.85rem); } /* Action Counters */ .action-count { background: rgba(255, 255, 255, 0.1); border-radius: 12px; padding: clamp(0.125rem, 0.5vw, 0.25rem) clamp(0.5rem, 1.5vw, 0.625rem); font-size: clamp(0.7rem, 1.8vw, 0.75rem); font-weight: 600; min-width: 20px; text-align: center; margin-left: clamp(0.25rem, 0.75vw, 0.5rem); transition: all 0.3s ease; } .action-btn.active .action-count { background: rgba(26, 146, 236, 0.3); color: var(--accent); } .action-btn:hover:not(:disabled) .action-count { color: var(--yellow); } .like-btn.active .action-count { background: rgba(255, 71, 87, 0.3); color: #FF4757; } .favorite-btn.active .action-count { background: rgba(255, 184, 0, 0.3); color: #FFB800; } .comment-like-count, .reply-count { background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: clamp(0.125rem, 0.5vw, 0.125rem) clamp(0.375rem, 1.5vw, 0.5rem); font-size: clamp(0.65rem, 1.8vw, 0.7rem); font-weight: 600; margin-left: clamp(0.25rem, 0.75vw, 0.5rem); transition: all 0.3s ease; } .comment-action-btn.active .comment-like-count { background: rgba(255, 71, 87, 0.3); color: #FF4757; } .comment-action-btn:hover:not(:disabled) .comment-like-count { color: var(--yellow); } /* Replies Header */ .replies-header { display: flex; align-items: center; gap: clamp(0.375rem, 1vw, 0.5rem); font-size: clamp(0.8rem, 2vw, 0.875rem); color: var(--text-secondary); margin: clamp(0.75rem, 2vw, 1rem) 0 clamp(0.5rem, 1.5vw, 0.75rem) 0; padding-left: clamp(0.75rem, 2vw, 1rem); border-left: 2px solid var(--accent); } .replies-header i { color: var(--accent); font-size: clamp(0.75rem, 2vw, 0.8rem); transition: color 0.3s ease; } .replies-header:hover i { color: var(--yellow); } /* Touch Device Optimizations */ @media (hover: none) and (pointer: coarse) { .action-btn:hover, .comment-action-btn:hover, .btn-primary:hover, .btn-secondary:hover, .modal-close:hover { transform: none; } .action-btn:active, .comment-action-btn:active, .btn-primary:active, .btn-secondary:active, .modal-close:active { transform: scale(0.95); } .action-btn:active i, .comment-action-btn:active i, .btn-primary:active i, .btn-secondary:active i, .modal-close:active { color: var(--yellow); } .comment-item:hover { transform: none; } } /* Performance Optimizations */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } .article-loading .fa-spinner { animation: none; } } /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes modalSlideIn { from { opacity: 0; transform: translateY(-50px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } /* Enhanced Responsive Breakpoints */ @media (max-width: 1024px) and (orientation: landscape) { .article-section { padding-top: clamp(2rem, 5vw, 4rem); } .article-image { height: clamp(180px, 35vh, 300px); } } @media (max-width: 768px) { .article-actions { flex-direction: row; justify-content: center; } .action-btn { flex: 0 1 auto; min-width: 140px; } .comment-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; } .modal-actions { flex-direction: column; } .modal-actions .btn-primary, .modal-actions .btn-secondary { width: 100%; justify-content: center; } .reply-section { padding-left: clamp(0.75rem, 2vw, 1rem); } .comment-actions { gap: 0.5rem; } .article-meta { justify-content: center; text-align: center; } } @media (max-width: 640px) { .article-actions { flex-direction: column; align-items: center; } .action-btn { max-width: 100%; width: 100%; } .comment-form input, .comment-form textarea { font-size: 16px; /* Prevents zoom on iOS */ } .reply-actions { justify-content: center; } .reply-actions .btn-secondary { width: 100%; justify-content: center; } } @media (max-width: 480px) { .article-title { font-size: clamp(1.5rem, 4vw, 1.8rem); } .article-cover-content, .add-comment { padding: 1rem; } .comment-item { padding: 1rem; } .modal-content { padding: 1.25rem; } .comments-section h3 { font-size: 1.4rem; } .add-comment h4 { font-size: 1.2rem; } .replies-header { padding-left: 0.75rem; font-size: 0.8rem; } } /* Ultra-wide screens */ @media (min-width: 1920px) { .article-container { max-width: 900px; } .article-title { font-size: 3.5rem; } .article-content { font-size: 1.2rem; } .article-content h2 { font-size: 2.5rem; } .article-content h3 { font-size: 2rem; } .comments-section h3 { font-size: 2.2rem; } } /* Dark mode consistency */ @media (prefers-color-scheme: dark) { .article-section { background: var(--bg-primary); } .article-content, .comment-content, .reply-content { color: var(--text-secondary); } } /* High contrast support */ @media (prefers-contrast: high) { .article-content h2, .article-content h3, .article-title { color: var(--white); } .action-btn, .comment-action-btn { border-width: 2px; } .btn-primary { border: 2px solid var(--accent); } } /* Print styles */ @media print { .article-section { padding: 2rem 0; background: white !important; min-height: auto; } .article-content, .comment-content, .reply-content { color: #333 !important; } .article-actions, .comments-section, .add-comment, .modal-content, .action-btn, .btn-primary, .btn-secondary { display: none !important; } .article-image { height: 300px; border: 1px solid #ddd; } .article-title { color: #000 !important; -webkit-text-fill-color: #000 !important; } } /* Accessibility improvements */ @media (prefers-reduced-motion: reduce) { .action-btn, .comment-action-btn, .btn-primary, .btn-secondary, .modal-close, .comment-item { transition: none; } .newsletter-modal.active, .reply-form.active { animation: none; } } /* Ensure proper contrast for accessibility */ .comment-action-btn, .action-btn, .btn-secondary { color: var(--white); } .comment-action-btn:hover:not(:disabled), .action-btn:hover:not(:disabled), .btn-secondary:hover:not(:disabled) { color: var(--yellow); } /* Focus styles for accessibility */ .action-btn:focus-visible, .comment-action-btn:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible, .modal-close:focus-visible, .reply-input:focus-visible, .comment-form input:focus-visible, .comment-form textarea:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; } /* Scrollbar styling for webkit browsers */ .comment-form textarea::-webkit-scrollbar, .reply-input::-webkit-scrollbar, .modal-content::-webkit-scrollbar { width: 8px; } .comment-form textarea::-webkit-scrollbar-track, .reply-input::-webkit-scrollbar-track, .modal-content::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 4px; } .comment-form textarea::-webkit-scrollbar-thumb, .reply-input::-webkit-scrollbar-thumb, .modal-content::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 4px; } .comment-form textarea::-webkit-scrollbar-thumb:hover, .reply-input::-webkit-scrollbar-thumb:hover, .modal-content::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); } ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #4a4a4a; backdrop-filter: blur(10px); border-radius: 10px; } ::-webkit-scrollbar-thumb { background: rgba(26, 146, 236, 0.3); backdrop-filter: blur(10px); border-radius: 10px; border: 1px solid rgba(26, 146, 236, 0.2); } ::-webkit-scrollbar-thumb:hover { background: rgba(26, 146, 236, 0.5); } .scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 4px; background: rgba(26, 146, 236, 0.2); z-index: 1000; } .progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #1A92EC, #00ffea); transition: width 0.3s ease; box-shadow: 0 0 10px #1A92EC; }