337 lines
7.9 KiB
CSS
337 lines
7.9 KiB
CSS
/* AIFO $1 First Purchase Landing — page-specific */
|
||
|
||
#aifo-1-dollar-landing .aifo-page-bg {
|
||
padding-top: 0;
|
||
--aifo-page-content-offset: 0;
|
||
}
|
||
|
||
/* Hero banner — flush under nav, full-width stage (same as free-retry) */
|
||
#aifo-1-dollar-landing .dollar-hero {
|
||
padding: 0;
|
||
margin: 0;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero__stage {
|
||
position: relative;
|
||
width: 100%;
|
||
background: var(--bg-page);
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero__banner {
|
||
position: relative;
|
||
max-width: 1140px;
|
||
margin: 0 auto;
|
||
overflow: hidden;
|
||
background: var(--bg-page);
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero__banner-media {
|
||
display: contents;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero__banner-img {
|
||
display: block;
|
||
width: 100%;
|
||
height: auto;
|
||
vertical-align: top;
|
||
}
|
||
|
||
/*
|
||
* Rectangle 488 @1140(旋转 -90° 后):
|
||
* 0–281px 文案区纯黑 + 281–975px(694px 宽)左→右渐隐
|
||
* 此前误用 378px 作渐隐宽度且 left:281 导致左侧露图、281px 处硬边
|
||
*/
|
||
#aifo-1-dollar-landing .dollar-hero__banner::before {
|
||
content: "";
|
||
position: absolute;
|
||
top: -14px;
|
||
left: 0;
|
||
width: 85.53%;
|
||
max-width: 975px;
|
||
height: calc(100% + 14px);
|
||
background: linear-gradient(
|
||
90deg,
|
||
var(--bg-page) 0%,
|
||
var(--bg-page) 28.82%,
|
||
rgba(7, 4, 0, 0) 100%
|
||
);
|
||
pointer-events: none;
|
||
z-index: 2;
|
||
}
|
||
|
||
/* Rectangle 466 — 右缘;Rectangle 467 — 底缘 */
|
||
#aifo-1-dollar-landing .dollar-hero__banner::after {
|
||
content: "";
|
||
position: absolute;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
z-index: 2;
|
||
background:
|
||
linear-gradient(180deg, rgba(7, 4, 0, 0) 0%, var(--bg-page) 100%) no-repeat
|
||
bottom center / min(81.32%, 927px) clamp(60px, 26%, 99px),
|
||
linear-gradient(90deg, rgba(7, 4, 0, 0) 0%, var(--bg-page) 100%) no-repeat
|
||
top right / min(31.93%, 364px) 100%;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero__content {
|
||
position: absolute;
|
||
inset: 0;
|
||
z-index: 4;
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
width: min(100%, 52%);
|
||
max-width: 520px;
|
||
padding: clamp(24px, 4.5vw, 48px) clamp(20px, 3.5vw, 40px);
|
||
text-align: left;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
#aifo-1-dollar-landing .dollar-hero__banner {
|
||
display: flex;
|
||
flex-direction: column;
|
||
overflow: hidden;
|
||
}
|
||
|
||
/*
|
||
* 原图左侧 ~35% 为桌面文案留白;移动端通过放大 + 左移裁掉留白,不修改原图。
|
||
* 可视区域 ≈ 原图 x: 35%–100%,人物更居中。
|
||
*/
|
||
#aifo-1-dollar-landing .dollar-hero__banner-media {
|
||
display: block;
|
||
overflow: hidden;
|
||
width: 100%;
|
||
height: clamp(160px, 42vw, 240px);
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero__banner-img {
|
||
width: 154%;
|
||
max-width: none;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
object-position: 100% center;
|
||
margin-left: -54%;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero__banner::after {
|
||
display: none;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero__banner::before {
|
||
display: none;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero__content {
|
||
position: relative;
|
||
inset: auto;
|
||
width: 100%;
|
||
max-width: none;
|
||
justify-content: flex-start;
|
||
padding: 20px 16px 28px;
|
||
background: var(--bg-page);
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero__content .landing-hero__title {
|
||
font-size: clamp(26px, 7vw, 36px);
|
||
}
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero .landing-v2-page {
|
||
padding-top: 0;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero .landing-countdown {
|
||
margin-top: 28px;
|
||
margin-bottom: 60px;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
#aifo-1-dollar-landing .landing-countdown {
|
||
gap: 4px;
|
||
--landing-countdown-digit-w: 36px;
|
||
--landing-countdown-digit-h: 54px;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .landing-countdown [data-countdown-days],
|
||
#aifo-1-dollar-landing .landing-countdown [data-countdown-hours],
|
||
#aifo-1-dollar-landing .landing-countdown [data-countdown-mins],
|
||
#aifo-1-dollar-landing .landing-countdown [data-countdown-secs] {
|
||
gap: 2px;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .landing-countdown__digit {
|
||
font-size: 26px;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .landing-countdown__sep {
|
||
font-size: 14px;
|
||
padding: 0 1px;
|
||
}
|
||
}
|
||
|
||
#aifo-1-dollar-landing .landing-hero__title-line {
|
||
display: block;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .landing-hero__title .landing-accent {
|
||
font-size: 1.05em;
|
||
}
|
||
|
||
/* Hero bullets — 148×61px 卡片;宽度不够时换行(与 PC 同高) */
|
||
#aifo-1-dollar-landing .dollar-hero__bullets {
|
||
flex-direction: row;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero__bullets li {
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
flex: 0 0 148px;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 0;
|
||
width: 148px;
|
||
min-width: 148px;
|
||
max-width: 148px;
|
||
min-height: 61px;
|
||
height: auto;
|
||
padding: 16px 8px;
|
||
font-size: 14px;
|
||
font-weight: 500;
|
||
line-height: 1.25;
|
||
color: var(--text-main);
|
||
text-align: center;
|
||
white-space: normal;
|
||
border-radius: 9px;
|
||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||
overflow: hidden;
|
||
background: url("../images/leading-v2/dollar_1_v1/item_bg_1.png") center / 100% 100% no-repeat;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .dollar-hero__bullets li::before {
|
||
display: none;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
#aifo-1-dollar-landing .dollar-hero__bullets {
|
||
justify-content: flex-start;
|
||
}
|
||
}
|
||
|
||
/* Welcome rewards — promo card 背景图 */
|
||
#aifo-1-dollar-landing .landing-promo-card {
|
||
border: none;
|
||
background: transparent;
|
||
background-image: url("../images/backgrounds/new-user-offer-bg.png");
|
||
background-repeat: no-repeat;
|
||
background-size: cover;
|
||
background-position: center;
|
||
box-shadow: 0 0 40px rgba(249, 135, 21, 0.1);
|
||
}
|
||
|
||
/* 3 Simple Steps — claim grid (same visuals as free-retry; modules/claim-steps.css) */
|
||
#aifo-1-dollar-landing .clain-section .claim-item:nth-child(1) {
|
||
background-image: url("../images/leading-v2/Frame.png");
|
||
}
|
||
|
||
#aifo-1-dollar-landing .clain-section .claim-item:nth-child(2) {
|
||
background-image: url("../images/leading-v2/Frame-1.png");
|
||
}
|
||
|
||
#aifo-1-dollar-landing .clain-section .claim-item:nth-child(3) {
|
||
background-image: url("../images/leading-v2/Frame-2.png");
|
||
}
|
||
|
||
#aifo-1-dollar-landing .clain-section .landing-section__title {
|
||
margin-bottom: 82px;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .clain-section .landing-section__cta {
|
||
margin-top: 48px;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
#aifo-1-dollar-landing .clain-section .claim-item:nth-child(1),
|
||
#aifo-1-dollar-landing .clain-section .claim-item:nth-child(2),
|
||
#aifo-1-dollar-landing .clain-section .claim-item:nth-child(3) {
|
||
background-image: url("../images/backgrounds/new-user-claim-card-bg-mobile.png");
|
||
}
|
||
|
||
#aifo-1-dollar-landing .clain-section .landing-section__title {
|
||
margin-bottom: 28px;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .clain-section .landing-section__cta {
|
||
margin-top: 32px;
|
||
}
|
||
}
|
||
|
||
/* Why section */
|
||
#aifo-1-dollar-landing .landing-why-list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
max-width: 900px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .landing-why-item {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
padding: 20px 24px;
|
||
border-radius: 12px;
|
||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||
background: rgba(15, 15, 15, 0.55);
|
||
}
|
||
|
||
@media (min-width: 769px) {
|
||
#aifo-1-dollar-landing .landing-why-item {
|
||
display: grid;
|
||
grid-template-columns: 292px 1fr;
|
||
|
||
column-gap: 110px;
|
||
align-items: center;
|
||
padding: 24px 32px;
|
||
}
|
||
}
|
||
|
||
#aifo-1-dollar-landing .landing-why-item__title {
|
||
margin: 0;
|
||
font-size: 25px;
|
||
font-weight: 700;
|
||
line-height: 1.25;
|
||
color: #fff;
|
||
text-align: center;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .landing-why-item__desc {
|
||
margin: 0;
|
||
font-size: 15px;
|
||
line-height: 1.5;
|
||
color: rgba(255, 255, 255, 0.55);
|
||
}
|
||
|
||
@media (min-width: 769px) {
|
||
#aifo-1-dollar-landing .landing-why-item__desc {
|
||
max-width: 360px;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
#aifo-1-dollar-landing .landing-why-item {
|
||
padding: 16px 18px;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .landing-why-item__title {
|
||
font-size: 20px;
|
||
}
|
||
|
||
#aifo-1-dollar-landing .landing-why-item__desc {
|
||
font-size: 14px;
|
||
}
|
||
}
|