Align Taro pages with Next hub/nav/book/community/VIP, pack the single-index Xiaohongshu portal with host-chrome safe areas, and refresh shared book content plus portal README constraints. Co-authored-by: Cursor <cursoragent@cursor.com>
1063 lines
20 KiB
CSS
1063 lines
20 KiB
CSS
/* Ported from apps/nomadvip vip.module.css + globals tokens for Taro H5 */
|
||
|
||
.vip-root {
|
||
--background: #0a0e17;
|
||
--foreground: #f1f5f9;
|
||
--card: rgba(17, 24, 39, 0.7);
|
||
--muted: rgba(255, 255, 255, 0.05);
|
||
--muted-foreground: #94a3b8;
|
||
--border: rgba(255, 255, 255, 0.08);
|
||
--accent: #f59e0b;
|
||
--accent-foreground: #1c1917;
|
||
--hub-accent-3: #4ECDC4;
|
||
--hub-gradient-text: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 50%, #4ECDC4 100%);
|
||
--hub-glow: 0 0 40px rgba(78, 205, 196, 0.15);
|
||
min-height: 100vh;
|
||
background: var(--background);
|
||
color: var(--foreground);
|
||
overflow-x: hidden;
|
||
font-family: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
|
||
padding-top: var(--app-pad-top, 88px);
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
/* ========== Header / logo (VipHeader) ========== */
|
||
.vip-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
/* sticky:滚到宿主壳下沿吸顶 */
|
||
top: var(--app-pad-top, 88px);
|
||
padding-top: 0.75rem;
|
||
padding-right: 1rem;
|
||
padding-bottom: 0.75rem;
|
||
padding-left: var(--app-pad-left, 16px);
|
||
width: 100%;
|
||
max-width: none;
|
||
margin: 0;
|
||
position: sticky;
|
||
z-index: 40;
|
||
backdrop-filter: blur(18px);
|
||
background: rgba(10, 14, 23, 0.82);
|
||
border-bottom: 1px solid var(--border);
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
@media (min-width: 641px) {
|
||
.vip-header {
|
||
padding-top: 1rem;
|
||
padding-right: 1.5rem;
|
||
padding-bottom: 1rem;
|
||
}
|
||
}
|
||
|
||
.vip-logo {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
font-size: 1.15rem;
|
||
font-weight: 800;
|
||
color: var(--foreground);
|
||
text-decoration: none;
|
||
letter-spacing: -0.02em;
|
||
cursor: pointer;
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
|
||
.vip-logo:active {
|
||
opacity: 0.75;
|
||
}
|
||
|
||
.vip-logoMark {
|
||
width: 28px;
|
||
height: 28px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.vip-logoBrand {
|
||
background: var(--hub-gradient-text);
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
color: transparent;
|
||
}
|
||
|
||
.vip-logoSep {
|
||
color: var(--muted-foreground);
|
||
font-weight: 500;
|
||
margin: 0 0.15rem;
|
||
}
|
||
|
||
.vip-logoVip {
|
||
color: var(--accent);
|
||
font-weight: 700;
|
||
font-size: 0.95rem;
|
||
}
|
||
|
||
/* ========== Sections ========== */
|
||
.vip-section {
|
||
padding: 1.5rem 0;
|
||
}
|
||
|
||
.vip-heroSection {
|
||
padding-top: 2rem;
|
||
padding-bottom: 1rem;
|
||
text-align: center;
|
||
}
|
||
|
||
@media (min-width: 768px) {
|
||
.vip-heroSection {
|
||
padding-top: 3rem;
|
||
padding-bottom: 1.5rem;
|
||
}
|
||
|
||
.vip-heroSection .vip-heroTitle {
|
||
font-size: clamp(2.25rem, 4vw, 3.25rem) !important;
|
||
margin-bottom: 0.75rem;
|
||
}
|
||
|
||
.vip-heroSection .vip-heroLead {
|
||
font-size: 1.25rem;
|
||
max-width: 600px;
|
||
margin-left: auto;
|
||
margin-right: auto;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.vip-heroSection {
|
||
padding-top: 4rem;
|
||
padding-bottom: 2rem;
|
||
}
|
||
}
|
||
|
||
/* ========== Landing scene (orbs / mesh / noise) ========== */
|
||
.vip-landingScene {
|
||
position: relative;
|
||
isolation: isolate;
|
||
width: 100%;
|
||
padding-left: 1.5rem;
|
||
padding-right: 1.5rem;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
@media (max-width: 640px) {
|
||
.vip-landingScene {
|
||
padding-left: 1rem;
|
||
padding-right: 1rem;
|
||
}
|
||
}
|
||
|
||
.vip-landingSceneBg {
|
||
position: absolute;
|
||
z-index: 0;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
height: min(118vh, 1400px);
|
||
overflow: hidden;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.vip-landingSceneInner {
|
||
position: relative;
|
||
z-index: 1;
|
||
max-width: 960px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
.vip-landingOrb {
|
||
position: absolute;
|
||
border-radius: 50%;
|
||
filter: blur(52px);
|
||
pointer-events: none;
|
||
}
|
||
|
||
.vip-landingOrb:nth-child(1) {
|
||
width: min(42vw, 380px);
|
||
height: min(42vw, 380px);
|
||
top: -4%;
|
||
left: -10%;
|
||
background: radial-gradient(circle, rgba(255, 107, 107, 0.42) 0%, transparent 68%);
|
||
animation: vip-landingOrbA 22s ease-in-out infinite;
|
||
}
|
||
|
||
.vip-landingOrb:nth-child(2) {
|
||
width: min(48vw, 420px);
|
||
height: min(48vw, 420px);
|
||
top: 10%;
|
||
right: -16%;
|
||
background: radial-gradient(circle, rgba(78, 205, 196, 0.32) 0%, transparent 72%);
|
||
animation: vip-landingOrbB 26s ease-in-out infinite;
|
||
}
|
||
|
||
.vip-landingOrb:nth-child(3) {
|
||
width: min(34vw, 300px);
|
||
height: min(34vw, 300px);
|
||
top: 36%;
|
||
left: 14%;
|
||
background: radial-gradient(circle, rgba(255, 230, 109, 0.26) 0%, transparent 72%);
|
||
animation: vip-landingOrbC 19s ease-in-out infinite alternate;
|
||
}
|
||
|
||
@keyframes vip-landingOrbA {
|
||
0%,
|
||
100% {
|
||
transform: translate(0, 0) scale(1);
|
||
}
|
||
50% {
|
||
transform: translate(5%, 5%) scale(1.06);
|
||
}
|
||
}
|
||
|
||
@keyframes vip-landingOrbB {
|
||
0%,
|
||
100% {
|
||
transform: translate(0, 0) scale(1);
|
||
}
|
||
50% {
|
||
transform: translate(-4%, 6%) scale(1.04);
|
||
}
|
||
}
|
||
|
||
@keyframes vip-landingOrbC {
|
||
0% {
|
||
transform: translate(0, 0);
|
||
}
|
||
100% {
|
||
transform: translate(4%, -3%);
|
||
}
|
||
}
|
||
|
||
.vip-landingMesh {
|
||
position: absolute;
|
||
left: -20%;
|
||
width: 140%;
|
||
top: 0;
|
||
height: min(64vh, 580px);
|
||
pointer-events: none;
|
||
perspective: 520px;
|
||
opacity: 0.88;
|
||
}
|
||
|
||
.vip-landingMesh::before {
|
||
content: "";
|
||
display: block;
|
||
width: 100%;
|
||
height: 100%;
|
||
background-image: linear-gradient(rgba(78, 205, 196, 0.16) 1px, transparent 1px),
|
||
linear-gradient(90deg, rgba(255, 107, 107, 0.12) 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: vip-landingMeshScroll 28s linear infinite;
|
||
}
|
||
|
||
@keyframes vip-landingMeshScroll {
|
||
from {
|
||
background-position: 0 0, 0 0;
|
||
}
|
||
to {
|
||
background-position: 0 52px, 52px 0;
|
||
}
|
||
}
|
||
|
||
.vip-landingNoise {
|
||
position: absolute;
|
||
inset: 0;
|
||
opacity: 0.08;
|
||
pointer-events: none;
|
||
mix-blend-mode: soft-light;
|
||
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");
|
||
}
|
||
|
||
/* ========== Hero ========== */
|
||
.vip-heroSection3d {
|
||
position: relative;
|
||
}
|
||
|
||
.vip-heroEyebrow {
|
||
display: inline-block;
|
||
font-size: 0.8125rem;
|
||
font-weight: 600;
|
||
color: var(--muted-foreground);
|
||
padding: 0.4rem 0.95rem;
|
||
border-radius: 9999px;
|
||
border: 1px solid rgba(78, 205, 196, 0.28);
|
||
margin-bottom: 1rem;
|
||
background: rgba(255, 255, 255, 0.05);
|
||
backdrop-filter: blur(12px) saturate(1.2);
|
||
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
|
||
}
|
||
|
||
.vip-heroTitle {
|
||
font-size: clamp(2rem, 6vw, 3.2rem);
|
||
font-weight: 800;
|
||
margin: 0 0 0.5rem;
|
||
letter-spacing: -0.03em;
|
||
line-height: 1.18;
|
||
color: var(--foreground);
|
||
}
|
||
|
||
.vip-heroTitleAccent {
|
||
background: var(--hub-gradient-text);
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
color: transparent;
|
||
background-size: 200% auto;
|
||
animation: vip-gradientShift 4s ease-in-out infinite;
|
||
}
|
||
|
||
@keyframes vip-gradientShift {
|
||
0%,
|
||
100% {
|
||
background-position: 0% center;
|
||
}
|
||
50% {
|
||
background-position: 100% center;
|
||
}
|
||
}
|
||
|
||
.vip-heroTitleRest {
|
||
color: var(--foreground);
|
||
font-weight: 700;
|
||
display: block;
|
||
}
|
||
|
||
.vip-heroLead {
|
||
display: block;
|
||
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;
|
||
}
|
||
|
||
/* ========== Stats ========== */
|
||
.vip-statsSection {
|
||
padding-top: 2rem;
|
||
padding-bottom: 2rem;
|
||
}
|
||
|
||
@media (min-width: 768px) {
|
||
.vip-statsSection {
|
||
padding-top: 2.5rem;
|
||
padding-bottom: 2.5rem;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.vip-statsSection {
|
||
padding-top: 3rem;
|
||
padding-bottom: 3rem;
|
||
}
|
||
}
|
||
|
||
.vip-statsGrid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, 1fr);
|
||
gap: 1rem;
|
||
}
|
||
|
||
@media (min-width: 640px) {
|
||
.vip-statsGrid {
|
||
grid-template-columns: repeat(4, 1fr);
|
||
}
|
||
}
|
||
|
||
.vip-card {
|
||
background: var(--card);
|
||
border: 1px solid var(--border);
|
||
border-radius: 12px;
|
||
padding: 1rem 1.25rem;
|
||
transition: border-color 0.2s, box-shadow 0.2s, transform 0.35s ease;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.vip-landingStatCard {
|
||
position: relative;
|
||
backdrop-filter: blur(18px) saturate(1.15);
|
||
background: rgba(17, 24, 39, 0.7);
|
||
border-color: rgba(255, 255, 255, 0.08);
|
||
text-align: center;
|
||
}
|
||
|
||
.vip-landingStatCard:hover {
|
||
transform: translateY(-4px);
|
||
border-color: rgba(78, 205, 196, 0.35);
|
||
box-shadow: var(--hub-glow), 0 22px 52px rgba(0, 0, 0, 0.48);
|
||
}
|
||
|
||
.vip-bigNumber {
|
||
font-size: 2rem;
|
||
font-weight: 700;
|
||
color: var(--accent);
|
||
line-height: 1.2;
|
||
}
|
||
|
||
@media (min-width: 640px) {
|
||
.vip-bigNumber {
|
||
font-size: 2.5rem;
|
||
}
|
||
}
|
||
|
||
.vip-bigNumberLabel {
|
||
font-size: 0.8rem;
|
||
color: var(--muted-foreground);
|
||
margin-top: 0.25rem;
|
||
}
|
||
|
||
/* ========== Section titles / compare ========== */
|
||
.vip-sectionTitle {
|
||
display: block;
|
||
font-size: 1.25rem;
|
||
font-weight: 600;
|
||
color: var(--foreground);
|
||
margin: 0 0 1rem;
|
||
}
|
||
|
||
.vip-sectionDesc {
|
||
display: block;
|
||
font-size: 0.9rem;
|
||
color: var(--muted-foreground);
|
||
margin: 0 0 1rem;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.vip-compareWrap {
|
||
overflow: hidden;
|
||
border-radius: 12px;
|
||
border: 1px solid var(--border);
|
||
}
|
||
|
||
.vip-compareTable {
|
||
width: 100%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
font-size: 0.9rem;
|
||
}
|
||
|
||
.vip-compareRow {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: stretch;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.vip-compareRow--head {
|
||
background: var(--muted);
|
||
}
|
||
|
||
.vip-compareRow--alt {
|
||
background: var(--muted);
|
||
}
|
||
|
||
.vip-compareRow--body {
|
||
border-top: 1px solid var(--border);
|
||
}
|
||
|
||
.vip-compareCell {
|
||
padding: 0.75rem 1rem;
|
||
box-sizing: border-box;
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.vip-compareCell--feature {
|
||
flex: 1.4;
|
||
text-align: left;
|
||
font-weight: 600;
|
||
color: var(--foreground);
|
||
}
|
||
|
||
.vip-compareCell--single {
|
||
text-align: center;
|
||
color: var(--muted-foreground);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.vip-compareCell--member {
|
||
text-align: center;
|
||
color: var(--accent);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.vip-compareCell--bodyFeature {
|
||
flex: 1.4;
|
||
text-align: left;
|
||
color: var(--foreground);
|
||
font-weight: 400;
|
||
}
|
||
|
||
.vip-compareCell--bodySingle {
|
||
text-align: center;
|
||
color: var(--muted-foreground);
|
||
font-weight: 400;
|
||
}
|
||
|
||
.vip-compareCell--bodyMember {
|
||
text-align: center;
|
||
color: var(--accent);
|
||
font-weight: 400;
|
||
}
|
||
|
||
/* ========== FAQ ========== */
|
||
.vip-faqSection {
|
||
padding: 2rem 0 2.5rem;
|
||
}
|
||
|
||
@media (min-width: 768px) {
|
||
.vip-faqSection {
|
||
padding: 2.5rem 0 3rem;
|
||
}
|
||
}
|
||
|
||
.vip-faqInner {
|
||
max-width: 720px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
.vip-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;
|
||
}
|
||
|
||
.vip-faqEyebrowDot {
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: 50%;
|
||
background: var(--accent);
|
||
box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.vip-faqHeadline {
|
||
display: block;
|
||
font-size: clamp(1.35rem, 3.5vw, 1.75rem);
|
||
font-weight: 700;
|
||
color: var(--foreground);
|
||
margin: 0 0 0.35rem;
|
||
letter-spacing: -0.02em;
|
||
}
|
||
|
||
.vip-faqSub {
|
||
display: block;
|
||
font-size: 0.9rem;
|
||
color: var(--muted-foreground);
|
||
margin: 0 0 1.5rem;
|
||
line-height: 1.55;
|
||
max-width: 36rem;
|
||
}
|
||
|
||
.vip-faqList {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.65rem;
|
||
}
|
||
|
||
.vip-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;
|
||
}
|
||
|
||
.vip-faqItemOpen {
|
||
border-color: rgba(245, 158, 11, 0.45);
|
||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 158, 11, 0.12);
|
||
}
|
||
|
||
.vip-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);
|
||
box-sizing: border-box;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.vip-faqTrigger::after {
|
||
border: none;
|
||
}
|
||
|
||
.vip-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;
|
||
}
|
||
|
||
.vip-faqQuestionText {
|
||
flex: 1;
|
||
font-size: 0.95rem;
|
||
font-weight: 600;
|
||
line-height: 1.4;
|
||
padding-right: 0.25rem;
|
||
text-align: left;
|
||
}
|
||
|
||
.vip-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);
|
||
font-size: 0.75rem;
|
||
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s, background 0.2s;
|
||
}
|
||
|
||
.vip-faqItemOpen .vip-faqChevron {
|
||
transform: rotate(180deg);
|
||
color: var(--accent);
|
||
background: rgba(245, 158, 11, 0.1);
|
||
}
|
||
|
||
.vip-faqPanel {
|
||
max-height: 0;
|
||
overflow: hidden;
|
||
transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
|
||
}
|
||
|
||
.vip-faqPanelOpen {
|
||
max-height: 240px;
|
||
}
|
||
|
||
.vip-faqAnswer {
|
||
display: block;
|
||
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) {
|
||
.vip-faqAnswer {
|
||
padding-left: 1.1rem;
|
||
}
|
||
}
|
||
|
||
/* ========== CTA ========== */
|
||
.vip-ctaSection {
|
||
padding: 0 0 2.75rem;
|
||
}
|
||
|
||
.vip-ctaInner {
|
||
max-width: 640px;
|
||
margin: 0 auto;
|
||
position: relative;
|
||
}
|
||
|
||
.vip-ctaGlow {
|
||
pointer-events: none;
|
||
position: absolute;
|
||
inset: -20% -10% auto;
|
||
height: 70%;
|
||
background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(78, 205, 196, 0.22), transparent 65%);
|
||
opacity: 0.55;
|
||
filter: blur(10px);
|
||
}
|
||
|
||
.vip-ctaCard {
|
||
position: relative;
|
||
border-radius: 16px;
|
||
padding: 1.75rem 1.5rem 1.65rem;
|
||
text-align: center;
|
||
background: radial-gradient(90% 70% at 50% -10%, rgba(78, 205, 196, 0.12) 0%, transparent 58%),
|
||
radial-gradient(70% 50% at 90% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 55%),
|
||
linear-gradient(180deg, rgba(17, 24, 39, 0.92) 0%, rgba(10, 14, 23, 0.96) 100%);
|
||
backdrop-filter: blur(18px) saturate(1.25);
|
||
border: 1px solid rgba(78, 205, 196, 0.2);
|
||
box-shadow: var(--hub-glow), 0 24px 60px rgba(0, 0, 0, 0.52),
|
||
0 0 0 1px rgba(255, 255, 255, 0.04) inset;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
@media (min-width: 640px) {
|
||
.vip-ctaCard {
|
||
padding: 2rem 2.25rem 1.85rem;
|
||
}
|
||
}
|
||
|
||
.vip-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;
|
||
color: rgba(255, 255, 255, 0.92);
|
||
}
|
||
|
||
.vip-ctaPromoClickable {
|
||
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: #fbbf24;
|
||
background: rgba(245, 158, 11, 0.16);
|
||
border: 1px solid rgba(251, 191, 36, 0.42);
|
||
border-radius: 9999px;
|
||
box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.1) inset;
|
||
}
|
||
|
||
.vip-ctaBadgePulse {
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: 50%;
|
||
background: var(--accent);
|
||
animation: vip-ctaPulse 2s ease-in-out infinite;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
@keyframes vip-ctaPulse {
|
||
0%,
|
||
100% {
|
||
opacity: 1;
|
||
transform: scale(1);
|
||
}
|
||
50% {
|
||
opacity: 0.65;
|
||
transform: scale(0.92);
|
||
}
|
||
}
|
||
|
||
.vip-ctaPromoDivider {
|
||
flex-shrink: 0;
|
||
color: var(--muted-foreground);
|
||
opacity: 0.55;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.vip-ctaPromoMain {
|
||
display: inline-flex;
|
||
flex-wrap: nowrap;
|
||
align-items: baseline;
|
||
gap: 0.25em;
|
||
min-width: 0;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.vip-ctaHighlight {
|
||
background: var(--hub-gradient-text);
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
color: transparent;
|
||
}
|
||
|
||
.vip-ctaPromoSuffix {
|
||
flex-shrink: 0;
|
||
color: var(--foreground);
|
||
font-weight: 700;
|
||
}
|
||
|
||
.vip-ctaChips {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 0.35rem;
|
||
justify-content: center;
|
||
margin-bottom: 0.85rem;
|
||
opacity: 0.92;
|
||
}
|
||
|
||
.vip-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;
|
||
}
|
||
|
||
.vip-ctaOffline {
|
||
display: block;
|
||
margin-bottom: 0.75rem;
|
||
font-size: 0.75rem;
|
||
color: var(--muted-foreground);
|
||
}
|
||
|
||
.vip-ctaActions {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.75rem;
|
||
align-items: stretch;
|
||
}
|
||
|
||
@media (min-width: 480px) {
|
||
.vip-ctaActions {
|
||
flex-direction: row;
|
||
flex-wrap: wrap;
|
||
justify-content: center;
|
||
align-items: center;
|
||
}
|
||
}
|
||
|
||
.vip-btnPrimary {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0.75rem 1.75rem;
|
||
font-size: 1rem;
|
||
font-weight: 600;
|
||
color: var(--accent-foreground);
|
||
background: var(--accent);
|
||
border: none;
|
||
border-radius: 12px;
|
||
cursor: pointer;
|
||
text-decoration: none;
|
||
transition: opacity 0.2s, transform 0.15s;
|
||
box-sizing: border-box;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.vip-btnPrimary::after {
|
||
border: none;
|
||
}
|
||
|
||
.vip-btnLarge {
|
||
padding: 1rem 2.5rem;
|
||
font-size: 1.1rem;
|
||
}
|
||
|
||
.vip-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;
|
||
}
|
||
|
||
.vip-ctaBtnPrimary[disabled] {
|
||
opacity: 0.45;
|
||
}
|
||
|
||
@media (min-width: 480px) {
|
||
.vip-ctaBtnPrimary {
|
||
margin: 0;
|
||
flex: 0 1 auto;
|
||
}
|
||
}
|
||
|
||
.vip-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;
|
||
box-sizing: border-box;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.vip-ctaBtnSecondary::after {
|
||
border: none;
|
||
}
|
||
|
||
@media (min-width: 480px) {
|
||
.vip-ctaBtnSecondary {
|
||
margin: 0;
|
||
flex: 0 1 auto;
|
||
}
|
||
}
|
||
|
||
.vip-ctaHint {
|
||
display: block;
|
||
margin-top: 0.85rem;
|
||
font-size: 0.75rem;
|
||
color: var(--muted-foreground);
|
||
text-align: center;
|
||
}
|
||
|
||
/* ========== Topic / ebook showcase (TopicEbookShowcase) ========== */
|
||
.vip-topicsSection .vip-sectionTitle {
|
||
margin-bottom: 1.25rem;
|
||
}
|
||
|
||
@media (min-width: 768px) {
|
||
.vip-topicsSection {
|
||
padding-top: 2.5rem;
|
||
}
|
||
|
||
.vip-topicsSection .vip-sectionTitle {
|
||
font-size: 1.5rem;
|
||
margin-bottom: 1.5rem;
|
||
}
|
||
}
|
||
|
||
.vip-topicGrid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, 1fr);
|
||
gap: 1rem;
|
||
}
|
||
|
||
@media (min-width: 640px) {
|
||
.vip-topicGrid {
|
||
grid-template-columns: repeat(4, 1fr);
|
||
}
|
||
}
|
||
|
||
.vip-topicCard {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 0.5rem;
|
||
padding: 1.25rem 1rem;
|
||
background: var(--card);
|
||
border: 1px solid var(--border);
|
||
border-radius: 12px;
|
||
text-decoration: none;
|
||
color: inherit;
|
||
transition: border-color 0.2s, transform 0.2s;
|
||
box-sizing: border-box;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.vip-topicCard:hover {
|
||
border-color: rgba(245, 158, 11, 0.4);
|
||
transform: translateY(-2px);
|
||
}
|
||
|
||
.vip-topicIcon {
|
||
font-size: 2rem;
|
||
line-height: 1;
|
||
}
|
||
|
||
.vip-topicTitle {
|
||
font-size: 1rem;
|
||
font-weight: 600;
|
||
color: var(--foreground);
|
||
text-align: center;
|
||
}
|
||
|
||
.vip-topicDesc {
|
||
font-size: 0.8rem;
|
||
color: var(--muted-foreground);
|
||
text-align: center;
|
||
}
|
||
|
||
.vip-topicLock {
|
||
position: absolute;
|
||
top: 0.75rem;
|
||
right: 0.75rem;
|
||
font-size: 0.85rem;
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.vip-ebookGrid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
||
gap: 1rem;
|
||
}
|
||
|
||
.vip-ebookCard {
|
||
display: block;
|
||
padding: 1.25rem;
|
||
cursor: pointer;
|
||
text-align: left;
|
||
width: 100%;
|
||
}
|
||
|
||
.vip-ebookCard:hover {
|
||
border-color: rgba(245, 158, 11, 0.3);
|
||
}
|
||
|
||
.vip-ebookEmoji {
|
||
font-size: 1.5rem;
|
||
margin-bottom: 0.5rem;
|
||
display: block;
|
||
}
|
||
|
||
.vip-ebookTitleRow {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
flex-wrap: wrap;
|
||
margin-bottom: 0.25rem;
|
||
}
|
||
|
||
.vip-ebookTitle {
|
||
font-weight: 600;
|
||
color: var(--foreground);
|
||
}
|
||
|
||
.vip-ebookLock {
|
||
font-size: 1rem;
|
||
}
|
||
|
||
.vip-ebookDesc {
|
||
font-size: 0.9rem;
|
||
color: var(--muted-foreground);
|
||
display: block;
|
||
}
|
||
|
||
.vip-ebookCta {
|
||
display: block;
|
||
margin-top: 0.75rem;
|
||
font-size: 0.85rem;
|
||
color: var(--muted-foreground);
|
||
}
|
||
|
||
.vip-freeBadge {
|
||
font-size: 0.7rem;
|
||
padding: 0.15rem 0.5rem;
|
||
border-radius: 9999px;
|
||
background: var(--muted);
|
||
color: var(--accent);
|
||
font-weight: 500;
|
||
}
|