:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.congrats-wrapper{min-height:10vh;max-height:100vh;width:100%;display:flex;justify-content:center;align-items:center;background:radial-gradient(ellipse at top left,#ffecd2,#fcb69f),linear-gradient(135deg,#000428,#004e92);background-blend-mode:screen,normal;position:relative;overflow:hidden;animation:fadeIn 1s ease-in-out;padding:1rem;box-sizing:border-box}.congrats-wrapper:before{content:"";position:absolute;inset:0;pointer-events:none;background:url(https://svgshare.com/i/13nA.svg) repeat;opacity:.25;animation:confettiMove 10s linear infinite;z-index:1}@keyframes confettiMove{0%{background-position:0 0}to{background-position:200px 600px}}.congrats-card{position:relative;z-index:2;padding:3rem 2.5rem;border-radius:32px;background:#1e1e3cbf;box-shadow:0 8px 40px #00000073,0 0 40px 8px #00ffe7a0;border:4px solid transparent;background-clip:padding-box;-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);overflow:hidden;animation:zoomIn 1s cubic-bezier(.23,1,.32,1)}.congrats-card:before{content:"";position:absolute;inset:-4px;border-radius:36px;background:conic-gradient(from 90deg,#f0c,#33f,#0fc,#f90,#f0c);filter:blur(6px);z-index:-1;animation:borderSpin 6s linear infinite}@keyframes borderSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.typewriter-text{color:#fff;font-size:2.5rem;font-weight:900;letter-spacing:2px;text-align:center;margin-bottom:2rem;text-shadow:0 0 16px #00ffe7,0 0 32px #ff00cc,0 0 8px #fff;min-height:60px;animation:glowPulse 2s infinite alternate}@keyframes glowPulse{0%{text-shadow:0 0 16px #00ffe7,0 0 32px #ff00cc,0 0 8px #fff}to{text-shadow:0 0 32px #ff00cc,0 0 48px #00ffe7,0 0 16px #fff}}.congrats-image{width:320px;max-width:90vw;border-radius:18px;margin:0 auto 1.5rem;display:block;box-shadow:0 0 40px 8px #ff00cc80,0 0 12px 2px #00ffe780;animation:imgGlow 3s ease-in-out infinite alternate}@keyframes imgGlow{0%{box-shadow:0 0 40px 8px #ff00cc80,0 0 12px 2px #00ffe780}to{box-shadow:0 0 60px 16px #00ffe780,0 0 24px 4px #ff00cc80}}@media (max-width: 600px){.congrats-card{padding:1.5rem .5rem;border-radius:18px}.congrats-card:before{border-radius:22px}.typewriter-text{font-size:1.3rem;min-height:40px}.congrats-image{width:90vw;border-radius:10px}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes zoomIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}.container{width:640px;margin:150px auto auto;display:flex;background:#fff;color:#262626;flex-direction:column;gap:20px;border-radius:10px;padding:40px 50px}.container hr{height:2px;border:none;background:#707070}.container h2{font-size:27px;font-weight:500}.container ul li{display:flex;align-items:center;height:70px;padding-left:15px;border:1px solid #686868;border-radius:8px;margin-top:20px;font-size:20px;cursor:pointer}.container button{margin:auto;width:250px;height:65px;background:#553f9a;color:#fff;font-size:25px;font-weight:500;border-radius:8px;cursor:pointer}.container index{margin:auto;font-size:18px}.container .correct{background:#dffff2;border-color:#00d397}.container .wrong{background:#ffebeb;border-color:#ff4a4a}.result{text-align:center;margin-top:30px}.result h2{color:#28a745}.result button{padding:10px 20px;background-color:#007bff;border:none;color:#fff;border-radius:8px;margin-top:20px;cursor:pointer;font-size:16px}.result{background:#fff;padding:2rem;border-radius:20px;text-align:center;box-shadow:0 8px 25px #00000026;animation:fadeIn .8s ease-in-out}.congrats{font-size:1.5rem;font-weight:700;color:#2ecc71;margin-top:1rem}.try-again{font-size:1.3rem;font-weight:700;color:#e74c3c;margin-top:1rem}@keyframes fadeIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}body{background:#2a2d8f;font-family:Arial,sans-serif}.container{max-width:600px;margin:50px auto;padding:30px 40px;border-radius:12px;background-color:#fff;box-shadow:0 8px 20px #00000040;text-align:center}.container h1{color:#2a2d8f;margin-bottom:25px;font-size:26px;font-weight:700}.container button{padding:12px 25px;border:none;border-radius:8px;cursor:pointer;font-weight:700;transition:all .3s ease-in-out;margin:10px 0}.container button:first-of-type{background-color:#5e4bb7;color:#fff}.container button:first-of-type:hover{background-color:#403187;transform:translateY(-2px) scale(1.03)}.container button[type=submit]{background-color:#2a2d8f;color:#fff}.container button[type=submit]:hover{background-color:#1b1f6b;box-shadow:0 6px 15px #2a2d8f99;transform:translateY(-3px) scale(1.05)}.container form{display:flex;flex-direction:column;gap:15px;margin-top:20px}.container form label{font-weight:700;color:#2a2d8f;text-align:left}.container form select,.container form input{padding:12px;border-radius:8px;border:1.5px solid #ccc;font-size:16px;width:100%;box-sizing:border-box;transition:all .3s ease-in-out}.container form select:focus,.container form input:focus{border-color:#2a2d8f;box-shadow:0 0 10px #2a2d8f80;transform:scale(1.02)}.container form input::placeholder{color:#999}.options-group{display:flex;flex-direction:column;gap:10px}@media (max-width: 600px){.container{padding:20px}.container button{width:100%}}*{margin:0;padding:0;box-sizing:border-box;font-family:Poppins,sans-serif}body{background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;display:flex;justify-content:center;align-items:center;color:#fff}.homepage{text-align:center;animation:fadeIn 1s ease-in-out}.homepage h1{font-size:2.8rem;margin-bottom:.5rem;color:#ffeb3b;text-shadow:2px 2px 5px rgba(0,0,0,.3)}.homepage p{font-size:1.2rem;margin-bottom:2rem;opacity:.9}.subject-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1.5rem;padding:0 2rem;max-width:800px;margin:0 auto}.subject-btn{background:#fff2;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:2px solid #ffffff33;border-radius:15px;padding:1rem 1.2rem;font-size:1.1rem;color:#fff;font-weight:600;cursor:pointer;transition:all .3s ease-in-out;position:relative;overflow:hidden}.subject-btn:before{content:"📘";margin-right:8px;font-size:1.2rem;transition:transform .3s ease}.subject-btn:nth-child(1):before{content:"💻"}.subject-btn:nth-child(2):before{content:"🌍"}.subject-btn:nth-child(3):before{content:"🔬"}.subject-btn:nth-child(4):before{content:"⚗️"}.subject-btn:nth-child(5):before{content:"🏛️"}.subject-btn:nth-child(6):before{content:"📖"}.subject-btn:nth-child(7):before{content:"📰"}.subject-btn:nth-child(8):before{content:"🏆"}.subject-btn:hover{background:#ffeb3b;color:#333;transform:translateY(-5px) scale(1.05);box-shadow:0 8px 20px #0000004d}.subject-btn:hover:before{transform:rotate(15deg) scale(1.2)}.subject-btn:active{transform:scale(.95);box-shadow:0 4px 12px #0006;background:#ffc107}body{background:linear-gradient(135deg,#1e3c72,#2a5298);min-height:100vh;display:flex;justify-content:center;align-items:center;font-family:Poppins,sans-serif;color:#fff;margin:0}.auth-container{background:#ffffff1a;padding:2rem;border-radius:15px;text-align:center;width:320px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 8px 25px #0003;animation:fadeIn .8s ease-in-out}.auth-container h2{margin-bottom:1rem;color:#e3f2fd}.auth-container form{display:flex;flex-direction:column;gap:1rem}.auth-container input{padding:.8rem;border:none;border-radius:10px;outline:none;background:#fff3;color:#fff}.auth-container input::placeholder{color:#cfd8dc}.auth-container button{padding:.8rem;background:#42a5f5;border:none;border-radius:10px;font-weight:700;color:#fff;cursor:pointer;transition:all .3s ease-in-out}.auth-container button:hover{background:#1e88e5;transform:scale(1.05)}.auth-container span{font-weight:700;cursor:pointer;color:#90caf9}.auth-container span:hover{text-decoration:underline}.homepage{text-align:center;background:#ffffff26;padding:2rem;border-radius:15px;box-shadow:0 8px 25px #0003;animation:fadeIn .8s ease-in-out}.homepage h1{color:#bbdefb;margin-bottom:1rem}.homepage button{margin-top:1rem;padding:.8rem 1.2rem;background:#42a5f5;border:none;border-radius:10px;font-weight:700;color:#fff;cursor:pointer;transition:all .3s ease-in-out}.homepage button:hover{background:#1e88e5;transform:scale(1.05)}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
