@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');:root{color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:#090d19;color:#f5f6ff;margin:0;font-family:'DM Sans',sans-serif;min-height:100vh}.glow{position:absolute;top:-320px;left:25%;width:650px;height:650px;background:#7955ff;filter:blur(200px);opacity:.18;pointer-events:none}header,main,footer{position:relative}header{max-width:1240px;padding:24px 28px;margin:auto;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #24283a}.logo{font-family:'Space Grotesk';font-size:21px;letter-spacing:-.7px;color:#fff;text-decoration:none}.logo:first-letter{color:#a993ff}.logo span{color:#a993ff}nav{display:flex;gap:32px}nav a{color:#a4a9c5;text-decoration:none;font-size:13px}.status{font-size:11px;color:#89e4c9;background:#19342f;padding:9px 13px;border-radius:30px;letter-spacing:1px}main{max-width:1184px;margin:auto;padding:0 26px}.hero{text-align:center;padding:84px 0 48px}.eyebrow,.section-id{color:#afa0ff;letter-spacing:3px;font-size:11px;font-weight:800}h1,h2,h3{font-family:'Space Grotesk';letter-spacing:-1.5px}h1{font-size:clamp(42px,6vw,72px);max-width:850px;margin:22px auto 18px;line-height:1.08}h1 span,h2 span{color:#a891ff}.hero p{color:#a4abc5;max-width:600px;margin:0 auto;font-size:17px;line-height:1.6}.pills{margin-top:30px;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.pills span{border:1px solid #39384e;background:#141829;padding:10px 17px;border-radius:25px;font-size:12px;color:#d4cafe}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:12px 0 30px}.stats>div{background:#111626;border:1px solid #292d43;border-radius:17px;padding:22px}.stats small{display:block;color:#8990af;letter-spacing:1.5px;font-size:10px;margin-bottom:10px}.stats strong{font-family:'Space Grotesk';font-size:27px}.stats em{font-size:12px;font-style:normal;color:#7a85a8}.studio{display:grid;grid-template-columns:330px 1fr;gap:16px}.studio aside,.editor{background:#111625;border:1px solid #2a2d41;border-radius:20px;overflow:hidden}.studio aside{padding:28px}.studio h2{font-size:28px;margin:15px 0}.muted{color:#8993af;font-size:13px;line-height:1.7;margin-bottom:28px}label{display:block;font-weight:700;font-size:12px;margin-bottom:10px}select{width:100%;padding:13px;background:#1b2032;border:1px solid #353a55;color:#fff;border-radius:9px;outline:none}.taskbox{background:linear-gradient(125deg,#332551,#1d2440);border:1px solid #5c4a8e;border-radius:15px;margin-top:24px;padding:20px}.tasklabel{font-size:10px;color:#c7b3ff;letter-spacing:2px}.taskbox h3{font-size:21px;margin:14px 0 8px}.taskbox p,.coach p{font-size:13px;color:#b9bfd6;line-height:1.7}.coach{display:flex;gap:12px;margin-top:30px}.coachicon{width:42px;height:42px;background:#413071;border-radius:13px;display:grid;place-items:center;font-size:22px;flex-shrink:0}.coach b{font-size:14px}.coach p{margin:5px 0}.editortop{display:flex;justify-content:space-between;background:#1a1d30;padding:17px 22px;color:#a8aed0;font-size:11px;letter-spacing:1px}.editortop i{width:8px;height:8px;background:#9f8cff;display:inline-block;border-radius:50%;margin-right:8px}.codearea{display:flex;min-height:290px;padding:24px 16px;background:#0d1220}.lines{color:#54607d;line-height:26px;font:14px/26px monospace;text-align:right;padding-right:22px;user-select:none}textarea{background:transparent;color:#b7e3ff;border:0;outline:0;resize:vertical;flex:1;min-height:260px;font:14px/26px Consolas,monospace;tab-size:4}.toolbar{display:flex;justify-content:flex-end;gap:12px;padding:19px;border-top:1px solid #252a3e}.toolbar button{padding:13px 20px;border-radius:10px;font-family:inherit;font-weight:800;cursor:pointer}.toolbar button:disabled{opacity:.5;cursor:wait}.secondary{background:#202640;border:1px solid #424963;color:#e4e7fa}.primary{border:0;background:linear-gradient(110deg,#a68cff,#7965f0);color:#111323}.primary span{margin-left:10px}.response{border-top:1px solid #262c42;padding:23px;background:#141a2b;min-height:165px}.res-head{display:flex;justify-content:space-between;font-size:10px;font-weight:800;color:#ad9cff;letter-spacing:1.5px}.res-head b{font-size:15px;color:#86e7c5}.response p{color:#d4d7e9;font-size:14px;line-height:1.65;white-space:pre-line}.response .hint{color:#a5e5cf}.roadmap{padding:70px 0}.roadmap h2{font-size:36px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.step{border:1px solid #2c3045;background:#141829;padding:23px;border-radius:15px}.step.active{border-color:#aa92ff;background:#211b39}.step>b{color:#a58cff}.step h3{font-size:20px;margin:20px 0 5px}.step p{color:#939bb9;font-size:13px}.notice{color:#818aa5;font-size:12px;line-height:1.6;margin-top:25px}footer{text-align:center;padding:35px;color:#78809b;border-top:1px solid #25283a;font-size:11px;letter-spacing:1px}@media(max-width:820px){nav{display:none}.status{font-size:9px}.stats{grid-template-columns:repeat(2,1fr)}.studio{grid-template-columns:1fr}.steps{grid-template-columns:1fr}.hero{padding-top:54px}}

/* Hackathon Edition · visual polish */
:root{--accent:#a68dff;--mint:#91efd4}body{background:radial-gradient(ellipse 65% 35% at 55% 0%,#21183d 0%,transparent 100%),#090d19}header{position:sticky;top:0;z-index:5;background:rgba(9,13,25,.88);backdrop-filter:blur(18px)}.logo{white-space:nowrap}.hero{padding-top:100px}.hero h1{font-size:clamp(46px,6vw,78px)}.hero-actions{display:flex;justify-content:center;align-items:center;gap:20px;margin:30px 0 8px}.hero-cta{background:#b3a0ff;color:#101220;font-weight:800;text-decoration:none;padding:15px 24px;border-radius:11px;box-shadow:0 10px 38px #6950b644}.hero-cta span{margin-left:10px}.hero-sub{font-size:12px;color:#a5aec9}.progress-mini{margin:23px 0;padding:16px;background:#161c2d;border:1px solid #313750;border-radius:13px}.progress-mini-head{display:flex;justify-content:space-between;color:#e1e4fa;font-size:12px;font-weight:700}.progress-mini-head b{color:#9cf3d5}.progress-track{height:7px;border-radius:15px;background:#30334a;overflow:hidden;margin:12px 0 7px}.progress-track>div{width:0;height:100%;background:linear-gradient(90deg,#7965f0,#89e4c9);transition:width .5s ease}.progress-mini p{margin:0;color:#8e99b9;font-size:11px}.response-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px}.response-actions span{color:#858fae;font-size:11px}.response-actions button{background:#233b3b;border:1px solid #407e70;border-radius:9px;color:#a3f4da;padding:10px 15px;font-weight:750;cursor:pointer}.response-actions button[hidden]{display:none}.toolbar button:focus-visible,.hero-cta:focus-visible,.response-actions button:focus-visible{outline:3px solid #8ceac9;outline-offset:3px}.toolbar .small{padding:12px 14px}.roadmap-intro{font-size:14px;color:#9ea7c2;max-width:720px;line-height:1.75}.value-section{padding:0 0 85px}.value-card{padding:44px;background:linear-gradient(120deg,#242044,#131a2e);border:1px solid #4b406b;border-radius:24px}.value-card h2{font-size:clamp(32px,4vw,48px);margin:18px 0}.value-card>p{color:#b0b9d0;line-height:1.8;max-width:720px}.value-points{display:flex;flex-wrap:wrap;gap:13px;margin-top:28px}.value-points span{padding:12px 15px;background:#ffffff0a;border:1px solid #ffffff18;border-radius:11px;font-size:12px;color:#d9d5f6}.studio aside,.editor,.stats>div,.step{box-shadow:0 15px 45px #05081236;transition:border-color .2s,transform .2s}.stats>div:hover,.step:hover{border-color:#6c5ba7;transform:translateY(-2px)}@media(max-width:600px){header{padding:15px}main{padding:0 15px}.hero{padding:55px 0 30px}.hero-actions{flex-direction:column;gap:12px}.stats{gap:8px}.stats>div{padding:16px}.stats strong{font-size:21px}.studio aside{padding:20px}.toolbar{flex-wrap:wrap;justify-content:stretch}.toolbar button{flex:1 1 43%;font-size:12px}.editortop{font-size:9px;gap:10px}.codearea{padding:18px 10px}.lines{padding-right:12px}.response-actions{align-items:start;flex-direction:column}.value-card{padding:25px}.status{max-width:150px;text-align:center;line-height:1.5}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* API connectivity controls */
.header-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.connection-btn{border:1px solid #7765b5;background:rgba(104,70,178,.17);color:#e7dcff;padding:10px 13px;border-radius:999px;cursor:pointer;font-weight:700;font-size:12px;transition:transform .15s,border-color .15s}
.connection-btn:hover{transform:translateY(-1px);border-color:#bc9dff}
.connection-btn:disabled{opacity:.55;cursor:wait}
.connection-detail{padding:13px 17px;margin:18px 0 0;border-radius:12px;background:rgba(99,102,241,.09);border:1px solid rgba(150,141,249,.25);color:#dcd6f8;font-size:13px;max-width:720px;overflow-wrap:anywhere}
.connection-detail[data-state=ok]{border-color:rgba(43,200,141,.5);color:#9ff0ce}
.connection-detail[data-state=error]{border-color:rgba(251,146,120,.6);color:#ffc1a9}
@media(max-width:750px){.header-tools{width:100%;justify-content:space-between}.connection-btn{font-size:11px;padding:9px 11px}}

/* Expert-ready MVP enhancements */
.review-link{color:#ddd5ff;font-size:13px;text-decoration:none;font-weight:700}.review-link:hover{text-decoration:underline}
.scenario-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:19px 24px;margin:0 0 20px;border-radius:17px;border:1px solid #5f4e93;background:linear-gradient(100deg,#242045,#111a30)}
.scenario-strip b{font-size:14px}.scenario-strip p{color:#aeb6d6;font-size:12px;margin:6px 0 0;line-height:1.5}.scenario-buttons{display:flex;flex-wrap:wrap;gap:8px}.scenario-buttons button{background:#2c2e4b;border:1px solid #666184;color:#f0eafe;padding:11px 14px;border-radius:9px;font-weight:700;white-space:nowrap;cursor:pointer}.scenario-buttons button:first-child{background:#7861df;color:#fff}.scenario-buttons button:focus-visible{outline:3px solid #b1e9df;outline-offset:2px}
.insights{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin:70px 0 0}.insights>div,.adapt-card{padding:28px;border-radius:19px;background:#13192a;border:1px solid #303750}.insights h2{font-size:30px;line-height:1.25;margin:18px 0}.insights p{color:#9da9c5;line-height:1.6;font-size:13px}.skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:25px}.empty-insight{grid-column:1/-1;color:#9aa3c3;padding:24px;border:1px dashed #4c5070;border-radius:13px}.skill-item{padding:16px;border-radius:12px;background:#1b2238}.skill-head{display:flex;justify-content:space-between;gap:8px;font-size:12px}.skill-head strong{color:#93eed3}.skill-track{height:7px;background:#363d57;border-radius:30px;overflow:hidden;margin:14px 0 10px}.skill-track span{display:block;height:100%;background:linear-gradient(90deg,#826af6,#95eed4)}.skill-item small{font-size:11px;color:#9fa9c7}.adapt-card{background:linear-gradient(135deg,#27203e,#151c30)}.adapt-card h3{font-size:23px}.adapt-card button{margin-top:18px;border:0;background:#aa93ff;color:#0d1020;padding:13px 16px;font-weight:800;border-radius:9px;cursor:pointer}.adapt-card button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:900px){.scenario-strip{align-items:stretch;flex-direction:column}.insights{grid-template-columns:1fr}}@media(max-width:600px){.skill-grid{grid-template-columns:1fr}.scenario-strip{padding:16px}.scenario-buttons button{flex:1 1 100%}}

/* Original CodeGame AI interface preserved · static MVP extensions */
.reward-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px;padding:20px 24px;background:linear-gradient(110deg,#211d3d,#14243b);border:1px solid #544b8c;border-radius:18px}.reward-banner h3{font-size:24px;letter-spacing:-.5px;margin:10px 0}.reward-banner h3 strong{color:#94efcf}.reward-banner h3 span{font-size:13px;color:#c3b4ff}.reward-banner p{font-size:12px;color:#a7b2d0;margin:5px 0}.reward-actions{display:flex;gap:9px;flex-wrap:wrap}.reward-actions button{cursor:pointer;border-radius:10px;border:1px solid #66618b;padding:12px 16px;background:#292542;color:#e7ddff;font-weight:750}.reward-actions button:first-child{background:#9d82f4;color:#10121c}.reward-actions button:disabled{opacity:.45;cursor:not-allowed}.terminal-box{background:#080e17;border-top:1px solid #30344f}.terminal-title{display:flex;justify-content:space-between;padding:12px 20px;color:#8ee2bf;font-size:10px;letter-spacing:1px;border-bottom:1px solid #202a36}.terminal-box pre{font:13px/1.8 Consolas,monospace;margin:0;padding:19px 23px;min-height:85px;color:#bcf6d7;white-space:pre-wrap;overflow-wrap:anywhere}.celebrate{animation:burst .6s ease}@keyframes burst{50%{box-shadow:0 0 35px #8e67ff8c;transform:scale(1.01)}}@media(max-width:650px){.reward-banner{flex-direction:column;align-items:flex-start}.reward-actions{width:100%}.reward-actions button{flex:1}.terminal-title{font-size:9px}}

/* Original CodeGame Academy neon visual signature */
:root { --mint:#43ff9d; --sky:#45caff; --pink:#ff4ecd; --yellow:#ffe45c }
body { background: radial-gradient(ellipse at 5% 27%,rgba(255,78,205,.11),transparent 34%),radial-gradient(ellipse at 98% 20%,rgba(69,202,255,.12),transparent 36%),#101126; }
.hero h1 span,.insights h2 span,.roadmap h2 span,.value-card h2 span{color:#ffe45c}
.hero-cta,.toolbar .primary{background:linear-gradient(115deg,#43ff9d,#45caff);color:#101126;font-weight:900;border:none}
.reward-banner{border-color:rgba(67,255,157,.28)}
.connection-detail{border-color:rgba(69,202,255,.25)}
