File size: 3,901 Bytes
348020b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2e78b84
 
348020b
 
2e78b84
 
348020b
 
 
2e78b84
 
348020b
 
 
 
 
 
 
 
 
2e78b84
 
348020b
 
 
2e78b84
348020b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
/* 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;
    }
}