.loading-container{text-align:center;color:#fff}.loading-spinner{width:40px;height:40px;border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}.login-container{width:100%;max-width:400px;padding:20px;background:rgba(0,0,0,.2);border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:relative;overflow:hidden;border:2px solid rgba(255,255,255,.3);box-shadow:0 0 20px #ffffff1a}.login-card{background:none;border-radius:20px;padding:0;text-align:center;box-shadow:0 20px 40px #0000001a;border:none;position:relative;width:400px;height:400px;cursor:pointer;overflow:hidden;transition:all .3s ease;z-index:10}.login-card:hover{transform:translateY(-5px);box-shadow:0 25px 50px #0003}.login-card:active{transform:translateY(-2px);box-shadow:0 15px 30px #0000001a}.login-card h1{color:#fff;margin-bottom:10px;font-size:2.5rem;font-weight:700;text-shadow:2px 2px 4px rgba(0,0,0,.7)}.login-card p{color:#fff;margin-bottom:30px;font-size:1.1rem;text-shadow:1px 1px 2px rgba(0,0,0,.7)}.container-background{position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(/assets/buttonlogo-ffcae9ec.png);background-size:cover;background-position:center;background-repeat:no-repeat;z-index:1;opacity:1;pointer-events:none}.card-content{position:relative;z-index:2;padding:40px;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:rgba(0,0,0,.1);color:#fff;pointer-events:none}.login-btn{background:none;border:none;padding:0;border-radius:20px;cursor:pointer;transition:all .3s ease;box-shadow:0 10px 20px #0003;overflow:hidden;position:relative;width:300px;height:300px;display:block}.login-btn:hover{transform:translateY(-5px);box-shadow:0 20px 40px #0000004d}.login-btn:active{transform:translateY(-2px);box-shadow:0 10px 20px #0003}.button-logo{width:100%;height:100%;object-fit:cover;position:absolute;top:0;left:0;display:block}.user-dashboard{width:100%;max-width:500px;padding:20px}.dashboard-card{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;padding:40px;box-shadow:0 20px 40px #0000001a;border:1px solid rgba(255,255,255,.2)}.dashboard-card h2{color:#333;margin-bottom:30px;text-align:center;font-size:2rem}.error-message{background:#fee;color:#c33;padding:15px;border-radius:10px;margin-bottom:20px;text-align:center;border:1px solid #fcc}.username-section{background:#f0f8ff;padding:20px;border-radius:15px;margin-bottom:20px;text-align:center;border:1px solid #e0f0ff}.username-section strong{color:#333;font-size:1.2rem}.no-username{background:#fff8f0;padding:20px;border-radius:15px;margin-bottom:20px;text-align:center;border:1px solid #ffe0c0}.no-username p{color:#666;margin-bottom:15px}.register-link{color:#667eea;text-decoration:none;font-weight:600;padding:10px 20px;border:2px solid #667eea;border-radius:25px;transition:all .3s ease;display:inline-block}.register-link:hover{background:#667eea;color:#fff}.wallet-section{background:#f8f9fa;padding:20px;border-radius:15px;margin-bottom:20px;border:1px solid #e9ecef}.wallet-section p{margin-bottom:15px;color:#333}.wallet-container{display:flex;align-items:center;justify-content:space-between;background:white;padding:15px;border-radius:10px;border:1px solid #dee2e6}.wallet-address{font-family:Courier New,monospace;font-size:1rem;color:#333;cursor:pointer;padding:5px 10px;border-radius:5px;transition:all .3s ease;-webkit-user-select:none;user-select:none}.wallet-address:hover{background:#f8f9fa}.copy-hint{color:#666;font-size:.9rem}.logout-btn{background:#dc3545;color:#fff;border:none;padding:15px 30px;border-radius:50px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;width:100%;box-shadow:0 5px 15px #dc35454d}.logout-btn:hover{background:#c82333;transform:translateY(-2px);box-shadow:0 8px 20px #dc354566}.play-game-btn{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;padding:15px 30px;border-radius:50px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;width:100%;margin-top:15px;box-shadow:0 5px 15px #667eea4d}.play-game-btn:hover{background:linear-gradient(135deg,#5a6fd8 0%,#6a4190 100%);transform:translateY(-2px);box-shadow:0 8px 20px #667eea66}@media (max-width: 480px){.login-container,.user-dashboard{padding:10px}.login-card,.dashboard-card{padding:30px 20px}.login-card h1{font-size:2rem}.dashboard-card h2{font-size:1.5rem}}body{font-family:Arial,sans-serif;background:linear-gradient(135deg,#0f0f23 0%,#1a1a2e 50%,#16213e 100%);color:#fff;overflow:hidden;height:100vh}.game-page{width:100%;height:100vh;background:#000;position:relative;overflow:hidden}.game-header{position:absolute;top:20px;left:20px;z-index:1000;display:flex;align-items:center;gap:20px}.back-btn{background:rgba(255,255,255,.1);color:#fff;border:2px solid rgba(255,255,255,.3);padding:10px 20px;border-radius:25px;cursor:pointer;text-decoration:none;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:1rem;z-index:1001}.back-btn:hover{background:rgba(255,255,255,.2);border-color:#ffffff80;transform:translateY(-2px)}.game-title{font-size:1.5rem;font-weight:700;color:#667eea;text-shadow:0 0 10px rgba(102,126,234,.5);z-index:1001}.user-info{display:flex;flex-direction:column;gap:5px;z-index:1001}.user-info .username{font-size:1rem;color:#4ade80;font-weight:700}.user-info .wallet{font-size:.9rem;color:#fbbf24;font-family:monospace}.game-container{width:100%;height:100vh;position:relative}.loading-game{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;color:#fff;z-index:100}.loading-spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.3);border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-game p{font-size:1.2rem;color:#667eea;text-shadow:0 0 10px rgba(102,126,234,.5)}.game-container iframe{width:100%!important;height:100%!important;border:none!important}.game-container #canvas{width:100%!important;height:100%!important;display:block!important}.game-container #status{width:100%!important;height:100%!important}@media (max-width: 768px){.game-header{flex-direction:column;gap:10px}.game-title{font-size:1.2rem}.back-btn{padding:8px 16px;font-size:.9rem}}*{margin:0;padding:0;box-sizing:border-box}body{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;background:linear-gradient(135deg,#0f0f23 0%,#1a1a2e 50%,#16213e 100%);min-height:100vh}#root{min-height:100vh;display:flex;align-items:center;justify-content:center}body{margin:0;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}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
