*{margin:0;padding:0;box-sizing:border-box}
:root{--primary:#6366F1;--primary-light:#A5B4FC;--primary-dark:#4F46E5;--secondary:#F472B6;--bg-light:#F8FAFC;--bg-white:#FFFFFF;--text-dark:#1E293B;--text-gray:#64748B;--text-light:#94A3B8;--border-light:#E2E8F0;--shadow-sm:0 4px 12px rgba(0,0,0,0.04);--shadow-md:0 8px 24px rgba(0,0,0,0.06);--shadow-lg:0 16px 40px rgba(99,102,241,0.1);--radius-lg:24px;--radius-md:16px;--radius-sm:12px}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:linear-gradient(145deg,#F1F5F9 0%,#E2E8F0 100%);min-height:100vh;display:flex;align-items:center;justify-content:center;padding:12px;color:var(--text-dark);line-height:1.5}
.app-wrapper{max-width:520px;width:100%;margin:0 auto;min-height:750px}
.promo-banner{background:linear-gradient(135deg,#FEF3C7 0%,#FDE68A 100%);padding:12px 16px;border-radius:var(--radius-md);margin-bottom:16px;text-align:center;box-shadow:var(--shadow-sm);border:1px solid rgba(245,158,11,0.2)}
.promo-link{color:#D97706;font-weight:600;font-size:0.95rem;text-decoration:none}
.page{display:none;background:var(--bg-white);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);overflow:hidden}
.page.active{display:block}
.cover-content{padding:40px 28px 36px;text-align:center}
.cover-badge{display:inline-block;background:linear-gradient(135deg,#E0E7FF 0%,#C7D2FE 100%);color:var(--primary-dark);font-size:0.85rem;font-weight:600;padding:8px 20px;border-radius:40px;margin-bottom:28px}
.cover-title{font-size:2.5rem;font-weight:800;line-height:1.3;background:linear-gradient(135deg,#4F46E5 0%,#6366F1 50%,#A5B4FC 100%);-webkit-background-clip:text;background-clip:text;color:transparent;margin-bottom:12px}
.cover-subtitle{font-size:1rem;color:var(--text-gray);margin-bottom:32px;font-weight:500}
.cover-description{background:var(--bg-light);padding:24px 20px;border-radius:var(--radius-md);margin-bottom:28px;text-align:left}
.cover-description p{color:var(--text-dark);font-size:0.95rem}
.cover-rules{display:flex;flex-direction:column;gap:12px;margin-bottom:36px}
.rule-item{display:flex;align-items:center;gap:12px;background:var(--bg-light);padding:12px 18px;border-radius:var(--radius-sm);font-size:0.95rem}
.btn-primary{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);color:white;border:none;padding:18px 32px;border-radius:60px;font-size:1.25rem;font-weight:700;width:100%;cursor:pointer;box-shadow:0 8px 20px rgba(99,102,241,0.3);margin-bottom:20px}
.cover-footer{color:var(--text-light);font-size:0.85rem}
.quiz-header{padding:20px 24px 0}
.progress-bar-container{height:6px;background:var(--border-light);border-radius:10px;margin-bottom:16px;overflow:hidden}
.progress-bar{height:100%;background:linear-gradient(90deg,var(--primary) 0%,var(--primary-light) 100%);border-radius:10px;transition:width 0.3s}
.quiz-stats{text-align:right;font-size:1rem;font-weight:600;color:var(--primary)}
.quiz-content{padding:28px 24px 20px;min-height:450px}
.question-text{font-size:1.3rem;font-weight:600;line-height:1.5;margin-bottom:32px}
.options-container{display:flex;flex-direction:column;gap:12px}
.option-item{background:var(--bg-light);border:2px solid transparent;border-radius:var(--radius-md);padding:18px 20px;font-size:1.05rem;cursor:pointer;transition:all 0.2s;box-shadow:var(--shadow-sm)}
.option-item:hover{background:#EEF2FF}
.option-item.selected{background:linear-gradient(135deg,#EEF2FF 0%,#E0E7FF 100%);border-color:var(--primary);box-shadow:0 4px 12px rgba(99,102,241,0.2)}
.quiz-footer{display:flex;justify-content:space-between;padding:16px 24px 28px;gap:16px}
.btn-nav{flex:1;background:white;border:1.5px solid var(--border-light);padding:16px 0;border-radius:60px;font-size:1.1rem;font-weight:600;cursor:pointer}
.btn-nav:hover:not(:disabled){border-color:var(--primary);color:var(--primary);background:#F8FAFC}
.btn-nav:disabled{opacity:0.4;cursor:not-allowed}
.result-content{padding:32px 24px 36px}
.result-header{text-align:center;margin-bottom:28px}
.result-badge{display:inline-block;background:var(--bg-light);color:var(--primary);font-size:0.9rem;padding:6px 18px;border-radius:40px;margin-bottom:16px}
.result-title{font-size:2rem;font-weight:800;margin-bottom:8px}
.result-tagline{font-size:1rem;color:var(--secondary);font-weight:500}
.result-scores{background:var(--bg-light);padding:20px 18px;border-radius:var(--radius-md);margin-bottom:28px}
.score-row{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.score-label{width:75px;font-weight:600}
.score-bar-bg{flex:1;height:10px;background:#E2E8F0;border-radius:10px;overflow:hidden}
.score-bar-fill{height:100%;border-radius:10px;transition:width 0.5s}
.score-bar-fill.e{background:#10B981}
.score-bar-fill.f{background:#F59E0B}
.score-bar-fill.d{background:#EF4444}
.score-bar-fill.r{background:#3B82F6}
.score-value{width:35px;text-align:right;font-weight:700}
.result-analysis{margin-bottom:32px}
.analysis-section{margin-bottom:24px}
.analysis-section h3{font-size:1.15rem;font-weight:700;margin-bottom:12px}
.analysis-text{color:var(--text-gray);line-height:1.7;font-size:0.95rem;border-left:3px solid var(--primary-light);padding-left:16px}
.suggestions-list{list-style:none;padding-left:6px}
.suggestions-list li{position:relative;padding-left:22px;margin-bottom:12px;color:var(--text-gray);font-size:0.95rem;line-height:1.6}
.suggestions-list li::before{content:"•";position:absolute;left:4px;color:var(--primary);font-weight:700;font-size:1.2rem}
.result-actions{display:flex;gap:12px}
.btn-secondary{flex:1;background:white;border:1.5px solid var(--border-light);padding:16px 0;border-radius:60px;font-size:1rem;font-weight:600;cursor:pointer}
.btn-secondary:hover{border-color:var(--primary);background:#F8FAFC}
@media (max-width:400px){.cover-title{font-size:2rem}.question-text{font-size:1.2rem}.option-item{padding:16px}}