4d30803b60
Add static site, shared layout, and Node dev server with standard .gitignore. Co-authored-by: Cursor <cursoragent@cursor.com>
543 lines
11 KiB
CSS
543 lines
11 KiB
CSS
#promotion-activity {
|
|
--primary: #f98715;
|
|
--primary-hover: #f9a215;
|
|
--bg-page: #070400;
|
|
--bg-card: #0e0e0e;
|
|
--border-muted: #989795;
|
|
--text-main: #f9f9f9;
|
|
--text-muted: #909090;
|
|
--line: rgba(255, 255, 255, 0.12);
|
|
/* 推广活动页顶部光晕高度,可按区块内容自行调整 */
|
|
--aifo-page-bg-height: 805px;
|
|
/* 导航下方到主内容的额外间距(header 高度由 --aifo-nav-height 处理) */
|
|
--aifo-page-content-offset: 1.375rem;
|
|
background: var(--bg-page);
|
|
color: var(--text-main);
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
#promotion-activity .promo-page {
|
|
position: relative;
|
|
z-index: 1;
|
|
max-width: 1140px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding-left: 18px;
|
|
padding-right: 18px;
|
|
padding-bottom: 80px;
|
|
}
|
|
|
|
#promotion-activity .promo-hero {
|
|
position: relative;
|
|
min-height: 620px;
|
|
padding: 94px 0 40px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
#promotion-activity .promo-hero__content {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 490px;
|
|
}
|
|
|
|
#promotion-activity .promo-hero__title {
|
|
margin: 0 0 29px;
|
|
font-size: clamp(36px, 5vw, 60px);
|
|
line-height: 1.18;
|
|
font-weight: 700;
|
|
letter-spacing: -0.6px;
|
|
}
|
|
|
|
#promotion-activity .promo-hero__title .text-orange {
|
|
color: var(--primary);
|
|
}
|
|
|
|
#promotion-activity .promo-hero__desc {
|
|
margin: 0 0 29px;
|
|
max-width: 429px;
|
|
font-size: 20px;
|
|
line-height: 1.5;
|
|
font-weight: 500;
|
|
letter-spacing: -0.2px;
|
|
}
|
|
|
|
#promotion-activity .btn-promo {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: none;
|
|
border-radius: 10px;
|
|
padding: 15px 40px;
|
|
font-size: 20px;
|
|
font-weight: 500;
|
|
color: var(--text-main);
|
|
background: var(--primary);
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: background 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
#promotion-activity .btn-promo:hover {
|
|
background: var(--primary-hover);
|
|
box-shadow: inset 0 5px 10px rgba(249, 135, 21, 0.6), 0 5px 10px rgba(249, 135, 21, 0.6);
|
|
color: var(--text-main);
|
|
text-decoration: none;
|
|
}
|
|
|
|
#promotion-activity .btn-promo--sm {
|
|
padding: 15px 40px;
|
|
font-size: 20px;
|
|
min-width: 180px;
|
|
}
|
|
|
|
#promotion-activity .promo-hero__visual {
|
|
position: absolute;
|
|
top: 60px;
|
|
right: -40px;
|
|
width: min(58%, 720px);
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
#promotion-activity .promo-hero__visual img {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
filter: drop-shadow(0 0 20px rgba(255, 214, 68, 0.25));
|
|
}
|
|
|
|
#promotion-activity .promo-offer-bar {
|
|
position: relative;
|
|
z-index: 2;
|
|
margin-top: 140px;
|
|
padding: 4px 32px;
|
|
min-height: 139px;
|
|
border-radius: 20px;
|
|
background: url("../images/promotion-activity/20260629-165840.png") no-repeat center / 100% 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#promotion-activity .promo-offer-bar__tags {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
flex: 1;
|
|
gap: 38px;
|
|
max-width: 800px;
|
|
}
|
|
|
|
#promotion-activity .promo-tag {
|
|
flex: 1;
|
|
min-height: 54px;
|
|
border-radius: 14px;
|
|
background: url("../images/promotion-activity/20260629-165832.png") no-repeat center / 100% 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
padding: 6px 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
#promotion-activity .promo-tag__value {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
line-height: 1.25;
|
|
color: var(--primary);
|
|
letter-spacing: -0.2px;
|
|
}
|
|
|
|
#promotion-activity .promo-tag__label {
|
|
margin: 0;
|
|
font-size: 10px;
|
|
line-height: 1.2;
|
|
letter-spacing: -0.1px;
|
|
text-transform: uppercase;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
#promotion-activity .promo-offer-bar__action {
|
|
position: relative;
|
|
z-index: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#promotion-activity .promo-section {
|
|
position: relative;
|
|
padding: 72px 0;
|
|
}
|
|
|
|
#promotion-activity .promo-section__title {
|
|
margin: 0 0 48px;
|
|
font-size: clamp(32px, 4.5vw, 60px);
|
|
line-height: 1.2;
|
|
font-weight: 700;
|
|
letter-spacing: -0.6px;
|
|
}
|
|
|
|
#promotion-activity .promo-section__title--left {
|
|
max-width: 420px;
|
|
}
|
|
|
|
#promotion-activity .promo-section__title .text-orange {
|
|
color: var(--primary);
|
|
}
|
|
|
|
#promotion-activity .promo-section__title--center {
|
|
text-align: center;
|
|
max-width: 700px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
#promotion-activity .testimonial-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 41px;
|
|
}
|
|
|
|
#promotion-activity .testimonial-card {
|
|
position: relative;
|
|
min-height: 159px;
|
|
padding: 22px 24px;
|
|
border: 0.5px solid var(--border-muted);
|
|
border-radius: 15px;
|
|
background: var(--bg-card);
|
|
}
|
|
|
|
#promotion-activity .testimonial-card__head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#promotion-activity .testimonial-card__user {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
#promotion-activity .testimonial-card__identity {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
}
|
|
|
|
#promotion-activity .testimonial-card__identity-top {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
#promotion-activity .testimonial-card__flag.fi {
|
|
width: 28px;
|
|
height: 20px;
|
|
line-height: 20px;
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
background-size: cover;
|
|
}
|
|
|
|
#promotion-activity .testimonial-card__name {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
#promotion-activity .testimonial-card__account {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
line-height: 1.3;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
#promotion-activity .testimonial-card__payout-wrap {
|
|
text-align: right;
|
|
}
|
|
|
|
#promotion-activity .testimonial-card__payout-label {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
#promotion-activity .testimonial-card__payout {
|
|
margin: 4px 0 0;
|
|
font-size: 30px;
|
|
font-weight: 600;
|
|
color: var(--primary);
|
|
line-height: 1.1;
|
|
}
|
|
|
|
#promotion-activity .testimonial-card__quote {
|
|
margin: 18px 0 0;
|
|
font-size: 15px;
|
|
font-weight: 300;
|
|
line-height: 1.73;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
#promotion-activity .promo-section--compare {
|
|
padding-top: 48px;
|
|
padding-bottom: 96px;
|
|
}
|
|
|
|
#promotion-activity .promo-section--compare::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: -54px;
|
|
right: -120px;
|
|
width: 409px;
|
|
height: 656px;
|
|
background: url("../images/promotion-activity/section-glow.png") no-repeat center / contain;
|
|
transform: rotate(-90deg);
|
|
pointer-events: none;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
#promotion-activity .compare-table {
|
|
position: relative;
|
|
z-index: 1;
|
|
max-width: 986px;
|
|
margin: 0 auto;
|
|
border: 0.5px solid var(--border-muted);
|
|
border-radius: 15px;
|
|
background: var(--bg-card);
|
|
overflow: hidden;
|
|
}
|
|
|
|
#promotion-activity .compare-table__header,
|
|
#promotion-activity .compare-table__row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
#promotion-activity .compare-table__cell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-height: 64px;
|
|
padding: 18px 28px;
|
|
font-size: 18px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
#promotion-activity .compare-table__cell--other {
|
|
color: var(--text-muted);
|
|
border-right: 0.5px solid rgba(152, 151, 149, 0.35);
|
|
}
|
|
|
|
#promotion-activity .compare-table__cell--aifo {
|
|
color: var(--text-main);
|
|
font-weight: 600;
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(249, 135, 21, 0.04) 0%,
|
|
rgba(249, 135, 21, 0.1) 100%
|
|
);
|
|
}
|
|
|
|
#promotion-activity .compare-table__cell--head {
|
|
min-height: 72px;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
#promotion-activity .compare-table__cell--head.compare-table__cell--other {
|
|
color: #b3b3b3;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#promotion-activity .compare-table__cell--head.compare-table__cell--aifo {
|
|
color: var(--primary);
|
|
font-weight: 700;
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(249, 135, 21, 0.08) 0%,
|
|
rgba(249, 135, 21, 0.16) 100%
|
|
);
|
|
}
|
|
|
|
#promotion-activity .compare-table__row:not(:last-child) .compare-table__cell,
|
|
#promotion-activity .compare-table__header .compare-table__cell {
|
|
border-bottom: 0.5px solid rgba(152, 151, 149, 0.28);
|
|
}
|
|
|
|
#promotion-activity .compare-table__icon {
|
|
display: inline-flex;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
#promotion-activity .compare-table__icon svg {
|
|
display: block;
|
|
}
|
|
|
|
#promotion-activity .compare-table__icon--no {
|
|
color: #e74c3c;
|
|
}
|
|
|
|
#promotion-activity .compare-table__icon--yes {
|
|
color: #3ecf8e;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
#promotion-activity .promo-hero__visual {
|
|
right: -10px;
|
|
width: 52%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
#promotion-activity .promo-hero {
|
|
min-height: 0;
|
|
padding-top: 40px;
|
|
}
|
|
|
|
#promotion-activity .promo-hero__visual {
|
|
position: relative;
|
|
top: auto;
|
|
right: auto;
|
|
width: 100%;
|
|
max-width: 640px;
|
|
margin: 32px auto 0;
|
|
}
|
|
|
|
#promotion-activity .promo-hero__content {
|
|
max-width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
#promotion-activity .promo-hero__desc {
|
|
max-width: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
#promotion-activity .promo-offer-bar {
|
|
margin-top: 90px;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
padding: 20px 16px;
|
|
min-height: 0;
|
|
gap: 16px;
|
|
background-image: none;
|
|
background-color: #0c0c0c;
|
|
border: 0.5px solid rgba(152, 151, 149, 0.22);
|
|
box-shadow: inset 0 -36px 56px rgba(249, 135, 21, 0.1);
|
|
}
|
|
|
|
#promotion-activity .promo-offer-bar::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 55%;
|
|
border-radius: 0 0 20px 20px;
|
|
background: linear-gradient(to top, rgba(249, 135, 21, 0.14), transparent);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
#promotion-activity .promo-offer-bar__tags {
|
|
position: relative;
|
|
z-index: 1;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
max-width: 100%;
|
|
}
|
|
|
|
#promotion-activity .promo-offer-bar__action {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 0;
|
|
}
|
|
|
|
#promotion-activity .testimonial-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
#promotion-activity .promo-section__title--left {
|
|
text-align: center;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
#promotion-activity {
|
|
--aifo-page-content-offset: 1rem;
|
|
}
|
|
|
|
#promotion-activity .promo-page {
|
|
padding-left: 16px;
|
|
padding-right: 16px;
|
|
padding-bottom: 56px;
|
|
}
|
|
|
|
#promotion-activity .promo-hero__title {
|
|
font-size: 32px;
|
|
}
|
|
|
|
#promotion-activity .promo-hero__desc {
|
|
font-size: 16px;
|
|
}
|
|
|
|
#promotion-activity .btn-promo,
|
|
#promotion-activity .btn-promo--sm {
|
|
width: 100%;
|
|
max-width: 280px;
|
|
font-size: 18px;
|
|
padding: 12px 24px;
|
|
}
|
|
|
|
#promotion-activity .promo-section {
|
|
padding: 48px 0;
|
|
}
|
|
|
|
#promotion-activity .promo-section__title {
|
|
font-size: 32px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
#promotion-activity .testimonial-card__payout {
|
|
font-size: 24px;
|
|
}
|
|
|
|
#promotion-activity .compare-table__cell {
|
|
padding: 14px 16px;
|
|
font-size: 14px;
|
|
gap: 10px;
|
|
}
|
|
|
|
#promotion-activity .compare-table__cell--head {
|
|
font-size: 11px;
|
|
min-height: 56px;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
#promotion-activity {
|
|
--aifo-page-bg-height: 445px;
|
|
}
|
|
}
|