:root{font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400;--bg-primary: #0a0a0a;--bg-secondary: #141414;--bg-tertiary: #1a1a1a;--accent-gold: #ffd700;--accent-green: #00ff88;--accent-red: #ff4444;--text-primary: #ffffff;--text-secondary: #a0a0a0;--border: #2a2a2a;--shadow: rgba(255, 215, 0, .15);color:var(--text-primary);background-color:var(--bg-primary);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(135deg,#0a0a0a,#1a1a1a)}#app{min-height:100vh;display:flex;flex-direction:column}.header{background:var(--bg-secondary);border-bottom:2px solid var(--border);padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 20px #00000080}.header h1{font-size:2rem;background:linear-gradient(135deg,var(--accent-gold),#ffed4e);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-shadow:0 0 30px var(--shadow);animation:glow 2s ease-in-out infinite}@keyframes glow{0%,to{opacity:1}50%{opacity:.8}}.wallet{display:flex;align-items:center;gap:1rem;background:var(--bg-tertiary);padding:.8rem 1.5rem;border-radius:50px;border:2px solid var(--accent-gold);box-shadow:0 0 20px var(--shadow);animation:pulse 3s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}.wallet-amount{font-size:1.3rem;font-weight:700;color:var(--accent-gold)}.nav{display:flex;gap:1rem;padding:1rem 2rem;background:var(--bg-secondary);border-bottom:1px solid var(--border);justify-content:center;align-items:center;position:relative;z-index:1000}.nav-btn{padding:.8rem 1.5rem;background:var(--bg-tertiary);border:2px solid var(--border);border-radius:8px;color:var(--text-primary);font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap}.nav-btn:hover{border-color:var(--accent-gold);transform:translateY(-2px);box-shadow:0 4px 15px var(--shadow)}.nav-btn.active{background:linear-gradient(135deg,var(--accent-gold),#ffed4e);color:#0a0a0a;border-color:var(--accent-gold)}.main-content{flex:1;padding:2rem;max-width:1400px;margin:0 auto;width:100%;position:relative;z-index:1}.game-container{background:var(--bg-secondary);border:2px solid var(--border);border-radius:16px;padding:2rem;box-shadow:0 8px 30px #0006;animation:fadeIn .5s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.btn{padding:1rem 2rem;font-size:1.1rem;font-weight:700;border-radius:8px;border:none;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:1px}.btn-primary{background:linear-gradient(135deg,var(--accent-gold),#ffed4e);color:#0a0a0a;box-shadow:0 4px 15px var(--shadow)}.btn-primary:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 6px 25px var(--shadow)}.btn-primary:active:not(:disabled){transform:translateY(-1px)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:var(--bg-tertiary);color:var(--text-primary);border:2px solid var(--border)}.btn-secondary:hover{border-color:var(--accent-gold);transform:translateY(-2px)}.btn-green{background:var(--accent-green);color:#0a0a0a}.btn-red{background:var(--accent-red);color:#fff}input[type=number]{background:var(--bg-tertiary);border:2px solid var(--border);border-radius:8px;padding:1rem;font-size:1.1rem;color:var(--text-primary);width:100%;max-width:300px;transition:border-color .3s ease}input[type=number]:focus{outline:none;border-color:var(--accent-gold);box-shadow:0 0 10px var(--shadow)}.leaderboard-table{width:100%;border-collapse:collapse;margin-top:1rem}.leaderboard-table th,.leaderboard-table td{padding:1rem;text-align:left;border-bottom:1px solid var(--border)}.leaderboard-table th{background:var(--bg-tertiary);color:var(--accent-gold);font-weight:700;text-transform:uppercase;letter-spacing:1px}.leaderboard-table tr:hover{background:var(--bg-tertiary)}.rank-1{color:var(--accent-gold);font-weight:700}.rank-2{color:silver;font-weight:700}.rank-3{color:#cd7f32;font-weight:700}.coin{width:150px;height:150px;margin:2rem auto;position:relative;transform-style:preserve-3d;transition:transform 1s ease}.coin.flipping{animation:flip 1s ease-in-out}@keyframes flip{0%{transform:rotateY(0)}to{transform:rotateY(1800deg)}}.coin-face{width:100%;height:100%;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:3rem;font-weight:700;background:linear-gradient(135deg,var(--accent-gold),#ffed4e);color:#0a0a0a;box-shadow:0 8px 30px var(--shadow)}.roulette-wheel{width:300px;height:300px;margin:2rem auto;border-radius:50%;background:conic-gradient(var(--accent-red) 0deg 18deg,#000 18deg 36deg,var(--accent-red) 36deg 54deg,#000 54deg 72deg,var(--accent-red) 72deg 90deg,#000 90deg 108deg,var(--accent-red) 108deg 126deg,#000 126deg 144deg,var(--accent-red) 144deg 162deg,#000 162deg 180deg,var(--accent-red) 180deg 198deg,#000 198deg 216deg,var(--accent-red) 216deg 234deg,#000 234deg 252deg,var(--accent-red) 252deg 270deg,#000 270deg 288deg,var(--accent-red) 288deg 306deg,#000 306deg 324deg,var(--accent-red) 324deg 342deg,#000 342deg 360deg);border:10px solid var(--accent-gold);box-shadow:0 0 40px var(--shadow);position:relative;transition:transform 4s cubic-bezier(.17,.67,.12,.99)}.roulette-wheel.spinning{animation:spin 4s cubic-bezier(.17,.67,.12,.99)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1800deg)}}.roulette-pointer{position:absolute;top:-20px;left:50%;transform:translate(-50%);width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-top:30px solid var(--accent-gold);filter:drop-shadow(0 4px 10px var(--shadow))}.slots-container{display:flex;gap:1rem;justify-content:center;margin:2rem 0}.slot-reel{width:120px;height:150px;background:var(--bg-tertiary);border:3px solid var(--accent-gold);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:4rem;box-shadow:0 4px 20px var(--shadow);overflow:hidden;position:relative}.slot-reel.spinning{animation:slotSpin .5s ease infinite}@keyframes slotSpin{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:2rem}.stat-card{background:var(--bg-tertiary);border:2px solid var(--border);border-radius:12px;padding:1.5rem;text-align:center;transition:all .3s ease}.stat-card:hover{border-color:var(--accent-gold);transform:translateY(-5px);box-shadow:0 8px 25px var(--shadow)}.stat-value{font-size:2.5rem;font-weight:700;color:var(--accent-gold);margin:.5rem 0}.stat-label{color:var(--text-secondary);font-size:.9rem;text-transform:uppercase;letter-spacing:1px}.profile-section{max-width:600px;margin:0 auto}.profile-avatar{width:150px;height:150px;border-radius:50%;background:linear-gradient(135deg,var(--accent-gold),#ffed4e);display:flex;align-items:center;justify-content:center;font-size:4rem;margin:0 auto 2rem;border:4px solid var(--border);box-shadow:0 8px 30px var(--shadow)}.form-group{margin-bottom:1.5rem;text-align:left}.form-group label{display:block;margin-bottom:.5rem;color:var(--text-secondary);font-weight:600;text-transform:uppercase;letter-spacing:1px;font-size:.9rem}.form-group input,.form-group select{width:100%;background:var(--bg-tertiary);border:2px solid var(--border);border-radius:8px;padding:1rem;font-size:1rem;color:var(--text-primary);transition:border-color .3s ease}.form-group input:focus,.form-group select:focus{outline:none;border-color:var(--accent-gold);box-shadow:0 0 10px var(--shadow)}.color-picker{display:flex;gap:1rem;flex-wrap:wrap;margin-top:.5rem}.color-option{width:50px;height:50px;border-radius:8px;cursor:pointer;border:3px solid transparent;transition:all .3s ease}.color-option:hover{transform:scale(1.1)}.color-option.selected{border-color:var(--accent-gold);box-shadow:0 0 15px var(--shadow)}.text-center{text-align:center}.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mb-1{margin-bottom:1rem}.mb-2{margin-bottom:2rem}.flex{display:flex}.flex-center{display:flex;justify-content:center;align-items:center}.gap-1{gap:1rem}.gap-2{gap:2rem}.hidden{display:none}.message{padding:1rem 2rem;border-radius:8px;margin:1rem 0;font-weight:600;animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.message-success{background:#00ff881a;border:2px solid var(--accent-green);color:var(--accent-green)}.message-error{background:#ff44441a;border:2px solid var(--accent-red);color:var(--accent-red)}@media(max-width:768px){.header{flex-direction:column;gap:1rem;padding:1rem}.header h1{font-size:1.8rem!important}.wallet{padding:.6rem 1rem;width:100%;justify-content:center}.wallet-amount{font-size:1rem}.nav{padding:.8rem 1rem;gap:.5rem;flex-wrap:wrap}.nav-btn{padding:.6rem 1rem;font-size:.9rem}.main-content{padding:1rem}.game-container{padding:1.5rem;margin:0}.stats-grid{grid-template-columns:1fr 1fr;gap:1rem}.stat-card{padding:1rem}.stat-value{font-size:1.5rem}.leaderboard-table{font-size:.85rem}.leaderboard-table th,.leaderboard-table td{padding:.8rem .5rem}.btn{padding:.8rem 1.5rem;font-size:.9rem}.profile-section{padding:1.5rem}.profile-avatar{width:120px;height:120px;font-size:4rem}.coin{width:120px;height:120px}.coin-face{font-size:3rem}.roulette-wheel{width:200px;height:200px}.slots-container{gap:1rem}.slot-reel{width:80px;height:80px;font-size:3rem}}@media(max-width:480px){:root{font-size:14px}.header{padding:.8rem}.header h1{font-size:1.5rem!important;text-align:center}.wallet{padding:.5rem .8rem}.wallet span:first-child{font-size:1.2rem}.wallet-amount{font-size:.9rem}#profile-header-btn{padding:.4rem .8rem!important}#profile-header-btn img,#profile-header-btn div{width:32px!important;height:32px!important;font-size:1.2rem!important}#profile-header-btn span{font-size:.85rem!important}.nav{padding:.6rem;gap:.4rem;overflow-x:auto;justify-content:flex-start;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}.nav-btn{padding:.5rem .8rem;font-size:.85rem;white-space:nowrap;flex-shrink:0}#games-dropdown{min-width:180px!important;left:50%!important;transform:translate(-50%)}.main-content{padding:.8rem}.game-container{padding:1rem}.game-container h2{font-size:1.5rem}.game-container h3{font-size:1.2rem}.stats-grid{grid-template-columns:1fr;gap:.8rem}.stat-card{padding:.8rem}.stat-label{font-size:.85rem}.stat-value{font-size:1.3rem}.leaderboard-table{font-size:.75rem}.leaderboard-table th,.leaderboard-table td{padding:.6rem .3rem}.leaderboard-table img,.leaderboard-table div[style*="width: 32px"]{width:24px!important;height:24px!important;font-size:1rem!important}.game-container>table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}.btn{padding:.7rem 1.2rem;font-size:.85rem;width:100%}.btn-group{flex-direction:column;width:100%}.form-group{margin-bottom:1rem}.form-group input,.form-group select{padding:.8rem;font-size:.9rem}.profile-section{padding:1rem}.profile-avatar{width:100px;height:100px;font-size:3.5rem}.coin{width:100px;height:100px}.coin-face{font-size:2.5rem}.roulette-wheel{width:180px;height:180px}.roulette-pointer{width:30px;height:30px}.slots-container{gap:.5rem}.slot-reel{width:70px;height:70px;font-size:2.5rem}input[type=number]{padding:.8rem;font-size:1rem}.flex{flex-direction:column}.gap-1{gap:.5rem}.gap-2{gap:1rem}}@media(max-width:360px){.header h1{font-size:1.3rem!important}.wallet-amount{font-size:.8rem}.nav-btn{padding:.4rem .6rem;font-size:.8rem}.stat-value{font-size:1.1rem}.leaderboard-table{font-size:.7rem}.profile-avatar{width:80px;height:80px;font-size:3rem}}@media(max-height:600px)and (orientation:landscape){.header,.nav{padding:.5rem 1rem}.main-content,.game-container{padding:1rem}.profile-avatar{width:80px;height:80px}}@keyframes plinkoDrop{0%{top:10px;left:50%;transform:translate(-50%)}10%{left:45%}20%{left:55%}30%{left:40%}40%{left:60%}50%{left:35%}60%{left:65%}70%{left:30%}80%{left:70%}90%{left:45%}to{top:350px;left:50%;transform:translate(-50%)}}@media(hover:none)and (pointer:coarse){.nav-btn,.btn{min-height:44px;min-width:44px}button,a,input[type=file]{cursor:pointer}}
