/* 全局初始化样式：清除浏览器默认边距，统一字体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f5f7fa;
    line-height: 1.6;
}

/* 头部样式：渐变背景 */
.header {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: #ffffff;
    text-align: center;
    padding: 25px 15px;
    margin-bottom: 15px;
}

.header h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.header p {
    font-size: 14px;
    opacity: 0.9;
}

/* 通用模块卡片样式 */
.intro, .steps, .ios-tip {
    background-color: #ffffff;
    margin: 0 10px 15px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 模块标题样式 */
.intro h2, .steps h2, .ios-tip h3 {
    color: #333333;
    margin-bottom: 12px;
    font-size: 18px;
    border-left: 4px solid #2575fc;
    padding-left: 8px;
}

/* 文本内容样式 */
.intro p, .ios-tip p {
    color: #666666;
    font-size: 14px;
    margin-bottom: 8px;
}

/* 新人红包提示框 */
.new-user {
    background-color: #fff8e1;
    color: #ff9800;
    padding: 10px 12px;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: bold;
}

/* 步骤模块样式 */
.step-item {
    margin-bottom: 25px;
}

.step-num {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: #2575fc;
    color: #fff;
    text-align: center;
    line-height: 24px;
    border-radius: 50%;
    margin-right: 6px;
}

.step-item h3 {
    display: inline-block;
    font-size: 16px;
    color: #333;
    vertical-align: middle;
}

/* 下载按钮通用样式 */
.btn {
    border: none;
    outline: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 15px;
    color: #fff;
    margin: 12px 8px 0 0;
    cursor: pointer;
    transition: opacity 0.3s;
}

/* 鼠标悬浮按钮效果 */
.btn:hover {
    opacity: 0.9;
}

/* 苹果/安卓按钮区分样式 */
.ios-btn {
    background-color: #2196f3;
}

.android-btn {
    background-color: #4caf50;
}

/* 邀请码高亮样式 */
.invite-code {
    color: #2575fc;
    font-weight: bold;
}

/* 移动端适配：小屏幕自动调整 */
@media (max-width: 400px) {
    .btn {
        width: 100%;
        margin: 8px 0;
    }
}