's'
This commit is contained in:
@@ -118,6 +118,233 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* ========== 首页 · 沉浸式背景(透视网格 / 光晕 · 轻 3D 感,无 WebGL 依赖) ========== */
|
||||
.landingScene {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
margin-left: -1.5rem;
|
||||
margin-right: -1.5rem;
|
||||
width: calc(100% + 3rem);
|
||||
padding-left: 1.5rem;
|
||||
padding-right: 1.5rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.landingScene {
|
||||
margin-left: -1rem;
|
||||
margin-right: -1rem;
|
||||
width: calc(100% + 2rem);
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.landingSceneBg {
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
height: min(118vh, 1400px);
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.landingSceneInner {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.landingOrb {
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
filter: blur(52px);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.landingOrb:nth-child(1) {
|
||||
width: min(42vw, 380px);
|
||||
height: min(42vw, 380px);
|
||||
top: -4%;
|
||||
left: -10%;
|
||||
background: radial-gradient(circle, rgba(245, 158, 11, 0.38) 0%, transparent 68%);
|
||||
animation: landingOrbA 22s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.landingOrb:nth-child(2) {
|
||||
width: min(48vw, 420px);
|
||||
height: min(48vw, 420px);
|
||||
top: 10%;
|
||||
right: -16%;
|
||||
background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, transparent 72%);
|
||||
animation: landingOrbB 26s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.landingOrb:nth-child(3) {
|
||||
width: min(34vw, 300px);
|
||||
height: min(34vw, 300px);
|
||||
top: 36%;
|
||||
left: 14%;
|
||||
background: radial-gradient(circle, rgba(251, 191, 36, 0.22) 0%, transparent 72%);
|
||||
animation: landingOrbC 19s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
.dark .landingOrb:nth-child(2) {
|
||||
background: radial-gradient(circle, rgba(129, 140, 248, 0.22) 0%, transparent 72%);
|
||||
}
|
||||
|
||||
@keyframes landingOrbA {
|
||||
0%, 100% { transform: translate(0, 0) scale(1); }
|
||||
50% { transform: translate(5%, 5%) scale(1.06); }
|
||||
}
|
||||
|
||||
@keyframes landingOrbB {
|
||||
0%, 100% { transform: translate(0, 0) scale(1); }
|
||||
50% { transform: translate(-4%, 6%) scale(1.04); }
|
||||
}
|
||||
|
||||
@keyframes landingOrbC {
|
||||
0% { transform: translate(0, 0); }
|
||||
100% { transform: translate(4%, -3%); }
|
||||
}
|
||||
|
||||
.landingMesh {
|
||||
position: absolute;
|
||||
left: -20%;
|
||||
width: 140%;
|
||||
top: 0;
|
||||
height: min(64vh, 580px);
|
||||
pointer-events: none;
|
||||
perspective: 520px;
|
||||
opacity: 0.88;
|
||||
}
|
||||
|
||||
.landingMesh::before {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image:
|
||||
linear-gradient(rgba(245, 158, 11, 0.1) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(245, 158, 11, 0.1) 1px, transparent 1px);
|
||||
background-size: 52px 52px;
|
||||
transform-origin: 50% 0%;
|
||||
transform: rotateX(74deg) translateY(-5%) scale(1.06);
|
||||
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, transparent 92%);
|
||||
-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, transparent 92%);
|
||||
animation: landingMeshScroll 28s linear infinite;
|
||||
}
|
||||
|
||||
.dark .landingMesh::before {
|
||||
background-image:
|
||||
linear-gradient(rgba(245, 158, 11, 0.15) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(245, 158, 11, 0.15) 1px, transparent 1px);
|
||||
}
|
||||
|
||||
@keyframes landingMeshScroll {
|
||||
from {
|
||||
background-position: 0 0, 0 0;
|
||||
}
|
||||
to {
|
||||
background-position: 0 52px, 52px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.landingNoise {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
opacity: 0.04;
|
||||
pointer-events: none;
|
||||
mix-blend-mode: overlay;
|
||||
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
.dark .landingNoise {
|
||||
opacity: 0.08;
|
||||
mix-blend-mode: soft-light;
|
||||
}
|
||||
|
||||
.heroSection3d {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.heroEyebrow {
|
||||
display: inline-block;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 500;
|
||||
color: var(--muted-foreground);
|
||||
padding: 0.4rem 0.95rem;
|
||||
border-radius: 9999px;
|
||||
border: 1px solid rgba(245, 158, 11, 0.22);
|
||||
margin-bottom: 1rem;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
backdrop-filter: blur(12px) saturate(1.2);
|
||||
box-shadow:
|
||||
0 10px 36px rgba(0, 0, 0, 0.07),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.55) inset;
|
||||
}
|
||||
|
||||
.dark .heroEyebrow {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
|
||||
}
|
||||
|
||||
.heroTitle {
|
||||
font-size: clamp(2rem, 6vw, 3rem);
|
||||
font-weight: 700;
|
||||
margin: 0 0 0.5rem;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.18;
|
||||
}
|
||||
|
||||
.heroTitleAccent {
|
||||
background: linear-gradient(120deg, var(--foreground) 0%, var(--accent) 42%, #fbbf24 100%);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.heroTitleRest {
|
||||
color: var(--foreground);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.heroLead {
|
||||
font-size: clamp(1rem, 2.8vw, 1.125rem);
|
||||
color: var(--muted-foreground);
|
||||
max-width: 540px;
|
||||
margin: 0 auto;
|
||||
line-height: 1.65;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.landingStatCard {
|
||||
position: relative;
|
||||
backdrop-filter: blur(12px) saturate(1.15);
|
||||
background: rgba(255, 255, 255, 0.52);
|
||||
border-color: rgba(245, 158, 11, 0.2);
|
||||
transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.2s;
|
||||
}
|
||||
|
||||
.dark .landingStatCard {
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
border-color: rgba(245, 158, 11, 0.24);
|
||||
}
|
||||
|
||||
.landingStatCard:hover {
|
||||
transform: translateY(-3px) perspective(880px) rotateX(5deg);
|
||||
box-shadow:
|
||||
0 18px 44px rgba(0, 0, 0, 0.1),
|
||||
0 0 0 1px rgba(245, 158, 11, 0.14);
|
||||
}
|
||||
|
||||
.dark .landingStatCard:hover {
|
||||
box-shadow:
|
||||
0 22px 52px rgba(0, 0, 0, 0.48),
|
||||
0 0 0 1px rgba(245, 158, 11, 0.22);
|
||||
}
|
||||
|
||||
.statsSection {
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
@@ -426,3 +653,731 @@
|
||||
@keyframes spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* 私密社群 · 登录信息弹窗 */
|
||||
.communityModalBackdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 100;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1rem;
|
||||
background: rgba(15, 23, 42, 0.65);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.communityModalPanel {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 420px;
|
||||
padding: 1.75rem 1.5rem 1.5rem;
|
||||
border-radius: 16px;
|
||||
border: 1px solid rgba(245, 158, 11, 0.25);
|
||||
background: var(--card);
|
||||
box-shadow:
|
||||
0 24px 48px rgba(0, 0, 0, 0.35),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.04) inset;
|
||||
}
|
||||
|
||||
.communityModalGlow {
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
inset: -1px;
|
||||
border-radius: 16px;
|
||||
background: radial-gradient(
|
||||
ellipse 80% 60% at 50% -20%,
|
||||
rgba(245, 158, 11, 0.18),
|
||||
transparent 55%
|
||||
);
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.communityModalClose {
|
||||
position: absolute;
|
||||
top: 0.65rem;
|
||||
right: 0.65rem;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 1.35rem;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
transition: color 0.15s, background 0.15s;
|
||||
}
|
||||
|
||||
.communityModalClose:hover {
|
||||
color: var(--foreground);
|
||||
background: var(--muted);
|
||||
}
|
||||
|
||||
.communityModalIconWrap {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.communityModalIcon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 3.25rem;
|
||||
height: 3.25rem;
|
||||
border-radius: 14px;
|
||||
font-size: 1.75rem;
|
||||
background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.06));
|
||||
border: 1px solid rgba(245, 158, 11, 0.25);
|
||||
}
|
||||
|
||||
.communityModalTitle {
|
||||
margin: 0 0 0.35rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
color: var(--foreground);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.communityModalDesc {
|
||||
margin: 0 0 1.25rem;
|
||||
font-size: 0.85rem;
|
||||
line-height: 1.5;
|
||||
text-align: center;
|
||||
color: var(--muted-foreground);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.communityModalRows {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.65rem;
|
||||
margin-bottom: 1.25rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.communityModalRow {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.65rem 0.85rem;
|
||||
border-radius: 10px;
|
||||
background: var(--muted);
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.communityModalLabel {
|
||||
flex-shrink: 0;
|
||||
width: 2.75rem;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
color: var(--muted-foreground);
|
||||
}
|
||||
|
||||
.communityModalValueWrap {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.communityModalCopyable {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
justify-content: flex-end !important;
|
||||
}
|
||||
|
||||
.communityModalMono {
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
font-size: 0.85rem;
|
||||
word-break: break-all;
|
||||
text-align: right;
|
||||
color: var(--foreground);
|
||||
}
|
||||
|
||||
.communityModalOpenLink {
|
||||
flex-shrink: 0;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
padding: 0.2rem 0.5rem;
|
||||
border-radius: 6px;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.communityModalOpenLink:hover {
|
||||
background: rgba(245, 158, 11, 0.12);
|
||||
}
|
||||
|
||||
.communityModalDone {
|
||||
width: 100%;
|
||||
padding: 0.75rem 1rem;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
color: var(--accent-foreground);
|
||||
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
|
||||
box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
|
||||
transition: transform 0.15s, box-shadow 0.15s;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.communityModalDone:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
|
||||
}
|
||||
|
||||
/* ========== 首页 · 常见问题 ========== */
|
||||
.faqSection {
|
||||
padding: 2rem 0 2.5rem;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.faqSection {
|
||||
padding: 2.5rem 0 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.faqInner {
|
||||
max-width: 720px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.faqEyebrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--accent);
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.faqEyebrowDot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--accent);
|
||||
box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
|
||||
}
|
||||
|
||||
.faqHeadline {
|
||||
font-size: clamp(1.35rem, 3.5vw, 1.75rem);
|
||||
font-weight: 700;
|
||||
color: var(--foreground);
|
||||
margin: 0 0 0.35rem;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.faqSub {
|
||||
font-size: 0.9rem;
|
||||
color: var(--muted-foreground);
|
||||
margin: 0 0 1.5rem;
|
||||
line-height: 1.55;
|
||||
max-width: 36rem;
|
||||
}
|
||||
|
||||
.faqList {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.65rem;
|
||||
}
|
||||
|
||||
.faqItem {
|
||||
border-radius: 14px;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--card);
|
||||
overflow: hidden;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.faqItem:hover {
|
||||
border-color: rgba(245, 158, 11, 0.35);
|
||||
}
|
||||
|
||||
.faqItemOpen {
|
||||
border-color: rgba(245, 158, 11, 0.45);
|
||||
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(245, 158, 11, 0.08);
|
||||
}
|
||||
|
||||
.dark .faqItemOpen {
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 158, 11, 0.12);
|
||||
}
|
||||
|
||||
.faqTrigger {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
gap: 0.85rem;
|
||||
padding: 1rem 1.1rem;
|
||||
border: none;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
font: inherit;
|
||||
color: var(--foreground);
|
||||
transition: background 0.15s ease;
|
||||
}
|
||||
|
||||
.faqTrigger:hover {
|
||||
background: var(--muted);
|
||||
}
|
||||
|
||||
.faqTrigger:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.faqIndex {
|
||||
flex-shrink: 0;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
color: var(--accent);
|
||||
background: rgba(245, 158, 11, 0.12);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.faqQuestionText {
|
||||
flex: 1;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
padding-right: 0.25rem;
|
||||
}
|
||||
|
||||
.faqChevron {
|
||||
flex-shrink: 0;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 8px;
|
||||
color: var(--muted-foreground);
|
||||
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s, background 0.2s;
|
||||
}
|
||||
|
||||
.faqItemOpen .faqChevron {
|
||||
transform: rotate(180deg);
|
||||
color: var(--accent);
|
||||
background: rgba(245, 158, 11, 0.1);
|
||||
}
|
||||
|
||||
.faqPanel {
|
||||
display: grid;
|
||||
grid-template-rows: 0fr;
|
||||
transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.faqPanelOpen {
|
||||
grid-template-rows: 1fr;
|
||||
}
|
||||
|
||||
.faqPanelInner {
|
||||
overflow: hidden;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.faqAnswer {
|
||||
padding: 0 1.1rem 1.1rem 3.65rem;
|
||||
margin: 0;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.65;
|
||||
color: var(--muted-foreground);
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.faqAnswer {
|
||||
padding-left: 1.1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ========== 首页 · 立即加入 CTA ========== */
|
||||
.ctaSection {
|
||||
padding: 0 0 2.75rem;
|
||||
}
|
||||
|
||||
.ctaInner {
|
||||
max-width: 640px;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ctaGlow {
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
inset: -20% -10% auto;
|
||||
height: 70%;
|
||||
background: radial-gradient(
|
||||
ellipse 70% 80% at 50% 0%,
|
||||
rgba(245, 158, 11, 0.22),
|
||||
transparent 65%
|
||||
);
|
||||
opacity: 0.85;
|
||||
filter: blur(2px);
|
||||
}
|
||||
|
||||
.ctaCard {
|
||||
position: relative;
|
||||
border-radius: 20px;
|
||||
padding: 1.75rem 1.5rem 1.65rem;
|
||||
text-align: center;
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
backdrop-filter: blur(16px) saturate(1.25);
|
||||
border: 1px solid rgba(245, 158, 11, 0.24);
|
||||
box-shadow:
|
||||
0 20px 50px rgba(0, 0, 0, 0.08),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.45) inset;
|
||||
}
|
||||
|
||||
.dark .ctaCard {
|
||||
background: rgba(20, 20, 26, 0.78);
|
||||
box-shadow:
|
||||
0 24px 56px rgba(0, 0, 0, 0.45),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.06) inset;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.ctaCard {
|
||||
padding: 2rem 2.25rem 1.85rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* 与主标题同一行的限时标签 */
|
||||
.ctaPromoLine {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
margin: 0 0 0.85rem;
|
||||
font-size: clamp(0.8125rem, 3.4vw, 1.125rem);
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.ctaBadgeInline {
|
||||
flex-shrink: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
padding: 0.28rem 0.65rem;
|
||||
font-size: 0.7em;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
color: var(--accent);
|
||||
background: rgba(245, 158, 11, 0.12);
|
||||
border: 1px solid rgba(245, 158, 11, 0.28);
|
||||
border-radius: 9999px;
|
||||
}
|
||||
|
||||
.ctaPromoDivider {
|
||||
flex-shrink: 0;
|
||||
color: var(--muted-foreground);
|
||||
opacity: 0.55;
|
||||
font-weight: 500;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.ctaPromoMain {
|
||||
display: inline-flex;
|
||||
flex-wrap: nowrap;
|
||||
align-items: baseline;
|
||||
gap: 0.25em;
|
||||
min-width: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ctaPromoSuffix {
|
||||
flex-shrink: 0;
|
||||
color: var(--foreground);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.ctaBadgePulse {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--accent);
|
||||
animation: ctaPulse 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes ctaPulse {
|
||||
0%, 100% { opacity: 1; transform: scale(1); }
|
||||
50% { opacity: 0.65; transform: scale(0.92); }
|
||||
}
|
||||
|
||||
.ctaHighlight {
|
||||
background: linear-gradient(120deg, var(--accent) 0%, #fbbf24 100%);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.ctaChips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.35rem;
|
||||
justify-content: center;
|
||||
margin-bottom: 0.85rem;
|
||||
opacity: 0.92;
|
||||
}
|
||||
|
||||
.ctaChip {
|
||||
font-size: clamp(0.5625rem, 2.1vw, 0.6875rem);
|
||||
font-weight: 500;
|
||||
color: var(--muted-foreground);
|
||||
padding: 0.2rem 0.45rem;
|
||||
border-radius: 9999px;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--muted);
|
||||
opacity: 0.68;
|
||||
}
|
||||
|
||||
/* 与 SHOW_CTA_AUDIENCE_BOUNDARY 配合:隐藏时不删 DOM,仅不占布局 */
|
||||
.ctaBoundaryHidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ctaBoundary {
|
||||
position: relative;
|
||||
margin: 0 auto 1.4rem;
|
||||
max-width: 26rem;
|
||||
border-radius: 14px;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
border: 1px solid rgba(245, 158, 11, 0.22);
|
||||
background:
|
||||
linear-gradient(125deg, rgba(245, 158, 11, 0.1) 0%, transparent 45%),
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(248, 248, 250, 0.94) 100%);
|
||||
box-shadow:
|
||||
0 12px 40px rgba(0, 0, 0, 0.06),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.5) inset;
|
||||
}
|
||||
|
||||
.dark .ctaBoundary {
|
||||
background:
|
||||
linear-gradient(125deg, rgba(245, 158, 11, 0.14) 0%, transparent 48%),
|
||||
linear-gradient(180deg, rgba(32, 32, 40, 0.92) 0%, rgba(16, 16, 20, 0.96) 100%);
|
||||
border-color: rgba(245, 158, 11, 0.28);
|
||||
box-shadow:
|
||||
0 16px 48px rgba(0, 0, 0, 0.38),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.05) inset;
|
||||
}
|
||||
|
||||
.ctaBoundarySheen {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -50%;
|
||||
width: 42%;
|
||||
height: 100%;
|
||||
background: linear-gradient(
|
||||
100deg,
|
||||
transparent 0%,
|
||||
rgba(255, 255, 255, 0.28) 48%,
|
||||
transparent 72%
|
||||
);
|
||||
animation: ctaBoundaryShine 8s ease-in-out infinite;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.dark .ctaBoundarySheen {
|
||||
background: linear-gradient(
|
||||
100deg,
|
||||
transparent 0%,
|
||||
rgba(251, 191, 36, 0.1) 48%,
|
||||
transparent 72%
|
||||
);
|
||||
}
|
||||
|
||||
@keyframes ctaBoundaryShine {
|
||||
0%, 100% {
|
||||
transform: translateX(-20%);
|
||||
opacity: 0;
|
||||
}
|
||||
40% {
|
||||
opacity: 0.85;
|
||||
}
|
||||
55% {
|
||||
transform: translateX(380%);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.ctaBoundaryInner {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 0.85rem 1rem 0.95rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.55rem;
|
||||
}
|
||||
|
||||
.ctaBoundaryPos {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
font-size: clamp(0.75rem, 2.4vw, 0.875rem);
|
||||
line-height: 1.52;
|
||||
color: var(--foreground);
|
||||
}
|
||||
|
||||
.ctaBoundaryNeg {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
font-size: clamp(0.7rem, 2.15vw, 0.8125rem);
|
||||
line-height: 1.52;
|
||||
color: var(--muted-foreground);
|
||||
padding-top: 0.5rem;
|
||||
border-top: 1px dashed rgba(245, 158, 11, 0.28);
|
||||
}
|
||||
|
||||
.ctaBoundaryMark {
|
||||
flex-shrink: 0;
|
||||
width: 1.4rem;
|
||||
height: 1.4rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 0.62rem;
|
||||
line-height: 1;
|
||||
color: var(--accent);
|
||||
background: rgba(245, 158, 11, 0.16);
|
||||
border-radius: 8px;
|
||||
border: 1px solid rgba(245, 158, 11, 0.28);
|
||||
}
|
||||
|
||||
.ctaBoundaryMarkNeg {
|
||||
flex-shrink: 0;
|
||||
width: 1.4rem;
|
||||
text-align: center;
|
||||
font-weight: 800;
|
||||
font-size: 1rem;
|
||||
line-height: 1.4rem;
|
||||
color: rgba(220, 80, 80, 0.88);
|
||||
}
|
||||
|
||||
.dark .ctaBoundaryMarkNeg {
|
||||
color: rgba(252, 165, 165, 0.88);
|
||||
}
|
||||
|
||||
.ctaBoundaryStrong {
|
||||
font-weight: 600;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.ctaBoundaryStrongNeg {
|
||||
font-weight: 600;
|
||||
color: rgba(220, 80, 80, 0.95);
|
||||
}
|
||||
|
||||
.dark .ctaBoundaryStrongNeg {
|
||||
color: rgba(254, 202, 202, 0.92);
|
||||
}
|
||||
|
||||
.ctaActions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.ctaActions {
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.ctaBtnPrimary {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
max-width: 280px;
|
||||
margin: 0 auto;
|
||||
box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.ctaBtnPrimary {
|
||||
margin: 0;
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.ctaBtnPrimary::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(
|
||||
120deg,
|
||||
transparent 40%,
|
||||
rgba(255, 255, 255, 0.18) 50%,
|
||||
transparent 60%
|
||||
);
|
||||
transform: translateX(-100%);
|
||||
transition: transform 0.6s ease;
|
||||
}
|
||||
|
||||
.ctaBtnPrimary:hover::after {
|
||||
transform: translateX(100%);
|
||||
}
|
||||
|
||||
.ctaBtnSecondary {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
max-width: 280px;
|
||||
margin: 0 auto;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1rem 1.75rem;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
border-radius: 12px;
|
||||
color: var(--foreground);
|
||||
background: transparent;
|
||||
border: 1px solid var(--border);
|
||||
cursor: pointer;
|
||||
font-family: inherit;
|
||||
transition: transform 0.15s, border-color 0.15s, color 0.15s, background 0.15s;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.ctaBtnSecondary {
|
||||
margin: 0;
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.ctaBtnSecondary:hover {
|
||||
transform: translateY(-1px);
|
||||
background: var(--muted);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user