/* 移动端样式 */
body {
    background: #2b3a4b;
}

.container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    max-width: 420px;
    margin: 24px auto;
    padding: 20px 10px 30px 10px;
}

li, ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 20px;
    line-height: 1.4;
    margin: 15px 0;
    text-align: center;
}

.card-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0 10px 0;
}

.version-card {
    flex: 1;
    background: #f8fafd;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(30,182,193,0.08);
    padding: 12px 6px;
    text-align: center;
    margin: 0 2px;
    transition: box-shadow 0.2s, border 0.2s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.version-card.selected,
.version-card:hover {
    border: 2px solid #1eb6c1;
    background: #fff;
    box-shadow: 0 4px 16px rgba(30,182,193,0.12);
}

.version-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
    border-radius: 8px;
}

.version-card span {
    display: inline-block;
    background: #1eb6c1;
    color: #fff;
    font-size: 12px;
    border-radius: 10px;
    padding: 2px 8px;
    margin-bottom: 4px;
    font-weight: bold;
}

.version-card h2 {
    font-size: 18px;
    margin: 6px 0 2px 0;
    color: #2b3a4b;
}

.version-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.begin-button-box {
    margin: 24px 0 0 0;
    text-align: center;
}

.start-button {
    background: #a94cf2;
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 28px;
    padding: 14px 0;
    width: 90%;
    box-shadow: 0 2px 8px rgba(169,76,242,0.12);
    margin: 0 auto;
    display: block;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background 0.2s;
}

.start-button:active {
    background: #7c2ae0;
}

.sub-title {
    font-size: 15px;
    text-align: center;
    margin: 18px 0 10px 0;
    color: #2b3a4b;
}

.info-section {
    padding: 15px 0;
}

.info-card {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
}

.info-card h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    line-height: 1.6;
}

.user-comments {
    padding: 15px 0;
}

.comment {
    margin-bottom: 15px;
}

.avatar {
    width: 40px;
    height: 40px;
}

.bubble {
    font-size: 14px;
    padding: 10px;
    margin-left: 50px;
}

.mbti-container {
    padding: 15px;
}

.mbti-title h1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.mbti-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.mbti-card {
    padding: 15px;
    border-radius: 8px;
}

.mbti-type {
    font-size: 18px;
    font-weight: bold;
}

.mbti-name {
    font-size: 16px;
    margin: 5px 0;
}

.mbti-desc {
    font-size: 14px;
    line-height: 1.6;
}

.mbti-cta {
    text-align: center;
    padding: 20px 0;
}

.btn-test {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 25px;
}

.mbtidi {
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #666;
}

/* 优化图片显示 */
img {
    max-width: 100%;
    height: auto;
}

/* 优化按钮点击区域 */
button, .btn-test {
    min-height: 44px;
    min-width: 44px;
}

/* 优化文字间距 */
p, h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0.5px;
}

/* 优化滚动体验 */
html {
    scroll-behavior: smooth;
}

/* 优化触摸反馈 */
button, .btn-test, .version-card {
    -webkit-tap-highlight-color: transparent;
}

/* 优化加载性能 */
img {
    loading: lazy;
}

@media (max-width: 420px) {
    .container {
        max-width: 98vw;
        padding: 10px 2px 20px 2px;
    }
    .card-container {
        gap: 4px;
    }
    .version-card img {
        width: 38px;
        height: 38px;
    }
    .start-button {
        font-size: 16px;
        padding: 12px 0;
    }
} 