@import "https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap";.shop-overlay{z-index:10000;background:#000000b3;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}.shop-modal{background:#fff;border-radius:20px;width:90%;max-width:500px;padding:30px;animation:.3s ease-out fadeIn;box-shadow:0 10px 40px #00000080}.shop-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.shop-header h2{color:#333;margin:0;font-size:24px}.close-btn{cursor:pointer;color:#999;background:0 0;border:none;font-size:24px}.shop-balance{background:#f0f4f8;border-radius:12px;justify-content:space-around;margin-bottom:20px;padding:15px;font-size:16px;font-weight:700;display:flex}.shop-items{flex-direction:column;gap:15px;display:flex}.shop-item{background:#f9f9f9;border:1px solid #eee;border-radius:12px;justify-content:space-between;align-items:center;padding:15px;display:flex}.item-icon{font-size:32px}.item-name{color:#333;flex:1;margin-left:15px;font-size:18px;font-weight:700}.shop-item button{color:#fff;cursor:pointer;background:#2ecc71;border:none;border-radius:8px;padding:10px 20px;font-weight:700;transition:all .2s;box-shadow:0 3px #27ae60}.shop-item button:active{box-shadow:none;transform:translateY(3px)}.shop-note{text-align:center;color:#999;margin-top:20px;font-size:12px}.lobby{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:30px;padding:20px;display:flex;position:relative}.lobby-header{justify-content:space-between;align-items:center;display:flex;position:absolute;top:20px;left:20px;right:20px}.lobby-balance{color:#fff;background:#0000004d;border-radius:12px;gap:15px;padding:10px 20px;font-size:18px;font-weight:700;display:flex}.lobby-shop-btn{color:#333;cursor:pointer;background:#f1c40f;border:none;border-radius:12px;padding:10px 20px;font-size:16px;font-weight:700;transition:all .2s;box-shadow:0 4px #d4ac0d}.lobby-shop-btn:active{box-shadow:none;transform:translateY(4px)}.lobby h1{text-align:center;color:#fff;font-size:36px}.start-btn{color:#fff;cursor:pointer;background:#e94560;border:none;border-radius:50px;padding:15px 60px;font-size:22px;font-weight:700;box-shadow:0 6px #b8364b}.lobby-actions{align-items:center;gap:10px;display:flex}.lobby-logout-btn{color:#fff;cursor:pointer;background:#95a5a6;border:none;border-radius:12px;padding:10px 20px;font-size:16px;font-weight:700;transition:all .2s;box-shadow:0 4px #7f8c8d}.lobby-logout-btn:active{box-shadow:none;transform:translateY(4px)}.lobby-main{flex-direction:column;gap:20px;width:100%;max-width:600px;display:flex}.lobby-matches{background:#0003;border-radius:16px;flex-direction:column;gap:20px;max-height:400px;padding:20px;display:flex;overflow-y:auto}.matches-section h3{color:#fff;margin:0 0 10px;font-size:18px}.match-card{cursor:pointer;color:#fff;border-radius:10px;justify-content:space-between;align-items:center;margin-bottom:8px;padding:12px 15px;font-size:14px;transition:all .2s;display:flex}.match-card.your-turn{background:#2ecc714d;border-left:4px solid #2ecc71}.match-card.opponent-turn{background:#e74c3c33;border-left:4px solid #e74c3c}.match-card.finished{opacity:.7;background:#ffffff0d;border-left:4px solid #7f8c8d}.match-card:hover{transform:translate(5px)}.empty-text{color:#7f8c8d;margin:5px 0;font-size:14px}.lobby-actions-bar{gap:10px;display:flex}.refresh-btn{color:#fff;cursor:pointer;background:#3498db;border:none;border-radius:50px;padding:15px 30px;font-size:16px;font-weight:700;box-shadow:0 4px #2980b9}.refresh-btn:active{box-shadow:none;transform:translateY(4px)}.players-header{flex-shrink:0;justify-content:space-between;align-items:flex-start;padding:10px 5px 0;display:flex}.player-card{background:#ffffff0d;border-radius:12px;flex-direction:column;align-items:center;width:220px;padding:10px;transition:all .3s;display:flex}.player-card.active{background:#e9456033;border:2px solid #e94560;box-shadow:0 0 15px #e9456066}.player-name{color:#fff;margin-bottom:4px;font-size:16px;font-weight:700}.avatar{margin-bottom:5px;font-size:28px}.p-characters{justify-content:center;gap:5px;width:100%;display:flex}.char-slot{background:#ffffff1a;border:1px solid #ffffff4d;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:16px;display:flex}.char-slot.filled{background:#f1c40f;border-color:#f39c12;box-shadow:0 0 5px #f1c40f}.char-slot.empty{opacity:.4;background:#ffffff0d;border-color:#ffffff1a}.char-icon{justify-content:center;align-items:center;font-size:16px;line-height:1;display:flex}.char-slot.empty .char-icon{filter:grayscale();opacity:.5}.vs-block{justify-content:center;align-items:center;padding-top:15px;display:flex}.score-text{color:#fff;text-shadow:0 2px 5px #00000080;font-size:28px;font-weight:900}.shop-btn{cursor:pointer;z-index:100;background:#f1c40f;border:none;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;display:flex;position:absolute;top:15px;right:10px;box-shadow:0 3px #d4ac0d}.shop-btn:active{box-shadow:none;transform:translateY(3px)}.crown-gauge{flex-shrink:0;justify-content:center;align-items:center;gap:10px;margin-top:10px;display:flex}.crown-icon{font-size:24px}.gauge-bar{background:#0000004d;border-radius:10px;gap:5px;padding:4px;display:flex}.gauge-step{background:#ffffff1a;border-radius:6px;width:30px;height:12px;transition:background .3s}.gauge-step.filled{background:#f1c40f;box-shadow:0 0 8px #f1c40f}.wheel-wrapper{aspect-ratio:1;justify-content:center;align-items:center;width:100%;max-width:336px;margin:0 auto;display:flex;position:relative}.wheel-pointer{color:#fff;z-index:20;text-shadow:0 2px 4px #00000080;pointer-events:none;font-size:30px;position:absolute;top:-15px;left:50%;transform:translate(-50%)}.wheel-svg{filter:drop-shadow(0 10px 15px #0006);width:100%;height:100%;transition:transform 3.5s cubic-bezier(.17,.67,.12,.99)}.wheel-svg.spinning{transition:transform 3.5s cubic-bezier(.17,.67,.12,.99)}.spin-center-btn{color:#2c3e50;cursor:pointer;z-index:10;background:#fff;border:4px solid #2c3e50;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;font-size:13px;font-weight:900;transition:transform .1s;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 4px 10px #0000004d}.spin-center-btn:active:not(.disabled){transform:translate(-50%,-50%)scale(.95)}.spin-center-btn.disabled{color:#bdc3c7;cursor:not-allowed;background:#ecf0f1}@media (width<=600px){.wheel-wrapper{max-width:250px}.spin-center-btn{width:50px;height:50px;font-size:11px}}.timer{flex-direction:column;align-items:center;margin-bottom:15px;display:flex}.timer-circle{color:#fff;background:#3498db;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;font-size:28px;font-weight:700;transition:background .3s;display:flex;box-shadow:0 4px 8px #0003}.timer-circle.danger{background:#e74c3c;animation:1s infinite pulse}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.timer p{color:#7f8c8d;margin-top:4px;font-size:12px}.timer-circle.stopped{color:#7f8c8d;box-shadow:none;background:#bdc3c7;animation:none}.boosters-panel{background:#0003;border-radius:12px;justify-content:center;gap:15px;margin-top:15px;padding:10px;display:flex}.booster-btn{cursor:pointer;background:#ecf0f1;border:2px solid #bdc3c7;border-radius:50%;justify-content:center;align-items:center;width:50px;height:50px;font-size:24px;transition:all .2s;display:flex}.booster-btn:hover:not(:disabled){border-color:#3498db;transform:scale(1.1)}.booster-btn:disabled{opacity:.3;cursor:not-allowed;filter:grayscale()}.booster-btn.active{background:#fadbd8;border-color:#e74c3c;box-shadow:0 0 10px #e74c3c}.booster-btn.used{opacity:.2;filter:grayscale()}.question-screen-container{color:#333;background:#fff;flex-direction:column;flex:1;width:100%;padding:30px;animation:.3s ease-out slideUp;display:flex}.question-panel{flex-direction:column;height:100%;display:flex}.q-header{border-bottom:2px solid #f0f4f8;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:15px;display:flex}.q-header h3{color:#16213e;margin:0;font-size:22px}.q-text{flex-shrink:0;margin-bottom:30px;font-size:24px;font-weight:800;line-height:1.4}.q-options{flex-direction:column;gap:15px;margin-top:auto;display:flex}.q-options button{color:#333;text-align:left;cursor:pointer;background:#f0f4f8;border:2px solid #e2e8f0;border-radius:12px;padding:18px;font-size:20px;font-weight:600;transition:all .2s}.q-options button:hover{background:#e2e8f0;border-color:#bdc3c7}@media (width<=600px){.question-screen-container{padding:15px}.q-header{margin-bottom:10px;padding-bottom:10px}.q-header h3{font-size:18px}.q-text{margin-bottom:15px;font-size:18px}.q-options button{padding:14px;font-size:16px}}.q-options button.highlighted{color:#fff;background:#2ecc71;border-color:#27ae60;box-shadow:0 0 15px #2ecc7180}.booster-message{color:#fff;text-align:center;background:#f39c12;border-radius:8px;margin:10px 0;padding:10px;font-weight:700;animation:.3s fadeIn}.q-options button.wrong{color:#fff;background:#e74c3c;border-color:#c0392b;box-shadow:0 0 10px #e74c3c80}.flash-result{color:#fff;z-index:10;border-radius:12px;padding:20px 40px;font-size:28px;font-weight:900;animation:.3s ease-out popIn;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 10px 30px #00000080}.flash-correct{background:#2ecc71}.flash-wrong{background:#e74c3c}.q-options button.correct-answer{color:#fff!important;background:#2ecc71!important;border-color:#27ae60!important;box-shadow:0 0 15px #2ecc7180!important}.q-options button.wrong-answer{color:#fff!important;background:#e74c3c!important;border-color:#c0392b!important;box-shadow:0 0 15px #e74c3c80!important}.q-options button.correct-flash{color:#fff!important;background:#2ecc71!important;border-color:#27ae60!important;box-shadow:0 0 15px #2ecc7180!important}.q-options button.wrong-flash{color:#fff!important;background:#e74c3c!important;border-color:#c0392b!important;box-shadow:0 0 15px #e74c3c80!important}.question-panel{position:relative}.mini-splash{color:#fff;z-index:1000;pointer-events:none;text-align:center;white-space:nowrap;border-radius:16px;padding:20px 40px;font-size:32px;font-weight:900;animation:.3s ease-out fadeIn;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 15px 40px #0009}.mini-correct{background:#2ecc71f2;border:3px solid #27ae60}.mini-wrong{background:#e74c3cf2;border:3px solid #c0392b}.character-choice-panel h3{color:#d35400;text-align:center;margin-top:0;margin-bottom:20px;font-size:22px}.categories-grid{grid-template-columns:1fr 1fr;gap:15px;display:grid}.categories-grid button{color:#333;cursor:pointer;background:#f1c40f;border:none;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:15px;font-size:16px;font-weight:700;display:flex;box-shadow:0 4px #d4ac0d}.categories-grid button:active{box-shadow:none;transform:translateY(4px)}.duel-button-container{text-align:center;margin-top:20px}.duel-btn{color:#fff;cursor:pointer;background:#e74c3c;border:none;border-radius:10px;padding:15px 30px;font-size:16px;font-weight:700;box-shadow:0 4px #c0392b}.duel-btn:active{box-shadow:none;transform:translateY(4px)}.result-screen{color:#333;text-align:center;background:#fff;flex-direction:column;flex:1;justify-content:center;align-items:center;width:100%;padding:30px;animation:.3s ease-out slideUp;display:flex}.result-screen h2{margin-bottom:30px;font-size:40px}.text-success{color:#2ecc71}.text-error{color:#e74c3c}.continue-btn{color:#fff;cursor:pointer;background:#3498db;border:none;border-radius:50px;padding:15px 50px;font-size:22px;font-weight:700;box-shadow:0 4px #2980b9}@media (width<=600px){.result-screen h2{font-size:28px}.continue-btn{padding:12px 30px;font-size:18px}}.turn-splash,.category-splash,.earned-splash{flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;animation:.3s ease-out fadeInSplash;display:flex;position:absolute;top:0;left:0}.turn-splash{z-index:100;background:#0f172af2}.category-splash{z-index:90;background:#0f172ae6}.earned-splash{z-index:110;background:#0f172af2}.splash-avatar,.splash-icon,.earned-icon{margin-bottom:20px;font-size:120px;animation:.5s cubic-bezier(.175,.885,.32,1.275) popIn}.splash-text{color:#fff;text-align:center;text-shadow:0 4px 10px #00000080;font-size:36px;font-weight:900;animation:.5s ease-out slideUp}.earned-text{color:#f1c40f;text-align:center;text-shadow:0 4px 10px #00000080;margin-bottom:10px;font-size:32px;font-weight:900}.earned-subtext{color:#fff;font-size:20px;font-weight:700}.game-over-screen{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;animation:.5s ease-out fadeInSplash;display:flex}.game-over-title{text-shadow:0 4px 15px #00000080;margin-bottom:40px;font-size:48px;font-weight:900}.text-draw{color:#f1c40f}.game-over-stats{gap:40px;margin-bottom:50px;display:flex}.stat-box{background:#ffffff1a;border-radius:15px;min-width:120px;padding:20px 30px}.stat-label{color:#bdc3c7;margin-bottom:10px;font-size:18px}.stat-value{color:#fff;font-size:32px;font-weight:900}.restart-btn{color:#fff;cursor:pointer;background:#e94560;border:none;border-radius:50px;padding:15px 50px;font-size:22px;font-weight:700;transition:all .2s;box-shadow:0 6px #b8364b}.restart-btn:active{box-shadow:none;transform:translateY(6px)}@media (width<=600px){.game-over-title{font-size:32px}.game-over-stats{gap:20px}.stat-box{min-width:100px;padding:15px 20px}.stat-value{font-size:24px}.restart-btn{padding:12px 40px;font-size:18px}}.duel-screen{color:#333;background:#fff;flex-direction:column;flex:1;padding:20px;display:flex;overflow-y:auto}.duel-section{margin-bottom:20px}.duel-section h3{color:#16213e;margin-bottom:10px;font-size:18px}.duel-choices{grid-template-columns:1fr 1fr;gap:10px;display:grid}.duel-choices button{cursor:pointer;text-align:left;background:#f0f4f8;border:2px solid #e2e8f0;border-radius:8px;padding:10px;font-size:14px}.duel-choices button.selected{color:#fff;background:#3498db;border-color:#2980b9}.duel-actions{gap:10px;margin-top:auto;padding-top:20px;display:flex}.cancel-btn{color:#fff;cursor:pointer;background:#95a5a6;border:none;border-radius:10px;flex:1;padding:15px}.start-duel-btn{color:#fff;cursor:pointer;background:#e74c3c;border:none;border-radius:10px;flex:2;padding:15px;font-weight:700}.start-duel-btn:disabled{cursor:not-allowed;background:#bdc3c7}.duel-header{text-align:center;margin-bottom:20px}.duel-header h2{margin-bottom:5px;font-size:24px}.duel-player-turn{color:#e74c3c;margin-top:5px;font-weight:700}.duel-question p{margin-bottom:20px;font-size:20px;font-weight:700}.duel-result{text-align:center;margin:30px 0}.duel-result p{margin:10px 0;font-size:24px;font-weight:700}.duel-result-desc{color:#7f8c8d;font-size:16px!important;font-weight:400!important}.duel-stolen-char{background:#ffffff1a;border:2px solid #f1c40f;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;width:fit-content;margin:15px auto;padding:15px;display:flex}.stolen-icon{margin-bottom:5px;font-size:48px}.stolen-name{color:#f1c40f;font-size:18px;font-weight:700}.second-chance-screen{color:#333;text-align:center;background:#fff;flex-direction:column;flex:1;justify-content:center;align-items:center;width:100%;padding:30px;animation:.3s ease-out slideUp;display:flex}.second-chance-content{flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:500px;display:flex}.second-chance-icon{margin-bottom:10px;font-size:64px}.second-chance-title{color:#e74c3c;margin-bottom:15px;font-size:36px;font-weight:900}.second-chance-text{color:#555;margin-bottom:25px;font-size:18px;line-height:1.4}.second-chance-question{color:#333;background:#f0f4f8;border-radius:12px;width:100%;margin-bottom:20px;padding:20px;font-size:22px;font-weight:700}.second-chance-stats{color:#555;justify-content:center;gap:20px;margin-bottom:20px;font-size:16px;display:flex}.second-chance-main-actions{gap:10px;width:100%;margin-bottom:15px;display:flex}.accept-btn{color:#fff;cursor:pointer;border:none;border-radius:50px;flex:1;padding:18px;font-size:16px;font-weight:700;transition:all .2s}.accept-btn:active:not(:disabled){box-shadow:none;transform:translateY(4px)}.ad-btn{background:#e74c3c;box-shadow:0 4px #c0392b}.ad-btn:disabled{cursor:not-allowed;opacity:.7;background:#bdc3c7;box-shadow:0 4px #95a5a6}.ticket-btn{background:#f39c12;box-shadow:0 4px #d68910}.ticket-btn:disabled{cursor:not-allowed;opacity:.7;background:#bdc3c7;box-shadow:0 4px #95a5a6}.decline-btn{color:#fff;cursor:pointer;background:#34495e;border:none;border-radius:50px;width:100%;padding:15px;font-size:16px;font-weight:700;transition:all .2s;box-shadow:0 4px #2c3e50}.decline-btn:active{box-shadow:none;transform:translateY(4px)}.login-screen{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:30px;padding:20px;display:flex}.login-screen h1{color:#fff;margin-bottom:10px;font-size:36px}.login-subtitle{color:#bdc3c7;margin-bottom:20px;font-size:18px}.login-buttons{flex-direction:column;gap:15px;width:100%;max-width:300px;display:flex}.login-btn{cursor:pointer;border:none;border-radius:12px;padding:15px 30px;font-size:18px;font-weight:700;transition:all .2s}.login-btn.player1{color:#fff;background:#3498db;box-shadow:0 4px #2980b9}.login-btn.player2{color:#fff;background:#e74c3c;box-shadow:0 4px #c0392b}.login-btn:active{box-shadow:none;transform:translateY(4px)}.login-note{color:#7f8c8d;margin-top:20px;font-size:12px}*{box-sizing:border-box;-webkit-user-select:none;user-select:none;margin:0;padding:0}body{color:#fff;background:#0f172a;justify-content:center;align-items:center;min-height:100vh;font-family:Nunito,sans-serif;display:flex}.game-screen{background:linear-gradient(135deg,#1e293b 0%,#0f172a 100%);border-radius:12px;flex-direction:column;width:600px;height:800px;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 40px #000c}.main-board{flex:1;justify-content:center;align-items:center;padding:10px;display:flex}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInSplash{0%{opacity:0}to{opacity:1}}@keyframes popIn{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@media (width<=600px){body{align-items:flex-start}.game-screen{width:100%;height:100dvh;box-shadow:none;border-radius:0}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}*{box-sizing:border-box;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;margin:0;padding:0}body{color:#333;background:linear-gradient(135deg,#1e3c72 0%,#2a5298 100%);justify-content:center;align-items:flex-start;min-height:100vh;padding:20px;font-family:Nunito,sans-serif;display:flex;overflow-x:hidden}
