feat(ui): disable card tilting on mobile/tablet and add 1D vertical optical liquid glass distortion

This commit is contained in:
2026-11-03 15:51:34 +05:30
parent e14192d2a8
commit 52751143ac
3 changed files with 52 additions and 16 deletions
+13 -12
View File
@@ -128,7 +128,7 @@
z-index: 3;
}
/* Inverted Optical Liquid Glass Refraction Chamber */
/* Inverted Optical Liquid Glass Refraction Chamber with Pure Vertical Distortion */
.liquid-refraction-chamber {
position: absolute;
inset: 0;
@@ -136,12 +136,12 @@
overflow: hidden;
pointer-events: none;
z-index: 1;
/* Physical Optical Inversion & 3D Cylindrical Lens Curvature */
transform: perspective(400px) rotateX(6deg) scaleY(-1.06) scaleX(1.02);
/* Physical Optical Inversion & 3D Cylindrical Vertical Curvature */
transform: perspective(380px) rotateX(7deg) scaleY(-1.08) scaleX(1.015);
transform-origin: center center;
opacity: 0.58;
opacity: 0.6;
mix-blend-mode: luminosity;
filter: blur(0.35px) contrast(124%) saturate(220%) brightness(1.06);
filter: url("#liquid-glass-vertical-refraction") blur(0.25px) contrast(122%) saturate(215%) brightness(1.05);
contain: strict;
will-change: transform;
}
@@ -155,7 +155,7 @@
will-change: transform;
}
/* Prismatic Liquid Caustic Refraction Overlay */
/* Prismatic Liquid Caustic Refraction Overlay - Vertical Cylindrical Lens Bands */
.liquid-caustic-refraction {
position: absolute;
inset: 0;
@@ -163,13 +163,14 @@
background:
linear-gradient(
180deg,
rgba(255, 255, 255, 0.22) 0%,
transparent 25%,
transparent 75%,
rgba(255, 255, 255, 0.14) 100%
rgba(255, 255, 255, 0.24) 0%,
transparent 22%,
rgba(255, 255, 255, 0.03) 50%,
transparent 78%,
rgba(255, 255, 255, 0.15) 100%
),
radial-gradient(ellipse 65% 50% at 25% 35%, rgba(56, 189, 248, 0.16) 0%, transparent 60%),
radial-gradient(ellipse 70% 50% at 75% 65%, rgba(168, 85, 247, 0.14) 0%, transparent 60%);
radial-gradient(ellipse 70% 45% at 30% 35%, rgba(56, 189, 248, 0.15) 0%, transparent 60%),
radial-gradient(ellipse 70% 45% at 70% 65%, rgba(168, 85, 247, 0.13) 0%, transparent 60%);
mix-blend-mode: overlay;
z-index: 2;
}