2026-05-20 10:50:30 +00:00

473 lines
8.7 KiB
CSS

.hero {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
gap: 26px;
background: linear-gradient(135deg, #2874f0 0%, #3b69d4 55%, #5ea3ff 100%);
border-radius: 28px;
padding: 40px;
color: #fff;
overflow: hidden;
}
.hero-copy {
display: grid;
gap: 18px;
}
.hero-highlights {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}
.highlight-card {
background: rgba(255,255,255,0.14);
border: 1px solid rgba(255,255,255,0.18);
border-radius: 22px;
padding: 22px;
min-height: 120px;
display: grid;
gap: 10px;
}
.highlight-card p {
color: rgba(255,255,255,0.88);
}
.highlight-title {
font-size: 1rem;
font-weight: 800;
letter-spacing: 0.02em;
}
.eyebrow {
color: #dbe9ff;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
font-size: 0.86rem;
}
.hero-title {
font-size: clamp(2.4rem, 4.2vw, 3.8rem);
line-height: 1.05;
}
.hero-description {
max-width: 660px;
color: rgba(255,255,255,0.92);
font-size: 1.05rem;
line-height: 1.8;
}
.hero-buttons {
display: flex;
gap: 14px;
flex-wrap: wrap;
}
.hero-highlights {
display: grid;
gap: 14px;
}
.highlight-card {
background: rgba(255,255,255,0.12);
border: 1px solid rgba(255,255,255,0.18);
border-radius: 24px;
padding: 24px;
min-height: 120px;
display: grid;
gap: 10px;
}
.highlight-title {
font-size: 1.1rem;
font-weight: 700;
}
.highlight-card p {
color: rgba(255,255,255,0.88);
line-height: 1.7;
}
.market-features {
max-width: 1180px;
margin: 28px auto 22px;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.advertised-deals {
max-width: 1180px;
margin: 0 auto 30px;
}
.deal-cards {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 18px;
}
.deal-card {
border: 1px solid #dbe4f8;
border-radius: 22px;
overflow: hidden;
display: grid;
grid-template-rows: auto 1fr;
background: #fff;
}
.deal-card img {
width: 100%;
height: 220px;
object-fit: cover;
}
.deal-badge {
display: inline-flex;
padding: 6px 10px;
border-radius: 999px;
background: #eff6ff;
color: #1d4ed8;
font-weight: 700;
margin-bottom: 10px;
}
.deal-label {
display: inline-flex;
margin-top: 4px;
margin-bottom: 10px;
padding: 6px 12px;
border-radius: 999px;
background: #fef3c7;
color: #92400e;
font-size: 0.85rem;
font-weight: 700;
letter-spacing: 0.01em;
}
.deal-note {
color: #475569;
font-size: 0.95rem;
margin-bottom: 12px;
}
@media (max-width: 1024px) {
.deal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
.deal-cards { grid-template-columns: 1fr; }
}
.market-pill {
background: #fff;
border: 1px solid #dbe4f8;
border-radius: 16px;
padding: 18px 16px;
font-weight: 700;
color: #1f2937;
text-align: center;
box-shadow: var(--shadow-soft);
}
.market-link {
text-decoration: none;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.market-link:hover {
transform: translateY(-2px);
box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
}
.trending {
max-width: 1180px;
margin: 0 auto;
}
.section-heading {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 18px;
margin-bottom: 18px;
flex-wrap: wrap;
}
.section-heading .section-title {
font-size: clamp(1.8rem, 2.5vw, 2.4rem);
margin: 0;
}
.section-heading p {
color: var(--muted);
max-width: 540px;
line-height: 1.6;
}
.cards {
max-width: 1180px;
margin: 0 auto 30px;
display: grid;
grid-template-columns: repeat(4, minmax(0,1fr));
gap: 18px;
}
.card {
background: #fff;
border-radius: 22px;
overflow: hidden;
display: grid;
grid-template-rows: auto 1fr;
box-shadow: var(--shadow-soft);
}
.card img {
width: 100%;
height: 220px;
object-fit: cover;
}
.card-content {
padding: 18px;
display: grid;
gap: 10px;
}
.card h3 {
font-size: 1rem;
line-height: 1.4;
color: var(--text);
min-height: 3.2em;
}
.price {
color: #2874f0;
font-weight: 800;
font-size: 1.05rem;
}
.stock {
color: var(--muted);
font-size: 0.95rem;
}
.card-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
@media (max-width: 1024px) {
.hero { grid-template-columns: 1fr; }
.market-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
.hero { grid-template-columns: 1fr; padding: 28px; }
.hero-highlights { grid-template-columns: 1fr; }
.market-features, .cards { grid-template-columns: 1fr; }
.top-category-bar { padding: 10px 16px; }
.top-navbar { padding: 12px 16px; }
}
.hero-metric-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.hero-metric-card {
background: rgba(255, 255, 255, 0.12);
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 18px;
padding: 16px 18px;
display: grid;
gap: 6px;
}
.hero-metric-card strong {
font-size: 1.45rem;
}
.hero-metric-card span {
color: rgba(255, 255, 255, 0.82);
font-size: 0.92rem;
}
.market-pill {
display: grid;
gap: 4px;
}
.market-pill strong {
font-size: 1rem;
}
.market-pill span {
color: var(--muted);
font-size: 0.94rem;
font-weight: 600;
}
.spotlight-shell,
.experience-shell,
.quick-action-shell {
margin-top: 10px;
}
.spotlight-grid,
.experience-grid,
.quick-action-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
}
.spotlight-card,
.experience-card,
.quick-action-card {
background: #fff;
border: 1px solid #dbe4f8;
border-radius: 22px;
padding: 22px;
box-shadow: var(--shadow-soft);
display: grid;
gap: 12px;
}
.spotlight-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.spotlight-kicker {
color: #2563eb;
font-size: 0.82rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.spotlight-pill,
.experience-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: fit-content;
border-radius: 999px;
padding: 6px 10px;
background: #eff6ff;
color: #1d4ed8;
font-size: 0.82rem;
font-weight: 800;
}
.spotlight-card h3,
.experience-card h3,
.quick-action-card strong {
color: var(--text);
}
.spotlight-card p,
.experience-card p,
.quick-action-card p {
color: var(--muted);
line-height: 1.7;
}
.spotlight-meta {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.spotlight-meta span {
display: inline-flex;
align-items: center;
padding: 6px 10px;
border-radius: 999px;
background: #f8fbff;
border: 1px solid #dbe4f8;
color: #475569;
font-size: 0.84rem;
font-weight: 700;
}
.quick-action-card {
text-decoration: none;
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.quick-action-card:hover,
.spotlight-card:hover,
.experience-card:hover {
transform: translateY(-3px);
box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
border-color: #bfd4ff;
}
.deal-topline {
display: flex;
gap: 8px;
align-items: center;
flex-wrap: wrap;
}
body.theme-dark .hero {
background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 38%, #0f172a 100%);
}
body.theme-dark .spotlight-card,
body.theme-dark .experience-card,
body.theme-dark .quick-action-card,
body.theme-dark .deal-card,
body.theme-dark .card,
body.theme-dark .market-pill {
background: var(--surface);
border-color: var(--border);
color: var(--text);
}
body.theme-dark .market-pill span,
body.theme-dark .spotlight-card p,
body.theme-dark .experience-card p,
body.theme-dark .quick-action-card p,
body.theme-dark .deal-note,
body.theme-dark .section-heading p {
color: var(--muted);
}
body.theme-dark .spotlight-meta span,
body.theme-dark .spotlight-pill,
body.theme-dark .experience-badge,
body.theme-dark .deal-badge {
background: rgba(59, 130, 246, 0.16);
border-color: rgba(96, 165, 250, 0.22);
color: #93c5fd;
}
@media (max-width: 1024px) {
.hero-metric-grid,
.spotlight-grid,
.experience-grid,
.quick-action-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 760px) {
.hero-metric-grid,
.spotlight-grid,
.experience-grid,
.quick-action-grid {
grid-template-columns: 1fr;
}
}