*{margin:0;padding:0;box-sizing:border-box;}body{background:linear-gradient(145deg,#f9f1fe 0%,#e9f2ff 100%);font-family:'Segoe UI','PingFang SC',Roboto,system-ui,-apple-system,'Helvetica Neue',sans-serif;padding:2rem 1.5rem 3rem;min-height:100vh;display:flex;flex-direction:column;align-items:center;}.course-wrapper{max-width:1300px;width:100%;background:rgba(255,255,255,0.6);backdrop-filter:blur(2px);border-radius:48px 48px 32px 32px;padding:2rem 2rem 1.8rem;box-shadow:0 20px 40px rgba(0,20,40,0.08),0 8px 20px rgba(120,80,200,0.05);border:1px solid rgba(255,255,255,0.7);}.header-title{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;margin-bottom:2rem;border-bottom:3px dashed #b3a0e8;padding-bottom:0.75rem;}.header-title h1{font-size:2.4rem;font-weight:700;background:linear-gradient(135deg,#4f3b9b,#b36dd9);-webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:-0.3px;display:inline-flex;align-items:center;gap:10px;}.header-title h1::before{content:"✏️";font-size:2.2rem;background:none;}.header-title .subhead{font-size:1.1rem;background:#d9c9fc;padding:0.3rem 1.2rem;border-radius:40px;color:#2d1b69;font-weight:600;box-shadow:0 2px 6px rgba(100,70,180,0.1);}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin:0.5rem 0 1.2rem;}.chapter-card{background:white;border-radius:28px;padding:0.9rem 1.2rem 0.9rem 1.2rem;box-shadow:0 4px 12px rgba(0,0,0,0.02),0 8px 18px rgba(100,70,180,0.04);transition:all 0.2s ease;border:1px solid rgba(210,190,245,0.3);display:flex;flex-direction:column;cursor:pointer;text-decoration:none;color:inherit;backdrop-filter:blur(2px);background:rgba(255,255,255,0.85);min-height:100px;}.chapter-card:hover{transform:translateY(-4px) scale(1.01);box-shadow:0 16px 28px rgba(120,80,200,0.12);border-color:#b794f4;background:rgba(255,245,255,0.95);}.chapter-card:active{transform:scale(0.97);}.card-header{display:flex;align-items:center;gap:10px;margin-bottom:6px;}.chapter-num{background:linear-gradient(120deg,#b794f4,#a07ce6);color:white;font-weight:700;font-size:0.8rem;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:40% 60% 40% 60% / 50% 40% 60% 50%;box-shadow:0 4px 6px rgba(130,80,220,0.2);flex-shrink:0;}.chapter-title{font-weight:700;font-size:1.1rem;color:#1f0f3f;letter-spacing:-0.2px;line-height:1.3;}.chapter-desc{font-size:0.85rem;color:#4a3f5e;margin-left:42px;margin-top:2px;line-height:1.4;opacity:0.85;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding-right:4px;}.chapter-card:nth-child(5n+1) .chapter-num{background:linear-gradient(145deg,#f9a8d4,#f472b6);}.chapter-card:nth-child(5n+2) .chapter-num{background:linear-gradient(145deg,#a5b4fc,#818cf8);}.chapter-card:nth-child(5n+3) .chapter-num{background:linear-gradient(145deg,#fde68a,#facc15);color:#2f2b1a;}.chapter-card:nth-child(5n+4) .chapter-num{background:linear-gradient(145deg,#6ee7b7,#34d399);}.chapter-card:nth-child(5n+5) .chapter-num{background:linear-gradient(145deg,#c4b5fd,#a78bfa);}.footer{margin-top:2.2rem;text-align:center;font-size:1rem;font-weight:500;color:#3d2a6b;background:rgba(215,195,250,0.3);padding:0.8rem 1.8rem;border-radius:60px;backdrop-filter:blur(4px);display:inline-block;border:1px solid rgba(255,255,255,0.6);letter-spacing:1px;box-shadow:0 2px 8px rgba(80,40,140,0.05);}.footer::before{content:"📘 ";font-size:1.2rem;}@media (max-width:640px){body{padding:1rem 0.8rem 2rem;}.course-wrapper{padding:1.5rem 1rem 1rem;border-radius:32px;}.header-title h1{font-size:1.8rem;}.header-title .subhead{font-size:0.9rem;margin-top:4px;}.catalog-grid{grid-template-columns:1fr;gap:12px;}.chapter-card{padding:0.8rem 1rem;min-height:80px;}.chapter-desc{margin-left:42px;font-size:0.8rem;}}@media (min-width:641px) and (max-width:900px){.catalog-grid{grid-template-columns:repeat(2,1fr);}}a.chapter-card{text-decoration:none;}.course-wrapper{position:relative;}.course-wrapper::after{content:"⚡ 🎈 ✨";position:absolute;bottom:10px;right:30px;font-size:2rem;opacity:0.1;pointer-events:none;transform:rotate(5deg);}
