243 lines
4.5 KiB
CSS
243 lines
4.5 KiB
CSS
.plaza-hero .container {
|
|
min-height: 440px;
|
|
padding-top: 74px;
|
|
padding-bottom: 74px;
|
|
}
|
|
|
|
.hero-copy {
|
|
position: relative;
|
|
padding-left: 28px;
|
|
}
|
|
|
|
.hero-copy:before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 58px;
|
|
width: 4px;
|
|
height: 132px;
|
|
border-radius: 999px;
|
|
background: linear-gradient(180deg, var(--red), var(--gold));
|
|
}
|
|
|
|
.plaza-stats {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 28px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.plaza-stats span {
|
|
padding: 12px 16px;
|
|
border: 1px solid rgba(224, 211, 189, .78);
|
|
border-radius: 16px;
|
|
color: #6d766f;
|
|
background: rgba(255, 253, 248, .74);
|
|
box-shadow: 0 14px 32px rgba(72, 57, 38, .06);
|
|
}
|
|
|
|
.plaza-stats b {
|
|
margin-right: 6px;
|
|
color: var(--green);
|
|
font-size: 22px;
|
|
}
|
|
|
|
.search-card {
|
|
position: relative;
|
|
display: grid;
|
|
gap: 20px;
|
|
align-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.search-card h3 {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.search-ornament {
|
|
position: absolute;
|
|
right: -70px;
|
|
top: -84px;
|
|
width: 220px;
|
|
height: 220px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(200, 59, 50, .13), transparent 62%);
|
|
animation: plazaPulse 4s ease-in-out infinite;
|
|
}
|
|
|
|
.search-toolbar {
|
|
position: relative;
|
|
z-index: 2;
|
|
padding: 8px;
|
|
border: 1px solid rgba(224, 211, 189, .78);
|
|
border-radius: 999px;
|
|
background: rgba(255, 250, 241, .82);
|
|
}
|
|
|
|
.search-card .input {
|
|
flex: 1 1 280px;
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.search-card .tag-row {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.family-card.featured {
|
|
min-height: 300px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
color: #fff;
|
|
background:
|
|
linear-gradient(180deg, rgba(28, 48, 45, .18), rgba(21, 55, 51, .84)),
|
|
linear-gradient(135deg, #476f63, #a95c3e);
|
|
border-radius: 18px;
|
|
padding: 28px;
|
|
box-shadow: 0 22px 58px rgba(42, 65, 59, .16);
|
|
}
|
|
|
|
.family-card.featured:before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
|
|
background-size: 34px 34px;
|
|
opacity: .45;
|
|
}
|
|
|
|
.family-card.featured h3,
|
|
.family-card.featured p,
|
|
.family-card.featured .tag-row,
|
|
.family-badge {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.family-card.featured p {
|
|
color: rgba(255, 255, 255, .82);
|
|
}
|
|
|
|
.family-badge {
|
|
width: fit-content;
|
|
margin-bottom: auto;
|
|
padding: 7px 12px;
|
|
border-radius: 999px;
|
|
color: var(--green-dark);
|
|
background: rgba(255, 253, 248, .86);
|
|
font-weight: 800;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.family-card-shine {
|
|
position: absolute;
|
|
left: -40%;
|
|
top: 0;
|
|
width: 34%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
|
|
transform: skewX(-18deg);
|
|
transition: left .6s ease;
|
|
}
|
|
|
|
.family-card.featured:hover .family-card-shine {
|
|
left: 112%;
|
|
}
|
|
|
|
.family-lite {
|
|
min-height: 300px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.family-lite:after {
|
|
content: "";
|
|
position: absolute;
|
|
right: -60px;
|
|
bottom: -70px;
|
|
width: 170px;
|
|
height: 170px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(196, 146, 69, .13), transparent 68%);
|
|
transition: transform .28s ease, opacity .28s ease;
|
|
}
|
|
|
|
.family-lite:hover:after {
|
|
transform: scale(1.25);
|
|
opacity: .8;
|
|
}
|
|
|
|
.family-icon {
|
|
width: 52px;
|
|
height: 52px;
|
|
margin-bottom: 24px;
|
|
border-radius: 16px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--red);
|
|
background: #f7e4dc;
|
|
font-family: "SimSun", "Songti SC", serif;
|
|
font-size: 26px;
|
|
font-weight: 800;
|
|
transition: transform .26s ease, background .26s ease, color .26s ease;
|
|
}
|
|
|
|
.family-lite:hover .family-icon {
|
|
color: #fff;
|
|
background: var(--red);
|
|
transform: rotate(-6deg) scale(1.08);
|
|
}
|
|
|
|
.tag {
|
|
transition: transform .22s ease, color .22s ease, background .22s ease;
|
|
}
|
|
|
|
.tag:hover {
|
|
color: #fff;
|
|
background: var(--green);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.tilt-card {
|
|
transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0));
|
|
transition: transform .18s ease, box-shadow .24s ease, border-color .24s ease;
|
|
}
|
|
|
|
.tilt-card:hover {
|
|
--lift: -6px;
|
|
}
|
|
|
|
@keyframes plazaPulse {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: .5;
|
|
transform: scale(.92);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
transform: scale(1.08);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.hero-copy {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.hero-copy:before {
|
|
display: none;
|
|
}
|
|
|
|
.search-toolbar {
|
|
border-radius: 18px;
|
|
}
|
|
} |