
.homepage-container {
    background-color: #000000;
    width: 1080px;
    height: 1920px;
    position: relative;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

/* 使用伪元素显示背景图片，确保在视频上方 */
.homepage-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/img8.png');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
    pointer-events: none;
}

.homepage-container.hidden {
    display: none;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* 视频在背景图片下方 */
    pointer-events: none;
}

.homepage-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.homepage-header-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.homepage-help-button {
    background: #151515;
    border: 1px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    min-height: 5rem;
    min-width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    padding: 2rem 3rem;
}

.homepage-menu-button {
    background: #151515;
    border: 1px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    padding: 2rem 3rem;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    min-width: 15rem;
    min-height: 5rem;
}

.homepage-sy {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.homepage-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    margin-top: 6rem;
}

.homepage-logo-image {
    max-width:58%;
    height: auto;
    margin-bottom: 2rem;
}

.homepage-logo-tagline {
    color: #ffffff;
    font-size: 2.8rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    text-align: center;
    line-height: 1.6;
}

.homepage-start-button {
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: transparent;
    margin: 10.5rem auto;
    position: relative;
    z-index: 5;
    cursor: pointer;
}

/* FAQ 弹窗样式，保持与 Terms 弹窗一致 */
.faq-modal {
    width: calc(100% - 12rem);
    max-height: 72vh;
    background: #151515;
    border-radius: 1.2rem;
    padding: 2.4rem 3.2rem 2.8rem;
    display: flex;
    flex-direction: column;
}

.faq-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.8rem;
}

.faq-modal-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
}

.faq-modal-close {
    width: 4rem;
    height: 4rem;
    border: none;
    background-color: transparent;
    background-image: url('../icon/close.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    cursor: pointer;
}

.faq-modal-body {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    flex: 1;
    color: #ffffff;
    font-size: 1.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
    padding-right: 1.5rem;
}

.faq-modal-body h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    text-indent: 0;
}

.faq-modal-body p {
    margin: 0;
    color: #ffffff;
    font-size: 1.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    line-height: 1.6;
    text-indent: 2em;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
}

.faq-modal-body .faq-no-justify {
    text-align: left;
    text-indent: 2em;
}

.faq-modal-body p + p {
    margin-top: 0.8rem;
}

.faq-modal-body ul {
    margin: 0.8rem 0 1.2rem 5rem;
    padding: 0;
    list-style: disc;
    color: #ffffff;
    font-size: 1.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    line-height: 1.6;
}

.faq-modal-body li {
    margin-bottom: 0.4rem;
    text-indent: 0;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
}

.faq-modal-body[lang="en"] p,
.faq-modal-body[lang="en"] li {
    text-align: left;          /* 避免两端对齐导致英文单词间距不一致 */
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
}

.faq-modal-body[lang="en"] p {
    text-indent: 2em;          /* 英文正文段落保留缩进 */
}

.faq-modal-body[lang="en"] .faq-question,
.faq-modal-body[lang="en"] .faq-subtitle,
.faq-modal-body[lang="en"] .faq-section-label {
    text-indent: 0;            /* 标题类不缩进 */
}

.faq-modal-body .faq-subtitle {
    margin: 0.8rem 0 0.4rem;
    text-indent: 0;
    margin-left: -0.5em;
    font-weight: 600;
}

.faq-modal-body .faq-question {
    margin: 1.6rem 0 0.8rem;
    font-size: 1.8rem;
    font-weight: 400;
    text-indent: 0;
}

.faq-modal-body .faq-section-label {
    margin: 0.8rem 0 0.4rem;
    font-weight: 400;
    text-indent: 0;
}