@import "variables-pc.css";
@import "scrollbar-dark.css";

.content-wrapper {
    background-image: linear-gradient(90deg, rgba(8, 22, 48, 0.00) 0%, rgba(10, 20, 48, 0.24) 26%, rgba(21, 13, 50, 0.30) 50%, rgba(65, 27, 24, 0.24) 77%, rgba(72, 29, 19, 0.00) 100%), linear-gradient(180deg, #01040A 0%, #131422 100%);
    position: relative;
    /* 纵向 flex + 最小视口高度：内容不足一屏时让 .last-section 吸附底部 */
    display: flex;
    flex-flow: column;
    min-height: 100vh;
}

/* ---------- 顶部导航（face/desktop/pages-navigation.html） ---------- */
.navigator, .navigator .title, .menu-item {
    color: var(--color-text-inverse);
}

.navigator .menu .register-link {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--color-text-inverse);
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

.lang-btn {
    border: 1px solid #FFFFFF;
}

.lang-btn.active {
    background-color: #FFFFFF;
    color: #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ---------- 背景光晕（registerV2/bg.svg） ---------- */
.register-bg-wrapper {
    width: 100%;
    height: 69.9%;
    overflow: hidden;
    position: absolute;
}

img.register-bg {
    position: absolute;
    top: -2%;
    left: 66%;
    transform: translateX(-50%);
    width: 126%;
    height: 100%;
    object-fit: cover;
    filter: blur(0.5rem);
    z-index: 0;
    pointer-events: none;
    animation: register-bg-enter 2s var(--ease-out) forwards, register-bg-float 18s ease-in-out 2s infinite alternate;
}

/* ---------- 背景光晕（registerV2/bg.svg）出场效果 ---------- */

/* 入场：淡入 + 轻微放大绽放（保留 translateX(-50%) 水平居中） */
@keyframes register-bg-enter {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(1.06);
    }
    to {
        opacity: 0.85;
        transform: translateX(-50%) scale(1);
    }
}

/* 入场后缓慢漂浮/呼吸，alternate 往复，无跳变 */
@keyframes register-bg-float {
    from {
        transform: translateX(-50%) translateY(0);
    }
    to {
        transform: translateX(-50%) translateY(-1.25rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    img.register-bg {
        animation: none;
    }
}

/* ---------- 页面根容器 ---------- */
.register-v2 {
    display: flex;
    flex-flow: column;
    align-items: center;
    position: relative;
    z-index: 9;
    margin-bottom: 9rem;
    margin-top: 10rem;
}

/* ---------- 首屏 Hero ---------- */
.register-hero {
    display: flex;
    flex-flow: column;
    align-items: center;
    text-align: center;
}

h1.register-hero-title {
    margin: 0;
    font-size: 4rem;
    line-height: var(--line-height-tight);
    font-weight: 600;
    text-align: center;
    color: transparent;
    background-image: linear-gradient(90deg, #2BAAFF -3%, #FFFFFF 47%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    position: relative;
}

.register-hero-highlight {
    color: transparent;
    background-image: linear-gradient(90deg, #FFC669 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    z-index: 10;
    right: 0.0635rem;
    top: -0.0625rem;
}

span.register-hero-tagline {
    margin-top: 2.19rem;
    font-size: 2rem;
    font-weight: var(--font-weight-medium);
    color: #E7E6FF;
    background: rgba(255, 221, 166, 0.25);
    border-radius: 0.5rem;
    padding: 0.25rem 1.63rem;
}

/* ---------- 主体：权益卡 + 表单 ---------- */
.register-body {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 5.93rem;
    align-items: center;
}

/* 权益卡 */
.register-offer {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    width: 34rem;
    padding: 2.5rem 2.5rem 0;
}

.offer-tags {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    position: relative;
}

.offer-content {
    display: flex;
    flex-flow: column;
}

.offer-tag {
    font-size: 3rem;
    color: #FFFFFF;
    font-weight: 600;
    line-height: 4.19rem;
    white-space: nowrap;
}

.offer-tag-icon {
    position: absolute;
    width: 15.5rem;
    height: 6.8rem;
    z-index: 10;
    right: -2.5rem;
    top: -1.8rem;
}

.offer-tag-strong {
    font-size: 3rem;
    font-weight: 600;
    line-height: 4.19rem;
    color: #FFBE56;
}

.offer-days {
    margin: 1rem 0 0;
    font-size: 2.5rem;
    color: #FFFFFF;
    letter-spacing: 0;
    line-height: 2.5rem;
    text-shadow: 0 2px 4px rgba(54, 47, 36, 0.50);
    font-weight: 600;
}

.offer-days-num {
    font-weight: 600;
    color: #FFBE56;
    font-size: 2.5rem;
    line-height: 3.5rem;
    text-shadow: 0 2px 4px rgba(54, 47, 36, 0.50);
}

.offer-image {
    width: 100%;
    height: auto;
}

/* ---------- 注册表单 ---------- */
.register-form {
    width: 30rem;
    padding: 2.5rem 2.5rem 2rem;
    background: rgba(20, 60, 126, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 1.88rem;
}

.register-form .form-controls {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* 表单主体（face/phone_register_form.html） */
.form-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-body .form-title {
    display: none;
}

.form-controls input[type='text'] {
    background: rgba(244, 239, 255, 0.10);
    border: 2px solid rgba(255, 255, 255, 0.10);
    border-radius: 0.625rem;
    padding: 0.8125rem 1.125rem;
    font-size: 1.38rem;
    color: #FFFFFF;
    font-weight: 400;
    outline: none;
    box-sizing: border-box;
}

.form-controls input[type='text']::placeholder {
    color: #DFE1ED;
}

.form-controls input[type='text']:focus {
    border-color: rgba(123, 174, 255, 0.60);
}

.telephone-wrapper {
    width: 100%;
}

#id_telephone {
    width: 100%;
}

#id_sms_code {
    width: 100%;
}

/* intl-tel-input 容器适配深色输入框 */
.telephone-wrapper .iti {
    width: 100%;
    color: #A7A7A7;
}

.telephone-wrapper .iti .iti__flag-container,
.telephone-wrapper .iti .iti__country-list {
    background: #1a1b2e;
    color: #FFFFFF;
}

.telephone-wrapper .iti .iti__selected-flag:hover,
.telephone-wrapper .iti .iti__country:hover,
.telephone-wrapper .iti .iti__country.iti__highlight {
    background: rgba(255, 255, 255, 0.12);
}

.sms-code {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

#btnRequestSmsCode {
    padding: 0.8125rem 1.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    background: rgba(255, 190, 86, 0.15);
    border: 0.0625rem solid rgba(249, 248, 255, 0.24);
    border-radius: 0.88rem;
    font-size: 1.38rem;
    color: #FFBE56;
    letter-spacing: 0;
    font-weight: 500;
    line-height: 1;
}

#btnRequestSmsCode:hover {
    opacity: var(--opacity-hover);
    cursor: pointer;
}

#btnRequestSmsCode.disabled {
    opacity: var(--opacity-disabled);
    cursor: not-allowed;
    pointer-events: none;
}

.form-controls .error-message {
    display: block;
    font-size: var(--font-size-xs);
    min-height: 1.09375rem;
    width: 99%;
    color: #FF8B8B;
}

/* 服务协议 */
.form-controls .agreement {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-top: 0.25rem;
}

.agreement input[type='checkbox'] {
    margin-top: 0.15rem;
    accent-color: #2762EB;
}

label[for="id_agreement"] {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #C9C9E6;
}

label[for="id_agreement"] a {
    color: #7B9CFF !important;
    text-decoration: underline !important;
}

label[for="id_agreement"] a:hover {
    color: #A5BCFF !important;
    cursor: pointer;
}

/* 表单底部 */
.form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.25rem;
}

.form-footer #btnRegister {
    background-image: linear-gradient(90deg, #2762EB 0%, #7B3AED 100%);
    border-radius: 0.75rem;
    font-size: 1.5rem;
    color: #FFFFFF;
    border: none;
    text-align: center;
    width: 100%;
    padding: 0.75rem 0;
    cursor: pointer;
    transition: var(--transition-normal);
    letter-spacing: 0;
    font-weight: 500;
}

.form-footer #btnRegister:hover {
    opacity: var(--opacity-hover);
    box-shadow: var(--shadow-md);
}

.form-footer .message {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 1.25rem;
    color: #DFE1ED;
    letter-spacing: 0;
    line-height: 2.06rem;
    font-weight: 500;
}

span.text-highlight {
    color: #FFBE56;
}

/* ---------- 底部区域（contact-information.html + pages-footer.html） ---------- */
.last-section {
    margin-top: auto;
    position: relative;
    z-index: 12;
}

/* ---------- 导航菜单页内钩子 / 继承 base.css 默认样式的 class（占位） ---------- */
.about-us-link {
}

.download-link {
}

.guide-link {
}

.qa-link {
}

.price-link {
}

.redeem-code-link {
}

.home-link {
}

.company-name {
}

.contact-subtitle {
}

.footer-nav__group {
}

.display-none {
}