.btn{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.5rem;border:none;border-radius:.5rem;font-size:1rem;font-weight:600;text-decoration:none;cursor:pointer;transition:all .2s ease-in-out;min-height:2.5rem;position:relative;overflow:hidden}.btn:focus{outline:2px solid #3b82f6;outline-offset:2px}.btn:disabled{opacity:.6;cursor:not-allowed}.btn--primary{background-color:#3b82f6;color:#fff}.btn--primary:hover:not(:disabled){background-color:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f666}.btn--secondary{background-color:#6b7280;color:#fff}.btn--secondary:hover:not(:disabled){background-color:#4b5563;transform:translateY(-1px);box-shadow:0 4px 12px #6b728066}.btn--danger{background-color:#ef4444;color:#fff}.btn--danger:hover:not(:disabled){background-color:#dc2626;transform:translateY(-1px);box-shadow:0 4px 12px #ef444466}.btn--success{background-color:#10b981;color:#fff}.btn--success:hover:not(:disabled){background-color:#059669;transform:translateY(-1px);box-shadow:0 4px 12px #10b98166}.btn--small{padding:.5rem 1rem;font-size:.875rem;min-height:2rem}.btn--large{padding:1rem 2rem;font-size:1.125rem;min-height:3rem}.btn--disabled{opacity:.6;cursor:not-allowed;transform:none!important;box-shadow:none!important}.btn:active:not(:disabled){transform:translateY(0)}.btn--loading{position:relative;color:transparent}.btn--loading:after{content:"";position:absolute;width:1rem;height:1rem;top:50%;left:50%;margin-left:-.5rem;margin-top:-.5rem;border:2px solid transparent;border-top-color:currentColor;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.btn{padding:.625rem 1.25rem;font-size:.875rem}.btn--small{padding:.375rem .75rem;font-size:.75rem}.btn--large{padding:.875rem 1.75rem;font-size:1rem}}.dropdown{position:relative;display:inline-block}.dropdown-trigger{background:rgba(30,41,59,.8);border:1px solid rgba(255,255,255,.1);border-radius:.5rem;color:#f9fafb;padding:.5rem 1rem;font-size:.875rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;min-width:120px;transition:all .2s ease}.dropdown-trigger:hover{background:rgba(30,41,59,1);border-color:#fff3}.dropdown-trigger:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.dropdown-selected{display:flex;align-items:center;gap:.5rem;flex:1}.dropdown-icon{font-size:1rem}.dropdown-arrow{font-size:.75rem;transition:transform .2s ease;color:#9ca3af}.dropdown-arrow.open{transform:rotate(180deg)}.dropdown-menu{position:absolute;top:100%;left:0;right:0;background:rgba(15,23,42,.95);border:1px solid rgba(255,255,255,.1);border-radius:.5rem;box-shadow:0 10px 25px #0000004d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1000;margin-top:.25rem;overflow:hidden}.dropdown-option{width:100%;background:none;border:none;color:#f9fafb;padding:.75rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:background-color .2s ease;text-align:left}.dropdown-option:hover{background:rgba(59,130,246,.1)}.dropdown-option.selected{background:rgba(59,130,246,.2);color:#60a5fa}.dropdown-option:focus{outline:none;background:rgba(59,130,246,.1)}@media (max-width: 768px){.dropdown-trigger{font-size:.75rem;padding:.375rem .75rem;min-width:100px}.dropdown-option{font-size:.75rem;padding:.625rem .75rem}}.hamburger-menu{position:relative;display:none}.hamburger-button{background:none;border:none;cursor:pointer;padding:.5rem;display:flex;flex-direction:column;gap:.25rem;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;border-radius:.375rem;transition:background-color .2s ease}.hamburger-button:hover{background:rgba(255,255,255,.1)}.hamburger-button:focus{outline:none;background:rgba(255,255,255,.1)}.hamburger-line{width:1.5rem;height:.125rem;background:#f9fafb;border-radius:.125rem;transition:all .3s ease}.hamburger-button.open .hamburger-line:nth-child(1){transform:rotate(45deg) translateY(.5rem)}.hamburger-button.open .hamburger-line:nth-child(2){opacity:0}.hamburger-button.open .hamburger-line:nth-child(3){transform:rotate(-45deg) translateY(-.5rem)}.hamburger-dropdown{position:absolute;top:calc(100% + .5rem);right:0;background:rgba(15,23,42,.98);border:1px solid rgba(255,255,255,.1);border-radius:.5rem;box-shadow:0 10px 25px #0000004d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1000;min-width:12rem;padding:.5rem;display:flex;flex-direction:column;gap:.5rem}.hamburger-menu-item{width:100%;justify-content:flex-start;text-align:left;white-space:nowrap}@media (max-width: 768px){.hamburger-menu{display:block}}.header{background:rgba(15,23,42,.95);border-bottom:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:sticky;top:0;z-index:100}.header-content{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:.75rem 2rem;max-width:1200px;margin:0 auto;gap:1rem}.header-left{display:flex;align-items:center;justify-self:start}.header-title{margin:0;font-size:1.25rem;font-weight:700;color:#f9fafb;display:flex;align-items:center;gap:.5rem}.header-title-icon{font-size:1.5rem}.header-center{display:flex;align-items:center;justify-self:center}.header-mode-dropdown{margin-right:.75rem}.header-balance{font-size:1rem;font-weight:600;color:#d1d5db}.header-balance-amount{color:#10b981;font-weight:700}.header-right{display:flex;align-items:center;justify-self:end}.header-nav{display:flex;gap:.75rem;align-items:center}.header-nav-button{font-size:.875rem;padding:.5rem 1rem;min-height:2rem}@media (max-width: 768px){.header-content{padding:.75rem 1rem;gap:.5rem}.header-nav-button{display:none}.header-title{font-size:1.25rem}.header-title-icon{font-size:1.5rem}.header-balance{font-size:.875rem}.header-nav{gap:.5rem}.header-nav-button{font-size:.75rem;padding:.375rem .75rem;min-height:1.75rem}}@media (max-width: 480px){.header-content{flex-direction:column;align-items:stretch;gap:.75rem}.header-left,.header-center,.header-right{justify-content:center}.header-nav{justify-content:center;flex-wrap:wrap}.header-nav-button{flex:1;min-width:0}}.footer{background:rgba(15,23,42,.95);border-top:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin-top:auto}.footer-content{display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem;max-width:1200px;margin:0 auto}.footer-left{display:flex;flex-direction:column;gap:.5rem}.footer-text{margin:0;font-size:.875rem;color:#9ca3af}.footer-responsible-gaming{font-size:.8125rem;display:flex;align-items:center;gap:.375rem}.footer-help-link{color:#fbbf24;text-decoration:none;transition:all .2s ease;font-weight:500}.footer-help-link:hover{color:#fcd34d;text-decoration:underline}.footer-help-link:focus{outline:2px solid #fbbf24;outline-offset:2px;border-radius:.25rem}.footer-right{display:flex;align-items:center}.footer-links{display:flex;gap:1.5rem;align-items:center}.footer-link{background:none;border:none;color:#d1d5db;text-decoration:none;font-size:.875rem;font-weight:500;transition:color .2s ease;cursor:pointer;padding:0;font-family:inherit}.footer-link:hover{color:#f9fafb;text-decoration:underline}.footer-link:focus{outline:2px solid #3b82f6;outline-offset:2px;border-radius:.25rem}@media (max-width: 768px){.footer-content{padding:1rem;flex-direction:column;gap:1rem;text-align:center}.footer-left{align-items:center}.footer-text{font-size:.75rem}.footer-responsible-gaming{font-size:.75rem;flex-wrap:wrap;justify-content:center}.footer-links{gap:1rem}.footer-link{font-size:.75rem}}@media (max-width: 480px){.footer-content{padding:.75rem}.footer-links{flex-wrap:wrap;justify-content:center;gap:.75rem}}.card{--card-width: 4rem;--card-aspect-ratio: .714;width:var(--card-width);aspect-ratio:var(--card-aspect-ratio);border-radius:.5rem;box-shadow:0 2px 8px #00000026;position:relative;cursor:pointer;transition:all .3s ease;background:#ffffff;border:1px solid #cbd5e1;box-sizing:border-box;overflow:hidden}.card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #0003}.card--dealing{animation:deal-card .5s ease-out}@keyframes deal-card{0%{transform:translate(-100px) rotate(-10deg);opacity:0}to{transform:translate(0) rotate(0);opacity:1}}.card--hidden{background:linear-gradient(135deg,#3b82f6 0%,#60a5fa 100%);border:1px solid #3b82f6}.card-front{width:100%;height:100%;display:flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box}.card-back{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#3b82f6 0%,#60a5fa 100%);border-radius:.5rem}.card-back-pattern{width:2rem;height:2rem;background:repeating-linear-gradient(45deg,rgba(255,255,255,.1) 0px,rgba(255,255,255,.1) 2px,transparent 2px,transparent 8px);border-radius:50%}.card-value{display:flex;align-items:center;gap:.25rem;font-size:1.5rem;font-weight:700;line-height:1}.card-rank{font-size:1.5rem;font-weight:700;line-height:1}.card-suit{font-size:1.5rem;line-height:1}.card--red .card-rank,.card--red .card-suit{color:#dc2626}.card--black .card-rank,.card--black .card-suit{color:#111827}@media (max-width: 768px){.card{--card-width: 3rem}.card-value{font-size:1.125rem;gap:.2rem}.card-rank,.card-suit{font-size:1.125rem}}@media (max-width: 480px){.card{--card-width: 2.5rem}.card-value{font-size:.875rem;gap:.15rem}.card-rank,.card-suit{font-size:.875rem}}@media (prefers-color-scheme: dark){.card{background:#f8fafc;border-color:#cbd5e1}.card--black .card-rank,.card--black .card-suit{color:#0f172a}}.hand{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:1rem;border-radius:.75rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);min-height:8rem}.hand--dealer{background:rgba(239,68,68,.05);border-color:#ef444433}.hand--player{background:rgba(59,130,246,.05);border-color:#3b82f633}.hand-header{display:flex;align-items:center;justify-content:space-between;width:100%;gap:1rem}.hand-title{margin:0;font-size:1.125rem;font-weight:600;color:#f9fafb}.hand-total{font-size:1.25rem;font-weight:700;color:#fbbf24;background:rgba(251,191,36,.1);padding:.25rem .75rem;border-radius:.5rem;border:1px solid rgba(251,191,36,.3)}.hand-cards{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;align-items:center;min-height:6rem}.hand-empty{display:flex;align-items:center;justify-content:center;min-height:6rem;width:100%}.hand-empty-placeholder{color:#9ca3af;font-style:italic;font-size:.875rem}@media (max-width: 768px){.hand{padding:.75rem;min-height:6rem}.hand-title{font-size:1rem}.hand-total{font-size:1.125rem;padding:.25rem .5rem}.hand-cards{min-height:4rem;gap:.375rem}.hand-empty{min-height:4rem}}@media (max-width: 480px){.hand{padding:.5rem}.hand-header{flex-direction:column;gap:.5rem;text-align:center}.hand-title{font-size:.875rem}.hand-total{font-size:1rem}}.strategy-grid-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.75);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.strategy-grid{background:#1f2937;border-radius:1rem;box-shadow:0 25px 50px -12px #00000040;max-width:90vw;max-height:90vh;width:min(800px,90vw);height:min(800px,90vh);overflow:hidden;animation:grid-enter .3s ease-out;display:flex;flex-direction:column}@keyframes grid-enter{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.strategy-grid-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid #374151}.strategy-grid-header h2{margin:0;font-size:1.5rem;font-weight:600;color:#f9fafb}.strategy-grid-close{background:none;border:none;color:#9ca3af;font-size:1.5rem;cursor:pointer;padding:.5rem;border-radius:.5rem;transition:all .2s ease}.strategy-grid-close:hover{color:#f9fafb;background:rgba(255,255,255,.1)}.strategy-grid-content{padding:1.5rem;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:1rem}.strategy-grid-instructions{background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.3);border-radius:.5rem;padding:1rem;color:#f9fafb}.strategy-grid-instructions h3{margin:0 0 .5rem;font-size:1rem;font-weight:600;color:#60a5fa}.strategy-grid-instructions p{margin:0;font-size:.875rem;line-height:1.5;color:#d1d5db}.strategy-grid-legend{display:flex;gap:2rem;padding:1rem;background:rgba(55,65,81,.5);border-radius:.5rem;justify-content:center;flex-wrap:wrap}.strategy-grid-note{background:rgba(251,191,36,.1);border:1px solid rgba(251,191,36,.3);border-radius:.5rem;padding:.75rem;font-size:.875rem;color:#fcd34d;line-height:1.5}.legend-item{display:flex;align-items:center;gap:.5rem;color:#f9fafb}.legend-color{width:1rem;height:1rem;border-radius:.25rem}.strategy-table{width:100%;border-collapse:collapse;color:#f9fafb}.strategy-table th,.strategy-table td{padding:.75rem;text-align:center;border:1px solid #374151}.strategy-table th,.strategy-table td:first-child{background:#374151;font-weight:600}.action-cell{font-weight:600;transition:all .2s ease;cursor:help}.action-cell:hover{transform:scale(1.1);z-index:1}.action-h{background:rgba(239,68,68,.2);color:#ef4444}.action-s{background:rgba(16,185,129,.2);color:#10b981}.action-d{background:rgba(59,130,246,.2);color:#3b82f6}.action-p{background:rgba(139,92,246,.2);color:#8b5cf6}@media (max-width: 768px){.strategy-grid{width:100%}.strategy-grid-header h2{font-size:1.25rem}.strategy-grid-instructions h3{font-size:.9375rem}.strategy-grid-instructions p{font-size:.8125rem}.strategy-grid-legend{gap:1rem}.legend-item{font-size:.875rem}.strategy-table th,.strategy-table td{padding:.5rem;font-size:.875rem}}@media (max-width: 480px){.strategy-grid-content{padding:1rem}.strategy-grid-instructions{padding:.75rem}.strategy-grid-instructions h3{font-size:.875rem}.strategy-grid-instructions p{font-size:.75rem}.strategy-grid-note{padding:.5rem;font-size:.75rem}.strategy-grid-legend{padding:.75rem;gap:.75rem}.legend-item{font-size:.75rem}.strategy-table th,.strategy-table td{padding:.25rem;font-size:.75rem}}.game-board{display:flex;flex-direction:column;gap:2rem;padding:2rem;max-width:1200px;margin:0 auto;min-height:100vh;background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);color:#f9fafb}.game-info{display:flex;justify-content:space-between;align-items:center;gap:2rem;padding:1rem 1.5rem;background:rgba(255,255,255,.05);border-radius:.75rem;border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.game-balance,.game-bet,.game-phase{font-size:1rem;font-weight:600;color:#f9fafb}.game-balance{color:#10b981}.game-bet{color:#fbbf24}.game-phase{color:#8b5cf6}.win-loss-display{background:rgba(255,255,255,.1);border:2px solid rgba(255,255,255,.2);border-radius:1rem;padding:1.5rem;text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:win-loss-appear .6s ease-out;box-shadow:0 8px 32px #0000004d}@keyframes win-loss-appear{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.win-loss-amount{margin-bottom:.75rem}.win-loss-amount .win{font-size:2.5rem;font-weight:800;color:#10b981;text-shadow:0 0 20px rgba(16,185,129,.5);display:block}.win-loss-amount .loss{font-size:2.5rem;font-weight:800;color:#ef4444;text-shadow:0 0 20px rgba(239,68,68,.5);display:block}.win-loss-amount .push{font-size:2.5rem;font-weight:800;color:#6b7280;text-shadow:0 0 20px rgba(107,114,128,.5);display:block}.balance-change{font-size:1.125rem;font-weight:600;color:#d1d5db;background:rgba(0,0,0,.2);padding:.75rem 1rem;border-radius:.5rem;border:1px solid rgba(255,255,255,.1)}.game-hands{display:flex;flex-direction:column;gap:2rem;align-items:center}.split-hands-container{display:flex;gap:2rem;justify-content:center;flex-wrap:wrap;width:100%}.split-hand-wrapper{flex:1;min-width:250px;max-width:400px;padding:1rem;background:rgba(255,255,255,.05);border-radius:.75rem;border:2px solid rgba(255,255,255,.1);transition:all .3s ease}.split-hand-wrapper.active-hand{border-color:#3b82f6;background:rgba(59,130,246,.1);box-shadow:0 0 20px #3b82f64d}.split-hand-wrapper.completed-hand{opacity:.7}.split-hand-result{text-align:center;margin-top:1rem;padding:.5rem;border-radius:.5rem;font-weight:600;font-size:1rem}.split-hand-result.result-player-wins,.split-hand-result.result-player-blackjack{background:rgba(16,185,129,.2);border:1px solid rgba(16,185,129,.4);color:#10b981}.split-hand-result.result-dealer-wins,.split-hand-result.result-dealer-blackjack{background:rgba(239,68,68,.2);border:1px solid rgba(239,68,68,.4);color:#ef4444}.split-hand-result.result-push{background:rgba(107,114,128,.2);border:1px solid rgba(107,114,128,.4);color:#6b7280}.split-hand-bet{text-align:center;margin-top:.5rem;color:#fbbf24;font-weight:600;font-size:.875rem}.strategy-hint{background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.3);border-radius:.75rem;padding:1.5rem;text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.strategy-hint-title{font-size:1rem;font-weight:600;color:#93c5fd;margin-bottom:.5rem}.strategy-hint-action{font-size:1.5rem;font-weight:700;color:#3b82f6;margin-bottom:.5rem}.strategy-hint-reasoning{font-size:.875rem;color:#d1d5db;margin-bottom:.5rem}.strategy-hint-confidence{font-size:.75rem;color:#9ca3af}.game-actions{display:flex;flex-direction:column;gap:1.5rem;align-items:center}.player-actions,.dealer-actions,.game-over-actions{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center;align-items:center}.game-result{font-size:1.5rem;font-weight:700;padding:1rem 2rem;border-radius:.75rem;text-align:center;margin-bottom:1rem;animation:result-appear .5s ease-out}@keyframes result-appear{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.game-result--success{background:rgba(16,185,129,.2);border:1px solid rgba(16,185,129,.4);color:#10b981}.game-result--danger{background:rgba(239,68,68,.2);border:1px solid rgba(239,68,68,.4);color:#ef4444}.game-result--secondary{background:rgba(107,114,128,.2);border:1px solid rgba(107,114,128,.4);color:#6b7280}.game-loading{text-align:center;padding:2rem}.game-loading p{margin:0 0 1rem;color:#d1d5db;font-size:1.125rem}@media (max-width: 768px){.game-board{padding:1rem;gap:1.5rem}.game-info{flex-direction:column;gap:.5rem;text-align:center}.game-balance,.game-bet,.game-phase{font-size:.875rem}.strategy-hint{padding:1rem}.strategy-hint-title{font-size:.875rem}.strategy-hint-action{font-size:1.25rem}.strategy-hint-reasoning{font-size:.75rem}.player-actions,.dealer-actions,.game-over-actions{gap:.75rem}.game-result{font-size:1.25rem;padding:.75rem 1.5rem}.win-loss-display{padding:1rem}.win-loss-amount .win,.win-loss-amount .loss,.win-loss-amount .push{font-size:2rem}.balance-change{font-size:1rem;padding:.5rem .75rem}}@media (max-width: 480px){.game-board{padding:.75rem;gap:1rem}.game-info,.strategy-hint{padding:.75rem}.strategy-hint-action{font-size:1.125rem}.player-actions,.dealer-actions,.game-over-actions{flex-direction:column;width:100%}.player-actions button,.dealer-actions button,.game-over-actions button{width:100%;max-width:200px}.game-result{font-size:1.125rem;padding:.5rem 1rem}.win-loss-display{padding:.75rem}.win-loss-amount .win,.win-loss-amount .loss,.win-loss-amount .push{font-size:1.75rem}.balance-change{font-size:.875rem;padding:.5rem}}.drills-mode{max-width:800px;margin:0 auto;padding:2rem;background:rgba(15,23,42,.95);border-radius:1rem;border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.drills-header{text-align:center;margin-bottom:2rem}.drills-header h2{color:#f9fafb;margin:0 0 1rem;font-size:2rem;font-weight:700}.drills-stats{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap}.drills-score{background:rgba(59,130,246,.1);color:#60a5fa;padding:.5rem 1rem;border-radius:.5rem;font-weight:600;border:1px solid rgba(59,130,246,.2)}.drills-streak{background:rgba(251,191,36,.1);color:#fbbf24;padding:.5rem 1rem;border-radius:.5rem;font-weight:600;border:1px solid rgba(251,191,36,.2)}.drills-scenario{background:rgba(30,41,59,.5);border-radius:1rem;padding:2rem;margin-bottom:2rem;border:1px solid rgba(255,255,255,.05)}.scenario-cards{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem;align-items:start}.player-cards,.dealer-card{text-align:center}.player-cards h3,.dealer-card h3{color:#d1d5db;margin:0 0 1rem;font-size:1.125rem;font-weight:600}.cards-display{display:flex;justify-content:center;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}.drills-mode .card{background:#ffffff;color:#111827;border:2px solid #cbd5e1;border-radius:.5rem;padding:.75rem;font-size:1.25rem;font-weight:700;min-width:3rem;text-align:center;box-shadow:0 2px 4px #0000001a}.hand-total{color:#10b981;font-weight:600;font-size:1.125rem}.scenario-question{text-align:center;margin-bottom:2rem}.scenario-category{background:rgba(99,102,241,.1);color:#a5b4fc;padding:.5rem 1rem;border-radius:.5rem;font-weight:600;border:1px solid rgba(99,102,241,.2);display:inline-block;margin-bottom:1rem;font-size:.875rem}.scenario-question h3{color:#f9fafb;margin:0;font-size:1.5rem;font-weight:600}.answer-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:2rem}.answer-button{padding:1rem;font-size:1rem;font-weight:600;border-radius:.75rem;transition:all .2s ease;min-height:3rem}.answer-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #0003}.result-feedback{background:rgba(15,23,42,.8);border-radius:1rem;padding:2rem;text-align:center;border:1px solid rgba(255,255,255,.1)}.result-message{font-size:1.5rem;font-weight:700;margin-bottom:1rem}.result-message.correct{color:#10b981}.result-message.incorrect{color:#ef4444}.explanation{color:#d1d5db;font-size:1.125rem;font-weight:600;margin-bottom:1rem}.explanation-text{color:#9ca3af;font-size:1rem;line-height:1.6;margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto}.next-scenario-button{padding:.75rem 2rem;font-size:1.125rem;font-weight:600}.drills-controls{text-align:center}.exit-drills-button{padding:.75rem 2rem;font-size:1rem;font-weight:600}@media (max-width: 768px){.drills-mode{padding:1rem;margin:1rem}.scenario-cards{grid-template-columns:1fr;gap:1.5rem}.player-cards,.dealer-card{display:flex;flex-direction:column;align-items:center}.cards-display{flex-direction:row;gap:.5rem}.drills-stats{gap:1rem}.answer-options{grid-template-columns:repeat(2,1fr)}.drills-header h2{font-size:1.5rem}.scenario-question h3{font-size:1.25rem}}@media (max-width: 480px){.answer-options{grid-template-columns:1fr}.cards-display{flex-direction:column;align-items:center}.card{min-width:2.5rem;padding:.5rem;font-size:1rem}}.landing-page{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;padding:1rem;background:linear-gradient(135deg,var(--bg-primary) 0%,var(--bg-secondary) 100%)}.landing-content{max-width:900px;width:100%;display:flex;flex-direction:column;gap:1rem}.welcome-section{text-align:center;margin-bottom:.5rem}.welcome-section h1{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.25rem}.balance-display{font-size:1rem;color:var(--text-secondary)}.balance-amount{font-weight:600;color:var(--accent-primary);font-size:1.25rem}.stats-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin-bottom:.5rem}.stat-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:.5rem;padding:1rem;text-align:center;transition:transform .2s ease,box-shadow .2s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.stat-label{font-size:.75rem;color:var(--text-secondary);margin-bottom:.25rem;font-weight:500}.stat-value{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin-bottom:.125rem}.stat-value.positive{color:var(--success-color)}.stat-value.negative{color:var(--error-color)}.stat-detail{font-size:.625rem;color:var(--text-tertiary)}.last-run-section{background:var(--bg-card);border:1px solid var(--border-color);border-radius:.5rem;padding:1rem}.last-run-section h3{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.last-run-card{background:var(--bg-secondary);border-radius:.375rem;padding:.75rem}.run-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;padding-bottom:.5rem;border-bottom:1px solid var(--border-color)}.run-date{font-size:.75rem;color:var(--text-secondary)}.run-profit{font-size:1rem;font-weight:600}.run-profit.positive{color:var(--success-color)}.run-profit.negative{color:var(--error-color)}.run-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.5rem}.run-stat{display:flex;justify-content:space-between;align-items:center;font-size:.75rem}.run-stat-label{color:var(--text-secondary)}.run-stat-value{font-weight:600;color:var(--text-primary)}.action-buttons{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap;margin:.5rem 0}.start-run-button{min-width:180px;font-size:1rem;padding:.875rem 1.5rem}.view-stats-button{min-width:160px;font-size:.875rem;padding:.75rem 1.25rem}.quick-tips{background:var(--bg-card);border:1px solid var(--border-color);border-radius:.5rem;padding:1rem;margin-top:.5rem}.quick-tips h4{font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.quick-tips ul{list-style:none;padding:0;margin:0}.quick-tips li{color:var(--text-secondary);font-size:.75rem;position:relative;padding:.25rem 0 .25rem 1.25rem}.quick-tips li:before{content:"💡";position:absolute;left:0;top:.25rem}@media (max-width: 768px){.landing-page{padding:1rem}.welcome-section h1{font-size:2rem}.stats-overview{grid-template-columns:1fr}.action-buttons{flex-direction:column;align-items:center}.start-run-button,.view-stats-button{width:100%;max-width:300px}.run-stats{grid-template-columns:repeat(2,1fr)}}@media (max-width: 480px){.run-stats{grid-template-columns:1fr}.run-header{flex-direction:column;gap:.5rem;text-align:center}}.run-complete{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;padding:1rem;background:linear-gradient(135deg,var(--bg-primary) 0%,var(--bg-secondary) 100%)}.run-complete-content{max-width:700px;width:100%;display:flex;flex-direction:column;gap:1rem}.completion-header{text-align:center;margin-bottom:.5rem}.completion-header h1{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.25rem}.completion-subtitle{font-size:1rem;color:var(--text-secondary)}.run-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.75rem;margin-bottom:.5rem}.summary-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:.5rem;padding:1rem;text-align:center;transition:transform .2s ease,box-shadow .2s ease}.summary-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.summary-label{font-size:.75rem;color:var(--text-secondary);margin-bottom:.25rem;font-weight:500}.summary-value{font-size:1.25rem;font-weight:700;color:var(--text-primary)}.summary-value.positive{color:var(--success-color)}.summary-value.negative{color:var(--error-color)}.detailed-stats{background:var(--bg-card);border:1px solid var(--border-color);border-radius:.5rem;padding:1rem}.detailed-stats h3{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem;text-align:center}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.5rem}.stat-item{display:flex;justify-content:space-between;align-items:center;padding:.25rem 0;border-bottom:1px solid var(--border-color)}.stat-item:last-child{border-bottom:none}.stat-label{font-size:.75rem;color:var(--text-secondary)}.stat-value{font-weight:600;color:var(--text-primary);font-size:.875rem}.completion-actions{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap;margin-top:.5rem}.action-button{min-width:140px;font-size:.875rem;padding:.75rem 1.25rem}@media (max-width: 768px){.run-complete{padding:1rem}.completion-header h1{font-size:2rem}.run-summary{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:1fr}.return-button{width:100%;max-width:300px}}@media (max-width: 480px){.run-summary{grid-template-columns:1fr}}.modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal{background:white;border-radius:.75rem;box-shadow:0 25px 50px -12px #00000040;max-width:90vw;max-height:90vh;width:100%;max-width:32rem;overflow:hidden;animation:modal-enter .2s ease-out}@keyframes modal-enter{0%{opacity:0;transform:scale(.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 1.5rem 0;border-bottom:1px solid #e5e7eb}.modal-title{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;padding:.25rem;border-radius:.25rem;color:#6b7280;transition:color .2s ease}.modal-close:hover{color:#374151}.modal-content{padding:1.5rem;overflow-y:auto;max-height:calc(90vh - 4rem)}@media (prefers-color-scheme: dark){.modal{background:#1f2937;color:#f9fafb}.modal-header{border-bottom-color:#374151}.modal-title,.modal-content,.modal-content h3{color:#f9fafb}.modal-content p,.modal-content li{color:#d1d5db}.modal-content strong{color:#f9fafb}.modal-close{color:#9ca3af}.modal-close:hover{color:#d1d5db}}@media (max-width: 768px){.modal{margin:1rem;max-width:calc(100vw - 2rem)}.modal-header{padding:1rem 1rem 0}.modal-content{padding:1rem}.modal-title{font-size:1.125rem}}.confirm-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b3;display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .2s ease-out}.confirm-modal{background:linear-gradient(145deg,#2a2a2a,#1a1a1a);border-radius:12px;padding:0;max-width:500px;width:90%;box-shadow:0 10px 40px #00000080;animation:slideIn .3s ease-out;border:2px solid #444}.confirm-modal--danger{border-color:#dc3545}.confirm-modal--warning{border-color:#ffc107}.confirm-modal--info{border-color:#17a2b8}.confirm-modal-header{padding:20px 24px;border-bottom:1px solid #444}.confirm-modal-header h2{margin:0;font-size:1.5rem;color:#fff}.confirm-modal-body{padding:24px}.confirm-modal-body p{margin:0;font-size:1rem;line-height:1.6;color:#d0d0d0}.confirm-modal-footer{padding:16px 24px;border-top:1px solid #444;display:flex;justify-content:flex-end;gap:12px}.confirm-modal-button{padding:10px 24px;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:100px}.confirm-modal-button--cancel{background-color:#444;color:#fff}.confirm-modal-button--cancel:hover{background-color:#555}.confirm-modal-button--confirm{color:#fff}.confirm-modal-button--confirm.confirm-modal-button--danger{background-color:#dc3545}.confirm-modal-button--confirm.confirm-modal-button--danger:hover{background-color:#c82333}.confirm-modal-button--confirm.confirm-modal-button--warning{background-color:#ffc107;color:#000}.confirm-modal-button--confirm.confirm-modal-button--warning:hover{background-color:#e0a800}.confirm-modal-button--confirm.confirm-modal-button--info{background-color:#17a2b8}.confirm-modal-button--confirm.confirm-modal-button--info:hover{background-color:#138496}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.app{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);color:#f9fafb}.app-main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:1rem;min-height:0}.run-info{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:.5rem;padding:.75rem;margin:1rem 0;font-size:.875rem}.run-info p{margin:.25rem 0;color:#d1d5db}.run-actions{margin-top:1rem;display:flex;justify-content:center}.end-run-button{background:#f59e0b;color:#fff;border:1px solid #f59e0b}.end-run-button:hover{background:#d97706;border-color:#d97706}.game-over-buttons{display:flex;gap:1rem;justify-content:center;margin-top:1rem}.run-history-section{margin-top:2rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.1)}.run-history-section h3{margin:0 0 1rem;font-size:1.25rem;font-weight:600;color:#f9fafb}.run-history-list{display:flex;flex-direction:column;gap:.75rem}.run-history-item{display:flex;justify-content:space-between;align-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:.5rem;padding:.75rem 1rem}.run-date{font-size:.875rem;color:#d1d5db}.run-summary{display:flex;gap:1rem;align-items:center;font-size:.875rem}.run-profit{font-weight:600}.run-profit.positive{color:#10b981}.run-profit.negative{color:#ef4444}.betting-screen{display:flex;align-items:center;justify-content:center;min-height:60vh}.betting-content{text-align:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:3rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 25px 50px -12px #00000040}.betting-content h2{margin:0 0 1rem;font-size:2rem;font-weight:700;color:#f9fafb}.betting-content p{margin:0 0 2rem;font-size:1.125rem;color:#d1d5db}.betting-options{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.betting-options button{min-width:100px;padding:1rem 2rem;font-size:1.125rem;font-weight:600}.rules-content{max-height:60vh;overflow-y:auto}.rules-content h3{margin:1.5rem 0 .75rem;font-size:1.25rem;font-weight:600;color:#111827}.rules-content h3:first-child{margin-top:0}.rules-content p{margin:0 0 1rem;color:#374151;line-height:1.6}.rules-content ul{margin:0 0 1rem;padding-left:1.5rem;color:#374151}.rules-content li{margin-bottom:.5rem;line-height:1.5}.rules-content strong{color:#111827;font-weight:600}.statistics-content{max-height:60vh;overflow-y:auto}.statistics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}.statistics-footer{padding-top:1rem;border-top:1px solid #e5e7eb;display:flex;justify-content:center}.statistic-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem;text-align:center}.statistic-label{font-size:.875rem;font-weight:500;color:#6b7280;margin-bottom:.5rem}.statistic-value{font-size:1.5rem;font-weight:700;color:#111827}.settings-content{text-align:center;padding:2rem;color:#374151}.strategy-content,.help-content,.about-content{max-height:60vh;overflow-y:auto}.strategy-content h3,.help-content h3,.about-content h3{margin:1.5rem 0 .75rem;font-size:1.25rem;font-weight:600;color:#111827}.strategy-content h3:first-child,.help-content h3:first-child,.about-content h3:first-child{margin-top:0}.strategy-content p,.help-content p,.about-content p{margin:0 0 1rem;color:#374151;line-height:1.6}.strategy-content ul,.help-content ul,.help-content ol,.about-content ul{margin:0 0 1rem;padding-left:1.5rem;color:#374151}.strategy-content li,.help-content li,.about-content li{margin-bottom:.5rem;line-height:1.5}.strategy-content strong,.help-content strong,.about-content strong{color:#111827;font-weight:600}@media (max-width: 768px){.app-main{padding:1rem}.betting-content{padding:2rem}.betting-content h2{font-size:1.5rem}.betting-content p{font-size:1rem}.betting-options{gap:.75rem}.betting-options button{min-width:80px;padding:.75rem 1.5rem;font-size:1rem}.statistics-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem}.statistic-item{padding:.75rem}.statistic-label{font-size:.75rem}.statistic-value{font-size:1.25rem}}@media (max-width: 480px){.betting-content{padding:1.5rem}.betting-content h2{font-size:1.25rem}.betting-options{flex-direction:column;width:100%}.betting-options button{width:100%;max-width:200px}.statistics-grid{grid-template-columns:1fr}}@media (prefers-color-scheme: dark){.rules-content h3{color:#f9fafb}.rules-content p,.rules-content li{color:#d1d5db}.rules-content strong{color:#f9fafb}.statistic-item{background:#374151;border-color:#4b5563}.statistic-label{color:#9ca3af}.statistic-value{color:#f9fafb}.settings-content{color:#d1d5db}.strategy-content h3,.help-content h3{color:#f9fafb}.strategy-content p,.help-content p,.strategy-content li,.help-content li{color:#d1d5db}.strategy-content strong,.help-content strong{color:#f9fafb}}.settings-content h3{margin:1.5rem 0 .75rem;font-size:1.125rem;font-weight:600;color:#111827}.settings-content h3:first-child{margin-top:0}.setting-item{margin-bottom:1rem;padding:1rem;background:rgba(249,250,251,.5);border-radius:.5rem}.setting-label{display:flex;align-items:flex-start;gap:.75rem;cursor:pointer}.setting-label input[type=checkbox],.setting-label input[type=radio]{margin-top:.25rem;width:1.25rem;height:1.25rem;cursor:pointer}.setting-select{width:100%;padding:.5rem;margin-top:.5rem;border:1px solid #d1d5db;border-radius:.375rem;background:white;font-size:1rem;cursor:pointer}.setting-select:focus{outline:2px solid #3b82f6;outline-offset:2px}.setting-text{flex:1}.setting-text strong{display:block;color:#111827;font-weight:600;margin-bottom:.25rem}.setting-text small{color:#6b7280;font-size:.875rem;line-height:1.4}@media (prefers-color-scheme: dark){.settings-content h3{color:#f9fafb}.setting-item{background:rgba(31,41,55,.5)}.setting-select{background:#374151;border-color:#4b5563;color:#f9fafb}.setting-text strong{color:#f9fafb}.setting-text small{color:#9ca3af}.strategy-content h3,.help-content h3,.about-content h3{color:#f9fafb}.strategy-content p,.help-content p,.about-content p,.strategy-content li,.help-content li,.about-content li{color:#d1d5db}.strategy-content strong,.help-content strong,.about-content strong{color:#f9fafb}}.github-issues-link{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:linear-gradient(135deg,#24292e 0%,#1a1e22 100%);color:#f6f8fa;text-decoration:none;border-radius:.5rem;font-weight:600;font-size:1rem;border:1px solid #30363d;transition:all .2s ease;box-shadow:0 2px 4px #0000001a}.github-issues-link:hover{background:linear-gradient(135deg,#1a1e22 0%,#24292e 100%);border-color:#58a6ff;color:#58a6ff;transform:translateY(-1px);box-shadow:0 4px 8px #0003}.github-issues-link:active{transform:translateY(0);box-shadow:0 2px 4px #0000001a}@media (prefers-color-scheme: dark){.github-issues-link{background:linear-gradient(135deg,#f6f8fa 0%,#e1e4e8 100%);color:#24292e;border-color:#d1d5db}.github-issues-link:hover{background:linear-gradient(135deg,#e1e4e8 0%,#f6f8fa 100%);border-color:#0366d6;color:#0366d6}}@tailwind base;@tailwind components;@tailwind utilities;@layer base{*{@apply border-border;}body{@apply bg-background text-foreground;}}@layer components{.btn{@apply inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background;}.btn-primary{@apply bg-primary-600 text-white hover:bg-primary-700;}.btn-secondary{@apply bg-gray-100 text-gray-900 hover:bg-gray-200;}.btn-outline{@apply border border-gray-300 bg-transparent hover:bg-gray-50;}.btn-sm{@apply h-8 px-3 text-xs;}.btn-md{@apply h-10 px-4 py-2;}.btn-lg{@apply h-12 px-8 text-base;}.card{@apply rounded-lg border bg-white shadow-sm;}.input{@apply flex h-10 w-full rounded-md border border-gray-300 bg-white px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-gray-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50;}.textarea{@apply flex min-h-[80px] w-full rounded-md border border-gray-300 bg-white px-3 py-2 text-sm ring-offset-background placeholder:text-gray-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50;}}
