/* ViewBoost Pro - Progressive Design */ /* Modern CSS Reset */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } /* Smooth scrolling and improved typography */ html { scroll-behavior: smooth; font-feature-settings: 'kern', 'liga', 'clig', 'calt'; text-rendering: optimizeLegibility; } /* Custom scrollbar with modern design */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); border-radius: 3px; } ::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #0ea5e9, #d946ef); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #0284c7, #c026d3); } /* Progressive animations */ @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } } @keyframes glow { 0%, 100% { box-shadow: 0 0 20px rgba(14, 165, 233, 0.3); } 50% { box-shadow: 0 0 40px rgba(217, 70, 239, 0.5); } } @keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } } @keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } } /* Modern glass morphism */ .glass { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2); } /* Progressive loading states */ .loading { animation: pulse 2s ease-in-out infinite; } .progressive-loading { background: linear-gradient(90deg, #f0f9ff 25%, #e0f2fe 50%, #f0f9ff 75%); background-size: 1000px 100%; animation: shimmer 2s infinite linear; } /* Modern button effects */ .btn-modern { position: relative; overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .btn-modern::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .btn-modern:hover::before { left: 100%; } /* Advanced focus styles */ .focus-modern:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8), 0 0 0 6px rgba(14, 165, 233, 0.3); } /* Modern gradient text */ .gradient-text-pro { background: linear-gradient(135deg, #0ea5e9 0%, #d946ef 50%, #0ea5e9 100%); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradientShift 3s ease infinite; } @keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } /* Floating elements */ .float-element { animation: float 6s ease-in-out infinite; } /* Glow effects */ .glow-element { animation: glow 4s ease-in-out infinite; } /* Slide in animations */ .slide-in-up { animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; } /* Modern input fields */ .input-modern { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .input-modern:focus { background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1), 0 8px 25px rgba(0, 0, 0, 0.05); } /* Progress bar enhancements */ .progress-modern { position: relative; overflow: hidden; } .progress-modern::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); animation: progressShimmer 2s infinite; } @keyframes progressShimmer { 0% { left: -100%; } 100% { left: 100%; } } /* Card hover effects */ .card-modern { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .card-modern:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1); } /* Notification system */ .notification-modern { animation: slideInUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); } /* Responsive design enhancements */ @media (max-width: 768px) { .mobile-optimized { padding: 1.5rem; margin: 0 -1rem; } } /* Dark mode support */ @media (prefers-color-scheme: dark) { .glass { background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); } } /* Performance optimizations */ .will-change-transform { will-change: transform; } /* Modern border radius scale */ .rounded-modern { border-radius: 1rem; } .rounded-modern-xl { border-radius: 1.5rem; } .rounded-modern-2xl { border-radius: 2rem; } /* Advanced shadow system */ .shadow-modern { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); } /* Gradient overlay effects */ .gradient-overlay { background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(217, 70, 239, 0.05) 100%); } /* Success state animations */ @keyframes successModern { 0% { transform: scale(1) rotate(0deg); } 25% { transform: scale(1.02) rotate(1deg); } 75% { transform: scale(1.02) rotate(-1deg); } 100% { transform: scale(1) rotate(0deg); } } .success-modern { animation: successModern 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55); }