:root { --primary:#1e3a8a; --secondary:#2563eb; --accent:#f59e0b; --surface:#fff; --muted:#64748b; --border:#e2e8f0; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; font-family:Inter,Arial,sans-serif; color:#172033; background:linear-gradient(135deg,#f8fafc,#eff6ff); }
.level-shell { width:min(1120px,calc(100% - 28px)); margin:0 auto 48px; }
.level-hero { padding:38px 24px; text-align:center; color:#fff; border-radius:0 0 24px 24px; background:linear-gradient(135deg,#1e3a8a,#2563eb); box-shadow:0 16px 35px rgba(30,58,138,.2); }
.level-hero h1 { margin:0 0 8px; font-size:clamp(2rem,5vw,3.1rem); }
.level-hero p { margin:0; opacity:.9; }
.level-title { display:flex; align-items:center; gap:10px; margin:34px 0 18px; color:var(--primary); }
.lesson-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; }
.lesson-card { min-height:170px; display:flex; flex-direction:column; padding:22px; color:inherit; text-decoration:none; background:#fff; border:1px solid var(--border); border-radius:16px; box-shadow:0 8px 24px rgba(30,58,138,.07); transition:.2s ease; }
.lesson-card:hover { transform:translateY(-4px); border-color:#93c5fd; box-shadow:0 14px 30px rgba(30,58,138,.14); }
.lesson-card__icon { font-size:2rem; }
.lesson-card h3 { margin:14px 0 8px; color:var(--primary); font-size:1.14rem; }
.lesson-card__type { color:var(--muted); font-size:.9rem; }
.lesson-card__action { margin-top:auto; padding-top:16px; color:var(--secondary); font-weight:700; }
.empty-state { padding:42px 24px; text-align:center; background:#fff; border:2px dashed var(--border); border-radius:16px; color:var(--muted); }
@media (max-width:600px) { .level-shell{width:min(100% - 18px,1120px)} .level-hero{padding:30px 16px} }

@media (prefers-reduced-motion: reduce) { .lesson-card { transition:none; } }
