body {
    background-color: #000000; /* 深色背景 */
}

.faq-container {
    max-width: 75%;
    margin: 20px auto;
    line-height: 1.8;
}

.faq-item {
    margin-bottom: 5%;
    border-bottom: 1px solid #555; /* 问题间的分割线颜色 */
    padding-bottom: 2%;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem; /* 标题字体大一点 */
    font-weight: bold;
    color: #fff; /* 标题颜色白色 */
    transition: transform 0.3s ease;
    span {
        font-size: 24px;
        color: #FFFFFF;
    }
}

.faq-question:hover {
    transform: scale(1.05); /* 鼠标悬停时放大效果 */
}

.faq-answer {
    margin-top: 2%;
    font-size: 2rem; /* 答案字体稍大 */
    color: #ccc; /* 答案文字为浅灰白色 */
    display: none; /* 默认隐藏答案 */
    opacity: 0; /* 默认透明 */
    transition: opacity 0.5s ease; /* 平滑过渡 */
}

.faq-answer.show {
    display: block; /* 显示答案 */
    opacity: 1; /* 显示时透明度为1 */
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50; /* 加减号颜色 */
    transition: transform 0.3s ease;
}

.faq-container h1 {
    color: #FFFFFF;
    font-size: 52px;
    margin-top: 5%;
    margin-bottom: 5%;
    display: flex;
    justify-content: center;
}
/* 移动端适配*/
@media screen and (max-width: 768px) {
    .faq-question {
        span {
            font-size: 1.8rem;
            color: #FFFFFF;
        }
    }

    .faq-container h1 {
        color: #FFFFFF;
        font-size: 38px;
        margin-top: 5%;
        margin-bottom: 5%;
        display: flex;
        justify-content: center;
    }
}