:root {
    --primary-color: #6a5acd;
    --secondary-color: #ffd700;
    --dark-color: #4b0082;
}

* { box-sizing: border-box; }

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
    background: #f5f5f5;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 0 20px 0;
    color: #333;
    font-size: 13px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 顶部通栏 */
.header-bar {
    background: linear-gradient(90deg, var(--dark-color), var(--primary-color));
    color: var(--secondary-color);
    padding: 12px 16px;
    text-align: center;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    border-bottom: 2px solid var(--secondary-color);
}

.main-title {
    font-size: 17px;
    font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.sub-title {
    font-size: 12px;
    margin-top: 4px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    line-height: 1.3;
}

/* 游戏展示区 */
.game-showcase {
    margin: 8px 10px 0;
}

.game-poster {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border: 2px solid var(--secondary-color);
    display: block;
}

/* 内容卡片 */
.content-card {
    background: #fff;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 8px 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.06);
    border-left: 3px solid var(--primary-color);
}

.section-title {
    font-size: 15px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--secondary-color);
    display: flex;
    align-items: center;
}

.section-title span {
    margin-right: 6px;
    font-size: 18px;
}

/* 特色列表 */
.feature-list { margin: 0; }

.feature-item {
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
    font-size: 13px;
    line-height: 1.65;
}

.feature-item:last-child { margin-bottom: 0; }

.feature-item::before {
    content: "✧";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 14px;
}

.feature-item strong { color: var(--dark-color); }

/* 下载按钮 */
.download-section {
    text-align: center;
    margin: 10px 10px;
    padding: 14px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.06);
}

.download-section h2 {
    font-size: 15px;
    margin-bottom: 10px !important;
}

.download-btn {
    display: inline-block;
    width: 42%;
    margin: 0 3px 10px;
    background: linear-gradient(135deg, var(--primary-color), #5a4acd);
    color: white;
    padding: 11px 0;
    border-radius: 22px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: none;
    text-align: center;
}

.download-btn:hover {
    background: linear-gradient(135deg, #5a4acd, var(--primary-color));
    transform: translateY(-2px);
}

.tips {
    font-size: 12px;
    color: var(--dark-color);
    margin-top: 8px;
    font-weight: bold;
    line-height: 1.5;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
    justify-content: center;
}

.tag {
    background: #fff;
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    border: 1px solid var(--primary-color);
}

/* 公众号 */
.wechat-footer {
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    padding: 12px 0;
    margin-top: 12px;
    border-top: 2px solid #ffd700;
}

.wechat-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.wechat-qrcode {
    width: 64px;
    height: 64px;
    border: 2px solid #fff;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.wechat-qrcode img { width: 100%; height: 100%; object-fit: cover; }

.wechat-info { flex: 1; color: #fff; }

.wechat-info h3 { font-size: 14px; margin-bottom: 4px; color: #ffd700; }
.wechat-info p { font-size: 12px; margin-bottom: 8px; opacity: 0.9; line-height: 1.4; }

.wechat-btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 5px 14px;
    border-radius: 12px;
    font-size: 12px;
    text-decoration: none;
}

.footer-guide {
    text-align: center;
    padding: 10px;
    color: #999;
    font-size: 11px;
}

/* 内联样式兼容 */
.content-card div[style*="padding"],
.content-card p[style*="background"] { border-radius: 6px; }

.content-card p[style*="font-size: 14px"],
.content-card div[style*="font-size: 14px"],
.content-card div[style*="font-size: 13px"] { line-height: 1.6; }

/* ===== 电脑端（>=600px）===== */
@media (min-width: 600px) {
    body { font-size: 15px; line-height: 1.7; }

    .main-title { font-size: 28px; letter-spacing: 1px; }
    .sub-title { font-size: 16px; }

    .game-showcase { margin: 20px 15px 0; }
    .game-poster { border-radius: 15px; border-width: 3px; }

    .content-card {
        padding: 20px;
        margin: 16px 15px;
        border-radius: 15px;
        border-left-width: 5px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }

    .section-title { font-size: 22px; margin-bottom: 15px; padding-bottom: 10px; }
    .section-title span { margin-right: 10px; font-size: 26px; }

    .feature-item { margin-bottom: 15px; padding-left: 30px; font-size: 15px; }
    .feature-item::before { font-size: 20px; }

    .download-section { margin: 24px 15px; padding: 20px; border-radius: 15px; }
    .download-section h2 { font-size: 20px; margin-bottom: 20px; }
    .download-btn { padding: 15px 40px; font-size: 18px; max-width: none; }
    .tips { font-size: 14px; }

    .tag { font-size: 14px; padding: 5px 15px; border-radius: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

    .wechat-footer { padding: 20px 0; margin-top: 30px; border-top-width: 3px; }
    .wechat-qrcode { width: 100px; height: 100px; margin-right: 20px; }
    .wechat-info h3 { font-size: 18px; margin-bottom: 8px; }
    .wechat-info p { font-size: 14px; margin-bottom: 12px; }
    .wechat-btn { padding: 8px 20px; font-size: 14px; }
    .footer-guide { padding: 15px; font-size: 14px; color: #666; }
}
