*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,sans-serif;background:#2c3e50!important;color:#fff;overflow-x:hidden;min-height:100vh;margin:0;padding:0}#app{position:relative;min-height:100vh}.game-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:rgba(0,0,0,.3);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.game-icons{display:flex;gap:12px;align-items:center}.icon-btn{background:rgba(255,255,255,.7);border:1px solid #bbb;font-size:1.7rem;color:#007bff;cursor:pointer;transition:color .2s,background .2s,border .2s;padding:4px 8px;border-radius:50%;box-shadow:0 2px 8px #00000014}.icon-btn:hover{color:#fff;background:#007bff;border:1px solid #007bff}.game-info h2{font-size:1.5rem;margin-bottom:.5rem}.game-stats{display:flex;gap:1rem;font-size:.9rem;color:#b8c5d6}.game-table{position:relative;height:calc(100vh - 200px);background:var(--game-table-bg, linear-gradient(135deg, #0f4c75 0%, #3282b8 100%));border-radius:32px;margin:1.5rem 2rem;padding:2.5rem 2rem 2rem;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 8px 40px #0000002e,0 1.5px #fff2 inset;border:3px solid #e0e0e0;overflow:visible;background-blend-mode:overlay;background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.03) 0 2px,transparent 2px 20px);transition:background .4s}.players-area{display:flex;flex-wrap:wrap;gap:2rem;justify-content:center;margin-bottom:2rem}.player{background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:15px;padding:1rem;text-align:center;min-width:200px;transition:all .3s ease}.player-name{font-weight:600;margin-bottom:.5rem}.player-hand{display:flex;gap:.5rem;justify-content:center;margin-top:.5rem}.split-hands-container{display:flex;gap:2rem;justify-content:center;align-items:flex-start}.split-hand{background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:15px;padding:1rem;text-align:center;min-width:180px;transition:all .3s ease;border:2px solid transparent}.split-hand.active-hand{border-color:#4ecdc4;background:rgba(78,205,196,.2);box-shadow:0 0 20px #4ecdc44d}.split-hand.inactive-hand{opacity:.7}.hand-label{font-weight:600;font-size:.9rem;color:#4ecdc4;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:1px}.player-controls{background:rgba(255,255,255,.18);border:2px solid #e0e0e0;border-radius:18px;box-shadow:0 4px 24px #0000001a;padding:2rem 2.5rem 1.5rem;width:100%;max-width:800px;margin:1.5rem auto 0;display:flex;flex-direction:row;justify-content:center;gap:1rem;flex-wrap:wrap;transition:box-shadow .2s,background .2s}.player-controls .btn{font-size:1rem;padding:.8rem 1.8rem;border-radius:12px;margin:.25rem;box-shadow:0 2px 8px #00000014;transition:background .2s,color .2s,box-shadow .2s,transform .1s;min-width:100px}.player-controls .btn:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 6px 18px #00000029}.hand-value{font-size:1.2rem;font-weight:600;color:#ff6b6b}.betting-controls{display:flex;align-items:center;justify-content:space-between;gap:1rem}.bet-slider{display:flex;align-items:center;gap:1rem;flex:1}.bet-slider input[type=range]{flex:1;height:6px;background:rgba(255,255,255,.2);border-radius:3px;outline:none}.bet-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;background:#4ecdc4;border-radius:50%;cursor:pointer}.btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;font-size:.9rem}.btn:hover{transform:translateY(-2px);box-shadow:0 4px 15px #0000004d}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-primary{background:linear-gradient(45deg,#4ecdc4,#44a08d);color:#fff}.btn-secondary{background:rgba(255,255,255,.2);color:#fff;border:1px solid rgba(255,255,255,.3)}.btn-success{background:linear-gradient(45deg,#56ab2f,#a8e6cf);color:#fff}.btn-danger{background:linear-gradient(45deg,#ff6b6b,#ee5a24);color:#fff}.btn-warning{background:linear-gradient(45deg,#f093fb,#f5576c);color:#fff}.btn-info{background:linear-gradient(45deg,#667eea,#764ba2);color:#fff}.btn-sm{padding:.5rem 1rem;font-size:.8rem}.notifications{position:fixed;top:20px;left:50%;transform:translate(-50%);z-index:1000}.notification{background:rgba(0,0,0,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;padding:1rem 2rem;border-radius:10px;margin-bottom:.5rem;animation:slideIn .3s ease;border-left:4px solid #4ecdc4}.notification.success{border-left-color:#56ab2f}.notification.error{border-left-color:#ff6b6b}.notification.warning{border-left-color:#f093fb}@keyframes slideIn{0%{transform:translate(-50%) translateY(-100%);opacity:0}to{transform:translate(-50%) translateY(0);opacity:1}}.card-element{width:60px;height:90px;background:linear-gradient(45deg,#ff6b6b,#ee5a24);border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1.2rem;color:#fff;box-shadow:0 4px 15px #0000004d;transition:all .3s ease;position:relative;overflow:hidden}.card-element:before{content:"";position:absolute;top:5px;left:5px;width:20px;height:20px;background:rgba(255,255,255,.2);border-radius:50%}.card-element.hearts,.card-element.diamonds{color:#ff6b6b}.card-element.clubs,.card-element.spades{color:#2c3e50}.card-element.face-down{background:linear-gradient(45deg,#34495e,#2c3e50);color:transparent}.deal-animation{animation:dealCard .5s ease}@keyframes dealCard{0%{transform:translateY(-40px) scale(.7);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.dealer-area{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;margin-bottom:2rem;background:rgba(255,255,255,.08);border-radius:12px;padding:1rem 2rem;box-shadow:0 2px 12px #00000014}.dealer-label{font-size:1.1rem;font-weight:700;color:#ff6b6b;margin-bottom:.5rem;letter-spacing:1px}.dealer-hand{display:flex;gap:.5rem;justify-content:center;margin-bottom:.5rem}.modal{display:flex;position:fixed;z-index:1000;left:0;top:0;width:100vw;height:100vh;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);justify-content:center;align-items:center;animation:modalFadeIn .3s ease}@keyframes modalFadeIn{0%{opacity:0;-webkit-backdrop-filter:blur(0px);backdrop-filter:blur(0px)}to{opacity:1;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}}.modal-content{background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);color:#2c3e50;padding:2.5rem 2.5rem 2rem;border-radius:20px;box-shadow:0 20px 60px #00000040,0 0 0 1px #fffc;min-width:400px;max-width:90vw;max-height:85vh;overflow-y:auto;position:relative;border:none;font-size:1rem;line-height:1.6;transition:transform .3s ease;animation:modalSlideIn .4s ease}@keyframes modalSlideIn{0%{transform:scale(.9) translateY(20px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.modal-content h3{margin-top:0;margin-bottom:1.5rem;font-size:1.8rem;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-align:center;letter-spacing:.5px}.close{position:absolute;top:15px;right:20px;font-size:1.8rem;color:#95a5a6;cursor:pointer;transition:all .3s ease;background:rgba(0,0,0,.05);width:35px;height:35px;border-radius:50%;display:flex;align-items:center;justify-content:center}.close:hover{color:#e74c3c;background:rgba(231,76,60,.1);transform:rotate(90deg) scale(1.1)}.settings-group{margin-bottom:1.5rem;padding:1rem;background:rgba(103,126,234,.05);border-radius:12px;border:1px solid rgba(103,126,234,.1);display:flex;align-items:center;justify-content:space-between;gap:1rem;transition:background .3s ease}.settings-group:hover{background:rgba(103,126,234,.08)}.settings-group label{font-weight:600;color:#2c3e50;font-size:1rem}#bg-color-picker,#card-color-picker{width:50px;height:40px;border:2px solid #e1e8ed;border-radius:8px;background:none;cursor:pointer;transition:all .3s ease}#bg-color-picker:hover,#card-color-picker:hover{border-color:#667eea;transform:scale(1.05)}#mute-toggle{width:20px;height:20px;accent-color:#667eea}.help-content{text-align:left;line-height:1.7}.help-section{margin-bottom:1.5rem;padding:1rem;background:rgba(86,171,47,.05);border-radius:12px;border-left:4px solid #56ab2f}.help-section h4{color:#27ae60;font-size:1.1rem;font-weight:600;margin-bottom:.5rem}.help-section p,.help-section ul{color:#34495e;margin-bottom:.5rem}.help-section ul{padding-left:1.2rem}.help-section li{margin-bottom:.3rem}.rule-highlight{background:rgba(255,107,107,.1);padding:.2rem .4rem;border-radius:4px;font-weight:600;color:#e74c3c}@media (max-width: 768px){.game-header{flex-direction:column;gap:1rem;text-align:center}.game-table{margin:1rem;padding:1rem}.player-controls{flex-direction:column;gap:1rem;max-width:none;padding:1.5rem}.players-area{gap:1rem}.player{min-width:150px}.card-element{width:50px;height:75px;font-size:1rem}.split-hands-container{flex-direction:column;gap:1rem}.modal-content{min-width:300px;padding:2rem 1.5rem;margin:1rem}}@media (max-width: 480px){.game-header{flex-direction:column;gap:1rem;text-align:center}.players-area{gap:1rem}.player{min-width:120px}.player-controls .btn{padding:.6rem 1.2rem;font-size:.9rem}}
