margin:5px5px10px5px;/* 5px on top/left/right, 10px on bottom */
border-radius:35px;/* Rounded corners */
}
.bannerimg{
width:100%;/* Stretch image to fill the banner width */
height:100%;/* Fill the banner height */
object-fit:cover;/* Crop and center the image rather than squishing it */
object-position:centertop;/* Anchor to the top so the most important part of the image stays visible */
display:block;/* Remove the default inline gap below images */
}
.card{
width:min(880px,88%);/* Cap width at 880px, but shrink to 88% of viewport on small screens */
height:540px;/* Fixed height */
padding:40px;/* Inner spacing on all sides */
border-radius:50px;/* Rounded corners */
text-align:center;/* Center all text content */
background:rgba(255,255,255,0.08);/* Very subtle white tint — more transparent than before so the background breathes through */
border:2pxsolidrgba(255,255,255,1);/* Slightly brighter border for a crisper glass edge */
backdrop-filter:blur(8px)saturate(1.8)brightness(1.05);/* Firefox fallback — blur, colour boost, and slight brightness lift; Chrome overrides this via JS with the SVG refraction filter */
-webkit-backdrop-filter:blur(8px)saturate(1.8)brightness(1.05);/* Webkit prefix for Safari compatibility */
box-shadow:
024px60pxrgba(0,0,0,0.35),/* Large soft drop shadow for depth/lift */
0001pxrgba(255,255,255,0.08);/* Hairline outer glow ring */
position:relative;/* Required so ::before/::after pseudo-elements position relative to the card */
overflow:hidden;/* Clip pseudo-elements to the card's rounded corners */
}
/* ── Main specular: top-left corner catch ── */
.card::before{
content:'';/* Required to render a pseudo-element with no text */
position:absolute;/* Layer it on top of the card without affecting layout */
inset:0;/* Stretch to fill all four edges of the card */
border-radius:inherit;/* Match the card's rounded corners */
background:
radial-gradient(
ellipse60%30%at10%-5%,/* Tighter ellipse originating just above the top-left corner */
rgba(255,255,255,0.28)0%,/* Bright white at the light source center */
transparent55%/* Fade out before reaching the middle of the card */