.toast-container{position:fixed;top:20px;right:20px;z-index:10000;display:flex;flex-direction:column;gap:12px;max-width:400px}.toast{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#fff;border-radius:12px;box-shadow:0 8px 32px #00000026;position:relative;overflow:hidden;animation:slideIn .3s ease}.toast-icon{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.toast-icon svg{width:20px;height:20px}.toast-success .toast-icon{background:linear-gradient(135deg,#10b981,#059669)}.toast-success .toast-icon svg{stroke:#fff}.toast-error .toast-icon{background:linear-gradient(135deg,#ef4444,#dc2626)}.toast-error .toast-icon svg{stroke:#fff}.toast-warning .toast-icon{background:linear-gradient(135deg,#f59e0b,#d97706)}.toast-warning .toast-icon svg{stroke:#fff}.toast-info .toast-icon{background:linear-gradient(135deg,#3b82f6,#2563eb)}.toast-info .toast-icon svg{stroke:#fff}.toast-celebration .toast-icon{background:linear-gradient(135deg,#8b5cf6,#7c3aed);animation:pulse 2s ease-in-out infinite}.toast-celebration .toast-icon svg{stroke:#fff}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.toast-content{flex:1;display:flex;flex-direction:column;gap:4px}.toast-title{font-size:14px;font-weight:700;color:#1a1a2e}.toast-message{font-size:13px;color:#666;line-height:1.4}.toast-close{width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;opacity:.5;transition:opacity .2s;flex-shrink:0}.toast-close:hover{opacity:1}.toast-close svg{width:16px;height:16px;stroke:#666}.toast-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#f0f0f0}.toast-progress-bar{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);animation:shrink 5s linear forwards}@keyframes shrink{0%{width:100%}to{width:0%}}.toast-success .toast-progress-bar{background:linear-gradient(90deg,#10b981,#059669)}.toast-warning .toast-progress-bar{background:linear-gradient(90deg,#f59e0b,#d97706)}.toast-celebration .toast-progress-bar{background:linear-gradient(90deg,#8b5cf6,#7c3aed);animation:shrink 5s linear forwards,rainbow 2s linear infinite}@keyframes rainbow{0%{filter:hue-rotate(0deg)}to{filter:hue-rotate(360deg)}}@media (max-width: 480px){.toast-container{left:16px;right:16px;top:16px;max-width:none}.toast{padding:12px}}.bible-verse-popup{position:fixed;bottom:24px;right:24px;max-width:380px;background:linear-gradient(135deg,#6b5b95,#9b8fc2);border-radius:16px;padding:20px 24px;box-shadow:0 12px 40px #6b5b9566;z-index:9999;animation:slideIn .5s ease-out;color:#fff}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.verse-close-btn{position:absolute;top:8px;right:12px;background:none;border:none;color:#ffffffb3;font-size:24px;cursor:pointer;line-height:1;padding:0;transition:color .2s}.verse-close-btn:hover{color:#fff}.verse-content{padding-right:16px}.verse-text{font-size:15px;font-style:italic;line-height:1.6;margin:0 0 12px;font-weight:500}.verse-reference{font-size:13px;margin:0;font-weight:600;opacity:.9}@media (max-width: 480px){.bible-verse-popup{left:16px;right:16px;bottom:16px;max-width:none}}.countdown-container{position:fixed;top:0;left:0;right:0;z-index:10000;display:flex;justify-content:center;pointer-events:none}.countdown-container.active{pointer-events:auto}.countdown-content{background:linear-gradient(135deg,#1a1a2e,#16213e);padding:16px 32px;border-radius:0 0 16px 16px;box-shadow:0 8px 32px #8b5cf64d;display:flex;flex-direction:column;align-items:center;gap:8px;animation:countdownSlideDown .5s ease}@keyframes countdownSlideDown{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.countdown-title{font-size:14px;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:2px}.countdown-timer{display:flex;align-items:center;gap:8px}.countdown-block{display:flex;flex-direction:column;align-items:center;min-width:48px}.countdown-value{font-size:32px;font-weight:800;font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;color:#fff;text-shadow:0 0 20px rgba(139,92,246,.5);animation:numberGlow 1s ease-in-out infinite}@keyframes numberGlow{0%,to{text-shadow:0 0 20px rgba(139,92,246,.5)}50%{text-shadow:0 0 30px rgba(139,92,246,.8),0 0 40px rgba(139,92,246,.4)}}.countdown-label{font-size:10px;color:#ffffffb3;text-transform:uppercase;letter-spacing:1px;margin-top:4px}.countdown-separator{font-size:28px;font-weight:700;color:#8b5cf6;margin-bottom:20px;animation:separatorPulse 1s ease-in-out infinite}@keyframes separatorPulse{0%,to{opacity:1}50%{opacity:.3}}.countdown-fireworks{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;overflow:hidden}.countdown-fireworks span{position:absolute;width:6px;height:6px;background:#fffc;border-radius:50%;animation:fireworkParticle 2s ease-out infinite}.countdown-fireworks span:nth-child(1){left:10%;top:20%;animation-delay:0s;background:#ec4899}.countdown-fireworks span:nth-child(2){left:20%;top:40%;animation-delay:.3s;background:#8b5cf6}.countdown-fireworks span:nth-child(3){left:80%;top:30%;animation-delay:.6s;background:#f59e0b}.countdown-fireworks span:nth-child(4){left:90%;top:50%;animation-delay:.9s;background:#10b981}.countdown-fireworks span:nth-child(5){left:50%;top:10%;animation-delay:1.2s;background:#3b82f6}@keyframes fireworkParticle{0%{transform:translateY(0) scale(1);opacity:1}to{transform:translateY(100px) scale(0);opacity:0}}@media (max-width: 480px){.countdown-content{padding:12px 20px;border-radius:0 0 12px 12px}.countdown-title{font-size:12px}.countdown-value{font-size:24px}.countdown-block{min-width:36px}.countdown-label{font-size:8px}.countdown-separator{font-size:20px;margin-bottom:16px}}.countdown-wrapper.urgent{background:linear-gradient(135deg,#fff5f5,#ffe8e8);animation:urgentPulse 2s ease-in-out infinite}@keyframes urgentPulse{0%,to{box-shadow:0 0 #ff6b6b66}50%{box-shadow:0 0 20px 4px #ff6b6b4d}}.countdown-glow{position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(102,126,234,.1) 0%,transparent 70%);animation:glowRotate 8s linear infinite;pointer-events:none}@keyframes glowRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.countdown{display:flex;align-items:center;gap:8px;position:relative;z-index:1}.countdown-item{display:flex;flex-direction:column;align-items:center;min-width:56px}.countdown-item.seconds .countdown-value{color:#667eea}.countdown-wrapper.urgent .countdown-item.seconds .countdown-value{color:#ff6b6b}.countdown-value-wrapper{position:relative;display:flex;align-items:center;justify-content:center}.countdown-value{font-size:28px;font-weight:800;font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;color:#1a1a2e;position:relative;z-index:2;text-shadow:0 2px 4px rgba(0,0,0,.1)}.value-reflection{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scaleY(-1);font-size:28px;font-weight:800;font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;color:#667eea26;pointer-events:none}.countdown-wrapper.urgent .countdown-value{color:#c62828}.countdown-wrapper.urgent .value-reflection{color:#ff6b6b33}.countdown-value-wrapper.number-change{animation:numberPop .3s ease-out}@keyframes numberPop{0%{transform:scale(1)}50%{transform:scale(1.15)}to{transform:scale(1)}}.animate-scale{animation:scaleBreath 3s ease-in-out infinite}@keyframes scaleBreath{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}.countdown-label{font-size:10px;color:#888;text-transform:uppercase;letter-spacing:1.5px;font-weight:600;margin-top:4px}.countdown-wrapper.urgent .countdown-label{color:#c62828}.countdown-separator{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.separator-dot{width:6px;height:6px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;animation:separatorPulse 1s ease-in-out infinite}.separator-dot:last-child{animation-delay:.5s}@keyframes separatorPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}.countdown-particles{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.countdown-particles span{position:absolute;width:4px;height:4px;background:#667eea66;border-radius:50%;animation:particleFloat 4s ease-in-out infinite}.countdown-particles span:nth-child(1){left:10%;top:10%;animation-delay:0s}.countdown-particles span:nth-child(2){right:15%;top:20%;animation-delay:1s}.countdown-particles span:nth-child(3){left:20%;bottom:15%;animation-delay:2s}.countdown-particles span:nth-child(4){right:25%;bottom:10%;animation-delay:2.5s}.countdown-particles span:nth-child(5){left:50%;top:5%;animation-delay:3s}@keyframes particleFloat{0%,to{opacity:0;transform:translateY(0) scale(1)}50%{opacity:1;transform:translateY(-10px) scale(1.2)}}.countdown.expired{display:flex;align-items:center;justify-content:center;gap:12px;padding:20px 32px;background:linear-gradient(135deg,#ffebee,#ffcdd2);border-radius:12px;position:relative;overflow:hidden;animation:expiredPulse 2s ease-in-out infinite}@keyframes expiredPulse{0%,to{box-shadow:0 0 #ff52524d}50%{box-shadow:0 0 20px 4px #ff525233}}.countdown.expired .expired-icon{width:28px;height:28px;background:#c62828;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") no-repeat center;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") no-repeat center;-webkit-mask-size:contain;mask-size:contain;animation:bellShake .5s ease-in-out infinite}@keyframes bellShake{0%,to{transform:rotate(0)}25%{transform:rotate(-15deg)}75%{transform:rotate(15deg)}}.countdown.expired .expired-text{font-size:14px;font-weight:700;color:#c62828;text-transform:uppercase;letter-spacing:1px}.countdown.expired .expired-particles{position:absolute;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle,rgba(255,82,82,.1) 0%,transparent 70%);animation:expiredGlow 3s ease-in-out infinite}@keyframes expiredGlow{0%,to{opacity:.5;transform:scale(1)}50%{opacity:1;transform:scale(1.1)}}@media (max-width: 768px){.countdown-wrapper{padding:12px 16px}.countdown-item{min-width:44px;min-height:50px}.countdown-value,.value-reflection{font-size:22px}.countdown-label{font-size:9px}.countdown-separator{gap:4px;margin-bottom:12px}.separator-dot{width:5px;height:5px}}.festive-banner{padding:16px 24px;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden;margin-bottom:20px}.festive-banner:hover{transform:translateY(-2px);box-shadow:0 8px 24px #00000026}.festive-content{display:flex;align-items:center;gap:12px;z-index:1}.festive-emoji{font-size:32px;animation:bounce 2s ease-in-out infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.festive-title{font-size:18px;font-weight:700;color:#1a1a2e}.festive-message{font-size:14px;color:#666}.festive-sparkles{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.festive-sparkles span{position:absolute;width:8px;height:8px;background:var(--festive-primary, #ec4899);border-radius:50%;opacity:0;animation:sparkle 2s ease-in-out infinite}.festive-sparkles span:nth-child(1){left:10%;top:20%;animation-delay:0s}.festive-sparkles span:nth-child(2){left:30%;top:60%;animation-delay:.3s}.festive-sparkles span:nth-child(3){left:50%;top:10%;animation-delay:.6s}.festive-sparkles span:nth-child(4){left:70%;top:50%;animation-delay:.9s}.festive-sparkles span:nth-child(5){left:90%;top:30%;animation-delay:1.2s}@keyframes sparkle{0%,to{opacity:0;transform:scale(0)}50%{opacity:1;transform:scale(1)}}@media (max-width: 768px){.festive-banner{padding:12px 16px}.festive-content{gap:8px}.festive-emoji{font-size:24px}.festive-title{font-size:14px}.festive-message{font-size:12px;display:none}.festive-sparkles span{width:6px;height:6px}}.landing-container{min-height:100vh;background:#f5f7fa;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.landing-background{position:absolute;top:0;left:0;right:0;bottom:0;overflow:hidden}.landing-shape{position:absolute;border-radius:50%;opacity:.1}.shape-1{width:600px;height:600px;background:linear-gradient(135deg,#667eea,#764ba2);top:-200px;right:-100px;animation:float 20s ease-in-out infinite}.shape-2{width:400px;height:400px;background:linear-gradient(135deg,#667eea,#764ba2);bottom:-100px;left:-100px;animation:float 15s ease-in-out infinite reverse}.shape-3{width:300px;height:300px;background:linear-gradient(135deg,#667eea,#764ba2);top:50%;left:50%;transform:translate(-50%,-50%);animation:float 18s ease-in-out infinite 2s}@keyframes float{0%,to{transform:translateY(0) rotate(0)}25%{transform:translateY(-20px) rotate(5deg)}50%{transform:translateY(0) rotate(0)}75%{transform:translateY(20px) rotate(-5deg)}}.landing-content{position:relative;z-index:1;width:100%;max-width:480px;padding:40px 20px}.landing-header{text-align:center;margin-bottom:32px}.landing-logo{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:16px}.logo-icon{width:48px;height:48px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;position:relative}.logo-icon:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:24px;height:24px;background:#fff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E") no-repeat center;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E") no-repeat center;-webkit-mask-size:contain;mask-size:contain}.logo-text{font-size:32px;font-weight:700;color:#1a1a2e}.landing-tagline{font-size:16px;color:#666;margin:0}.auth-card{background:#fff;border-radius:16px;box-shadow:0 4px 24px #0000001a;overflow:hidden}.auth-tabs{display:flex;border-bottom:1px solid #f0f0f0}.auth-tab{flex:1;padding:16px;border:none;background:none;font-size:14px;font-weight:600;color:#888;cursor:pointer;transition:all .2s;position:relative}.auth-tab:hover,.auth-tab.active{color:#667eea}.auth-tab.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:linear-gradient(135deg,#667eea,#764ba2)}.auth-error{padding:12px 24px;background:#fee;color:#c62828;font-size:13px;margin:0}.auth-form{padding:24px}.form-group input{width:100%;padding:14px 16px;border:2px solid #e8e8e8;border-radius:10px;font-size:14px;transition:all .2s;outline:none}.form-group input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input::placeholder{color:#aaa}.auth-submit{width:100%;padding:14px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s;margin-bottom:16px}.auth-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.auth-submit:disabled{opacity:.7;cursor:not-allowed}.auth-switch{text-align:center;font-size:14px;color:#666;margin:0}.auth-switch button{background:none;border:none;color:#667eea;font-weight:600;cursor:pointer;padding:0;font-size:14px}.auth-switch button:hover{text-decoration:underline}.landing-features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}.feature-item{text-align:center;padding:20px 12px;background:#fff;border-radius:12px;box-shadow:0 2px 12px #0000000f;transition:all .3s}.feature-item:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001a}.feature-icon{width:48px;height:48px;margin:0 auto 12px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;position:relative}.feature-icon:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:24px;height:24px;background:#fff;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.feature-item:nth-child(1) .feature-icon:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E")}.feature-item:nth-child(2) .feature-icon:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E")}.feature-item:nth-child(3) .feature-icon:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M18 20V10'/%3E%3Cpath d='M12 20V4'/%3E%3Cpath d='M6 20v-6'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M18 20V10'/%3E%3Cpath d='M12 20V4'/%3E%3Cpath d='M6 20v-6'/%3E%3C/svg%3E")}.feature-item h3{font-size:14px;font-weight:700;color:#1a1a2e;margin:0 0 8px}.feature-item p{font-size:12px;color:#888;margin:0;line-height:1.5}@media (max-width: 768px){.landing-features{grid-template-columns:1fr}.shape-1,.shape-2{opacity:.05}.landing-content{padding:20px}}.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;padding:20px}.auth-wrapper{width:100%;max-width:400px;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;padding:40px 30px;animation:slideUp .5s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.auth-header{text-align:center;margin-bottom:30px}.auth-header h1{font-size:28px;font-weight:700;color:#1a1a2e;margin:0 0 8px}.auth-header p{font-size:14px;color:#888;margin:0}.auth-form{display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column}.form-group label{font-size:13px;font-weight:600;color:#333;margin-bottom:6px}.form-group input{padding:12px 14px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;transition:all .3s ease}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.error-message{padding:12px;background:#fee;color:#c33;border-radius:6px;font-size:13px;border-left:3px solid #c33}.submit-button{padding:12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:8px}.submit-button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.auth-footer{text-align:center;margin-top:20px;font-size:13px;color:#666}.auth-footer p{margin:8px 0}.auth-footer a{color:#667eea;text-decoration:none;font-weight:600}.auth-footer a:hover{text-decoration:underline}.back-link{margin-top:16px!important;padding-top:16px;border-top:1px solid #f0f0f0}@media (max-width: 480px){.auth-wrapper{padding:30px 20px}.auth-header h1{font-size:24px}}.rewards-display{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 12px #00000014}.rewards-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.rewards-header h2{font-size:18px;font-weight:700;color:#1a1a2e;margin:0}.total-xp{font-size:14px;font-weight:600;color:#667eea}.progress-items{display:flex;flex-direction:column;gap:12px}.progress-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#f8fafc;border-radius:10px}.progress-item .progress-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;position:relative}.progress-item .progress-icon:before{content:"";width:20px;height:20px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.progress-label{font-size:13px;color:#888;min-width:80px}.progress-value{font-size:18px;font-weight:700;color:#1a1a2e}.level-item .progress-icon{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 12px #f59e0b4d}.level-item .progress-icon:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E")}.level-value{font-size:24px;color:#f59e0b}.xp-item{flex-direction:column;align-items:stretch;gap:8px}.xp-item .progress-label{min-width:auto}.xp-bar{width:100%;height:10px;background:#e5e7eb;border-radius:5px;overflow:hidden}.xp-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:5px;transition:width .3s ease}.xp-text{font-size:12px;color:#888;text-align:center}.streak-item .progress-icon{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 4px 12px #ef44444d;animation:streakPulse 2s ease-in-out infinite}.streak-item .progress-icon:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6c.5 2 2 4 2 6-.5.5-1 1-1.5 1.5 2.5.5 3.5 1 4.5 2 .5-.5 1-1.5 1.5-1 1 1 2 1 3 1v4.5c0 1 1 2 2 2.5.5-.5 1.5 0 2.5-.5 1-1 2-2 3-3V4c0-1.5-1-2.5-2-3.5A5.5 5.5 0 0 0 8.5 14.5z'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6c.5 2 2 4 2 6-.5.5-1 1-1.5 1.5 2.5.5 3.5 1 4.5 2 .5-.5 1-1.5 1.5-1 1 1 2 1 3 1v4.5c0 1 1 2 2 2.5.5-.5 1.5 0 2.5-.5 1-1 2-2 3-3V4c0-1.5-1-2.5-2-3.5A5.5 5.5 0 0 0 8.5 14.5z'/%3E%3C/svg%3E")}.streak-item .progress-value{color:#ef4444}.best-streak-item .progress-icon{background:linear-gradient(135deg,#eab308,#ca8a04);box-shadow:0 4px 12px #eab3084d}.best-streak-item .progress-icon:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E")}.best-streak-item .progress-value{color:#eab308}@keyframes streakPulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.badges-section{margin-top:20px;padding-top:20px;border-top:1px solid #f0f0f0}.badges-header{display:flex;align-items:center;gap:12px;cursor:pointer;padding:8px 0}.badges-header h3{font-size:15px;font-weight:600;color:#1a1a2e;margin:0;flex:1}.badge-count{font-size:12px;color:#888}.toggle-icon{width:16px;height:16px;background:#888;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .3s ease}.toggle-icon.open{transform:rotate(180deg)}.badges-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.badge-card{display:flex;flex-direction:column;align-items:center;padding:16px 8px;border-radius:12px;text-align:center}.badge-card.unlocked{background:linear-gradient(135deg,#f0fdf4,#dcfce7)}.badge-card.locked{background:#f8fafc;opacity:.7}.badge-card .badge-icon{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;margin-bottom:8px}.badge-card.unlocked .badge-icon{animation:badgeFloat 3s ease-in-out infinite}@keyframes badgeFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.badge-card .badge-icon:before{content:"";width:24px;height:24px;background:#fff;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.badge-icon.badge-1{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 12px #10b9814d}.badge-icon.badge-2{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 4px 12px #3b82f64d}.badge-icon.badge-3{background:linear-gradient(135deg,#8b5cf6,#7c3aed);box-shadow:0 4px 12px #8b5cf64d}.badge-icon.badge-4{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 12px #f59e0b4d}.badge-icon.badge-5{background:linear-gradient(135deg,#06b6d4,#0891b2);box-shadow:0 4px 12px #06b6d44d}.badge-icon.badge-6{background:linear-gradient(135deg,#6366f1,#4f46e5);box-shadow:0 4px 12px #6366f14d}.badge-icon.badge-7{background:linear-gradient(135deg,#ec4899,#db2777);box-shadow:0 4px 12px #ec48994d}.badge-icon.badge-8{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 4px 12px #ef44444d}.badge-icon.badge-9{background:linear-gradient(135deg,#eab308,#ca8a04);box-shadow:0 4px 12px #eab3084d}.badge-icon.badge-10{background:linear-gradient(135deg,#14b8a6,#0d9488);box-shadow:0 4px 12px #14b8a64d}.badge-icon.badge-11{background:linear-gradient(135deg,#f97316,#ea580c);box-shadow:0 4px 12px #f973164d}.badge-icon.badge-12{background:linear-gradient(135deg,#64748b,#475569);box-shadow:0 4px 12px #64748b4d}.badge-icon.badge-1:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v4m0 12v4M4.93 4.93l2.83 2.83m8.48 8.48l2.83 2.83M2 12h4m12 0h4M4.93 19.07l2.83-2.83m8.48-8.48l2.83-2.83'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v4m0 12v4M4.93 4.93l2.83 2.83m8.48 8.48l2.83 2.83M2 12h4m12 0h4M4.93 19.07l2.83-2.83m8.48-8.48l2.83-2.83'/%3E%3C/svg%3E")}.badge-icon.badge-2:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E")}.badge-icon.badge-3:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E")}.badge-icon.badge-4:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M15.477 12.89L17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M15.477 12.89L17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E")}.badge-icon.badge-5:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E")}.badge-icon.badge-6:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2' ry='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2' ry='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E")}.badge-icon.badge-7:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E")}.badge-icon.badge-8:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6c.5 2 2 4 2 6-.5.5-1 1-1.5 1.5 2.5.5 3.5 1 4.5 2 .5-.5 1-1.5 1.5-1 1 1 2 1 3 1v4.5c0 1 1 2 2 2.5.5-.5 1.5 0 2.5-.5 1-1 2-2 3-3V4c0-1.5-1-2.5-2-3.5A5.5 5.5 0 0 0 8.5 14.5z'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6c.5 2 2 4 2 6-.5.5-1 1-1.5 1.5 2.5.5 3.5 1 4.5 2 .5-.5 1-1.5 1.5-1 1 1 2 1 3 1v4.5c0 1 1 2 2 2.5.5-.5 1.5 0 2.5-.5 1-1 2-2 3-3V4c0-1.5-1-2.5-2-3.5A5.5 5.5 0 0 0 8.5 14.5z'/%3E%3C/svg%3E")}.badge-icon.badge-9:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E")}.badge-icon.badge-10:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E")}.badge-icon.badge-11:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E")}.badge-icon.badge-12:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E")}.badge-name{font-size:10px;font-weight:600;color:#1a1a2e;margin-bottom:4px}.badge-xp{font-size:10px;font-weight:600;color:#10b981}.badge-description{font-size:9px;color:#888}.badge-locked{width:20px;height:20px;background:#94a3b8;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center/contain no-repeat}.rewards-loading{text-align:center;padding:40px;color:#888}.rewards-display.compact{padding:16px}.rewards-display.compact .xp-section{display:flex;align-items:center;gap:12px}.rewards-display.compact .level-badge{width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,#f59e0b,#d97706);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #f59e0b4d}.rewards-display.compact .level-number{font-size:20px;font-weight:700;color:#fff}.rewards-display.compact .xp-info{flex:1}.rewards-display.compact .xp-bar{width:100%;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:4px}.rewards-display.compact .xp-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:4px}.rewards-display.compact .xp-text{font-size:11px;color:#888}.rewards-display.compact .streak-badge{display:flex;align-items:center;gap:8px;padding:8px 12px;background:linear-gradient(135deg,#fef3c7,#fde68a);border-radius:8px}.rewards-display.compact .streak-icon{width:24px;height:24px;background:linear-gradient(135deg,#ef4444,#dc2626);border-radius:6px}.rewards-display.compact .streak-count{font-size:16px;font-weight:700;color:#f59e0b}.project-countdown{margin-top:12px;padding:12px;background:#f8fafc;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:8px}.project-countdown.normal{border-left:3px solid #10b981}.project-countdown.warning{border-left:3px solid #f59e0b;background:linear-gradient(90deg,#fef3c7,#f8fafc 30%)}.project-countdown.urgent{border-left:3px solid #ef4444;background:linear-gradient(90deg,#fef2f2,#f8fafc 30%);animation:urgentPulse 2s ease-in-out infinite}.project-countdown.overdue{border-left:3px solid #dc2626;background:linear-gradient(90deg,#fee2e2,#f8fafc 30%)}@keyframes urgentPulse{0%,to{box-shadow:0 0 #ef444433}50%{box-shadow:0 0 10px #ef44444d}}.project-countdown.small{padding:8px}.project-countdown.small .countdown-value{font-size:16px}.project-countdown.small .countdown-label{font-size:8px}.countdown-blocks{display:flex;align-items:center;gap:4px}.countdown-block{display:flex;flex-direction:column;align-items:center;min-width:28px}.countdown-value{font-size:18px;font-weight:700;font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;color:#1a1a2e}.project-countdown.urgent .countdown-value{color:#ef4444}.project-countdown.warning .countdown-value{color:#f59e0b}.project-countdown.overdue .countdown-value{color:#dc2626}.countdown-label{font-size:9px;color:#888;text-transform:uppercase;letter-spacing:.5px}.countdown-block.separator{min-width:auto;padding:0 2px;font-size:16px;font-weight:700;color:#ccc}.overdue-badge{padding:4px 8px;background:#dc2626;color:#fff;font-size:10px;font-weight:700;border-radius:4px;text-transform:uppercase;letter-spacing:.5px;animation:blink 1s ease-in-out infinite}@keyframes blink{0%,to{opacity:1}50%{opacity:.6}}.project-countdown .due-label{font-size:10px;color:#888;text-transform:uppercase;letter-spacing:.5px}@media (max-width: 768px){.project-countdown{padding:8px}.countdown-value{font-size:14px}.countdown-label{font-size:7px}.countdown-block{min-width:22px}}.dashboard-container{min-height:100vh;background:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.dashboard-header{background:#fff;padding:16px 40px;box-shadow:0 2px 8px #0000000f}.header-content{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.header-content h1{font-size:24px;font-weight:700;color:#1a1a2e;margin:0}.user-info{display:flex;align-items:center;gap:16px}.user-name{font-weight:600;color:#333;cursor:pointer;transition:color .2s}.logout-btn{padding:8px 16px;background:#ff6b6b;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:background .2s}.section-controls{display:flex;align-items:center;gap:16px}.view-controls{display:flex;align-items:center;gap:12px}.control-select{padding:8px 12px;border:1px solid #e0e0e0;border-radius:6px;background:#fff;font-size:14px;cursor:pointer;transition:border-color .2s}.control-select:hover{border-color:#667eea}.control-btn{padding:8px 12px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s}.control-btn:hover{background:#667eea;color:#fff;border-color:#667eea}.view-toggle{display:flex;background:#f8f9fa;border-radius:6px;padding:2px}.view-btn{padding:6px 12px;background:transparent;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;color:#666;transition:all .2s}.view-btn.active{background:#fff;color:#667eea;box-shadow:0 1px 3px #0000001a}.project-group{margin-bottom:32px}.group-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #f0f0f0}.group-header h3{font-size:18px;font-weight:600;color:#333;margin:0}.group-count{font-size:14px;color:#888;background:#f8f9fa;padding:4px 8px;border-radius:12px}.projects-list{display:flex;flex-direction:column;gap:12px}.project-card-list{display:flex;align-items:center;padding:16px 20px;gap:16px}.customize-btn{padding:8px 12px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;cursor:pointer;font-size:16px;transition:all .2s}.customize-btn:hover{background:#667eea;color:#fff;border-color:#667eea}.customization-panel{background:#fff;border-top:1px solid #e0e0e0;padding:20px 40px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.customization-section h4{font-size:14px;font-weight:600;color:#333;margin:0 0 12px;text-transform:uppercase;letter-spacing:.5px}.theme-options,.layout-options{display:flex;flex-direction:column;gap:8px}.theme-btn,.layout-btn{padding:10px 16px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s;text-align:left}.theme-btn:hover,.layout-btn:hover{background:#e9ecef;border-color:#667eea}.theme-btn.active,.layout-btn.active{background:#667eea;color:#fff;border-color:#667eea}.widget-toggles{display:flex;flex-direction:column;gap:10px}.widget-toggle{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:#333}.widget-toggle input[type=checkbox]{width:16px;height:16px;accent-color:#667eea}.quick-actions{background:#fff;border-radius:12px;padding:20px;margin-bottom:24px;box-shadow:0 2px 8px #0000000f}.quick-actions h3{font-size:16px;font-weight:600;color:#333;margin:0 0 16px}.action-buttons{display:flex;gap:12px;flex-wrap:wrap}.action-btn{padding:10px 16px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s;white-space:nowrap}.action-btn:hover{background:#667eea;color:#fff;border-color:#667eea;transform:translateY(-1px)}.theme-dark{background:#1a1a2e;color:#e0e0e0}.theme-dark .dashboard-container{background:#1a1a2e}.theme-dark .dashboard-header,.theme-dark .project-card,.theme-dark .stat-card,.theme-dark .quick-actions,.theme-dark .customization-panel{background:#2d2d44;color:#e0e0e0;border-color:#404040}.theme-dark .project-header h3,.theme-dark .customization-section h4,.theme-dark .quick-actions h3{color:#e0e0e0}.theme-dark .project-description{color:#b0b0b0}.theme-dark .control-select,.theme-dark .control-btn,.theme-dark .theme-btn,.theme-dark .layout-btn,.theme-dark .action-btn{background:#404040;color:#e0e0e0;border-color:#555}.theme-dark .control-select:hover,.theme-dark .control-btn:hover,.theme-dark .theme-btn:hover,.theme-dark .layout-btn:hover,.theme-dark .action-btn:hover{background:#555;border-color:#667eea}.layout-compact .dashboard-container{font-size:13px}.layout-compact .project-card,.layout-compact .stat-card,.layout-compact .quick-actions{padding:16px}.layout-compact .customization-panel{padding:16px 32px}.layout-wide .dashboard-content{max-width:1600px;margin:0 auto}.layout-wide .projects-grid{grid-template-columns:repeat(auto-fill,minmax(380px,1fr))}.layout-wide .dashboard-sidebar{width:320px}.filter-controls{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap;align-items:center}.filter-select,.filter-search{padding:8px 12px;border:1px solid #e0e0e0;border-radius:6px;background:#fff;font-size:14px;transition:border-color .2s}.filter-select{min-width:120px;cursor:pointer}.filter-search{flex:1;min-width:200px}.filter-select:hover,.filter-search:hover{border-color:#667eea}.empty-state{text-align:center;padding:60px 20px;color:#666}.empty-state p{font-size:16px;margin-bottom:20px}.empty-state .primary-btn{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.empty-state .primary-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.filter-clear{padding:8px 16px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.filter-clear:hover{background:#ff6b6b;color:#fff;border-color:#ff6b6b}.filter-summary{margin-bottom:20px;padding:12px;background:#f8f9fa;border-radius:6px;font-size:14px;color:#666}.filter-summary span{background:#667eea;color:#fff;padding:4px 8px;border-radius:12px;margin-right:8px;font-size:12px}.project-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px #0000000f;cursor:pointer;transition:all .3s ease;border:1px solid #f0f0f0}.project-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001f;border-color:#667eea}.project-card-list{display:flex;align-items:center;padding:16px 20px;gap:16px;border-bottom:1px solid #f0f0f0}.project-card-list:last-child{border-bottom:none}.project-card-list .project-header{flex:1;margin-bottom:0}.project-card-list .project-description{flex:2;margin:0}.project-card-list .project-footer{flex:1;justify-content:flex-end}.priority-badge{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase}.priority-high{background:#fee;color:#c33}.priority-medium{background:#fff3cd;color:#856404}.priority-low{background:#d4edda;color:#155724}.project-progress{margin-top:12px;display:flex;align-items:center;gap:8px}.progress-bar{flex:1;height:6px;background:#f0f0f0;border-radius:3px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:3px;transition:width .3s ease}.progress-text{font-size:12px;font-weight:600;color:#667eea;min-width:35px;text-align:right}.project-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.project-header h3{font-size:16px;font-weight:600;color:#333;margin:0;line-height:1.3;flex:1}.status-badge{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase;white-space:nowrap}.status-active{background:#d4edda;color:#155724}.status-completed{background:#cce5ff;color:#004085}.status-paused{background:#fff3cd;color:#856404}.status-planning{background:#e2e3e5;color:#383d41}.project-description{font-size:14px;color:#666;line-height:1.4;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.project-footer{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#888;margin-top:12px}.project-footer span{display:flex;align-items:center;gap:4px}@media (max-width: 768px){.section-controls{flex-direction:column;align-items:stretch;gap:12px}.view-controls{flex-wrap:wrap;gap:8px}.control-select,.control-btn{flex:1;min-width:120px}.projects-grid{grid-template-columns:1fr}.project-card-list{flex-direction:column;align-items:stretch;gap:12px}.project-card-list .project-header,.project-card-list .project-description,.project-card-list .project-footer{flex:1}.customization-panel{grid-template-columns:1fr;padding:16px 20px}.action-buttons{flex-direction:column}.action-btn{width:100%;text-align:center}.filter-controls{flex-direction:column;align-items:stretch;gap:8px}.filter-select,.filter-search{min-width:auto}}.dashboard-content{display:flex;gap:24px;max-width:1400px;margin:0 auto;padding:24px 40px}.dashboard-main{flex:1;min-width:0}.dashboard-sidebar{width:340px;flex-shrink:0}.dashboard-welcome{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.dashboard-welcome h2{font-size:28px;font-weight:700;color:#1a1a2e;margin:0 0 8px}.dashboard-welcome p{font-size:16px;color:#666;margin:0}.quick-stats{display:flex;gap:16px}.quick-stat{display:flex;flex-direction:column;align-items:center;padding:12px 20px;background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000000f}.quick-stat-value{font-size:24px;font-weight:700;color:#1a1a2e}.quick-stat-label{font-size:11px;color:#888;margin-top:4px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.stat-card{background:#fff;border-radius:12px;padding:20px;display:flex;align-items:center;gap:16px;box-shadow:0 2px 8px #00000014;transition:all .3s ease}.stat-icon{font-size:32px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px}.stat-icon.project-icon{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 4px 16px #3b82f64d}.stat-icon.project-icon:after{content:"";width:24px;height:24px;background:#fff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center/contain no-repeat}.stat-icon.complete-icon{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 16px #10b9814d}.stat-icon.complete-icon:after{content:"";width:24px;height:24px;background:#fff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center/contain no-repeat}.stat-content h3{font-size:13px;font-weight:600;color:#888;margin:0;text-transform:uppercase}.stat-number{font-size:28px;font-weight:700;color:#1a1a2e;margin:4px 0 0}.dashboard-section{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #00000014}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;border-bottom:2px solid #f0f0f0;padding-bottom:16px}.section-header h2{font-size:20px;font-weight:700;color:#1a1a2e;margin:0}.create-btn,.primary-btn{padding:10px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .3s ease}.create-btn:hover,.primary-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.loading{text-align:center;padding:40px;color:#888}.empty-state{text-align:center;padding:60px 40px;color:#888}.empty-state p{margin-bottom:20px}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.project-card{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border-radius:12px;padding:20px;cursor:pointer;transition:all .3s ease;border:1px solid #e8eef5}.project-card:hover{transform:translateY(-8px);box-shadow:0 12px 32px #00000026}.project-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:12px}.project-header h3{font-size:18px;font-weight:700;color:#1a1a2e;margin:0}.status-badge{padding:4px 8px;border-radius:6px;font-size:11px;font-weight:600;text-transform:uppercase}.project-description{font-size:13px;color:#555;margin:0 0 16px;line-height:1.5}.project-footer{display:flex;gap:16px;font-size:12px;color:#666;padding-top:12px;border-top:1px solid rgba(0,0,0,.05)}@media (max-width: 1200px){.dashboard-content{flex-direction:column}.dashboard-sidebar{width:100%}}@media (max-width: 768px){.dashboard-header,.dashboard-content{padding-left:20px;padding-right:20px}.dashboard-welcome{flex-direction:column;gap:16px}.quick-stats{width:100%;justify-content:space-between}.quick-stat{flex:1;padding:10px 12px}.quick-stat-value{font-size:20px}.stats-grid{grid-template-columns:1fr}}.projects-container{min-height:100vh;background:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.projects-header{background:#fff;padding:16px 40px;box-shadow:0 2px 8px #0000000f;display:flex;justify-content:space-between;align-items:center}.header-left{display:flex;align-items:center;gap:16px}.projects-header h1{font-size:24px;font-weight:700;color:#1a1a2e;margin:0}.projects-header .create-btn{padding:10px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.projects-header .create-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.projects-content{max-width:1400px;margin:0 auto;padding:40px}.empty-state{text-align:center;padding:80px 40px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014}.empty-icon{font-size:64px;margin-bottom:16px;width:80px;height:80px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;display:flex;align-items:center;justify-content:center}.empty-icon:after{content:"";width:40px;height:40px;background:#fff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") no-repeat center;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") no-repeat center;-webkit-mask-size:contain;mask-size:contain}.empty-state h2{font-size:24px;color:#1a1a2e;margin:0 0 8px}.empty-state p{color:#888;margin:0 0 24px}.primary-btn{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.primary-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.project-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014;cursor:pointer;transition:all .3s ease;border:2px solid transparent}.project-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px #0000001f;border-color:#667eea}.project-card-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:12px}.project-card-header h3{font-size:18px;font-weight:700;color:#1a1a2e;margin:0;flex:1}.status-badge{padding:4px 10px;border-radius:20px;font-size:11px;font-weight:600;text-transform:capitalize}.status-active{background:#e8f5e9;color:#2e7d32}.status-completed{background:#e3f2fd;color:#1565c0}.project-description{font-size:14px;color:#555;margin:0 0 16px;line-height:1.5}.project-meta{display:flex;gap:16px;font-size:13px;color:#888;padding-top:12px;border-top:1px solid #f0f0f0}.project-actions{margin-top:16px;padding-top:12px;border-top:1px solid #f0f0f0}.project-countdown-small{margin:12px 0;padding:12px;background:#f8f9ff;border-radius:8px}.deadline-text{display:block;font-size:11px;color:#888;margin-top:8px;text-align:center}.delete-btn{padding:8px 16px;background:#fff;color:#ff6b6b;border:1px solid #ff6b6b;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease}.delete-btn:hover{background:#ff6b6b;color:#fff}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal{background:#fff;border-radius:12px;width:100%;max-width:480px;margin:20px;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 24px 0}.modal-header h2{font-size:20px;font-weight:700;color:#1a1a2e;margin:0}.close-btn{background:none;border:none;font-size:28px;color:#888;cursor:pointer;padding:0;line-height:1}.close-btn:hover{color:#333}.modal form{padding:24px}.form-group{margin-bottom:20px}.form-group label{display:block;font-size:14px;font-weight:600;color:#333;margin-bottom:8px}.form-group input,.form-group textarea{width:100%;padding:12px 14px;border:2px solid #e0e0e0;border-radius:8px;font-size:14px;font-family:inherit;transition:all .2s ease}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#667eea}.form-group textarea{resize:vertical}.error-message{padding:12px;background:#fee;color:#c33;border-radius:6px;font-size:13px;margin-bottom:16px}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:8px}.cancel-btn{padding:12px 24px;background:#f5f5f5;color:#333;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.cancel-btn:hover{background:#e0e0e0}.submit-btn{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.submit-btn:disabled{opacity:.7;cursor:not-allowed}@media (max-width: 768px){.projects-header{padding:12px 20px}.projects-content{padding:20px}.projects-grid{grid-template-columns:1fr}}.team-management{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014}.team-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.team-header h3{font-size:18px;font-weight:700;color:#1a1a2e;margin:0}.invite-btn{padding:10px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.invite-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.team-error{padding:12px;background:#fee;color:#c62828;border-radius:8px;font-size:13px;margin-bottom:16px}.team-success{padding:12px;background:#e8f5e9;color:#2e7d32;border-radius:8px;font-size:13px;margin-bottom:16px}.team-list{display:flex;flex-direction:column;gap:12px}.team-member{display:flex;align-items:center;gap:16px;padding:16px;background:#f8f9fa;border-radius:10px;transition:all .2s}.team-member:hover{background:#f0f0f0}.member-avatar{width:48px;height:48px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:18px;flex-shrink:0}.member-info{flex:1;min-width:0}.member-name{font-size:15px;font-weight:600;color:#1a1a2e;display:flex;align-items:center;gap:8px}.you-badge{padding:2px 8px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:4px;font-size:10px;font-weight:600;text-transform:uppercase}.member-email{font-size:13px;color:#888;margin-top:2px;word-break:break-all}.member-date{font-size:12px;color:#aaa;margin-top:4px}.member-role{display:flex;align-items:center;gap:12px}.role-badge{padding:6px 12px;border-radius:6px;font-size:12px;font-weight:600;text-transform:capitalize}.role-owner{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.role-admin{background:#e3f2fd;color:#1565c0}.role-member{background:#e8f5e9;color:#2e7d32}.role-viewer{background:#fff3e0;color:#e65100}.role-actions{display:flex;align-items:center;gap:8px}.role-select{padding:6px 10px;border:1px solid #e0e0e0;border-radius:6px;font-size:12px;background:#fff;cursor:pointer}.role-select:focus{outline:none;border-color:#667eea}.role-select-full{width:100%;padding:12px 14px;border:2px solid #e0e0e0;border-radius:8px;font-size:14px;background:#fff;cursor:pointer}.role-select-full:focus{outline:none;border-color:#667eea}.remove-btn{padding:6px 12px;background:#fff;color:#c62828;border:1px solid #c62828;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s}.remove-btn:hover{background:#c62828;color:#fff}.pending-invites{margin-top:24px;padding-top:20px;border-top:1px solid #f0f0f0}.pending-invites h4{font-size:14px;font-weight:600;color:#888;margin:0 0 12px;text-transform:uppercase;letter-spacing:.5px}.pending-invite{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#fff8e1;border-radius:8px;margin-bottom:8px}.pending-email{font-size:14px;color:#1a1a2e;font-weight:500}.pending-status{font-size:12px;color:#f57c00;font-weight:600}.team-modal{max-width:440px}@media (max-width: 768px){.team-management{padding:16px}.team-member{flex-wrap:wrap;gap:12px}.member-role{width:100%;justify-content:space-between}.role-actions{flex:1;justify-content:flex-end}}.project-detail-container{min-height:100vh;background:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.project-detail-header{background:#fff;padding:16px 40px;box-shadow:0 2px 8px #0000000f;display:flex;justify-content:space-between;align-items:center}.project-detail-header h1{font-size:24px;font-weight:700;color:#1a1a2e;margin:0}.back-btn{background:none;border:none;font-size:14px;color:#667eea;cursor:pointer;padding:8px 12px;border-radius:6px;transition:background .2s}.back-btn:hover{background:#f0f0f0}.project-detail-content{max-width:1200px;margin:0 auto;padding:32px 40px}.project-info{background:#fff;border-radius:12px;padding:24px;margin-bottom:32px;box-shadow:0 2px 8px #00000014}.project-info-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:16px}.project-info-header h2{font-size:20px;font-weight:700;color:#1a1a2e;margin:0 0 8px}.project-info-header .description{color:#555;margin:0;line-height:1.5}.project-countdown{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.deadline-label{font-size:12px;color:#888}.project-meta{display:flex;gap:24px;font-size:13px;color:#888}.tasks-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.tasks-header h2{font-size:20px;font-weight:700;color:#1a1a2e;margin:0}.task-filters{display:flex;gap:8px}.filter-btn{padding:6px 12px;background:#f5f5f5;border:none;border-radius:6px;font-size:13px;color:#555;cursor:pointer;transition:all .2s}.filter-btn:hover{background:#e8e8e8}.filter-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.tasks-list{display:flex;flex-direction:column;gap:12px}.task-item{background:#fff;border-radius:10px;padding:16px 20px;display:flex;align-items:center;gap:16px;box-shadow:0 2px 8px #0000000f;transition:all .2s ease}.task-item:hover{box-shadow:0 4px 16px #0000001a}.task-checkbox{width:22px;height:22px;border:2px solid #ddd;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.task-checkbox:hover{border-color:#667eea}.task-checkbox.checked{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea}.task-checkbox.checked:after{content:"✓";color:#fff;font-size:14px;font-weight:700}.task-content{flex:1}.task-title{font-size:15px;font-weight:600;color:#1a1a2e;margin:0 0 4px;transition:all .2s}.task-item.completed .task-title{text-decoration:line-through;color:#999}.task-meta{font-size:12px;color:#888}.task-actions{display:flex;gap:8px}.task-action-btn{padding:6px 10px;background:#f5f5f5;border:none;border-radius:6px;font-size:12px;color:#555;cursor:pointer;transition:all .2s}.task-action-btn:hover{background:#e8e8e8}.task-action-btn.delete:hover{background:#ffebee;color:#c62828}.empty-tasks{text-align:center;padding:60px 40px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014}.empty-tasks-icon{font-size:48px;margin-bottom:16px;width:64px;height:64px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;display:flex;align-items:center;justify-content:center}.empty-tasks-icon:after{content:"";width:32px;height:32px;background:#fff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E") no-repeat center;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E") no-repeat center;-webkit-mask-size:contain;mask-size:contain}.empty-tasks h3{font-size:18px;color:#1a1a2e;margin:0 0 8px}.empty-tasks p{color:#888;margin:0}.loading{text-align:center;padding:60px;color:#888;font-size:16px}.status-on_hold{background:#fff3e0;color:#e65100}.status-overdue{background:#ffebee;color:#c62828}.complete-project-btn{padding:6px 12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:6px;font-size:11px;font-weight:600;cursor:pointer;transition:all .2s}.complete-project-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.detail-tabs{display:flex;gap:4px;margin-bottom:24px;background:#fff;padding:4px;border-radius:10px;box-shadow:0 2px 8px #0000000f}.tab-btn{flex:1;padding:12px 24px;border:none;background:none;font-size:14px;font-weight:600;color:#888;cursor:pointer;border-radius:8px;transition:all .2s}.tab-btn:hover{color:#667eea;background:#f5f7fa}@media (max-width: 768px){.project-detail-header,.project-detail-content{padding-left:20px;padding-right:20px}.project-info-header{flex-direction:column;gap:16px}.project-countdown{align-items:flex-start;width:100%}.task-filters{flex-wrap:wrap}.task-item{flex-direction:column;align-items:flex-start;gap:12px}.task-actions{width:100%;justify-content:flex-end}}.page-container{min-height:100vh;background:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.page-header{background:#fff;padding:20px 40px;box-shadow:0 2px 8px #0000000f;display:flex;justify-content:space-between;align-items:center}.page-header h1{font-size:24px;font-weight:700;color:#1a1a2e;margin:0}.page-content{max-width:1400px;margin:0 auto;padding:40px}.create-btn{padding:10px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .3s ease}.create-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.settings-section{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 2px 8px #00000014}.settings-section h2{font-size:18px;font-weight:600;color:#1a1a2e;margin-bottom:12px}.settings-section p{font-size:14px;color:#555;margin:8px 0}.logout-btn{padding:10px 20px;background:#ff6b6b;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.logout-btn:hover{background:#ff5252}.not-found-page{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.not-found-content{text-align:center;background:#fff;padding:60px 40px;border-radius:12px;box-shadow:0 10px 40px #0003}.not-found-content h1{font-size:72px;font-weight:700;color:#667eea;margin:0}.not-found-content p{font-size:24px;color:#1a1a2e;margin:16px 0 24px}.not-found-content button{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.not-found-content button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.stat-card .stat-icon{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;position:relative}.stat-card .stat-icon:after{content:"";width:28px;height:28px;background:#fff;position:absolute}.stat-card .stat-icon.xp-icon{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 8px 24px #f59e0b4d}.stat-card .stat-icon.xp-icon:after{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 7 14.21.02 14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center/contain no-repeat}.stat-card .stat-icon.task-icon{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 8px 24px #10b9814d}.stat-card .stat-icon.task-icon:after{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center/contain no-repeat}.stat-card .stat-icon.project-icon{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 8px 24px #3b82f64d}.stat-card .stat-icon.project-icon:after{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center/contain no-repeat}.stat-card .stat-icon.complete-icon{background:linear-gradient(135deg,#8b5cf6,#7c3aed);box-shadow:0 8px 24px #8b5cf64d}.stat-card .stat-icon.complete-icon:after{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") center/contain no-repeat}.stat-card .stat-icon.streak-icon{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 8px 24px #ef444466;animation:streakPulse 2s ease-in-out infinite}@keyframes streakPulse{0%,to{transform:scale(1);box-shadow:0 8px 24px #ef444466}50%{transform:scale(1.05);box-shadow:0 12px 32px #ef444480}}.stat-card .stat-icon.streak-icon:after{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6c.5 2 2 4 2 6-.5.5-1 1-1.5 1.5 2.5.5 3.5 1 4.5 2 .5-.5 1-1.5 1.5-1 1 1 2 1 3 1v4.5c0 1 1 2 2 2.5.5-.5 1.5 0 2.5-.5 1-1 2-2 3-3V4c0-1.5-1-2.5-2-3.5A5.5 5.5 0 0 0 8.5 14.5z'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6c.5 2 2 4 2 6-.5.5-1 1-1.5 1.5 2.5.5 3.5 1 4.5 2 .5-.5 1-1.5 1.5-1 1 1 2 1 3 1v4.5c0 1 1 2 2 2.5.5-.5 1.5 0 2.5-.5 1-1 2-2 3-3V4c0-1.5-1-2.5-2-3.5A5.5 5.5 0 0 0 8.5 14.5z'/%3E%3C/svg%3E") center/contain no-repeat}.stat-card .stat-icon.best-streak-icon{background:linear-gradient(135deg,#eab308,#ca8a04);box-shadow:0 8px 24px #eab30866}.stat-card .stat-icon.best-streak-icon:after{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center/contain no-repeat}.stat-card .stat-icon.badge-count-icon{background:linear-gradient(135deg,#ec4899,#db2777);box-shadow:0 8px 24px #ec48994d}.stat-card .stat-icon.badge-count-icon:after{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M15.477 12.89L17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M15.477 12.89L17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E") center/contain no-repeat}.profile-container{min-height:100vh;background:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.profile-header{background:#fff;padding:16px 40px;box-shadow:0 2px 8px #0000000f;display:flex;justify-content:space-between;align-items:center}.profile-header h1{font-size:24px;font-weight:700;color:#1a1a2e;margin:0}.back-btn{padding:8px 16px;background:transparent;color:#667eea;border:1px solid #667eea;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .3s ease}.back-btn:hover{background:#667eea;color:#fff}.profile-content{max-width:1000px;margin:0 auto;padding:24px 40px}.profile-card{background:#fff;border-radius:16px;padding:32px;text-align:center;box-shadow:0 2px 12px #00000014;margin-bottom:24px}.profile-avatar{width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:32px;font-weight:700;color:#fff}.profile-card h2{font-size:24px;font-weight:700;color:#1a1a2e;margin:0 0 4px}.profile-email{font-size:14px;color:#888;margin:0 0 24px}.level-display{display:flex;align-items:center;justify-content:center;gap:20px;padding-top:20px;border-top:1px solid #f0f0f0}.level-badge-profile{width:64px;height:64px;border-radius:16px;background:linear-gradient(135deg,#f59e0b,#d97706);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px #f59e0b4d}.level-number{font-size:24px;font-weight:700;color:#fff}.level-info{text-align:left}.level-title{font-size:16px;font-weight:600;color:#1a1a2e}.xp-bar{width:200px;height:8px;background:#e5e7eb;border-radius:4px;margin:8px 0;overflow:hidden}.xp-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:4px;transition:width .3s ease}.xp-text{font-size:12px;color:#888}.profile-tabs{display:flex;gap:8px;margin-bottom:24px}.tab-btn{padding:12px 24px;background:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;color:#888;cursor:pointer;transition:all .3s ease}.tab-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.tab-btn:hover:not(.active){background:#f0f0f0}.overview-section .stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat-card{background:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;align-items:center;gap:12px;box-shadow:0 2px 8px #0000000f;transition:all .3s ease}.stat-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.stat-value{font-size:28px;font-weight:700;color:#1a1a2e}.stat-label{font-size:12px;color:#888;text-transform:uppercase;letter-spacing:.5px}.badges-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000000f}.badges-header-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.badges-header-info h3{font-size:18px;font-weight:700;color:#1a1a2e;margin:0}.badge-count{font-size:14px;color:#888}.badges-list{display:flex;flex-direction:column;gap:12px}.badge-item{display:flex;align-items:center;gap:16px;padding:16px;border-radius:10px;background:#f8fafc}.badge-item.unlocked{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:1px solid #86efac}.badge-item.locked{opacity:.6}.badge-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center}.badge-icon.badge-1{background:linear-gradient(135deg,#10b981,#059669)}.badge-icon.badge-2{background:linear-gradient(135deg,#3b82f6,#2563eb)}.badge-icon.badge-3{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.badge-icon.badge-4{background:linear-gradient(135deg,#f59e0b,#d97706)}.badge-icon.badge-5{background:linear-gradient(135deg,#ec4899,#db2777)}.badge-icon.badge-6{background:linear-gradient(135deg,#06b6d4,#0891b2)}.badge-icon.badge-7{background:linear-gradient(135deg,#84cc16,#65a30d)}.badge-icon.badge-8{background:linear-gradient(135deg,#ef4444,#dc2626)}.badge-icon.badge-9{background:linear-gradient(135deg,#eab308,#ca8a04)}.badge-icon.badge-10{background:linear-gradient(135deg,#6366f1,#4f46e5)}.badge-icon.badge-11{background:linear-gradient(135deg,#14b8a6,#0d9488)}.badge-icon.badge-12{background:linear-gradient(135deg,#a855f7,#9333ea)}.badge-info{flex:1;display:flex;flex-direction:column;gap:4px}.badge-name{font-size:15px;font-weight:600;color:#1a1a2e}.badge-description{font-size:12px;color:#888}.badge-xp{font-size:14px;font-weight:600;color:#10b981}.leaderboard-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000000f}.leaderboard-section h3{font-size:18px;font-weight:700;color:#1a1a2e;margin:0 0 20px}.leaderboard-list{display:flex;flex-direction:column;gap:8px}.leaderboard-item{display:flex;align-items:center;gap:16px;padding:16px;border-radius:10px;background:#f8fafc;transition:all .3s ease}.leaderboard-item.current-user{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:2px solid #3b82f6}.leaderboard-item:nth-child(1){background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid #f59e0b}.leaderboard-item:nth-child(2){background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border:2px solid #9ca3af}.leaderboard-item:nth-child(3){background:linear-gradient(135deg,#fed7aa,#fdba74);border:2px solid #f97316}.rank{font-size:16px;font-weight:700;color:#1a1a2e;width:32px}.level-badge-small{width:36px;height:36px;border-radius:8px;background:linear-gradient(135deg,#f59e0b,#d97706);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff}.username{flex:1;font-size:14px;font-weight:600;color:#1a1a2e}.xp-amount{font-size:14px;font-weight:700;color:#667eea}.profile-loading{text-align:center;padding:100px;color:#888;font-size:16px}@media (max-width: 768px){.profile-header,.profile-content{padding:16px 20px}.overview-section .stats-grid{grid-template-columns:repeat(2,1fr)}.level-display{flex-direction:column;gap:12px}.xp-bar{width:100%}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);--primary-color: #667eea;--secondary-color: #764ba2;--success-color: #4CAF50;--warning-color: #FFC107;--error-color: #F44336;--text-primary: #1a1a2e;--text-secondary: #555;--text-muted: #888;--bg-light: #f8f9fa;--bg-white: #ffffff}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{width:100%;height:100%}body{background:var(--bg-light);color:var(--text-primary);font-size:14px;line-height:1.6}a{text-decoration:none;color:inherit}button{font-family:inherit}.loading-screen{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100vh;background:var(--primary-gradient);color:#fff}.loader{width:40px;height:40px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-screen p{margin-top:16px;font-size:16px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-light)}::-webkit-scrollbar-thumb{background:#ccc;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#999}::selection{background:var(--primary-color);color:#fff}
