From 180ce1e6805c3af7536d03a985fe5638ccc6f4f2 Mon Sep 17 00:00:00 2001 From: Z <219363113+Z-kie@users.noreply.github.com> Date: Thu, 26 Mar 2026 16:07:38 -0400 Subject: [PATCH 1/5] =?UTF-8?q?feat:=20apply=20full=20gold=20theme=20to=20?= =?UTF-8?q?authichain.com=20=E2=80=94=20remove=20purple,=20add=20gold=20ca?= =?UTF-8?q?rds/nav/CTA/footer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/globals.css | 220 +++++++++++++++++++++++++------ app/page.tsx | 340 +++++++++++++++++------------------------------- 2 files changed, 299 insertions(+), 261 deletions(-) diff --git a/app/globals.css b/app/globals.css index 94787a5..2118c08 100644 --- a/app/globals.css +++ b/app/globals.css @@ -10,94 +10,234 @@ --foreground: 0 0% 93%; --card: 0 0% 7%; --card-foreground: 0 0% 93%; + --card-border: 0 0% 14%; --popover: 0 0% 7%; --popover-foreground: 0 0% 93%; - --primary: 43 80% 47%; /* Gold - matches qron.space */ - --primary-foreground: 0 0% 5%; + --popover-border: 0 0% 14%; + --primary: 43 74% 47%; + --primary-foreground: 0 0% 5%; + --primary-border: rgba(201,162,39,0.4); --secondary: 0 0% 10%; --secondary-foreground: 0 0% 93%; + --secondary-border: rgba(255,255,255,0.1); --muted: 0 0% 10%; --muted-foreground: 0 0% 53%; - --accent: 43 80% 47%; /* Gold */ - --accent-foreground: 0 0% 5%; + --muted-border: rgba(255,255,255,0.08); + --accent: 43 74% 47%; + --accent-foreground: 0 0% 5%; + --accent-border: rgba(201,162,39,0.3); --destructive: 0 84.2% 60.2%; --destructive-foreground: 0 0% 98%; - --border: 0 0% 17%; - --input: 0 0% 17%; - --ring: 43 80% 47%; - --gold: 43 80% 47%; - --gold-light: 45 90% 60%; - --gold-foreground: 0 0% 5%; + --destructive-border: rgba(255,68,68,0.4); + --border: 0 0% 14%; + --input: 0 0% 12%; + --ring: 43 74% 47%; + --gold: #c9a227; + --gold-light: #e8c547; + --gold-glow: #ffd700; + --gold-dim: #7a6116; + --gold-muted: rgba(201,162,39,0.12); + --gold-border: rgba(201,162,39,0.28); + --steel: #9e9e9e; + --steel-light: #c8c8c8; + --steel-dark: #3a3a3a; + --steel-deeper: #1c1c1c; + --surface-1: #111111; + --surface-2: #161616; + --surface-3: #1e1e1e; --radius: 0.5rem; + --chart-1: 43 74% 47%; + --chart-2: 45 90% 60%; + --chart-3: 38 65% 40%; + --chart-4: 0 0% 53%; + --chart-5: 0 0% 30%; + --sidebar: 0 0% 6%; + --sidebar-foreground: 0 0% 80%; + --sidebar-border: 0 0% 14%; + --sidebar-ring: 43 74% 47%; + --sidebar-primary: 43 74% 47%; + --sidebar-primary-foreground: 0 0% 5%; + --sidebar-accent: 0 0% 10%; + --sidebar-accent-foreground: 0 0% 80%; + --sidebar-primary-border: rgba(201,162,39,0.3); + --sidebar-accent-border: rgba(201,162,39,0.15); } .dark { --background: 0 0% 4%; --foreground: 0 0% 93%; --card: 0 0% 7%; --card-foreground: 0 0% 93%; - --popover: 0 0% 7%; - --popover-foreground: 0 0% 93%; - --primary: 43 80% 47%; + --primary: 43 74% 47%; --primary-foreground: 0 0% 5%; --secondary: 0 0% 10%; --secondary-foreground: 0 0% 93%; --muted: 0 0% 10%; --muted-foreground: 0 0% 53%; - --accent: 43 80% 47%; + --accent: 43 74% 47%; --accent-foreground: 0 0% 5%; --destructive: 0 62.8% 30.6%; --destructive-foreground: 0 0% 98%; - --border: 0 0% 17%; - --input: 0 0% 17%; - --ring: 43 80% 47%; + --border: 0 0% 14%; + --input: 0 0% 12%; + --ring: 43 74% 47%; } } @layer base { - * { - @apply border-border; - } + * { @apply border-border; } body { @apply bg-background text-foreground; font-family: 'Geist', 'Geist Fallback', Arial, sans-serif; } } -/* Gold gradient utility - matches qron.space */ -.gradient-gold { - background: linear-gradient(135deg, #E8C547 0%, #C9A227 50%, #A07D10 100%); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - background-clip: text; -} - -/* Gradient text — gold to amber, used across all AuthiChain pages */ +.gradient-gold, .gradient-text { - background: linear-gradient(135deg, #E8C547 0%, #C9A227 50%, #A07D10 100%); + background: linear-gradient(135deg, #FFD700 0%, #E8C547 30%, #C9A227 65%, #A07D10 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } -/* Gradient background — used for CTA sections and gradient buttons */ .gradient-primary { background: linear-gradient(135deg, #C9A227 0%, #A07D10 100%); } -/* Gold glow */ -.glow-gold { - box-shadow: 0 0 20px rgba(201, 162, 39, 0.35); +.protocol-bg { + background: + radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201,162,39,0.07) 0%, transparent 60%), + radial-gradient(ellipse 50% 40% at 90% 85%, rgba(201,162,39,0.04) 0%, transparent 50%), + radial-gradient(ellipse 60% 40% at 0% 60%, rgba(201,162,39,0.03) 0%, transparent 50%), + hsl(var(--background)); +} + +.protocol-card { + background: hsl(var(--card)); + border: 1px solid var(--gold-border); + border-radius: 1rem; + backdrop-filter: blur(12px); + box-shadow: + 0 0 0 1px rgba(201,162,39,0.05), + 0 4px 24px rgba(0,0,0,0.5), + inset 0 1px 0 rgba(201,162,39,0.08); + transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s; +} +.protocol-card:hover { + border-color: rgba(201,162,39,0.5); + box-shadow: + 0 0 0 1px rgba(201,162,39,0.12), + 0 8px 40px rgba(0,0,0,0.6), + 0 0 24px rgba(201,162,39,0.07), + inset 0 1px 0 rgba(201,162,39,0.14); + transform: translateY(-2px); +} + +.gold-card { + background: linear-gradient(135deg, rgba(201,162,39,0.07) 0%, rgba(201,162,39,0.02) 100%); + border: 1px solid rgba(201,162,39,0.22); + border-radius: 0.75rem; + transition: border-color 0.2s, box-shadow 0.2s; +} +.gold-card:hover { + border-color: rgba(201,162,39,0.45); + box-shadow: 0 0 20px rgba(201,162,39,0.08); } -/* Gold button */ .btn-gold { - background: linear-gradient(135deg, #E8C547, #C9A227); + background: linear-gradient(135deg, #C9A227 0%, #E8C547 50%, #C9A227 100%); + background-size: 200% 200%; color: #0a0a0a; font-weight: 700; - transition: opacity 0.2s, transform 0.1s; + border: none; + transition: background-position 0.3s, box-shadow 0.3s, transform 0.15s; + box-shadow: 0 0 20px rgba(201,162,39,0.3); } - -.btn-gold:hover { - opacity: 0.9; +.btn-gold:hover:not(:disabled) { + background-position: right center; + box-shadow: 0 0 36px rgba(255,215,0,0.5); transform: translateY(-1px); } + +.btn-outline-gold { + background: transparent; + color: #e8c547; + border: 1px solid rgba(201,162,39,0.35); + font-weight: 600; + transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.btn-outline-gold:hover { + background: rgba(201,162,39,0.08); + border-color: #c9a227; + box-shadow: 0 0 16px rgba(201,162,39,0.2); +} + +.glow-gold { box-shadow: 0 0 20px rgba(201,162,39,0.35), 0 0 60px rgba(201,162,39,0.10); } +.glow-gold-sm { box-shadow: 0 0 12px rgba(201,162,39,0.28); } +.glow-gold-lg { box-shadow: 0 0 40px rgba(201,162,39,0.40), 0 0 80px rgba(201,162,39,0.15); } + +.protocol-badge { + display: inline-flex; + align-items: center; + gap: 0.4rem; + padding: 0.25rem 0.75rem; + border-radius: 999px; + background: rgba(201,162,39,0.12); + border: 1px solid rgba(201,162,39,0.28); + color: #e8c547; + font-size: 0.72rem; + font-weight: 600; + letter-spacing: 0.06em; + text-transform: uppercase; +} + +.gold-divider { + height: 1px; + background: linear-gradient(90deg, transparent, rgba(201,162,39,0.35), transparent); + margin: 2rem 0; +} + +.protocol-input { + background: hsl(var(--input)); + color: hsl(var(--foreground)); + border: 1px solid hsl(var(--border)); + border-radius: 0.5rem; + transition: border-color 0.2s, box-shadow 0.2s; +} +.protocol-input:focus { + outline: none; + border-color: var(--gold-dim); + box-shadow: 0 0 0 3px rgba(201,162,39,0.12); +} + +::-webkit-scrollbar { width: 6px; } +::-webkit-scrollbar-track { background: hsl(var(--background)); } +::-webkit-scrollbar-thumb { background: rgba(201,162,39,0.3); border-radius: 3px; } +::-webkit-scrollbar-thumb:hover { background: rgba(201,162,39,0.5); } + +@keyframes gold-pulse { + 0%, 100% { opacity: 1; } + 50% { opacity: 0.55; } +} +@keyframes float { + 0%, 100% { transform: translateY(0); } + 50% { transform: translateY(-8px); } +} +@keyframes shimmer { + 0% { background-position: -200% center; } + 100% { background-position: 200% center; } +} +@keyframes spin-slow { + from { transform: rotate(0deg); } + to { transform: rotate(360deg); } +} + +.animate-gold-pulse { animation: gold-pulse 2.5s ease-in-out infinite; } +.animate-float { animation: float 4s ease-in-out infinite; } +.animate-shimmer { + background: linear-gradient(90deg, transparent 0%, rgba(201,162,39,0.25) 50%, transparent 100%); + background-size: 200% 100%; + animation: shimmer 2s linear infinite; +} +.animate-spin-slow { animation: spin-slow 12s linear infinite; } + +::selection { background: rgba(201,162,39,0.25); color: #fff; } diff --git a/app/page.tsx b/app/page.tsx index b3e95e2..ed4b154 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -3,97 +3,80 @@ import Image from "next/image" import Link from "next/link" import { Button } from "@/components/ui/button" -import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" -import { Shield, Scan, Lock, TrendingUp, CheckCircle, Sparkles, Globe } from "lucide-react" +import { Shield, Scan, Lock, TrendingUp, CheckCircle, Sparkles, Globe, Zap, Award, ArrowRight } from "lucide-react" import { ThemeToggle } from "@/components/theme-toggle" export default function Home() { return ( -
+
{/* Navigation */} -