Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
142 changes: 141 additions & 1 deletion app/globals.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "tailwindcss";
@import "tw-animate-css";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

@custom-variant dark (&:is(.dark *));

Expand Down Expand Up @@ -126,3 +126,143 @@
@apply bg-background text-foreground;
}
}

/* Custom animations for interactive homepage */
@keyframes gradient {
0%, 100% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
}

@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-20px);
}
}

@keyframes pulse-glow {
0%, 100% {
box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}
50% {
box-shadow: 0 0 40px rgba(168, 85, 247, 0.8);
}
}

@keyframes shimmer {
0% {
background-position: -1000px 0;
}
100% {
background-position: 1000px 0;
}
}

@keyframes slideInFromBottom {
0% {
opacity: 0;
transform: translateY(30px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}

@keyframes scaleIn {
0% {
opacity: 0;
transform: scale(0.9);
}
100% {
opacity: 1;
transform: scale(1);
}
}

.animate-gradient {
background-size: 200% 200%;
animation: gradient 3s ease infinite;
}

.animate-float {
animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
animation: pulse-glow 2s ease-in-out infinite;
}

.animate-shimmer {
animation: shimmer 2s linear infinite;
}

.animate-slide-in {
animation: slideInFromBottom 0.6s ease-out;
}

.animate-scale-in {
animation: scaleIn 0.5s ease-out;
}
Comment on lines +131 to +212
Copy link

Copilot AI Dec 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The custom animations defined here don't respect user motion preferences. All keyframe animations should include a prefers-reduced-motion media query to disable or reduce animations for users who have indicated motion sensitivity. This is important for accessibility and preventing discomfort or vestibular issues for users with motion disorders.

Copilot uses AI. Check for mistakes.

/* Smooth scroll behavior */
html {
scroll-behavior: smooth;
}

/* Card hover effects */
.card-hover-effect {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 20px 60px rgba(168, 85, 247, 0.3);
}

/* Glassmorphism effect */
.glass-effect {
backdrop-filter: blur(10px);
background: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Text gradient effect */
.text-gradient {
background: linear-gradient(135deg, #a855f7, #ec4899, #8b5cf6);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 200% 200%;
animation: gradient 3s ease infinite;
}

/* Parallax container */
.parallax-container {
transform-style: preserve-3d;
perspective: 1000px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
width: 10px;
}

::-webkit-scrollbar-track {
background: oklch(0.08 0 0);
}

::-webkit-scrollbar-thumb {
background: oklch(0.7 0.18 270);
border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
background: oklch(0.6 0.15 270);
}
Comment on lines +253 to +268
Copy link

Copilot AI Dec 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Custom scrollbar styling only works in WebKit browsers (Chrome, Safari, Edge). Firefox users won't see these custom scrollbar styles. Consider adding Firefox-compatible scrollbar styling using 'scrollbar-width' and 'scrollbar-color' properties to ensure a consistent experience across browsers.

Copilot uses AI. Check for mistakes.
Loading