.craft-nft-container{margin:25px auto 0;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-width:400px}.craft-nft-container.full-screen{margin-top:0;position:fixed;top:-20px;bottom:-20px;left:0;width:100%;max-width:unset;z-index:998;background:url(/game/bg.png) no-repeat 50%;background-size:cover}.craft-nft-container img{width:100%}.game-cover-container{width:100%;height:300px;display:flex;align-items:center;justify-content:center;position:relative;background:linear-gradient(135deg,rgba(153,47,219,.1),rgba(153,47,219,.05));border-radius:12px;overflow:hidden}.game-cover-container img{width:100%;height:100%;object-fit:cover}.game-loader{display:flex;flex-direction:column;align-items:center;gap:16px;color:#fff;font-family:Kaph,sans-serif}.loader-spinner{width:40px;height:40px;border:3px solid rgba(153,47,219,.2);border-top-color:#992fdb;border-radius:50%;animation:spin 1s linear infinite}.loader-text{font-size:14px;font-weight:700;color:#e3d3d3;text-shadow:0 1px 2px rgba(0,0,0,.8)}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (max-width:480px){.game-cover-container{height:250px}.loader-spinner{width:32px;height:32px}.loader-text{font-size:12px}}.craft-nft-content{position:absolute;top:17%;left:50%;width:80%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center}@media (min-width:440px){.craft-nft-content{top:23%}}.craft-nft-container.full-screen .craft-nft-content{width:unset;top:0;left:0;right:0;bottom:0;padding:100px 20px;overflow:auto;transform:none}.craft-nft-title{color:#fff;font-size:22px;margin-top:25px;margin-bottom:6px;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6)}.craft-nft-subtitle,.craft-nft-title{font-family:Kaph,sans-serif;font-weight:400;text-align:left;width:100%}.craft-nft-subtitle{color:#ff7e76;font-size:10px;line-height:1.4;text-shadow:0 1px 2px rgba(0,0,0,.8)}.user-status-section{margin-bottom:15px;width:100%;padding:8px;max-width:400px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box}.user-status-section.full-screen{padding:16px;background:rgba(0,0,0,.4);border:1px solid rgba(153,47,219,.3);border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.1)}.level-progress-container{display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:1 1}.craft-nft-level{width:100%;color:#fff;font-family:Kaph,sans-serif;font-weight:400;font-size:22px;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6);display:flex;align-items:center;justify-content:space-around;gap:8px}.user-status-section.full-screen .craft-nft-level{justify-content:space-between}.gold-section{justify-content:space-between;gap:16px;width:100%;max-width:400px;padding:12px 16px;background:rgba(0,0,0,.4);border:1px solid rgba(255,215,0,.3);border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.1);animation:goldHeaderFloat 4s ease-in-out infinite;box-sizing:border-box}.gold-display,.gold-section{display:flex;align-items:center}.gold-display{gap:8px}.buy-gold-button{display:flex;align-items:center;gap:6px;background:linear-gradient(135deg,gold,#ffb300);border:none;border-radius:12px;padding:8px 16px;color:#000;font-family:Kaph,sans-serif;font-size:12px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px rgba(255,215,0,.4),0 1px 4px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.3);animation:buyGoldPulse 3s ease-in-out infinite;overflow:hidden;position:relative;letter-spacing:.5px;text-shadow:0 1px 1px rgba(0,0,0,.2)}.buy-gold-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.4),transparent);animation:buyGoldShimmer 2.5s ease-in-out infinite}.buy-gold-button:hover{background:linear-gradient(135deg,#ffe55c,#ffc107);transform:translateY(-2px) scale(1.05);box-shadow:0 4px 15px rgba(255,215,0,.6),0 2px 8px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.4);animation:none}.buy-gold-button:active{transform:translateY(-1px) scale(1.02);box-shadow:0 2px 8px rgba(255,215,0,.5),0 1px 4px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}.buy-gold-button svg{filter:drop-shadow(0 0 2px rgba(0,0,0,.3))}.buy-gold-button span,.buy-gold-button svg{position:relative;z-index:1}.gold-icon{width:24px;height:24px;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}.gold-amount{color:gold;font-family:Kaph,sans-serif;font-weight:700;font-size:16px;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(255,215,0,.6);letter-spacing:.5px}.craft-nft-play-button{background:linear-gradient(135deg,#992fdb,#7c25a8);padding:8px 24px;box-shadow:0 4px 15px rgba(153,47,219,.4),0 2px 8px rgba(0,0,0,.2);animation:buttonPulse 2s ease-in-out infinite}.craft-nft-exit-button,.craft-nft-play-button{position:relative;border:none;border-radius:50px;display:flex;align-items:center;gap:12px;color:#fff;font-family:Kaph,sans-serif;font-weight:700;font-size:16px;cursor:pointer;overflow:hidden}.craft-nft-exit-button{background:linear-gradient(135deg,#ef4444,#dc2626);padding:24px;box-shadow:0 4px 15px rgba(239,68,68,.4),0 2px 8px rgba(0,0,0,.2);animation:exitButtonPulse 2s ease-in-out infinite}.craft-nft-exit-button:before,.craft-nft-play-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.3),transparent);animation:shimmer 3s ease-in-out infinite}.craft-nft-play-button:hover{transform:translateY(-3px) scale(1.05);background:linear-gradient(135deg,#a642e8,#8b30bb);box-shadow:0 8px 25px rgba(153,47,219,.7),0 4px 15px rgba(0,0,0,.4);animation:none}.craft-nft-play-button:hover .play-icon{animation:spinGlow .6s ease-in-out}.craft-nft-play-button:hover .play-swords{transform:scale(1.2);animation:swordsBounce .6s ease-in-out}.craft-nft-play-button:active{transform:translateY(-1px) scale(1.02);box-shadow:0 4px 15px rgba(153,47,219,.5),0 2px 8px rgba(0,0,0,.3)}.craft-nft-exit-button:hover{transform:translateY(-3px) scale(1.05);background:linear-gradient(135deg,#f87171,#ef4444);box-shadow:0 8px 25px rgba(239,68,68,.7),0 4px 15px rgba(0,0,0,.4);animation:none}.craft-nft-exit-button:hover .exit-icon{animation:spinGlow .6s ease-in-out}.craft-nft-exit-button:hover .exit-arrow{transform:scale(1.2);animation:arrowBounce .6s ease-in-out}.craft-nft-exit-button:active{transform:translateY(-1px) scale(1.02);box-shadow:0 4px 15px rgba(239,68,68,.5),0 2px 8px rgba(0,0,0,.3)}.exit-icon,.play-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:hsla(0,0%,100%,.2);border-radius:50%;transition:all .3s ease;animation:iconFloat 3s ease-in-out infinite}.exit-arrow,.play-swords{color:#fff;transition:all .3s ease;filter:drop-shadow(0 0 4px rgba(255,255,255,.5))}.exit-text,.play-text{font-weight:700;letter-spacing:2px;transition:all .3s ease;text-shadow:0 1px 2px rgba(0,0,0,.8)}.play-text{animation:textGlow 2s ease-in-out infinite alternate;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6)}.exit-text{animation:exitTextGlow 2s ease-in-out infinite alternate;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(239,68,68,.6)}@keyframes shimmer{0%{left:-100%}to{left:100%}}@keyframes spinGlow{0%{transform:rotate(0deg);background:hsla(0,0%,100%,.2)}50%{background:hsla(0,0%,100%,.4);box-shadow:0 0 15px hsla(0,0%,100%,.6)}to{transform:rotate(1turn);background:hsla(0,0%,100%,.2)}}@keyframes swordsBounce{0%,to{transform:scale(1.2) rotate(0deg)}50%{transform:scale(1.4) rotate(10deg);filter:drop-shadow(0 0 8px rgba(255,255,255,.8))}}@keyframes textGlow{0%{text-shadow:0 0 5px hsla(0,0%,100%,.3)}to{text-shadow:0 0 10px hsla(0,0%,100%,.6)}}@keyframes exitButtonPulse{0%,to{box-shadow:0 4px 15px rgba(239,68,68,.4),0 2px 8px rgba(0,0,0,.2)}50%{box-shadow:0 6px 20px rgba(239,68,68,.6),0 3px 12px rgba(0,0,0,.3)}}@keyframes exitTextGlow{0%{text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 5px rgba(239,68,68,.3)}to{text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 10px rgba(239,68,68,.6)}}@keyframes arrowBounce{0%,to{transform:scale(1.2) translateX(0)}50%{transform:scale(1.4) translateX(-2px);filter:drop-shadow(0 0 8px rgba(255,255,255,.8))}}.resources-row{display:flex;gap:15px;margin-bottom:5%}.resources-row.full-screen{margin-bottom:unset}.resource-item{flex-direction:column;gap:4px;background:rgba(0,0,0,.6);border-radius:12px;padding:8px 10px 12px;box-shadow:0 2px 8px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.1);animation:resourceFloat 3s ease-in-out infinite;position:relative}.resource-item.clickable{cursor:pointer}.resource-item.clickable:hover{transform:translateY(-3px) scale(1.05);border-color:rgba(153,47,219,.8);box-shadow:0 6px 16px rgba(0,0,0,.6),0 0 20px rgba(153,47,219,.6)}.resource-item:nth-child(2){animation-delay:-1s}.resource-item:nth-child(3){animation-delay:-2s}.resource-item:hover{transform:translateY(-2px);border-color:rgba(153,47,219,.6);box-shadow:0 4px 12px rgba(0,0,0,.5),0 0 15px rgba(153,47,219,.4)}.tier-banner{position:absolute;top:-8px;left:50%;transform:translateX(-50%);color:#fff;font-family:Kaph,sans-serif;font-weight:700;font-size:8px;padding:2px 6px;border-radius:8px;letter-spacing:.5px;text-shadow:0 1px 1px rgba(0,0,0,.6);border:1px solid hsla(0,0%,100%,.2);z-index:20;white-space:nowrap}img.resource-icon{width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}.resource-count{font-family:Kaph,sans-serif;font-size:11px;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 6px rgba(153,47,219,.6);letter-spacing:.5px}@keyframes resourceFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-1px)}}.dungeons-counter{color:#e3d3d3;font-family:Kaph,sans-serif;font-weight:700;font-size:14px;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6);letter-spacing:1px;z-index:10;animation:dungeonsGlow 4s ease-in-out infinite;white-space:nowrap;display:flex;align-items:center;gap:8px;margin-bottom:8px}@keyframes dungeonsGlow{0%,to{text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6)}50%{text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 12px rgba(153,47,219,.8)}}.resource-item:first-child .tier-banner{background:linear-gradient(135deg,#4ade80,#22c55e);animation:tierGlowGreen 3s ease-in-out infinite}.resource-item:nth-child(2) .tier-banner{background:linear-gradient(135deg,#3b82f6,#2563eb);animation:tierGlowBlue 3s ease-in-out infinite}.resource-item:nth-child(3) .tier-banner{background:linear-gradient(135deg,#f59e0b,#d97706);animation:tierGlowOrange 3s ease-in-out infinite}@keyframes tierGlowGreen{0%,to{box-shadow:0 1px 3px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.2),0 0 8px rgba(34,197,94,.3)}50%{box-shadow:0 1px 3px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.3),0 0 12px rgba(34,197,94,.5)}}@keyframes tierGlowBlue{0%,to{box-shadow:0 1px 3px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.2),0 0 8px rgba(37,99,235,.3)}50%{box-shadow:0 1px 3px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.3),0 0 12px rgba(37,99,235,.5)}}@keyframes tierGlowOrange{0%,to{box-shadow:0 1px 3px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.2),0 0 8px rgba(217,119,6,.3)}50%{box-shadow:0 1px 3px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.3),0 0 12px rgba(217,119,6,.5)}}@keyframes goldGlow{0%,to{box-shadow:0 2px 8px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.1),0 0 8px rgba(255,215,0,.3)}50%{box-shadow:0 2px 8px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.2),0 0 12px rgba(255,215,0,.5)}}.craft-base-card{background:linear-gradient(145deg,rgba(0,0,0,.8),hsla(0,0%,8%,.9));border:1px solid rgba(153,47,219,.3);border-radius:16px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.1);transition:all .3s ease;animation:craftCardFloat 6s ease-in-out infinite}.craft-base-card:hover{transform:translateY(-2px);border-color:rgba(153,47,219,.6);box-shadow:0 8px 30px rgba(0,0,0,.5),0 0 20px rgba(153,47,219,.3),inset 0 1px 0 hsla(0,0%,100%,.2)}.craft-base-button{border:none;border-radius:12px;color:#fff;font-family:Kaph,sans-serif;font-weight:700;cursor:pointer;transition:all .3s ease;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 15px rgba(153,47,219,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2);text-shadow:0 1px 2px rgba(0,0,0,.6);letter-spacing:1px}.craft-base-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.3),transparent);animation:craftButtonShimmer 3s ease-in-out infinite}.craft-base-button>*{position:relative;z-index:1}.craft-base-button:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 6px 20px rgba(153,47,219,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3);animation:none}.craft-base-button:active{transform:translateY(-1px) scale(1.01);box-shadow:0 4px 15px rgba(153,47,219,.5),0 2px 8px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.2)}.craft-base-button:disabled{cursor:not-allowed;opacity:.6}.craft-base-button:disabled,.craft-base-button:disabled:hover{background:linear-gradient(135deg,#666,#555);animation:none;transform:none}.craft-base-button:disabled:hover{box-shadow:0 4px 15px hsla(0,0%,40%,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.1)}.craft-primary-button{background:linear-gradient(135deg,#992fdb,#7c25a8);animation:craftButtonPulse 2.5s ease-in-out infinite}.craft-primary-button:hover{background:linear-gradient(135deg,#a642e8,#8b30bb)}.craft-secondary-button{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 15px rgba(245,158,11,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2);animation:craftSecondaryButtonPulse 2.5s ease-in-out infinite}.craft-secondary-button:hover{background:linear-gradient(135deg,#fbbf24,#f59e0b);box-shadow:0 6px 20px rgba(245,158,11,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}.craft-success-button{background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 4px 15px rgba(34,197,94,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2);animation:craftSuccessButtonPulse 3s ease-in-out infinite}.craft-success-button:hover{background:linear-gradient(135deg,#16a34a,#15803d);box-shadow:0 6px 20px rgba(34,197,94,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}.craft-danger-button{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 4px 15px rgba(239,68,68,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2);animation:craftDangerButtonPulse 3s ease-in-out infinite}.craft-danger-button:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 6px 20px rgba(239,68,68,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}.craft-title{color:#fff;font-family:Kaph,sans-serif;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6)}.craft-subtitle{color:#b3b3b3;font-family:Kaph,sans-serif;text-shadow:0 1px 2px rgba(0,0,0,.8)}.craft-gold-text{color:gold;font-family:Kaph,sans-serif;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 6px rgba(255,215,0,.6)}.craft-stat-label{color:#b3b3b3;font-size:12px;font-weight:700}.craft-stat-value{color:#e3d3d3;font-size:12px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8)}.craft-base-input{background:rgba(0,0,0,.6);border:1px solid rgba(153,47,219,.3);border-radius:8px;color:#fff;font-family:Kaph,sans-serif;box-shadow:0 2px 8px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.1);transition:all .3s ease;box-sizing:border-box}.craft-base-input:focus{outline:none;border-color:rgba(153,47,219,.6);box-shadow:0 4px 15px rgba(153,47,219,.4),inset 0 1px 0 hsla(0,0%,100%,.2)}.craft-base-input::placeholder{color:#b3b3b3}.craft-resource-item{display:flex;flex-direction:column;align-items:center;gap:4px;background:rgba(0,0,0,.6);border-radius:12px;padding:8px 10px 12px;border:1px solid rgba(153,47,219,.3);box-shadow:0 2px 8px rgba(0,0,0,.4),inset 0 1px 0 hsla(0,0%,100%,.1);transition:all .3s ease;animation:craftResourceFloat 3s ease-in-out infinite;position:relative}.craft-resource-item:hover{transform:translateY(-2px);border-color:rgba(153,47,219,.6);box-shadow:0 4px 12px rgba(0,0,0,.5),0 0 15px rgba(153,47,219,.4)}.craft-resource-icon{object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}.craft-nav-button{background:rgba(0,0,0,.6);border:1px solid rgba(153,47,219,.3);border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;transition:all .3s ease;animation:craftNavFloat 4s ease-in-out infinite}.craft-nav-button:hover{background:rgba(153,47,219,.2);border-color:rgba(153,47,219,.6);transform:scale(1.1);box-shadow:0 0 12px rgba(153,47,219,.4)}.craft-nav-button:active{transform:scale(1.05)}.craft-nav-button.disabled{opacity:.4;cursor:not-allowed;filter:grayscale(100%)}.craft-nav-button.disabled:hover{background:rgba(0,0,0,.6);border-color:rgba(153,47,219,.3);transform:none;box-shadow:none}@keyframes craftCardFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes craftSecondaryButtonPulse{0%,to{box-shadow:0 4px 15px rgba(245,158,11,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}50%{box-shadow:0 6px 20px rgba(245,158,11,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}}@keyframes craftSuccessButtonPulse{0%,to{box-shadow:0 4px 15px rgba(34,197,94,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}50%{box-shadow:0 6px 20px rgba(34,197,94,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}}@keyframes craftDangerButtonPulse{0%,to{box-shadow:0 4px 15px rgba(239,68,68,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}50%{box-shadow:0 6px 20px rgba(239,68,68,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}}@keyframes craftResourceFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-1px)}}@keyframes craftNavFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-1px)}}@keyframes craftGoldIconGlow{0%,to{filter:drop-shadow(0 0 4px rgba(255,215,0,.6))}50%{filter:drop-shadow(0 0 8px rgba(255,215,0,.8)) drop-shadow(0 0 12px rgba(255,215,0,.4))}}@keyframes craftIconPulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@keyframes goldHeaderFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-1px)}}@keyframes buyGoldPulse{0%,to{box-shadow:0 2px 8px rgba(255,215,0,.4),0 1px 4px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.3)}50%{box-shadow:0 4px 15px rgba(255,215,0,.6),0 2px 8px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.4)}}@keyframes buyGoldShimmer{0%{left:-100%}to{left:100%}}.resource-item.compact{gap:2px;background:rgba(0,0,0,.4);border:1px solid rgba(153,47,219,.2);border-radius:8px;padding:6px 4px;min-width:40px;animation:resourceFloat 3s ease-in-out infinite}.resource-item.compact:hover{transform:translateY(-2px);background:rgba(153,47,219,.1);border-color:rgba(153,47,219,.4);box-shadow:none}.resource-item.compact .resource-icon{width:24px;height:24px}.resource-item.compact .resource-count{font-size:9px;text-shadow:0 1px 1px rgba(0,0,0,.8)}.resources-row.compact{gap:8px;flex-wrap:wrap}.craft-icon,.resources-row.compact{justify-content:center;align-items:center}.craft-icon{border:none;border-radius:50%;color:#fff;font-family:var(--font-geist-sans,"Roboto",sans-serif);font-size:24px;font-weight:700;cursor:pointer;display:inline-flex;border:1px solid hsla(0,0%,100%,.2);transition:all .3s ease}.craft-icon.absolute-right{position:absolute;right:-16px;top:50%;transform:translateY(-50%) translateX(100%);animation:none}.craft-icon:hover{transform:scale(1.05);animation:none}.craft-icon:active{transform:scale(1.02)}.craft-icon.absolute-right:hover{transform:translateY(-50%) translateX(100%) scale(1.05)}.craft-icon.absolute-right:active{transform:translateY(-50%) translateX(100%) scale(1.02)}.craft-icon.disabled{opacity:.5;cursor:not-allowed;animation:none}.craft-icon.disabled:hover{transform:none}.craft-icon-symbol{display:block;line-height:1;-webkit-user-select:none;-moz-user-select:none;user-select:none;text-shadow:0 1px 2px rgba(0,0,0,.6)}@keyframes iconFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-1px)}}.add-icon{background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 2px 8px rgba(34,197,94,.4),0 1px 4px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}.add-icon:hover{background:linear-gradient(135deg,#4ade80,#22c55e);box-shadow:0 4px 15px rgba(34,197,94,.6),0 2px 8px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}.add-icon.disabled:hover,.add-icon:active{box-shadow:0 2px 8px rgba(34,197,94,.4),0 1px 4px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}.add-icon.disabled:hover{background:linear-gradient(135deg,#22c55e,#16a34a)}.info-icon{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 8px rgba(59,130,246,.4),0 1px 4px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}.info-icon:hover{background:linear-gradient(135deg,#60a5fa,#3b82f6);box-shadow:0 4px 15px rgba(59,130,246,.6),0 2px 8px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}.info-icon.disabled:hover,.info-icon:active{box-shadow:0 2px 8px rgba(59,130,246,.4),0 1px 4px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}.info-icon.disabled:hover{background:linear-gradient(135deg,#3b82f6,#2563eb)}.dungeons-container{width:100%;max-width:400px;margin:0 auto;font-family:Kaph,sans-serif;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dungeons-navigation{display:flex;align-items:center;justify-content:center;gap:12px}.nav-button:hover{background:rgba(153,47,219,.2);border-color:rgba(153,47,219,.6);transform:scale(1.1);box-shadow:0 0 12px rgba(153,47,219,.4)}.nav-button:active{transform:scale(1.05)}.dungeon-counter{color:#e3d3d3;font-size:14px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8);min-width:40px;text-align:center;display:flex;align-items:center;gap:8px}.progress-indicator{font-size:16px;animation:pulseIndicator 1.5s ease-in-out infinite}.nav-button.disabled{opacity:.4;cursor:not-allowed;filter:grayscale(100%)}.nav-button.disabled:hover{background:rgba(0,0,0,.6);border-color:rgba(153,47,219,.3);transform:none;box-shadow:none}.dungeon-card:hover{transform:translateY(-2px);border-color:rgba(153,47,219,.6);box-shadow:0 8px 30px rgba(0,0,0,.5),0 0 20px rgba(153,47,219,.3),inset 0 1px 0 hsla(0,0%,100%,.2)}.dungeon-image-container{position:relative;width:100%;height:200px;overflow:hidden}.dungeon-image{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.dungeon-card:hover .dungeon-image{transform:scale(1.05)}.dungeon-image-container.locked{position:relative}.dungeon-image-container.locked .dungeon-image{filter:grayscale(70%) brightness(.4)}.dungeon-locked-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.8);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:10}.lock-icon{font-size:3rem;margin-bottom:8px;animation:lockPulse 2s ease-in-out infinite}.required-level{color:#fff;font-size:14px;font-weight:700;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.8);background:rgba(239,68,68,.9);padding:6px 12px;border-radius:8px;border:1px solid rgba(239,68,68,.6);box-shadow:0 2px 8px rgba(239,68,68,.4)}.dungeon-level-badge{left:12px;background:linear-gradient(135deg,#992fdb,#7c25a8);box-shadow:0 2px 8px rgba(153,47,219,.4);animation:badgeGlow 3s ease-in-out infinite}.dungeon-level-badge,.dungeon-time-badge{position:absolute;top:12px;color:#fff;padding:6px 12px;border-radius:12px;font-size:12px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.6)}.dungeon-time-badge{display:flex;align-items:center;gap:4px;right:12px;box-shadow:0 2px 8px rgba(0,0,0,.3);background:linear-gradient(145deg,rgba(0,0,0,.8),hsla(0,0%,8%,.9))}.dungeon-info{padding:20px}.dungeon-info.locked{opacity:.6}.dungeon-info.locked .drop-rates-title,.dungeon-info.locked .dungeon-name,.dungeon-info.locked .rate-value,.dungeon-info.locked .stat-item,.dungeon-info.locked .tier-label{color:#666!important}.dungeon-info.locked .stat-item svg{filter:grayscale(100%)!important;opacity:.5}.dungeon-info.in-progress{background:linear-gradient(135deg,rgba(34,197,94,.1),rgba(34,197,94,.05));border:1px solid rgba(34,197,94,.3);border-radius:0 0 12px 12px;position:relative;z-index:5}.dungeon-progress-bar-container{width:100%;height:8px;background:rgba(0,0,0,.6);border-radius:4px;overflow:hidden;border:1px solid rgba(34,197,94,.3);box-shadow:inset 0 2px 4px rgba(0,0,0,.5)}.dungeon-progress-bar-fill{height:100%;background:linear-gradient(90deg,#22c55e,#16a34a);border-radius:4px;transition:width .5s ease;position:relative;overflow:hidden}.dungeon-progress-bar-fill:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.4),transparent);animation:progressShimmer 2s ease-in-out infinite}.calculating-drop-section{justify-content:center;padding:8px;background:linear-gradient(135deg,rgba(153,47,219,.15),rgba(153,47,219,.05));border:2px solid rgba(153,47,219,.4);border-radius:12px;box-shadow:0 0 20px rgba(153,47,219,.2);min-height:150px}.calculating-drop-content,.calculating-drop-section{display:flex;flex-direction:column;align-items:center}.calculating-drop-content{gap:16px}.calculating-drop-title{color:#992fdb;font-size:18px;font-weight:700;margin:0;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6);animation:pulseGlow 2s ease-in-out infinite}.calculating-drop-subtitle{color:#b3b3b3;font-size:13px;margin:0;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.8)}.drop-confirm-section{display:flex;flex-direction:column;gap:16px;padding:16px;background:linear-gradient(135deg,rgba(34,197,94,.15),rgba(34,197,94,.05));border:2px solid rgba(34,197,94,.4);border-radius:12px;box-shadow:0 0 20px rgba(34,197,94,.2)}.drop-confirm-header{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:8px}.drop-confirm-title{color:#22c55e;font-size:18px;font-weight:700;margin:0;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(34,197,94,.6)}.drop-rewards{display:flex;flex-direction:column;gap:12px}.reward-item{gap:8px;padding:10px 12px;border:1px solid rgba(34,197,94,.3)}.reward-item:hover{background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.5);transform:translateX(2px)}.reward-item svg{color:#22c55e;filter:drop-shadow(0 0 4px rgba(34,197,94,.6))}.reward-item:first-child svg{color:gold;filter:drop-shadow(0 0 4px rgba(255,215,0,.6));animation:goldCoinGlow 3s ease-in-out infinite}.confirm-drop-button{width:100%;background:linear-gradient(135deg,#22c55e,#16a34a);border:none;border-radius:12px;padding:14px 20px;color:#fff;font-family:Kaph,sans-serif;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px rgba(34,197,94,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2);animation:confirmButtonPulse 2s ease-in-out infinite;overflow:hidden;position:relative}.confirm-drop-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.3),transparent);animation:confirmButtonShimmer 3s ease-in-out infinite}.confirm-drop-button:hover{background:linear-gradient(135deg,#16a34a,#15803d);transform:translateY(-2px) scale(1.02);box-shadow:0 6px 20px rgba(34,197,94,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3);animation:none}.confirm-drop-button:active{transform:translateY(-1px) scale(1.01);box-shadow:0 4px 15px rgba(34,197,94,.5),0 2px 8px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.2)}.confirm-drop-button:disabled{opacity:.7;cursor:not-allowed}.confirm-drop-button .button-text{position:relative;z-index:1;text-shadow:0 1px 2px rgba(0,0,0,.6);letter-spacing:1px}.fast-forward-button:hover{background:linear-gradient(135deg,#f59e0b,#d97706);transform:translateY(-2px) scale(1.02);box-shadow:0 6px 20px rgba(234,179,8,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3);animation:none}.dungeon-name{color:#fff;font-size:20px;font-weight:700;margin:0 0 12px;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6)}.dungeon-stats{display:flex;gap:16px;margin-bottom:16px}.stat-item{display:flex;align-items:center;gap:6px;color:#e3d3d3;font-size:14px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8)}.stat-item svg{color:#992fdb;filter:drop-shadow(0 0 4px rgba(153,47,219,.6))}.stat-item.gold-stat svg{color:gold;filter:drop-shadow(0 0 4px rgba(255,215,0,.6));animation:goldCoinGlow 3s ease-in-out infinite}.stat-item.gold-stat span{color:gold;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 6px rgba(255,215,0,.6)}.drop-rates{margin-bottom:20px}.drop-rates-title{color:#fff;font-size:14px;font-weight:700;margin:0 0 8px;text-shadow:0 1px 2px rgba(0,0,0,.8)}.drop-rates-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px}.drop-rate-item{background:rgba(0,0,0,.4);border:1px solid rgba(153,47,219,.2);border-radius:8px;padding:8px;text-align:center;transition:all .3s ease}.drop-rate-item:hover{background:rgba(153,47,219,.1);border-color:rgba(153,47,219,.4);transform:translateY(-1px)}.tier-label{color:#b3b3b3;font-size:11px;margin-bottom:2px;text-shadow:0 1px 1px rgba(0,0,0,.8)}.rate-value,.tier-label{display:block;font-weight:700}.rate-value{font-size:12px;text-shadow:0 1px 2px rgba(0,0,0,.8)}.enter-dungeon-button{width:100%;background:linear-gradient(135deg,#992fdb,#7c25a8);border:none;border-radius:12px;padding:14px 20px;color:#fff;font-family:Kaph,sans-serif;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px rgba(153,47,219,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2);animation:buttonPulse 2s ease-in-out infinite;overflow:hidden;position:relative}.enter-dungeon-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.3),transparent);animation:buttonShimmer 3s ease-in-out infinite}.enter-dungeon-button:hover{background:linear-gradient(135deg,#a642e8,#8b30bb);transform:translateY(-2px) scale(1.02);box-shadow:0 6px 20px rgba(153,47,219,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3);animation:none}.enter-dungeon-button:active{transform:translateY(-1px) scale(1.01);box-shadow:0 4px 15px rgba(153,47,219,.5),0 2px 8px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.2)}.enter-dungeon-button.locked{background:linear-gradient(135deg,#666,#555);cursor:not-allowed;opacity:.6;animation:none}.enter-dungeon-button.locked:hover{background:linear-gradient(135deg,#666,#555);transform:none;box-shadow:0 4px 15px hsla(0,0%,40%,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.1);animation:none}.enter-dungeon-button.locked:active{transform:none}.enter-dungeon-button.locked:before{display:none}.button-text{position:relative;z-index:1;text-shadow:0 1px 2px rgba(0,0,0,.6);letter-spacing:1px}.dungeon-indicators{display:flex;justify-content:center;gap:8px;margin-top:16px}.indicator{width:8px;height:8px;border-radius:50%;background:rgba(153,47,219,.3);cursor:pointer;transition:all .3s ease}.indicator.active{background:linear-gradient(135deg,#992fdb,#7c25a8);box-shadow:0 0 8px rgba(153,47,219,.6);transform:scale(1.2)}.indicator:hover:not(.active){background:rgba(153,47,219,.5);transform:scale(1.1)}@keyframes titleGlow{0%,to{text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6)}50%{text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 12px rgba(153,47,219,.8)}}@keyframes navButtonFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-1px)}}@keyframes cardFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes badgeGlow{0%,to{box-shadow:0 2px 8px rgba(153,47,219,.4)}50%{box-shadow:0 2px 8px rgba(153,47,219,.6),0 0 12px rgba(153,47,219,.4)}}@keyframes buttonPulse{0%,to{box-shadow:0 4px 15px rgba(153,47,219,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}50%{box-shadow:0 6px 20px rgba(153,47,219,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}}@keyframes buttonShimmer{0%{left:-100%}to{left:100%}}@keyframes goldCoinGlow{0%,to{filter:drop-shadow(0 0 4px rgba(255,215,0,.6))}50%{filter:drop-shadow(0 0 8px rgba(255,215,0,.8)) drop-shadow(0 0 12px rgba(255,215,0,.4))}}@keyframes lockPulse{0%,to{transform:scale(1);opacity:.8}50%{transform:scale(1.1);opacity:1}}@keyframes pulseIndicator{0%,to{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.1)}}@keyframes pulseGlow{0%,to{opacity:1;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6)}50%{opacity:.8;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 16px rgba(153,47,219,.9)}}@keyframes trophyBounce{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.1)}}@keyframes confirmButtonPulse{0%,to{box-shadow:0 4px 15px rgba(34,197,94,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}50%{box-shadow:0 6px 20px rgba(34,197,94,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}}@keyframes confirmButtonShimmer{0%{left:-100%}to{left:100%}}.coming-soon-card{display:flex;flex-direction:column;height:100%;background:linear-gradient(145deg,rgba(153,47,219,.1),rgba(153,47,219,.05));border:2px dashed rgba(153,47,219,.5);border-radius:16px;overflow:hidden}.coming-soon-image-container{position:relative;height:200px;background:linear-gradient(135deg,rgba(153,47,219,.2),rgba(153,47,219,.1));display:flex;align-items:center;justify-content:center;border-bottom:2px dashed rgba(153,47,219,.3)}.coming-soon-icon{font-size:4rem;animation:constructionPulse 2s ease-in-out infinite}.coming-soon-badge{position:absolute;top:12px;right:12px;background:linear-gradient(135deg,#992fdb,#7c25a8);color:#fff;padding:6px 12px;border-radius:12px;font-size:10px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.6);box-shadow:0 2px 8px rgba(153,47,219,.4);animation:comingSoonGlow 3s ease-in-out infinite}.coming-soon-info{padding:20px;text-align:center;flex:1 1;display:flex;flex-direction:column;justify-content:space-between}.coming-soon-title{color:#fff;font-size:22px;font-weight:700;margin:0 0 12px;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6)}.coming-soon-description{color:#b3b3b3;font-size:14px;line-height:1.5;margin:0 0 20px;text-shadow:0 1px 2px rgba(0,0,0,.8)}.coming-soon-button{width:100%;background:linear-gradient(135deg,rgba(153,47,219,.4),rgba(124,37,168,.4));border:2px dashed rgba(153,47,219,.6);border-radius:12px;padding:12px 16px;color:#b3b3b3;font-family:Kaph,sans-serif;font-size:14px;font-weight:700;cursor:default;transition:all .3s ease;box-shadow:0 4px 15px rgba(153,47,219,.2),inset 0 1px 0 hsla(0,0%,100%,.1);text-shadow:0 1px 2px rgba(0,0,0,.6);letter-spacing:1px;opacity:.7;box-sizing:border-box}.coming-soon-button.disabled{pointer-events:none}@keyframes constructionPulse{0%,to{transform:scale(1) rotate(0deg)}50%{transform:scale(1.1) rotate(5deg)}}@keyframes comingSoonGlow{0%,to{box-shadow:0 2px 8px rgba(153,47,219,.4),0 0 8px rgba(153,47,219,.6)}50%{box-shadow:0 2px 8px rgba(153,47,219,.6),0 0 12px rgba(153,47,219,.8)}}@keyframes featureFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@media (hover:none) and (pointer:coarse){.nav-button:hover{transform:none}.nav-button:active{background:rgba(153,47,219,.3);border-color:rgba(153,47,219,.7);transform:scale(.98);transition:all .15s ease!important}.dungeon-card:hover{transform:none}.dungeon-card:active{transform:scale(.98);transition:all .15s ease!important}.drop-rate-item:hover,.dungeon-card .dungeon-image:hover{transform:none}.drop-rate-item:active{background:rgba(153,47,219,.2);transform:scale(.98);transition:all .15s ease!important}.enter-dungeon-button:hover{transform:none}.enter-dungeon-button:active{background:rgba(153,47,219,.8);transform:scale(.98);transition:all .15s ease!important}.enter-dungeon-button.locked:active,.enter-dungeon-button.locked:hover{background:linear-gradient(135deg,#666,#555);transform:none}.indicator:hover{transform:none}.indicator:active{background:rgba(153,47,219,.7);transform:scale(.95)}.coming-soon-badge,.coming-soon-icon,.drop-rate-item,.dungeon-card,.dungeon-level-badge,.enter-dungeon-button:before,.fast-forward-button:before,.feature-item,.lock-icon,.nav-button,.progress-bar-fill:before,.progress-indicator,.progress-timer svg,.star-cost svg{animation:none!important}.nav-button{min-height:44px;min-width:44px;padding:12px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.enter-dungeon-button,.fast-forward-button{min-height:44px;padding:14px 16px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.fast-forward-button:hover{transform:none}.fast-forward-button:active{background:rgba(234,179,8,.8);transform:scale(.98);transition:all .15s ease!important}.confirm-drop-button{min-height:44px;padding:14px 16px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.confirm-drop-button:hover{transform:none}.confirm-drop-button:active{background:rgba(34,197,94,.8);transform:scale(.98);transition:all .15s ease!important}.confirm-drop-button:before{animation:none!important}.indicator{min-width:32px;min-height:32px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}}.daily-chest-container.gold-section{font-family:Kaph,sans-serif;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-top:15px;display:flex;flex-direction:column;gap:10px}.daily-chest-container.gold-section>*{width:100%}.chest-header{display:flex;align-items:center;gap:8px}.chest-icon-container,.chest-image-container{position:relative;display:flex;align-items:center;justify-content:center}.chest-image-container{width:80px;height:80px;transition:all .3s ease}.chest-image-container.opening{transform:scale(1.1)}.chest-image{width:80px;height:80px;object-fit:contain;filter:drop-shadow(0 4px 12px rgba(0,0,0,.6))}.opened-chest-image{width:80px;height:80px;display:flex;align-items:center;justify-content:center}.opened-chest-image .chest-image{filter:drop-shadow(0 4px 12px rgba(255,255,94,.6))}.upgrade-crown{color:#fbbf24;filter:drop-shadow(0 0 8px rgba(251,191,36,.8));animation:crownFloat 2s ease-in-out infinite;margin-right:8px}.chest-cost-section{height:100%;flex:1 1;display:flex;justify-content:space-between;align-items:center;padding:8px;background:rgba(0,0,0,.3);border-radius:12px;border:1px solid rgba(153,47,219,.2);box-sizing:border-box}.open-cost{display:flex;flex-direction:column;gap:4px}.cost-value{display:flex;align-items:center;gap:6px;color:#fff;font-size:12px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8)}.cost-value svg{color:#fbbf24;filter:drop-shadow(0 0 4px rgba(251,191,36,.6))}.upgrade-cost{display:flex;align-items:center;gap:4px;background:rgba(0,0,0,.3);padding:3px 6px;border-radius:6px;font-size:11px;border:1px solid hsla(0,0%,100%,.2)}.upgrade-cost svg{color:#fbbf24;filter:drop-shadow(0 0 4px rgba(251,191,36,.8))}.upgrade-chest-before-open{font-size:12px;text-shadow:0 1px 2px rgba(0,0,0,.8)}.rewards-title,.upgrade-chest-before-open{color:#fff;font-weight:700;text-align:center}.rewards-title{font-size:14px;margin:0 0 8px;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 6px rgba(153,47,219,.6)}.rewards-grid{display:flex;gap:8px}.rewards-grid .reward-item{flex:1 1;min-width:0}.reward-item{display:flex;flex-direction:column;align-items:center;gap:4px;background:rgba(0,0,0,.4);border:1px solid rgba(153,47,219,.3);border-radius:8px;padding:8px 6px;transition:all .3s ease;animation:craftResourceFloat 4s ease-in-out infinite}.reward-item:nth-child(2){animation-delay:-1s}.reward-item:nth-child(3){animation-delay:-2s}.reward-item:nth-child(4){animation-delay:-3s}.reward-item:hover{background:rgba(153,47,219,.1);border-color:rgba(153,47,219,.5);transform:translateY(-2px)}.reward-icon{width:20px;height:20px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.6))}.reward-item.gold-reward svg{width:20px;height:20px;color:gold;filter:drop-shadow(0 0 6px rgba(255,215,0,.8));animation:goldRewardGlow 3s ease-in-out infinite}.reward-details{display:flex;flex-direction:column;align-items:center;gap:2px}.reward-amount{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.8)}.reward-amount,.reward-chance{font-size:10px;font-weight:700}.reward-type{color:#b3b3b3;font-size:8px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8)}.reward-item.tier1-reward .reward-type{color:#9ca3af}.reward-item.tier2-reward .reward-type{color:#3b82f6}.reward-item.tier3-reward .reward-type{color:#a855f7}.reward-item.dropped-reward{background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.4);box-shadow:0 2px 8px rgba(34,197,94,.2)}.reward-item.dropped-reward:hover{background:rgba(34,197,94,.15);border-color:rgba(34,197,94,.6)}.reward-item.dropped-reward .reward-amount{color:#22c55e;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 6px rgba(34,197,94,.6)}.chest-actions{display:flex;flex-direction:column;gap:10px}.chest-actions span{font-size:12px!important}.main-upgrade-button{width:100%;background:linear-gradient(135deg,#f59e0b,#d97706);border:none;border-radius:12px;padding:14px 20px;color:#fff;font-family:Kaph,sans-serif;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px rgba(245,158,11,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2);animation:mainUpgradeButtonPulse 2.5s ease-in-out infinite;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;gap:10px}.main-upgrade-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.3),transparent);animation:mainUpgradeButtonShimmer 3s ease-in-out infinite}.main-upgrade-button:hover{background:linear-gradient(135deg,#fbbf24,#f59e0b);transform:translateY(-2px) scale(1.02);box-shadow:0 6px 20px rgba(245,158,11,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3);animation:none}.main-upgrade-button:active{transform:translateY(-1px) scale(1.01)}.main-upgrade-button:disabled{background:linear-gradient(135deg,#666,#555);cursor:not-allowed;opacity:.6;animation:none;transform:none}.main-upgrade-button svg{position:relative;z-index:1;filter:drop-shadow(0 0 6px rgba(255,255,255,.5))}.main-upgrade-button span{text-shadow:0 1px 2px rgba(0,0,0,.6);letter-spacing:.5px}.main-upgrade-button .upgrade-cost,.main-upgrade-button span{position:relative;z-index:1}.countdown-timer-inline{flex:1 1;height:100%;box-sizing:border-box;display:flex;align-items:center;gap:8px;margin-top:8px;padding:8px 12px;background:rgba(0,0,0,.3);border:1px solid rgba(153,47,219,.3);border-radius:8px;animation:countdownFloat 4s ease-in-out infinite}.countdown-timer-inline svg{color:#992fdb;filter:drop-shadow(0 0 4px rgba(153,47,219,.6));animation:countdownClockTick 2s ease-in-out infinite}.timer-details-inline{display:flex;flex-direction:column;gap:1px}.timer-details-inline .timer-label{color:#b3b3b3;font-size:10px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8);text-transform:uppercase}.timer-countdown-inline{color:#fff;font-size:14px;font-weight:700;font-family:Courier New,monospace;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 6px rgba(153,47,219,.4);animation:countdownGlow 3s ease-in-out infinite}.open-chest-button{width:100%;background:linear-gradient(135deg,#992fdb,#7c25a8);border:none;border-radius:14px;padding:16px 24px;color:#fff;font-family:Kaph,sans-serif;font-size:18px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 6px 18px rgba(153,47,219,.4),0 3px 10px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2);animation:openButtonPulse 2s ease-in-out infinite;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;gap:10px}.open-chest-button:hover{background:linear-gradient(135deg,#a642e8,#8b30bb);transform:translateY(-3px) scale(1.02);box-shadow:0 8px 24px rgba(153,47,219,.6),0 4px 14px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3);animation:none}.open-chest-button:active{transform:translateY(-2px) scale(1.01)}.open-chest-button:disabled{background:linear-gradient(135deg,#666,#555);cursor:not-allowed;opacity:.6;animation:none;transform:none}.open-chest-button.opening{background:linear-gradient(135deg,#22c55e,#16a34a);animation:openingAnimation 2s ease-in-out}.open-chest-button svg{position:relative;z-index:1;filter:drop-shadow(0 0 6px rgba(255,255,255,.5))}.open-chest-button span{position:relative;z-index:1;text-shadow:0 1px 2px rgba(0,0,0,.6);letter-spacing:1px}@keyframes crownFloat{0%,to{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-3px) rotate(5deg)}}@keyframes mainUpgradeButtonPulse{0%,to{box-shadow:0 4px 15px rgba(245,158,11,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}50%{box-shadow:0 6px 20px rgba(245,158,11,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}}@keyframes mainUpgradeButtonShimmer{0%{left:-100%}to{left:100%}}@keyframes goldRewardGlow{0%,to{filter:drop-shadow(0 0 6px rgba(255,215,0,.8))}50%{filter:drop-shadow(0 0 10px rgba(255,215,0,1)) drop-shadow(0 0 16px rgba(255,215,0,.6))}}@keyframes countdownFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes countdownClockTick{0%,to{filter:drop-shadow(0 0 6px rgba(153,47,219,.6));transform:scale(1)}50%{filter:drop-shadow(0 0 10px rgba(153,47,219,.8));transform:scale(1.05)}}@keyframes countdownGlow{0%,to{text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.4)}50%{text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 12px rgba(153,47,219,.6),0 0 16px rgba(153,47,219,.3)}}@keyframes openButtonPulse{0%,to{box-shadow:0 6px 18px rgba(153,47,219,.4),0 3px 10px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}50%{box-shadow:0 8px 24px rgba(153,47,219,.6),0 4px 14px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}}@keyframes openingAnimation{0%,to{background:linear-gradient(135deg,#22c55e,#16a34a)}50%{background:linear-gradient(135deg,#34d399,#10b981)}}.mystic-craft-container{width:100%;max-width:400px;margin:0 auto;font-family:Kaph,sans-serif;-webkit-user-select:none;-moz-user-select:none;user-select:none}.craft-navigation{display:flex;align-items:center;justify-content:center;gap:12px}.craft-navigation .nav-button:hover{background:rgba(153,47,219,.2);border-color:rgba(153,47,219,.6);transform:scale(1.1);box-shadow:0 0 12px rgba(153,47,219,.4)}.craft-navigation .nav-button:active{transform:scale(1.05)}.recipe-counter{color:#e3d3d3;font-size:14px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8);min-width:40px;text-align:center}.craft-recipe-card{padding:20px}.craft-recipe-card:nth-child(2){animation-delay:-2s}.recipe-header{gap:12px;margin-bottom:16px}.recipe-header,.recipe-icon{display:flex;align-items:center}.recipe-icon{width:48px;height:48px;background:linear-gradient(135deg,#992fdb,#7c25a8);border-radius:12px;justify-content:center;color:#fff;animation:iconSparkle 3s ease-in-out infinite;box-shadow:0 4px 12px rgba(153,47,219,.4)}.recipe-info{flex:1 1}.recipe-name{color:#fff;font-size:18px;font-weight:700;margin:0 0 4px;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6)}.recipe-description{color:#b3b3b3;font-size:13px;margin:0;text-shadow:0 1px 2px rgba(0,0,0,.8);line-height:1.4}.craft-formula{display:flex;align-items:center;gap:16px;margin-bottom:16px;padding:16px;background:rgba(0,0,0,.3);border-radius:12px;border:1px solid rgba(153,47,219,.2)}.resource-input,.resource-output{display:flex;flex-direction:column;gap:8px;flex:1 1}.resource-item{display:flex;align-items:center;gap:12px;background:rgba(0,0,0,.4);border:1px solid rgba(153,47,219,.3);border-radius:10px;padding:12px;transition:all .3s ease}.resource-icon{width:32px;height:32px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.6))}.resource-details{display:flex;flex-direction:column;gap:2px}.resource-count{color:#fff;font-size:14px}.resource-count,.resource-tier{font-weight:700;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.8)}.resource-tier{font-size:11px;opacity:.9}.gold-requirement{display:flex;align-items:center;gap:6px;color:gold;font-size:12px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 6px rgba(255,215,0,.6);background:rgba(255,215,0,.1);border:1px solid rgba(255,215,0,.3);border-radius:8px;padding:6px 10px}.gold-requirement svg{color:gold;filter:drop-shadow(0 0 4px rgba(255,215,0,.6));animation:goldIconGlow 3s ease-in-out infinite}.craft-arrow{color:#992fdb;animation:arrowPulse 2s ease-in-out infinite;filter:drop-shadow(0 0 8px rgba(153,47,219,.6))}.craft-stats{display:flex;justify-content:center;align-items:center;margin-bottom:16px;gap:12px;font-size:12px;text-shadow:0 1px 2px rgba(0,0,0,.8);font-weight:700}.craft-button{width:100%;padding:14px 20px;font-size:16px}@keyframes recipeCardFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes iconSparkle{0%,to{box-shadow:0 4px 12px rgba(153,47,219,.4);transform:scale(1)}50%{box-shadow:0 6px 16px rgba(153,47,219,.6),0 0 12px rgba(153,47,219,.4);transform:scale(1.05)}}@keyframes arrowPulse{0%,to{transform:scale(1);filter:drop-shadow(0 0 8px rgba(153,47,219,.6))}50%{transform:scale(1.1);filter:drop-shadow(0 0 12px rgba(153,47,219,.8))}}@keyframes dangerGlow{0%,to{filter:drop-shadow(0 0 4px rgba(239,68,68,.6))}50%{filter:drop-shadow(0 0 8px rgba(239,68,68,.8))}}@media (hover:hover){.game-nft-card:hover{transform:translateY(-4px);border-color:rgba(153,47,219,.6);box-shadow:0 8px 30px rgba(0,0,0,.5),0 0 20px rgba(153,47,219,.3),inset 0 1px 0 hsla(0,0%,100%,.2)}}.nft-image-container{position:relative;width:100%;height:160px;overflow:hidden;padding:12px;box-sizing:border-box;background:linear-gradient(135deg,rgba(153,47,219,.1),rgba(0,0,0,.3))}.nft-image{width:100%;height:100%;object-fit:contain;transition:transform .3s ease;filter:brightness(.9)}@media (hover:hover){.game-nft-card:hover .nft-image{transform:scale(1.05);filter:brightness(1)}}.nft-rarity-badge{position:absolute;top:8px;right:8px;color:#fff;padding:4px 8px;border-radius:8px;font-size:10px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.6);box-shadow:0 2px 8px rgba(0,0,0,.3);animation:rarityGlow 3s ease-in-out infinite;text-transform:uppercase;letter-spacing:.5px}.nft-info{padding:16px;position:relative}.nft-info.in-progress{background:linear-gradient(135deg,rgba(34,197,94,.1),rgba(34,197,94,.05));border:1px solid rgba(34,197,94,.3);border-radius:0 0 12px 12px;position:relative;z-index:5}.nft-name{color:#fff;font-size:16px;font-weight:700;margin:0 0 8px;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6);text-align:center}.nft-stats-row{justify-content:space-evenly;gap:12px;margin-bottom:12px}.nft-craft-time,.nft-stats-row{display:flex;align-items:center}.nft-craft-time{gap:6px;color:#e3d3d3;font-size:12px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8)}.nft-craft-time svg{color:#992fdb;filter:drop-shadow(0 0 4px rgba(153,47,219,.6))}.nft-gold-cost{display:flex;align-items:center;gap:6px;color:gold;font-size:12px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 6px rgba(255,215,0,.6)}.nft-gold-cost svg{color:gold;filter:drop-shadow(0 0 4px rgba(255,215,0,.6));animation:goldIconGlow 3s ease-in-out infinite}.nft-resources{margin-bottom:16px}.resources-title{color:#fff;font-size:12px;font-weight:700;margin:0 0 8px;text-shadow:0 1px 2px rgba(0,0,0,.8);text-align:center}.resources-list{display:flex;justify-content:center;gap:8px}.resource-requirement{display:flex;flex-direction:column;align-items:center;gap:2px;background:rgba(0,0,0,.4);border:1px solid rgba(153,47,219,.2);border-radius:8px;padding:6px 4px;transition:all .3s ease;animation:resourceReqFloat 4s ease-in-out infinite}.resource-requirement:nth-child(2){animation-delay:-1.3s}.resource-requirement:nth-child(3){animation-delay:-2.6s}@media (hover:hover){.resource-requirement:hover{background:rgba(153,47,219,.1);border-color:rgba(153,47,219,.4);transform:translateY(-2px)}}.resource-req-icon{width:24px;height:24px;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}.resource-amount{color:#fff;font-size:9px;font-weight:700;text-shadow:0 1px 1px rgba(0,0,0,.8);letter-spacing:.5px}.progress-section{padding:16px;background:rgba(0,0,0,.3);border-radius:12px}.error-section,.progress-section{display:flex;flex-direction:column;gap:16px}.error-section{align-items:center;text-align:center}.error-details{display:flex;flex-direction:column;gap:8px;align-items:center}.error-title{font-size:16px;font-weight:700;color:#ef4444;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(239,68,68,.6);text-align:center}.error-message{font-size:12px;color:#fca5a5;text-shadow:0 1px 2px rgba(0,0,0,.8);line-height:1.4;max-width:280px;text-align:center}.progress-timer{display:flex;align-items:center;gap:12px;color:#22c55e}.progress-timer svg{color:#22c55e;filter:drop-shadow(0 0 4px rgba(34,197,94,.6));animation:progressClockTick 1s ease-in-out infinite}.timer-details{display:flex;flex-direction:column;gap:2px}.timer-label{font-size:11px;color:#b3b3b3;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8)}.timer-countdown{font-size:16px;font-weight:700;color:#22c55e;text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(34,197,94,.6);font-family:Courier New,monospace;letter-spacing:1px}.nft-progress-bar-container{width:100%;height:8px;background:rgba(0,0,0,.6);border-radius:4px;overflow:hidden;border:1px solid rgba(34,197,94,.3);box-shadow:inset 0 2px 4px rgba(0,0,0,.5)}.nft-progress-bar-fill{height:100%;background:linear-gradient(90deg,#22c55e,#16a34a);border-radius:4px;transition:width .5s ease;position:relative;overflow:hidden}.nft-progress-bar-fill:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.4),transparent);animation:progressShimmer 2s ease-in-out infinite}.fast-forward-button{width:100%;background:linear-gradient(135deg,#eab308,#ca8a04);border:none;border-radius:10px;padding:12px 16px;color:#fff;font-family:Kaph,sans-serif;font-size:14px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px rgba(234,179,8,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2);animation:fastForwardPulse 2s ease-in-out infinite;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;gap:8px}.fast-forward-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.3),transparent);animation:fastForwardShimmer 3s ease-in-out infinite}@media (hover:hover){.fast-forward-button:hover{background:linear-gradient(135deg,#f59e0b,#d97706);transform:translateY(-2px) scale(1.02);box-shadow:0 6px 20px rgba(234,179,8,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3);animation:none}}.fast-forward-button:active{transform:translateY(-1px) scale(1.01);box-shadow:0 4px 15px rgba(234,179,8,.5),0 2px 8px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.2)}.fast-forward-button svg{position:relative;z-index:1;filter:drop-shadow(0 0 4px rgba(255,255,255,.5))}.fast-forward-button>span{position:relative;z-index:1;text-shadow:0 1px 2px rgba(0,0,0,.6);letter-spacing:1px}.star-cost{display:flex;align-items:center;gap:4px;background:rgba(0,0,0,.3);padding:4px 8px;border-radius:6px;font-size:12px;font-weight:700;border:1px solid hsla(0,0%,100%,.2);position:relative;z-index:1}.star-cost svg{color:#fbbf24;filter:drop-shadow(0 0 4px rgba(251,191,36,.8));animation:starGlow 2s ease-in-out infinite}.error-ok-button{width:100%;max-width:160px;background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:10px;padding:12px 16px;color:#fff;font-family:Kaph,sans-serif;font-size:14px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px rgba(239,68,68,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2);animation:errorButtonPulse 2s ease-in-out infinite;text-shadow:0 1px 2px rgba(0,0,0,.6);letter-spacing:1px}@media (hover:hover){.error-ok-button:hover{background:linear-gradient(135deg,#f87171,#ef4444);transform:translateY(-2px) scale(1.02);box-shadow:0 6px 20px rgba(239,68,68,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3);animation:none}}.error-ok-button:active{transform:translateY(-1px) scale(1.01);box-shadow:0 4px 15px rgba(239,68,68,.5),0 2px 8px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.2)}.craft-nft-button{width:100%;border-radius:10px;padding:12px 16px;font-size:14px}.craft-nft-button.loading{opacity:.7;cursor:not-allowed;background:linear-gradient(135deg,#6b7280,#4b5563);animation:loadingPulse 1.5s ease-in-out infinite}@media (hover:hover){.craft-nft-button.loading:hover{background:linear-gradient(135deg,#6b7280,#4b5563);transform:none;box-shadow:0 4px 15px hsla(220,9%,46%,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.1)}}.craft-nft-button:disabled{opacity:.7;cursor:not-allowed}@keyframes rarityGlow{0%,to{box-shadow:0 2px 8px rgba(0,0,0,.3)}50%{box-shadow:0 2px 8px rgba(0,0,0,.3),0 0 12px hsla(0,0%,100%,.3)}}@keyframes resourceReqFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-1px)}}@keyframes craftButtonPulse{0%,to{box-shadow:0 4px 15px rgba(153,47,219,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}50%{box-shadow:0 6px 20px rgba(153,47,219,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}}@keyframes craftButtonShimmer{0%{left:-100%}to{left:100%}}@keyframes goldIconGlow{0%,to{filter:drop-shadow(0 0 4px rgba(255,215,0,.6))}50%{filter:drop-shadow(0 0 8px rgba(255,215,0,.8)) drop-shadow(0 0 12px rgba(255,215,0,.4))}}@keyframes progressClockTick{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}@keyframes progressShimmer{0%{left:-100%}to{left:100%}}@keyframes fastForwardPulse{0%,to{box-shadow:0 4px 15px rgba(234,179,8,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}50%{box-shadow:0 6px 20px rgba(234,179,8,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}}@keyframes fastForwardShimmer{0%{left:-100%}to{left:100%}}@keyframes starGlow{0%,to{filter:drop-shadow(0 0 4px rgba(251,191,36,.8))}50%{filter:drop-shadow(0 0 8px rgba(251,191,36,1)) drop-shadow(0 0 12px rgba(251,191,36,.6))}}@keyframes loadingPulse{0%,to{opacity:.7;box-shadow:0 4px 15px hsla(220,9%,46%,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.1)}50%{opacity:.5;box-shadow:0 6px 20px hsla(220,9%,46%,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.2)}}@keyframes errorPulse{0%,to{transform:scale(1);opacity:.9}50%{transform:scale(1.1);opacity:1}}@keyframes errorButtonPulse{0%,to{box-shadow:0 4px 15px rgba(239,68,68,.4),0 2px 8px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.2)}50%{box-shadow:0 6px 20px rgba(239,68,68,.6),0 3px 12px rgba(0,0,0,.3),inset 0 1px 0 hsla(0,0%,100%,.3)}}@media (max-width:768px){.nft-image-container{height:140px}.nft-info,.progress-section{padding:12px}}@media (hover:none) and (pointer:coarse){.fast-forward-button:hover{transform:none}.fast-forward-button:active{background:rgba(234,179,8,.8)}.craft-nft-button:active,.fast-forward-button:active{transform:scale(.98);transition:all .15s ease!important}.error-ok-button:hover{transform:none}.error-ok-button:active{background:rgba(239,68,68,.8);transform:scale(.98);transition:all .15s ease!important}.fast-forward-button:before,.nft-progress-bar-fill:before,.progress-timer svg,.star-cost svg{animation:none!important}.craft-nft-button,.error-ok-button,.fast-forward-button{min-height:44px;padding:14px 16px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}}.treasure-forge-container{width:100%;max-width:800px;margin:0 auto;font-family:Kaph,sans-serif;-webkit-user-select:none;-moz-user-select:none;user-select:none}.rarity-filter-container{margin-bottom:20px}.rarity-filters{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:12px}.rarity-filter-tag{padding:8px 16px;border:1px solid hsla(0,0%,100%,.2);border-radius:20px;background:hsla(0,0%,100%,.1);color:#fff;font-size:14px;font-weight:700;cursor:pointer;transition:all .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-shadow:0 1px 2px rgba(0,0,0,.8);white-space:nowrap;min-width:60px;text-align:center}@media (hover:hover){.rarity-filter-tag:hover{transform:translateY(-1px);border-color:hsla(0,0%,100%,.4);box-shadow:0 4px 12px rgba(0,0,0,.3)}}.rarity-filter-tag.active{border-color:hsla(0,0%,100%,.1);box-shadow:0 4px 15px rgba(0,0,0,.4);transform:translateY(-1px)}.rarity-filter-tag:active{transform:translateY(0)}.no-results-message{text-align:center;color:#e3d3d3;font-size:14px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8);opacity:.8}.sort-container{justify-content:space-between;margin-bottom:20px;padding:0 4px}.sort-button,.sort-container{display:flex;align-items:center}.sort-button{gap:8px;padding:8px 16px;background:hsla(0,0%,100%,.1);border:1px solid hsla(0,0%,100%,.2);border-radius:12px;color:#fff;font-size:14px;font-weight:700;cursor:pointer;transition:all .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-shadow:0 1px 2px rgba(0,0,0,.8);min-height:36px}@media (hover:hover){.sort-button:hover{background:hsla(0,0%,100%,.15);border-color:hsla(0,0%,100%,.4);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.3)}}.sort-button:active{transform:translateY(0)}.sort-label{white-space:nowrap}.sort-info{color:#e3d3d3;font-size:12px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8);opacity:.8;text-align:right}@media (hover:hover){.forge-nav-button:hover{background:rgba(153,47,219,.2);border-color:rgba(153,47,219,.6);transform:scale(1.1);box-shadow:0 0 12px rgba(153,47,219,.4)}}.forge-nav-button:active{transform:scale(1.05)}.forge-page-counter{color:#e3d3d3;font-size:14px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8);min-width:40px;text-align:center}.nft-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:20px;gap:20px;margin-bottom:20px}.forge-indicators{display:flex;justify-content:center;gap:8px;margin-top:16px}.page-indicator{width:8px;height:8px;border-radius:50%;background:rgba(153,47,219,.3);cursor:pointer;transition:all .3s ease}.page-indicator.active{background:linear-gradient(135deg,#992fdb,#7c25a8);box-shadow:0 0 8px rgba(153,47,219,.6);transform:scale(1.2)}@media (hover:hover){.page-indicator:hover:not(.active){background:rgba(153,47,219,.5);transform:scale(1.1)}}@keyframes forgeTitleGlow{0%,to{text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 8px rgba(153,47,219,.6)}50%{text-shadow:0 1px 2px rgba(0,0,0,.8),0 0 12px rgba(153,47,219,.8)}}@keyframes forgeNavFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-1px)}}@keyframes nftCardFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@media (max-width:768px){.nft-grid{gap:16px}.forge-header{flex-direction:column;gap:12px;text-align:center}.rarity-filters{gap:6px;padding:0 10px}.rarity-filter-tag{padding:6px 12px;font-size:12px;min-width:50px}.sort-container{flex-direction:column;gap:8px;align-items:stretch;margin-bottom:16px}.sort-button{padding:8px 12px;font-size:13px;justify-content:center}.sort-info{text-align:center;font-size:11px}}@media (max-width:480px){.rarity-filters{gap:4px;padding:0 5px}.rarity-filter-tag{padding:6px 10px;font-size:11px;min-width:45px;max-width:calc(33.33% - 3px)}.no-results-message{font-size:12px;padding:0 10px}.sort-button{padding:6px 10px;font-size:12px;gap:6px}.sort-info{font-size:10px}}.empty-state,.error-state,.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:200px;text-align:center;color:#e3d3d3;font-size:16px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.8)}.retry-button{margin-top:12px;padding:8px 16px;background:rgba(153,47,219,.8);border:1px solid rgba(153,47,219,.6);border-radius:8px;color:#fff;font-size:14px;font-weight:700;cursor:pointer;transition:all .2s ease}@media (hover:hover){.retry-button:hover{background:#992fdb;border-color:rgba(153,47,219,.8);transform:scale(1.05)}}