* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #f5f7fa;
    color: #333;
    font-family: "PingFang SC","Microsoft YaHei",sans-serif;
    line-height: 1.7;
}
.wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* 开始页 */
.header {
    text-align: center;
    margin-top: 50px;
    padding: 40px 25px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.header h1 {
    font-size: 38px;
    color: #2c3e50;
    margin-bottom: 10px;
}
.header .subtitle {
    color: #7f8c8d;
    font-size: 17px;
    margin-bottom: 25px;
}

/* B站广告 */
.ad-bilibili {
    margin-bottom: 28px;
}
.ad-bilibili a {
    background: #ecf0f1;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 500;
    padding: 11px 24px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}
.ad-bilibili a:hover {
    background: #d6e0e2;
}

/* 按钮 */
.start-btn, .restart-btn {
    background: #2c3e50;
    color: #fff;
    border: none;
    padding: 15px 36px;
    border-radius: 12px;
    font-size: 17px;
    cursor: pointer;
    transition: 0.3s;
}
.start-btn:hover, .restart-btn:hover {
    background: #415a69;
}

/* 答题区 */
.question-box {
    background: #fff;
    padding: 40px 25px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    margin-top: 30px;
}
.question-box .num {
    color: #95a5a6;
    font-size: 16px;
    margin-bottom: 15px;
}
.question-box .title {
    font-size: 24px;
    margin-bottom: 35px;
    color: #2c3e50;
}
.options {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}
.option-btn {
    width: 90%;
    background: #fff;
    border: 1px solid #e0e6ed;
    padding: 18px;
    border-radius: 12px;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
}
.option-btn:hover {
    background: #f8f9fa;
    border-color: #bdc3c7;
    transform: translateX(3px);
}

/* 结果页 */
.result-box {
    margin-top: 30px;
}
.result-top-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.result-top-title {
    font-size: 26px;
    margin-bottom: 15px;
    color: #2c3e50;
}
.result-code {
    font-size: 46px;
    font-weight: bold;
    color: #34495e;
    margin-bottom: 20px;
}
.result-cat-img {
    max-width: 65%;
    border-radius: 14px;
    margin: 0 auto 20px;
}
.result-slogan {
    color: #7f8c8d;
    font-size: 17px;
}

.result-type-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.type-label {
    color: #95a5a6;
    font-size: 16px;
}
.type-name {
    font-size: 32px;
    color: #2c3e50;
    margin: 10px 0 16px;
}
.match-tag {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 15px;
    display: inline-block;
    margin-bottom: 16px;
}
.type-desc {
    color: #7f8c8d;
    font-size: 16px;
}

.result-desc-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.desc-title {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}
.desc-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}