Files
2026-07-30 18:38:39 +08:00

377 lines
7.5 KiB
CSS

/* Special Offer 50% — from temp/优惠页 (Figma export) */
@import url("aifo-page-bg.css");
#special-offer-50.aifo-page-bg {
margin-top: 0;
}
#special-offer-50 {
--so-bg: #080808;
--so-bg-2: #0d0d0d;
--so-accent: #f98715;
--so-accent-dark: #c96a0f;
--so-text: #fff;
--so-muted: rgba(255, 255, 255, 0.65);
--so-muted-soft: rgba(255, 255, 255, 0.45);
--so-line: rgba(255, 255, 255, 0.08);
--so-container: 1140px;
--so-btn-py: 12px;
--so-btn-px: 28px;
--so-btn-font-size: 0.95rem;
--so-btn-radius: 8px;
--aifo-page-bg-top-left-top: 97px;
color: var(--so-text);
position: relative;
}
#special-offer-50 .so-container {
width: 100%;
max-width: var(--so-container);
margin: 0 auto;
padding-left: 16px;
padding-right: 16px;
}
@media (min-width: 768px) {
#special-offer-50 .so-container {
padding-left: 32px;
padding-right: 32px;
}
}
#special-offer-50 .so-accent {
color: var(--so-accent);
}
#special-offer-50 .so-btn {
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
border: none;
border-radius: var(--so-btn-radius);
padding: var(--so-btn-py) var(--so-btn-px);
font-size: var(--so-btn-font-size);
font-weight: 700;
line-height: 1.2;
letter-spacing: 0.03em;
color: #fff;
background: #F98715;
box-shadow: 0 4px 20px rgba(249, 135, 21, 0.4);
cursor: pointer;
text-decoration: none;
transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
#special-offer-50 .so-btn:hover,
#special-offer-50 .so-btn:focus {
color: #fff;
text-decoration: none;
transform: translateY(-1px);
background-color: #F9A215 !important;
box-shadow: inset 0 5px 10px 0 rgba(249, 135, 21, 0.6), 0 5px 10px 0 rgba(249, 135, 21, 0.6);
}
#special-offer-50 .so-btn--lg {
padding: 14px 40px;
font-size: 1rem;
}
#special-offer-50 .so-note {
margin: 0;
color: rgba(255, 255, 255, 0.3);
font-size: 0.7rem;
line-height: 1.6;
}
/* Hero */
#special-offer-50 .so-hero {
position: relative;
min-height: calc(100vh - 72px);
display: flex;
align-items: center;
padding: 96px 0 60px;
overflow: hidden;
}
#special-offer-50 .so-hero__inner {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
gap: 40px;
}
@media (min-width: 768px) {
#special-offer-50 .so-hero__inner {
flex-direction: row;
align-items: center;
}
}
#special-offer-50 .so-hero__content {
max-width: 480px;
}
#special-offer-50 .so-hero__title {
margin: 0 0 16px;
font-size: clamp(2.2rem, 5vw, 3.5rem);
font-weight: 900;
line-height: 1.1;
letter-spacing: 0.01em;
}
#special-offer-50 .so-hero__lead {
margin: 0 0 28px;
color: rgba(255, 255, 255, 0.8);
font-size: 1rem;
line-height: 1.5;
}
#special-offer-50 .so-hero__note {
margin-top: 24px;
max-width: 434px;
}
#special-offer-50 .so-hero__visual {
position: relative;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 100%;
max-width: 560px;
}
#special-offer-50 .so-hero__image {
display: block;
width: 100%;
max-width: 520px;
height: auto;
object-fit: contain;
}
/* Welcome */
#special-offer-50 .so-welcome {
position: relative;
padding: 80px 0;
overflow: visible;
}
#special-offer-50 .so-welcome__glow {
position: absolute;
top: 50%;
right: calc((100% - 100vw) / 2);
left: auto;
bottom: auto;
transform: translateY(-50%);
width: min(82vw, 720px);
height: 100vh;
height: 100dvh;
max-height: 100svh;
z-index: 0;
pointer-events: none;
background-color: transparent;
background-image: url("../images/backgrounds/new-user-promo-welcome-side-glow.png");
background-repeat: no-repeat;
background-position: right center;
background-size: auto 100%;
mix-blend-mode: screen;
}
#special-offer-50 .so-welcome__inner {
position: relative;
z-index: 1;
max-width: 844px;
margin: 0 auto;
text-align: center;
}
#special-offer-50 .so-section-title {
margin: 0 0 16px;
font-size: clamp(1.8rem, 4vw, 2.5rem);
font-weight: 700;
line-height: 1.2;
}
#special-offer-50 .so-section-desc {
margin: 0 0 36px;
color: var(--so-muted);
font-size: 1rem;
line-height: 1.7;
}
#special-offer-50 .so-promo-card {
display: flex;
flex-direction: column;
gap: 20px;
margin-bottom: 20px;
padding: 24px 28px;
text-align: left;
background-image: url(../images/backgrounds/new-user-offer-bg.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
border-radius: 12px;
box-shadow: 0 0 40px rgba(249, 135, 21, 0.1), inset 0 0 30px rgba(249, 135, 21, 0.04);
}
@media (min-width: 640px) {
#special-offer-50 .so-promo-card {
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 24px;
}
}
#special-offer-50 .so-promo-card__eyebrow {
margin: 0 0 6px;
color: #fff;
font-size: 0.875rem;
letter-spacing: 0.05em;
font-weight: 700;
}
#special-offer-50 .so-promo-card__value {
margin: 0 0 4px;
font-size: clamp(2rem, 5vw, 3rem);
font-weight: 900;
line-height: 1;
letter-spacing: -0.01em;
color: var(--so-accent);
}
#special-offer-50 .so-promo-card__sub {
margin: 0;
color: #fefefe;
font-size: 0.875rem;
letter-spacing: 0.08em;
}
#special-offer-50 .so-promo-card__code-wrap {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 10px;
min-width: 140px;
}
#special-offer-50 .so-promo-card__code-wrap > div {
display: flex;
flex-direction: column;
align-items: stretch;
width: 100%;
}
#special-offer-50 .so-promo-card__code-wrap .so-btn {
width: 100%;
}
#special-offer-50 .so-promo-card__code-label {
margin: 0 0 4px;
color: #fefefe;
font-size: 0.7rem;
letter-spacing: 0.05em;
text-align: center;
}
#special-offer-50 .so-promo-card__code {
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 100%;
padding: var(--so-btn-py) var(--so-btn-px);
border-radius: var(--so-btn-radius);
background-color: transparent;
background-image: url(../images/promotion/20260615-161150.png);
background-repeat: no-repeat;
background-size: 100% 100%;
background-position: center;
color: #fff;
font-size: var(--so-btn-font-size);
font-weight: 700;
line-height: 1.2;
letter-spacing: 0.03em;
}
#special-offer-50 .so-welcome__note {
text-align: center;
font-size: 0.68rem;
color: rgba(255, 255, 255, 0.25);
}
#special-offer-50 #how-to-claim-container {
position: relative;
z-index: 1;
}
@media (max-width: 768px) {
#special-offer-50 {
padding-top: 72px;
}
#special-offer-50 .so-hero__content {
text-align: center;
display: contents;
}
#special-offer-50 .so-hero__inner {
display: grid;
grid-template-columns: 1fr;
justify-items: center;
grid-template-areas:
"hero-title"
"hero-lead"
"hero-visual"
"hero-cta"
"hero-note";
gap: 0;
}
#special-offer-50 .so-hero__title {
grid-area: hero-title;
}
#special-offer-50 .so-hero__lead {
grid-area: hero-lead;
margin-bottom: 20px;
}
#special-offer-50 .so-hero__visual {
grid-area: hero-visual;
display: flex;
margin-bottom: 24px;
max-width: min(300px, 76vw);
}
#special-offer-50 .so-hero__content > .so-btn {
grid-area: hero-cta;
}
#special-offer-50 .so-hero__note {
grid-area: hero-note;
}
#special-offer-50 {
--aifo-page-bg-top-left-top: 72px;
}
#special-offer-50 .so-hero {
padding: 0;
min-height: 0;
padding: 26px 0 0px;
}
#special-offer-50 .so-promo-card {
align-items: center;
}
}