better designs

This commit is contained in:
Nik L
2026-03-31 09:31:52 -04:00
parent a4a6dd97c9
commit 1d814a74e3
2 changed files with 204 additions and 49 deletions

View File

@@ -196,3 +196,79 @@ section {
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
/* ─── Aurora gradient background (Stripe-inspired) ─── */
@keyframes aurora {
0%, 100% { background-position: 0% 50%, 100% 50%, 50% 100%; }
33% { background-position: 100% 0%, 0% 100%, 50% 50%; }
66% { background-position: 50% 100%, 50% 0%, 0% 50%; }
}
.aurora-bg {
background:
radial-gradient(ellipse at 20% 50%, rgba(217,94,42,0.12) 0%, transparent 50%),
radial-gradient(ellipse at 80% 20%, rgba(217,94,42,0.06) 0%, transparent 50%),
radial-gradient(ellipse at 50% 80%, rgba(249,249,247,0.03) 0%, transparent 50%);
background-size: 200% 200%, 200% 200%, 200% 200%;
animation: aurora 20s ease-in-out infinite;
}
/* ─── Gradient text shimmer ─── */
@keyframes gradient-shift {
0%, 100% { background-position: 0% center; }
50% { background-position: 200% center; }
}
.text-shimmer {
background: linear-gradient(90deg, rgb(var(--foreground)) 0%, rgb(var(--primary)) 40%, rgb(var(--foreground)) 80%);
background-size: 200% auto;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
animation: gradient-shift 6s ease infinite;
}
/* ─── Dot grid wave (Linear-inspired) ─── */
@keyframes dot-pulse {
0%, 100% { opacity: 0.08; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.3); }
}
/* ─── Floating animation ─── */
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-8px); }
}
.animate-float {
animation: float 4s ease-in-out infinite;
}
/* ─── Card spotlight hover (mouse-tracking glow) ─── */
.card-spotlight {
position: relative;
overflow: hidden;
}
.card-spotlight::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(217,94,42,0.06), transparent 40%);
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
z-index: 1;
}
.card-spotlight:hover::before {
opacity: 1;
}
/* ─── Marquee scroll ─── */
@keyframes marquee {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
.animate-marquee {
animation: marquee 30s linear infinite;
}