/* Additional custom styles for enhanced UI */ /* Smooth scrolling for anchor links */ html { scroll-behavior: smooth; } /* Custom scrollbar for webkit browsers */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #1a1a1a; } ::-webkit-scrollbar-thumb { background: #f97316; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #ea580c; } /* Code block styling */ pre { background: #1a1a1a !important; border: 1px solid #374151; border-radius: 8px; padding: 1rem; overflow-x: auto; max-height: 400px; } code { font-family: 'Courier New', Courier, monospace; font-size: 0.875rem; line-height: 1.5; } /* Enhanced gradient backgrounds */ .gradient-bg { background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%); } .hero-pattern { background-image: radial-gradient(circle at 1px 1px, rgba(249, 115, 22, 0.15) 1px, transparent 0); background-size: 25px 25px; } /* Card hover effects */ .vulnerability-card { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid transparent; } .vulnerability-card:hover { border-color: #f97316; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(249, 115, 22, 0.1); transform: translateY(-4px); } /* Loading animation for images */ img { transition: opacity 0.3s ease; } img:not([src]) { opacity: 0; } /* Mobile optimizations */ @media (max-width: 768px) { .vulnerability-card { margin-bottom: 1rem; } pre { font-size: 0.75rem; padding: 0.75rem; } } /* Print styles */ @media print { .vulnerability-card { break-inside: avoid; border: 1px solid #ccc; margin-bottom: 1rem; } nav, footer, #back-to-top { display: none; } } /* Focus styles for accessibility */ a:focus, button:focus { outline: 2px solid #f97316; outline-offset: 2px; } /* Dark mode optimizations */ .dark pre { background: #0f172a !important; border-color: #334155; } /* Code syntax highlighting enhancements */ .token.comment { color: #6b7280; } .token.string { color: #10b981; } .token.number { color: #f59e0b; } .token.keyword { color: #ef4444; } .token.operator { color: #8b5cf6; } /* Animation keyframes */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .fade-in-up { animation: fadeInUp 0.6s ease-out; } /* Navigation enhancements */ nav a { position: relative; } nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -2px; left: 50%; background-color: #f97316; transition: all 0.3s ease; } nav a:hover::after { width: 100%; left: 0; } /* Button enhancements */ button, .btn { transition: all 0.2s ease; } button:hover, .btn:hover { transform: translateY(-1px); } button:active, .btn:active { transform: translateY(0); } /* Typography enhancements */ h1, h2, h3, h4, h5, h6 { letter-spacing: -0.025em; } .text-accent-500 { text-shadow: 0 0 10px rgba(249, 115, 22, 0.3); } /* Responsive grid adjustments */ @media (min-width: 1024px) { .grid.lg\\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* High contrast mode support */ @media (prefers-contrast: high) { .bg-black-800 { background-color: #000000; } .border-gray-700 { border-color: #ffffff; } } /* Reduced motion support */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }