Aurora + Grain Radical Redesign — Design Document

Problem

The site looks flat: dark rectangles with barely-visible borders. Multiple CSS token tweaks have failed to produce a perceivable visual difference. The site needs texture, depth, movement, and visual interest.

Direction: Aurora + Grain

Three layered techniques that transform the entire visual feel:

  1. Animated aurora orbs in the hero (and optionally CTA section)
  2. SVG grain/noise texture overlaid site-wide
  3. Glassmorphic cards with real backdrop-filter blur

Research Sources


1. Aurora Background (Hero + CTA)

Implementation

Three absolutely-positioned invisible divs behind hero content. Each has a huge colored box-shadow (45vmax blur radius) and animates position around the viewport on different timing cycles.

.aurora-orb {
  position: absolute;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}

.aurora-orb-1 {
  box-shadow: 0 0 45vmax 45vmax rgba(99, 102, 241, 0.15);  /* indigo */
  animation: aurora-orbit-1 20s linear infinite, aurora-hue 15s linear infinite;
}
.aurora-orb-2 {
  box-shadow: 0 0 45vmax 45vmax rgba(139, 92, 246, 0.12);  /* violet */
  animation: aurora-orbit-2 25s linear infinite, aurora-hue 20s linear infinite;
}
.aurora-orb-3 {
  box-shadow: 0 0 45vmax 45vmax rgba(34, 197, 94, 0.08);   /* emerald */
  animation: aurora-orbit-3 18s linear infinite, aurora-hue 25s linear infinite;
}

@keyframes aurora-hue {
  to { filter: hue-rotate(360deg); }
}

@keyframes aurora-orbit-1 {
  0%   { top: 20%; left: 30%; }
  25%  { top: 60%; left: 70%; }
  50%  { top: 80%; left: 20%; }
  75%  { top: 30%; left: 80%; }
  100% { top: 20%; left: 30%; }
}
/* orbit-2 and orbit-3 similar but offset */

Where it appears

Performance


2. SVG Grain Texture (Site-wide)

Implementation

An SVG feTurbulence noise filter applied as a ::after pseudo-element on body. Covers entire viewport, stays fixed, provides analog/film feel.

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

Key parameters

Reduced motion

prefers-reduced-motion: reduce → keep grain (it’s static, not animated)


3. Glassmorphic Cards

All cards, modals, dropdowns

Replace solid var(--bg-surface) backgrounds with semi-transparent + blur:

.glass-surface {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

Applied to

Hover effect

Border brightens from 8% → 14% white opacity. No movement.

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.06);
}
.pricing-card-featured {
  position: relative;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}
.pricing-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 180deg, #6366f1, #8b5cf6, #a855f7, #6366f1);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

4. Button Updates

Primary button — gradient + glow

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

CTA button — animated gradient

.btn-cta {
  background: linear-gradient(135deg, #f97316, #fb923c, #f97316);
  background-size: 200% 100%;
  animation: cta-shimmer 3s ease-in-out infinite;
}
@keyframes cta-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

5. Files Changed

File Changes
docs/assets/css/style.css Aurora keyframes, grain overlay, glassmorphic card/modal/auth styles, button gradients, pricing gradient border
docs/assets/js/toast.js Toast glassmorphic background update

No HTML changes needed — aurora orbs for hero/CTA will be added via ::before/::after pseudo-elements on .hero and .cta-final (no new divs needed if we use pseudo-elements with box-shadows).


6. Accessibility & Performance

7. Verification Checklist

  1. Aurora orbs visible and slowly moving in hero section
  2. Grain texture visible (subtle film noise) across entire page
  3. Cards show glassmorphic blur — content partially visible through edges
  4. Pricing featured card has animated gradient border
  5. Primary buttons have gradient fill + glow shadow
  6. CTA has shimmer animation
  7. prefers-reduced-motion disables aurora and CTA animations
  8. No horizontal scroll at 375px
  9. Jekyll build passes
  10. Dashboard pages work correctly (no aurora in app UI)