File size: 5,294 Bytes
312479e 20ae666 312479e 20ae666 312479e 20ae666 312479e 20ae666 312479e 20ae666 312479e | 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 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | /* Custom Scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f5f9;
}
.dark ::-webkit-scrollbar-track {
background: #0f172a;
}
::-webkit-scrollbar-thumb {
background: #6366f1;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #4f46e5;
}
/* Smooth Scroll */
html {
scroll-behavior: smooth;
}
/* Selection Color */
::selection {
background: #6366f1;
color: white;
}
.dark ::selection {
background: #818cf8;
color: #1e1b4b;
}
/* Custom Animations */
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-20px);
}
}
@keyframes pulse-glow {
0%, 100% {
box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}
50% {
box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
}
}
/* Glass Morphism Utilities */
.glass {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.dark .glass {
background: rgba(15, 23, 42, 0.7);
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Text Gradient Animation */
.animated-gradient-text {
background: linear-gradient(90deg, #4f46e5, #d946ef, #4f46e5);
background-size: 200% auto;
color: transparent;
-webkit-background-clip: text;
background-clip: text;
animation: gradient-shift 3s ease infinite;
}
@keyframes gradient-shift {
0% {
background-position: 0% center;
}
50% {
background-position: 100% center;
}
100% {
background-position: 0% center;
}
}
/* Hover Lift Effect */
.hover-lift {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}
/* Image Hover Zoom */
.img-zoom {
overflow: hidden;
}
.img-zoom img {
transition: transform 0.5s ease;
}
.img-zoom:hover img {
transform: scale(1.1);
}
/* Button Shine Effect */
.btn-shine {
position: relative;
overflow: hidden;
}
.btn-shine::after {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(
to right,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.3) 50%,
rgba(255, 255, 255, 0) 100%
);
transform: rotate(30deg);
transition: transform 0.6s;
}
.btn-shine:hover::after {
transform: rotate(30deg) translate(50%, 50%);
}
/* Custom Focus Styles */
input:focus, textarea:focus, button:focus {
outline: none;
ring: 2px;
ring-color: #6366f1;
}
/* Loading Skeleton */
.skeleton {
background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
background-size: 200% 100%;
animation: skeleton-loading 1.5s infinite;
}
.dark .skeleton {
background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
background-size: 200% 100%;
}
@keyframes skeleton-loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
/* Noise Texture Overlay */
.noise {
position: relative;
}
.noise::before {
content: '';
position: absolute;
inset: 0;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
opacity: 0.03;
pointer-events: none;
z-index: 1;
}
/* Card Glow Border */
.card-glow {
position: relative;
background: rgba(255, 255, 255, 0.05);
border-radius: 20px;
z-index: 1;
}
.card-glow::before {
content: '';
position: absolute;
inset: -2px;
border-radius: 22px;
background: linear-gradient(45deg, #6366f1, #d946ef, #6366f1);
z-index: -1;
opacity: 0;
transition: opacity 0.3s ease;
}
.card-glow:hover::before {
opacity: 1;
}
/* Reveal Animation Classes */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease-out;
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}
/* Stagger Children */
.stagger-children > * {
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.6s ease forwards;
}
.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
/* Mobile Menu Animation */
.mobile-menu-enter {
transform: translateX(100%);
transition: transform 0.3s ease-in-out;
}
.mobile-menu-enter-active {
transform: translateX(0);
}
.mobile-menu-exit {
transform: translateX(0);
transition: transform 0.3s ease-in-out;
}
.mobile-menu-exit-active {
transform: translateX(100%);
} |