style: match Stitch glassmorphism — backdrop-blur, flag glow auras, deeper shadows
Hero card now uses glassmorphism (rgba + backdrop-blur) from Stitch design. Each flag has individual blur-glow aura behind it. Rounded corners increased to 2rem. Shadow depth increased. Stats tiles and nudges also refined with rounder corners. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -12,16 +12,20 @@
|
|||||||
═══════════════════════════════════════ */
|
═══════════════════════════════════════ */
|
||||||
.hero {
|
.hero {
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: var(--radius-lg);
|
border-radius: 2rem;
|
||||||
padding: 24px 20px 20px;
|
padding: 28px 22px 22px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: linear-gradient(165deg, #141e38 0%, #0d1526 40%, #091020 100%);
|
/* Glassmorphism like Stitch design */
|
||||||
border: 1px solid rgba(75, 183, 248, 0.12);
|
background: rgba(49, 52, 66, 0.4);
|
||||||
|
backdrop-filter: blur(20px);
|
||||||
|
-webkit-backdrop-filter: blur(20px);
|
||||||
|
/* Gradient border effect */
|
||||||
|
border: 1px solid rgba(75, 183, 248, 0.2);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0 8px 32px rgba(0, 0, 0, 0.4),
|
0 40px 80px -15px rgba(0, 0, 0, 0.6),
|
||||||
0 2px 8px rgba(0, 0, 0, 0.2),
|
0 8px 24px rgba(0, 0, 0, 0.3),
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||||||
transition: transform 0.2s;
|
transition: transform 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -29,15 +33,15 @@
|
|||||||
transform: scale(1.01);
|
transform: scale(1.01);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Radial glow behind the teams */
|
/* Radial glow behind the teams — stronger, like Stitch */
|
||||||
.heroGlow {
|
.heroGlow {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 40%;
|
top: 45%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
width: 280px;
|
width: 320px;
|
||||||
height: 200px;
|
height: 280px;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
background: radial-gradient(ellipse, rgba(75, 183, 248, 0.12) 0%, rgba(254, 174, 50, 0.06) 40%, transparent 70%);
|
background: radial-gradient(circle at center, rgba(75, 183, 248, 0.15) 0%, transparent 70%);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
}
|
}
|
||||||
@@ -125,23 +129,34 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.heroCrestBox {
|
.heroCrestBox {
|
||||||
width: 72px;
|
position: relative;
|
||||||
height: 72px;
|
width: 80px;
|
||||||
border-radius: 18px;
|
height: 80px;
|
||||||
|
border-radius: 20px;
|
||||||
background: var(--surface-high);
|
background: var(--surface-high);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0 4px 16px rgba(0, 0, 0, 0.3),
|
0 8px 24px rgba(0, 0, 0, 0.4);
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.15);
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Glow aura behind each flag */
|
||||||
|
.heroCrestBox::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: -16px;
|
||||||
|
background: rgba(75, 183, 248, 0.2);
|
||||||
|
filter: blur(24px);
|
||||||
|
border-radius: 50%;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
.heroCrest {
|
.heroCrest {
|
||||||
width: 52px;
|
width: 58px;
|
||||||
height: 52px;
|
height: 58px;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -225,8 +240,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.statTile {
|
.statTile {
|
||||||
padding: 16px 8px;
|
padding: 18px 8px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
border-radius: 1.5rem !important;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.05) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.statValue {
|
.statValue {
|
||||||
@@ -263,10 +280,12 @@
|
|||||||
.nudge {
|
.nudge {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 12px;
|
gap: 14px;
|
||||||
padding: 14px 16px;
|
padding: 14px 16px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background 0.2s, transform 0.15s;
|
transition: all 0.2s;
|
||||||
|
border-radius: 1.25rem !important;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.05) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nudge:hover {
|
.nudge:hover {
|
||||||
@@ -274,7 +293,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nudgeIcon {
|
.nudgeIcon {
|
||||||
font-size: 1.2rem;
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: rgba(75, 183, 248, 0.1);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 1.1rem;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user