udpate
This commit is contained in:
@@ -0,0 +1,171 @@
|
||||
/* Welcome rewards — reusable landing floor module */
|
||||
|
||||
.landing-welcome {
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.landing-welcome__glow {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: calc((100% - 100vw) / 2);
|
||||
transform: translateY(-50%);
|
||||
width: min(82vw, 720px);
|
||||
height: 100vh;
|
||||
max-height: 100svh;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
background: radial-gradient(ellipse at right center, rgba(249, 135, 21, 0.18), transparent 70%);
|
||||
mix-blend-mode: screen;
|
||||
}
|
||||
|
||||
.landing-welcome__inner {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
max-width: 844px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.landing-promo-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
margin: 0 auto 20px;
|
||||
padding: 28px 32px;
|
||||
text-align: left;
|
||||
border-radius: 14px;
|
||||
border: 1px solid rgba(249, 135, 21, 0.35);
|
||||
background: linear-gradient(135deg, rgba(249, 135, 21, 0.28), rgba(60, 30, 0, 0.55));
|
||||
box-shadow: 0 0 40px rgba(249, 135, 21, 0.1);
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.landing-promo-card {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
.landing-promo-card__eyebrow {
|
||||
margin: 0 0 6px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.landing-promo-card__value {
|
||||
margin: 0 0 4px;
|
||||
font-size: clamp(32px, 5vw, 48px);
|
||||
font-weight: 900;
|
||||
line-height: 1;
|
||||
color: var(--primary, #f98715);
|
||||
}
|
||||
|
||||
.landing-promo-card__sub {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
letter-spacing: 0.08em;
|
||||
color: #fefefe;
|
||||
}
|
||||
|
||||
.landing-promo-card__right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 10px;
|
||||
min-width: 160px;
|
||||
}
|
||||
|
||||
.landing-promo-card__code-label {
|
||||
margin: 0 0 4px;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.landing-promo-card__code {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
padding: 12px 24px;
|
||||
border-radius: 8px;
|
||||
border: 1px dashed rgba(255, 255, 255, 0.45);
|
||||
background: rgba(0, 0, 0, 0.25);
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.05em;
|
||||
color: inherit;
|
||||
font-family: inherit;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.2s ease, background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.landing-promo-card__code:hover {
|
||||
border-color: rgba(249, 135, 21, 0.65);
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
.landing-promo-card__code:focus-visible {
|
||||
outline: 2px solid var(--primary, #f98715);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.landing-promo-card__code.is-copied {
|
||||
border-color: rgba(249, 135, 21, 0.85);
|
||||
}
|
||||
|
||||
.landing-welcome-copy-toast {
|
||||
position: fixed;
|
||||
top: calc(var(--aifo-nav-height, 5.75rem) + 12px);
|
||||
right: 16px;
|
||||
z-index: 2000;
|
||||
max-width: min(320px, calc(100vw - 32px));
|
||||
padding: 12px 16px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid rgba(249, 135, 21, 0.45);
|
||||
background: rgba(20, 12, 0, 0.92);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
color: #fff;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transform: translateY(-8px);
|
||||
transition: opacity 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.landing-welcome-copy-toast.is-visible {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.landing-welcome .landing-note {
|
||||
margin: 24px auto 0;
|
||||
max-width: 813px;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
line-height: 1.7;
|
||||
color: rgba(255, 255, 255, 0.35);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.landing-promo-card {
|
||||
padding: 20px 18px;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.landing-promo-card__offer {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.landing-promo-card__right {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.landing-promo-card__right .aifo-btn {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user