*{margin:0;padding:0;box-sizing:border-box}
body{font-family:system-ui,-apple-system,sans-serif;background:#0a0e1a;color:#e0e0e0;line-height:1.6}
nav{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:#111827;border-bottom:1px solid #1f2937;position:sticky;top:0;z-index:100}
.nav-brand{font-size:1.2rem;font-weight:700;color:#f59e0b}
.nav-links a{color:#9ca3af;text-decoration:none;margin-left:1.5rem;transition:color .2s}
.nav-links a:hover{color:#f59e0b}
.hero{text-align:center;padding:4rem 2rem;background:linear-gradient(135deg,#111827 0%,#1e293b 100%);border-bottom:2px solid #f59e0b}
.hero h1{font-size:2.5rem;color:#fff;margin-bottom:.5rem}
.subtitle{font-size:1.3rem;color:#f59e0b;margin-bottom:2rem}
.exam-info{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap}
.info-card{background:#1f2937;padding:1rem 2rem;border-radius:8px;text-align:center;border:1px solid #374151}
.info-card .label{display:block;font-size:.8rem;color:#9ca3af;text-transform:uppercase}
.info-card .value{display:block;font-size:1.5rem;font-weight:700;color:#f59e0b}
main{max-width:1200px;margin:0 auto;padding:2rem}
section{margin-bottom:3rem}
h2{font-size:1.8rem;color:#f59e0b;margin-bottom:1.5rem;padding-bottom:.5rem;border-bottom:1px solid #1f2937}
.domain-grid{display:flex;flex-direction:column;gap:1rem}
.domain-card{background:#111827;border:1px solid #1f2937;border-radius:8px;cursor:pointer;transition:border-color .2s}
.domain-card:hover{border-color:#f59e0b}
.domain-header{display:flex;align-items:center;padding:1.2rem;gap:1rem}
.domain-num{background:#f59e0b;color:#000;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}
.domain-header h3{flex:1;font-size:1.1rem;color:#fff}
.weight{background:#1e293b;color:#f59e0b;padding:.3rem .8rem;border-radius:20px;font-weight:700;font-size:.9rem}
.domain-body{display:none;padding:0 1.5rem 1.5rem;border-top:1px solid #1f2937}
.domain-body.open{display:block}
.domain-body h4{color:#f59e0b;margin:1rem 0 .5rem}
.domain-body ul{padding-left:1.2rem}
.domain-body li{margin-bottom:.4rem;color:#d1d5db}
.domain-body li strong{color:#fff}
.tips{background:#1a1a2e;border-left:3px solid #f59e0b;padding:1rem;margin-top:1rem;border-radius:0 8px 8px 0}
.quiz-controls{margin-bottom:1.5rem;display:flex;align-items:center;gap:1rem}
.btn-primary{background:#f59e0b;color:#000;border:none;padding:.7rem 1.5rem;border-radius:6px;font-weight:700;cursor:pointer;font-size:1rem;transition:background .2s}
.btn-primary:hover{background:#d97706}
.score-display{font-size:1.1rem;color:#f59e0b;font-weight:700}
.quiz-q{background:#111827;border:1px solid #1f2937;border-radius:8px;padding:1.5rem;margin-bottom:1rem}
.quiz-q p{font-weight:600;color:#fff;margin-bottom:1rem}
.quiz-q label{display:block;padding:.5rem .8rem;margin:.3rem 0;border-radius:6px;cursor:pointer;transition:background .2s}
.quiz-q label:hover{background:#1f2937}
.quiz-q input[type=radio]{margin-right:.5rem}
.correct{background:#064e3b!important;border:1px solid #10b981}
.incorrect{background:#7f1d1d!important;border:1px solid #ef4444}
.explanation{margin-top:.8rem;padding:.8rem;background:#1e293b;border-radius:6px;font-size:.9rem;color:#9ca3af;display:none}
.cheat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}
.cheat-card{background:#111827;border:1px solid #1f2937;border-radius:8px;padding:1.2rem}
.cheat-card h3{color:#f59e0b;margin-bottom:.8rem}
.cheat-card table{width:100%;border-collapse:collapse}
.cheat-card td{padding:.4rem .5rem;border-bottom:1px solid #1f2937;font-size:.85rem}
.cheat-card td:first-child{color:#fff;font-weight:600;white-space:nowrap;width:40%}
.resource-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}
.resource-link{display:block;background:#111827;border:1px solid #1f2937;padding:1rem;border-radius:8px;color:#d1d5db;text-decoration:none;transition:border-color .2s,transform .2s}
.resource-link:hover{border-color:#f59e0b;transform:translateY(-2px)}
footer{text-align:center;padding:2rem;color:#6b7280;border-top:1px solid #1f2937;margin-top:2rem}
@media(max-width:600px){.hero h1{font-size:1.6rem}.exam-info{flex-direction:column;align-items:center}.domain-header{flex-wrap:wrap}.cheat-grid{grid-template-columns:1fr}}
