html, body { margin: 0; padding: 0; height: 100%; } body { display: flex; flex-direction: column; min-height: 100vh; font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; background: radial-gradient(circle at 10% 10%, rgba(255,255,255,0.03), transparent 5%), linear-gradient(180deg, #000 0%, #071827 100%), var(--bg); color: var(--muted); } .main-wrapper { flex: 1; display: flex; justify-content: center; align-items: center; width: 100%; } :root{ --card-w:110px; --card-h:154px; --deck-x: 800px; --deck-y: 100px; --bg:#071827; --card:#071827; --accent:#ffd54a; --muted:#cfe8d6; --glass: rgba(255,255,255,0.04); --shadow: 0 6px 18px rgba(2,8,3,0.6); --glass-2: rgba(0,0,0,0.35); } .container{ width:100%; background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border-radius:16px; padding:20px; box-shadow:var(--shadow); backdrop-filter: blur(6px); } .card{ background:rgba(255,255,255,0.05); padding:28px; border-radius:16px; width:320px; box-shadow:0 8px 30px rgba(0,0,0,0.5); backdrop-filter:blur(8px); } h2{ margin-top:0; text-align:center } label{ display:block; margin:10px 0 4px; font-size:14px } input{ width:100%; padding:10px; border-radius:8px; border:0; margin-bottom:10px; background:#ffffff12; color:white; } button{ width:100%; padding:10px; border-radius:8px; border:0; cursor:pointer; background:linear-gradient(90deg,#ffd54a); color:black; font-weight:600; margin-top:10px; } button#stand, button#hit{ width: 75px; } button:disabled{ background:#2d2d2d; opacity:.5; cursor:not-allowed } .note{ text-align:center; margin-top:10px; font-size:14px } a{ color:#4ade80; text-decoration:none } .logo{ font-size: 96px; display:flex; align-items:center; justify-content:center; } .header{ display:flex; gap:16px; align-items:center; margin-bottom:14px } .w80{ width: 80%; } table{ width:100%; border-collapse:collapse; font-size:14px } thead th{ font-size:12px; text-align:left; padding:8px 10px; color:var(--muted); opacity:0.9 } tbody td{ padding:10px; border-top:1px dashed rgba(255,255,255,0.03) } .panel{ background:var(--card); padding:16px; border-radius:12px; border:1px solid var(--glass-2) } footer{ margin-top:14px; font-size:12px; color:rgba(255,255,255,0.45); text-align:center } .userbox { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; background: rgba(255, 255, 255, 0.04); padding: 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.06); box-shadow: 0 8px 24px rgba(2, 6, 23, 0.45); } .userbox .avatar { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(180deg, #0e3b33, #0b2a2f); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: var(--accent); border: 2px solid rgba(246,198,79,0.4); box-shadow: 0 6px 14px rgba(0,0,0,0.5); } .userbox .info { display: flex; flex-direction: column; line-height: 1.25; } .userbox .name { font-weight: 800; font-size: 24px; } .userbox .saldo { margin-top: 4px; font-size: 18px; color: var(--muted); } .userbox .saldo span { color: var(--accent); font-weight: 700; } .userbox .status { margin-top: 2px; font-size: 16px; color: var(--muted); } .gamename { font-size: 36px; } .num-box { display: inline-flex; align-items: center; border: 1px solid #444; border-radius: 12px; overflow: hidden; background: #1e1e1e; height: 50px; } .num-box input { height: 50px; width: 100px; font-size: 18px; background: transparent; border: none; color: white; text-align: center; outline: none; line-height: 50px; /* base centering */ display: flex; /* optical fix */ align-items: center; /* optical fix */ justify-content: center; /* ensures centered horizontally */ } .num-box input::-webkit-inner-spin-button, .num-box input::-webkit-outer-spin-button { -webkit-appearance: none; } .num-box .btn { width: 50px; height: 50px; border: none; background: #2b2b2b; color: white; font-size: 22px; cursor: pointer; display: flex; justify-content: center; align-items: center; } .num-box .btn:hover { background: #3a3a3a; } .num-box .btn:active { background: #555; } .plus, .minus { margin-top: 0 !important; } .mb24 { margin-bottom: 24px; } /* Chrome, Edge, Safari */ input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } /* Firefox */ input[type="number"] { -moz-appearance: textfield; /* old syntax */ appearance: textfield; /* standard property */ } footer { margin-top: auto; /* pushes footer to bottom */ color: #fff; padding: 1rem; } table#leaderboard thead tr th.rank, table#leaderboard tbody tr td.rank{ width: 20%; font-size: 16px; } table#leaderboard thead tr th, table#leaderboard tbody tr td{ width: 40%; font-size: 20px; } .p16{ padding-bottom: 16px } .overlay{ position:absolute; inset:0; display:flex; flex-direction:column; padding:18px } .end-screen { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; flex-direction: column; color: white; font-weight: 800; font-size: 48px; letter-spacing: 2px; text-align: center; z-index: 999; } .card .center{ font-size:40px; display:flex; align-items:center; justify-content:center; } .back-card{ border-radius: 10px; width:var(--card-w); height:var(--card-h); background:#122f21; display:flex; align-items:center; justify-content:center; font-size:20px; color:#bddfcf; letter-spacing:4px; font-weight:900; padding: 10px !important } .controls{ display:flex; gap:12px; margin-top:8px } .card.is-moving { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4)); } .card .corner{ font-size:18px } .play-zone{ position:relative; display:flex; flex-direction:column; align-items:center; gap:8px; font-weight:700 } .card-wrapper { position: absolute; width: var(--card-w); height: var(--card-h); transition: transform .4s cubic-bezier(.68,-0.55,.27,1.55); align-items: center; transform-origin: center; z-index: 100; } .cards-wrapper{ position:relative; right: 250px; width:600px; height:174px; display:flex; justify-content:center; } .whois-label{ font-size: 22px; } .totaltext{ margin-top:8px; font-size: 20px; } .totals{ font-size: 26px; color: #ffd54a; } .dealer-cards{ position:relative; width:580px; height:174px } .stage{ scale:1.2; padding: 16px; border-radius:12px; background-color: #0e3b33; box-shadow:0 18px 50px rgba(0,0,0,.6) } .deck { scale: 120%; display: none; right:80px; } .center{ text-align: center; } .bjcard{ width:var(--card-w); height:var(--card-h); border-radius:10px; background:#fff; display:flex; flex-direction:column; justify-content:space-between; padding:10px; font-weight:800; box-shadow:0 10px 22px rgba(0,0,0,.45); position:absolute; transition: transform .4s cubic-bezier(.68,-0.55,.27,1.55), opacity .3s ease, filter .3s ease; backface-visibility:hidden; transform-origin:center center; color: #000; }