f88fa's picture
هل تشاهد هذا الموقع "https://file.f88fa.com/drahmed/"
312479e verified
Raw History Blame Contribute Delete
5.29 kB
/* 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%);
}