body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    text-align: center;
    background-color: #f9f9f9;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
    background-color: #1e1e1e;
    color: #ffffff; /* 设置文字为亮色 */
}

/* 输入框样式 */
input#showText {
    margin: 20px auto;
    padding: 15px;
    width: 90%;
    max-width: 400px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f5f5f5;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode input#showText {
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
}

/* 按钮样式 */
.button-group a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    background: #007aff;
    color: white;
    font-size: 16px;
    margin: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button-group a:hover {
    background: #005bb5;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* 暗黑模式下按钮 */
body.dark-mode .button-group a {
    background: #555;
    color: #ddd;
}

/* 区块样式 */
.steps-section, .info-section, .features-section {
    padding: 20px;
    margin: 15px auto;
    max-width: 600px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    line-height: 1.6;
    color: #333; /* 默认文字颜色 */
}

body.dark-mode .steps-section,
body.dark-mode .info-section,
body.dark-mode .features-section {
    background: #2e2e2e;
    color: #ffffff; /* 暗黑模式下文字颜色 */
}

/* 列表样式 */
.steps-section ol li, .features-section ul li {
    margin-bottom: 10px;
    color: #333; /* 默认文字颜色 */
}

body.dark-mode .steps-section ol li,
body.dark-mode .features-section ul li {
    color: #ddd; /* 暗黑模式下文字颜色 */
}

/* 页脚样式 */
#footer {
    margin-top: 20px;
    padding: 10px 0;
    text-align: center;
    color: #777;
    font-size: 14px;
    background-color: #f9f9f9;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode #footer {
    background-color: #1e1e1e;
    color: #ccc;
}

/* 悬浮按钮样式 */
#floating-lang-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#floating-lang-btn button {
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#floating-lang-btn button:hover {
    background-color: #005bb5;
    transform: scale(1.1);
}

body.dark-mode #floating-lang-btn button {
    background-color: #555;
    color: #ddd;
}