11: root {
2+ /* Shared animated hero / header background */
3+ --brand-hero-grad : linear-gradient (145deg , # 0c1222 0% , # 1e1b4b 42% , # 0e7490 100% );
4+ --brand-hero-grad-size : 200% 200% ;
25 --bg : # eef2ff ;
36 --bg-deep : # 0c1222 ;
47 --surface : rgba (255 , 255 , 255 , 0.72 );
5053 font-size : 1rem ;
5154 line-height : 1.6 ;
5255 color : var (--text );
53- /* Light base so matrix (multiply + dark glyphs) reads as black rain in open areas */
54- background : # f1f5f9 ;
56+ /* Dark base so white matrix rain reads clearly in gutters */
57+ background : # 030712 ;
5558 background-attachment : fixed;
5659 min-height : 100vh ;
5760 min-height : 100dvh ;
@@ -69,7 +72,7 @@ a:hover {
6972 text-decoration : underline;
7073}
7174
72- /* Full-viewport matrix: dark glyphs + multiply = black-ish rain on light page gaps */
75+ /* Full-viewport matrix: white 0/1, screen blend on dark body */
7376.matrix-canvas--page-bg {
7477 position : fixed;
7578 inset : 0 ;
@@ -78,8 +81,8 @@ a:hover {
7881 min-height : 100vh ;
7982 min-height : 100dvh ;
8083 z-index : 0 ;
81- opacity : 0.58 ;
82- mix-blend-mode : multiply ;
84+ opacity : 0.62 ;
85+ mix-blend-mode : screen ;
8386 pointer-events : none;
8487}
8588
@@ -93,13 +96,29 @@ a:hover {
9396 position : sticky;
9497 top : 0 ;
9598 z-index : 50 ;
96- background : rgba (15 , 23 , 42 , 0.78 );
97- backdrop-filter : blur (18px ) saturate (160% );
98- border-bottom : 1px solid rgba (148 , 163 , 184 , 0.22 );
99- box-shadow : 0 1px 0 rgba (255 , 255 , 255 , 0.06 ) inset;
99+ isolation : isolate;
100+ background : var (--brand-hero-grad );
101+ background-size : var (--brand-hero-grad-size );
102+ animation : hero-gradient 14s ease infinite;
103+ border-bottom : 1px solid rgba (255 , 255 , 255 , 0.12 );
104+ box-shadow : 0 8px 32px rgba (0 , 0 , 0 , 0.35 );
105+ }
106+
107+ .site-header ::before {
108+ content : "" ;
109+ position : absolute;
110+ inset : 0 ;
111+ z-index : 0 ;
112+ background :
113+ radial-gradient (ellipse 80% 50% at 20% 40% , rgba (79 , 70 , 229 , 0.35 ), transparent 58% ),
114+ radial-gradient (ellipse 60% 40% at 80% 60% , rgba (6 , 182 , 212 , 0.28 ), transparent 52% ),
115+ radial-gradient (circle at 50% 100% , rgba (255 , 255 , 255 , 0.06 ), transparent 42% );
116+ pointer-events : none;
100117}
101118
102119.header-inner {
120+ position : relative;
121+ z-index : 1 ;
103122 max-width : var (--max );
104123 margin : 0 auto;
105124 padding : 0.875rem 1.5rem ;
@@ -223,6 +242,8 @@ a:hover {
223242}
224243
225244.nav-panel {
245+ position : relative;
246+ z-index : 1 ;
226247 display : none;
227248 flex-direction : column;
228249 padding : 0 1.5rem 1rem ;
0 commit comments