:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;background-color:#f5f7fb;color:#0f172a;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;background:transparent;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:#0f172a;background-color:#f5f7fb}}:root{color:#1e293b;background-color:#f0f2f7;font-family:Zen Maru Gothic,Helvetica Neue,Hiragino Kaku Gothic ProN,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-height:100vh;min-height:100dvh;overflow:hidden}body:before{content:"";position:fixed;top:0;left:0;width:100%;height:100%;z-index:-2;background-image:url(/images/quizgamenbg.png);background-size:200% 200%;background-repeat:repeat;animation:bg-slide 30s linear infinite}body:after{content:"";position:fixed;top:0;left:0;width:100%;height:100%;z-index:-1;background:#ffffff4d;pointer-events:none}@keyframes bg-slide{0%{background-position:0% 100%}to{background-position:100% 0%}}#root{min-height:100vh;min-height:100dvh}.page{max-width:720px;margin:0 auto;padding:24px 20px 32px}.quiz-page{height:100vh;height:100dvh;display:flex;flex-direction:column;padding:10px 16px 12px;overflow:hidden}.quiz-page .header{flex-shrink:0;margin-bottom:8px;padding-bottom:8px}.quiz-page .image-box{flex:1 1 0%;min-height:60px;aspect-ratio:unset;max-height:none;margin-bottom:8px}.quiz-page .quiz-card{flex-shrink:0;padding:14px 16px}.quiz-page .question{margin-bottom:8px;font-size:16px}.quiz-page .choices{gap:6px}.quiz-page .choice{padding:10px 14px;font-size:14px}.quiz-page .explanation{margin-top:8px;padding:10px 14px;font-size:13px}.quiz-page .actions{margin-top:10px}.quiz-page .actions .primary{padding:12px 20px;font-size:15px;min-width:0;width:100%}.header{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:13px;letter-spacing:.02em;text-transform:uppercase;margin-bottom:20px;color:#64748b;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.card{background:#fff;border-radius:20px;padding:24px;box-shadow:0 1px 3px #0000000a,0 8px 32px #0000000f;border:1px solid rgba(0,0,0,.04)}.image-box{width:100%;aspect-ratio:70 / 99;background:transparent;border-radius:14px;overflow:hidden;margin-bottom:16px;display:flex;align-items:center;justify-content:center;position:relative;max-height:50vh}.quiz-card{margin-top:0}.image-box img,.image-box video{width:100%;height:100%;object-fit:contain;border-radius:14px;filter:drop-shadow(0 4px 12px rgba(0,0,0,.2)) drop-shadow(0 1px 3px rgba(0,0,0,.1))}.image-hidden{opacity:0;transition:opacity .3s ease}.image-visible{opacity:1;transition:opacity .3s ease}.image-skeleton{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#f8fafc 25%,#e2e8f0,#f8fafc 75%);background-size:200% 100%;animation:skeleton 1.2s ease-in-out infinite;color:#94a3b8;font-size:13px}@keyframes skeleton{0%{background-position:200% 0}to{background-position:-200% 0}}.image-placeholder{color:#94a3b8;font-size:13px}.question{margin:0 0 16px;font-size:18px;font-weight:700;line-height:1.6;color:#1e293b}.choices{display:grid;gap:10px}.choice{width:100%;text-align:left;padding:14px 18px;border-radius:12px;border:1.5px solid #e2e8f0;background:#fff;color:#1e293b;font-weight:600;line-height:1.45;font-size:15px;cursor:pointer;transition:all .2s ease}.choice:hover:not(:disabled){border-color:#94a3b8;background:#f8fafc;transform:translateY(-1px);box-shadow:0 2px 8px #0000000f}.choice:disabled{cursor:default}.choice-label{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;color:#fff;font-weight:700;font-size:13px;margin-right:10px;flex-shrink:0;vertical-align:middle}.choice:nth-child(1) .choice-label{background:#e85d6c}.choice:nth-child(2) .choice-label{background:#4db8c9}.choice:nth-child(3) .choice-label{background:#e8b84d}.choice:nth-child(4) .choice-label{background:#4db87a}.choice.correct{border-color:#10b981;background:linear-gradient(135deg,#ecfdf5,#d1fae5)}.choice.wrong{border-color:#f87171;background:linear-gradient(135deg,#fef2f2,#fee2e2)}.explanation{margin-top:16px;padding:14px 18px;border-radius:12px;background:linear-gradient(135deg,#fef9c3,#fef08a);border:2px solid #f59e0b;color:#78350f;font-size:14px;font-weight:600;line-height:1.65}.actions{margin-top:20px;display:flex;justify-content:center}.primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:12px;padding:14px 24px;font-size:16px;font-weight:700;letter-spacing:.02em;cursor:pointer;transition:all .2s ease;min-width:220px;box-shadow:0 2px 8px #2563eb40}.primary:disabled{background:#cbd5e1;box-shadow:none;cursor:not-allowed}.primary:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 4px 16px #2563eb59}.primary:active:not(:disabled){transform:translateY(0);box-shadow:0 1px 4px #2563eb33}.error{color:#dc2626;font-weight:700;padding:16px}.happy{animation:happy-bounce .5s ease}.shake{animation:shake .45s cubic-bezier(.36,.07,.19,.97)}@keyframes happy-bounce{0%{transform:scale(1);box-shadow:0 8px 24px #10b98126}40%{transform:scale(1.015);box-shadow:0 10px 28px #10b98140}to{transform:scale(1);box-shadow:0 8px 24px #10b98126}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}to{transform:translateZ(0)}}.page.finished{display:flex;align-items:center;justify-content:center;height:100vh;height:100dvh;padding:24px 20px;overflow-y:auto;-webkit-overflow-scrolling:touch}.result-card{width:100%;max-width:600px;text-align:center;padding:32px 28px}.result-card h1{margin:0 0 8px;font-size:24px;font-weight:800;color:#1e293b}.result-card .score-display{display:inline-flex;align-items:baseline;gap:4px;margin:12px 0 20px;font-size:14px;color:#64748b;font-weight:600}.result-card .score-number{font-size:48px;font-weight:800;line-height:1}.score-low{color:#3b82f6}.score-mid{color:#f59e0b}.score-high{color:#ef4444}.score-perfect{background:linear-gradient(90deg,#ef4444,#f59e0b,#22c55e,#3b82f6,#a855f7,#ef4444);background-size:200% 100%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:rainbow 3s linear infinite}@keyframes rainbow{0%{background-position:0% 50%}to{background-position:200% 50%}}.result-card .score-total{font-size:20px;color:#94a3b8}.title-text{margin:0 0 28px;padding:18px 20px;background:linear-gradient(135deg,#fefce8,#fef9c3);border:1px solid #fde68a;border-radius:14px;color:#1e293b;line-height:1.8;font-size:16px;font-weight:600;text-align:center}.instagram-qr{margin-top:20px;text-align:center}.qr-label{margin:0 0 8px;font-size:22.75px;font-weight:700;background:linear-gradient(90deg,#ef4444,#f59e0b,#22c55e,#3b82f6,#a855f7,#ef4444);background-size:200% 100%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:rainbow 3s linear infinite}.qr-promo{margin:0 0 4px;font-size:15px;font-weight:700;color:#1e293b}.qr-note{margin:0 0 10px;font-size:12px;font-weight:600;color:#64748b}.qr-image{width:250px;height:250px;border-radius:8px}.top-view{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;height:100dvh;max-width:none;width:100%;margin:0;padding:0;overflow:hidden;background:ivory}.slide-rows{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-around;z-index:1;overflow:hidden;pointer-events:none}.slide-row{width:100%;flex-shrink:0;height:22vh;height:22dvh;background-repeat:repeat-x;background-size:auto 100%}.slide-row-1{background-image:url(/images/slide-row1/8.png)}.slide-row-2{background-image:url(/images/slide-row2/5.png)}.slide-row-3{background-image:url(/images/slide-row3/6.png)}.slide-row-4{background-image:url(/images/slide-row4/7.png)}.slide-left{animation:slide-bg-left 50s linear infinite}.slide-right{animation:slide-bg-right 50s linear infinite}@keyframes slide-bg-left{0%{background-position:0 0}to{background-position:-300vw 0}}@keyframes slide-bg-right{0%{background-position:-300vw 0}to{background-position:0 0}}.top-logo{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:90%;max-width:700px;height:auto;z-index:3;pointer-events:none}.wave-container{position:absolute;top:calc(50% - 10px);left:50%;width:0;height:0;z-index:2;pointer-events:none}.wave{position:absolute;top:50%;left:50%;width:120px;height:120px;margin-top:-60px;margin-left:-60px;border-radius:50%;transform:scale(0);will-change:transform,opacity;animation:wave-ripple 3s ease-out infinite}.wave:nth-child(1){animation-delay:0s;animation-duration:2.8s;border:3px solid rgba(239,68,68,.5);background:#ef44441f}.wave:nth-child(2){animation-delay:.4s;animation-duration:3.5s;border:3px solid rgba(245,158,11,.5);background:#f59e0b1f}.wave:nth-child(3){animation-delay:1.1s;animation-duration:2.6s;border:3px solid rgba(34,197,94,.5);background:#22c55e1f}.wave:nth-child(4){animation-delay:1.9s;animation-duration:3.2s;border:3px solid rgba(59,130,246,.5);background:#3b82f61f}.wave:nth-child(5){animation-delay:2.3s;animation-duration:2.9s;border:3px solid rgba(168,85,247,.5);background:#a855f71f}@keyframes wave-ripple{0%{transform:scale(0);opacity:1}30%{opacity:.3}to{transform:scale(20);opacity:0}}.top-overlay{position:absolute;bottom:0;left:0;z-index:4;width:100%;display:flex;align-items:center;justify-content:center;padding:0 16px 10vh;padding-bottom:10dvh;background:transparent}.top-card{width:100%;text-align:center;padding:24px 20px;margin:0;max-width:720px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:20px}.top-description{color:#475569;line-height:1.7;margin-bottom:28px;font-size:15px}.start-button{width:100%;max-width:260px;font-size:18px;padding:16px}@media(max-width:1024px){.page{padding:16px 14px 24px}.card{padding:18px}.image-box{margin-bottom:14px;max-height:48vh}.question{font-size:17px;margin-bottom:12px}.choice{padding:12px 14px;font-size:14px}.actions .primary{width:100%;min-width:0}.result-card{padding:24px 20px}.quiz-page{padding:8px 12px 10px}.quiz-page .quiz-card{padding:12px 14px}.quiz-page .question{font-size:15px;margin-bottom:6px}.quiz-page .choice{padding:8px 12px;font-size:13px}.quiz-page .explanation{margin-top:6px;padding:8px 12px;font-size:12px}.quiz-page .actions{margin-top:8px}.quiz-page .actions .primary{padding:10px 16px;font-size:14px}}@media(max-width:768px){.page.finished{padding:12px 14px;align-items:flex-start}.result-card{padding:18px 16px;margin:auto 0}.result-card h1{font-size:20px;margin-bottom:2px}.result-card .score-display{margin:6px 0 10px}.result-card .score-number{font-size:36px}.title-text{margin-bottom:14px;padding:12px 14px;font-size:13px;line-height:1.65}.instagram-qr{margin-top:12px}.qr-label{font-size:16px;margin-bottom:4px}.qr-promo{font-size:13px;margin-bottom:2px}.qr-note{font-size:10px;margin-bottom:6px}.qr-image{width:180px;height:180px}.result-card .primary{padding:12px 20px;font-size:15px}}
