diff --git a/public/css/style.css b/public/css/style.css index bd12695..9839d6f 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -127,9 +127,7 @@ html { body { font-family: var(--font-sans); - background: radial-gradient(circle at 0% 0%, #1a1e2e 0%, #0a0e1a 45%), - radial-gradient(circle at 100% 100%, #151a2e 0%, #0a0e1a 45%); - background-attachment: fixed; + background: var(--bg-primary); color: var(--text-primary); min-height: 100vh; overflow-x: hidden; @@ -148,7 +146,51 @@ body { pointer-events: none; } -/* ---- Animated Background Classes Removed for Performance ---- */ +.bg-glow { + position: fixed; + border-radius: 50%; + filter: blur(120px); + opacity: 0.4; + z-index: 0; + pointer-events: none; + animation: glowFloat 20s ease-in-out infinite; + will-change: transform, opacity; +} + +.bg-glow-1 { + width: 600px; + height: 600px; + background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%); + top: -200px; + left: -100px; + animation-delay: 0s; +} + +.bg-glow-2 { + width: 500px; + height: 500px; + background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 70%); + bottom: -150px; + right: -100px; + animation-delay: -7s; +} + +.bg-glow-3 { + width: 400px; + height: 400px; + background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent 70%); + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + animation-delay: -14s; +} + +@keyframes glowFloat { + 0%, 100% { transform: translate(0, 0) scale(1); } + 25% { transform: translate(30px, -30px) scale(1.05); } + 50% { transform: translate(-20px, 20px) scale(0.95); } + 75% { transform: translate(25px, 15px) scale(1.02); } +} /* ---- App Container ---- */ #app { @@ -167,7 +209,9 @@ body { align-items: center; justify-content: space-between; padding: 0 28px; - background: rgba(10, 14, 26, 0.95); /* More opaque, no filter */ + background: rgba(10, 14, 26, 0.85); + backdrop-filter: blur(20px) saturate(180%); + -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--border-color); } @@ -397,10 +441,8 @@ input:checked+.slider:before { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); - /* backdrop-filter: blur(8px); */ - /* -webkit-backdrop-filter: blur(8px); */ - background: rgba(15, 22, 50, 0.9); /* More solid background for readability without blur */ - transform: translateZ(0); + backdrop-filter: blur(12px); + -webkit-backdrop-filter: blur(12px); transition: all 0.3s ease; overflow: hidden; } @@ -567,10 +609,8 @@ input:checked+.slider:before { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); - /* backdrop-filter: blur(8px); */ - /* -webkit-backdrop-filter: blur(8px); */ - background: rgba(15, 22, 50, 0.9); /* More solid background for readability without blur */ - transform: translateZ(0); + backdrop-filter: blur(12px); + -webkit-backdrop-filter: blur(12px); overflow: hidden; transition: all 0.3s ease; } @@ -1843,23 +1883,7 @@ input:checked+.slider:before { } /* Value update animation */ -@keyframes valueFlash { - 0% { - opacity: 1; - } - - 50% { - opacity: 0.6; - } - - 100% { - opacity: 1; - } -} - -.value-update { - animation: valueFlash 0.3s ease; -} +/* Value update flash disabled */ /* ---- Scrollbar ---- */ ::-webkit-scrollbar { diff --git a/public/index.html b/public/index.html index 678c50b..5831b62 100644 --- a/public/index.html +++ b/public/index.html @@ -38,8 +38,11 @@
- + + + +