.dice-game{max-width:1120px;min-height:620px;margin:0 auto;padding:2rem 1.25rem 3rem;text-align:center;background:linear-gradient(180deg,#fff 0 75%,#eaf3ff 75%);border:1px solid #e7edf5;color:#172554}.dice-heading h1{font-size:clamp(2.5rem,6vw,4.5rem);margin:.5rem 0}.dice-heading p{color:#536987;font-size:1.2rem}.dice-kicker{color:#b45309;font-weight:800}.dice-choice{display:flex;justify-content:center;gap:.5rem;margin:1.5rem 0}.dice-choice button{border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:.7rem 1.3rem;font-weight:800;cursor:pointer}.dice-choice button.is-active{background:#1d4ed8;color:#fff}.dice-board{display:flex;justify-content:center;gap:1rem;min-height:150px;align-items:center}.die{display:grid;place-items:center;width:125px;height:125px;border-radius:18px;background:#fff;border:2px solid #dbe4f0;box-shadow:0 8px 18px #17255418;font-size:5rem;color:#1d4ed8}.dice-board.is-rolling{animation:dice-roll .45s ease}@keyframes dice-roll{50%{transform:rotate(12deg) scale(1.08)}100%{transform:rotate(0) scale(1)}}.dice-total{min-height:2rem;color:#1d4ed8;font-size:1.7rem;font-weight:800;margin:1rem}.dice-roll-button{border:0;border-radius:8px;background:#1d4ed8;color:#fff;font:inherit;font-weight:800;padding:1rem 1.5rem;cursor:pointer}.dice-stats{display:flex;justify-content:center;gap:1rem;margin:2rem auto 0;max-width:520px}.dice-stats div{background:#fff;border:1px solid #dbe4f0;border-radius:8px;padding:1rem 2.5rem}.dice-stats strong,.dice-stats span{display:block}.dice-stats strong{font-size:2rem;color:#1d4ed8}.dice-stats span{color:#64748b}@media(max-width:600px){.dice-game{min-height:0}.die{width:95px;height:95px;font-size:3.8rem}.dice-stats div{padding:1rem}}
.dice-board{perspective:850px;gap:2.2rem;min-height:190px;align-items:center}.dice-cube-wrap{width:100px;height:100px;perspective:850px;display:grid;place-items:center}.dice-cube{--size:100px;position:relative;width:var(--size);height:var(--size);transform-style:preserve-3d;transform:rotateX(-18deg) rotateY(-28deg);transition:transform .25s ease}.cube-face{position:absolute;inset:0;width:var(--size);height:var(--size);display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);padding:13px;box-sizing:border-box;border-radius:15px;border:1px solid #d9d7cf;background:linear-gradient(145deg,#fffef8,#e9e5d7);box-shadow:inset 4px 4px 9px #fff,inset -5px -6px 10px #c7c0ae,0 1px 2px #17255422;backface-visibility:hidden}.cube-face--front{transform:translateZ(50px)}.cube-face--back{transform:rotateY(180deg) translateZ(50px)}.cube-face--right{transform:rotateY(90deg) translateZ(50px)}.cube-face--left{transform:rotateY(-90deg) translateZ(50px)}.cube-face--top{transform:rotateX(90deg) translateZ(50px)}.cube-face--bottom{transform:rotateX(-90deg) translateZ(50px)}.pip{width:18px;height:18px;align-self:center;justify-self:center;border-radius:50%;background:#172554;box-shadow:inset 2px 2px 2px #52658f,1px 2px 2px #0b1635}.pip-1{grid-area:1/1}.pip-2{grid-area:1/2}.pip-3{grid-area:1/3}.pip-4{grid-area:2/1}.pip-5{grid-area:2/2}.pip-6{grid-area:2/3}.pip-7{grid-area:3/1}.pip-8{grid-area:3/2}.pip-9{grid-area:3/3}.dice-board:after{content:"";position:absolute;width:260px;height:28px;margin-top:150px;border-radius:50%;background:#1725542b;filter:blur(13px);z-index:-1}.dice-cube.is-rolling{animation:cube-toss .82s cubic-bezier(.18,.78,.25,1) var(--delay,0ms) both}.dice-cube.show-1{--end-x:-18deg;--end-y:-28deg}.dice-cube.show-2{--end-x:-18deg;--end-y:-118deg}.dice-cube.show-3{--end-x:-108deg;--end-y:-28deg}.dice-cube.show-4{--end-x:72deg;--end-y:-28deg}.dice-cube.show-5{--end-x:-18deg;--end-y:62deg}.dice-cube.show-6{--end-x:-18deg;--end-y:152deg}@keyframes cube-toss{0%{transform:translate(-8px,0) rotateX(-18deg) rotateY(-28deg)}35%{transform:translate(10px,-45px) rotateX(650deg) rotateY(720deg)}70%{transform:translate(-5px,5px) rotateX(1120deg) rotateY(1260deg)}100%{transform:translate(0,0) rotateX(var(--end-x)) rotateY(var(--end-y))}}@media(max-width:600px){.dice-cube-wrap{width:78px;height:78px}.dice-cube{--size:78px}.cube-face--front{transform:translateZ(39px)}.cube-face--back{transform:rotateY(180deg) translateZ(39px)}.cube-face--right{transform:rotateY(90deg) translateZ(39px)}.cube-face--left{transform:rotateY(-90deg) translateZ(39px)}.cube-face--top{transform:rotateX(90deg) translateZ(39px)}.cube-face--bottom{transform:rotateX(-90deg) translateZ(39px)}.cube-face{padding:10px;border-radius:12px}.pip{width:13px;height:13px}}
.dice-history{max-width:520px;margin:1.2rem auto 0;background:#fff;border:1px solid #dbe4f0;border-radius:8px;padding:1rem 1.25rem;text-align:left}.dice-history h2{font-size:1rem;margin:0 0 .6rem;color:#172554}.dice-history ol{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}.dice-history li{color:#536987;font-variant-numeric:tabular-nums}.dice-history li span{display:inline-block;min-width:3.4rem}.dice-history strong{color:#1d4ed8}
.dice-history ol{list-style:none!important;padding-left:0!important;margin-left:0!important}.dice-history li{list-style:none!important}
.luck-embedded-game{width:100%;box-sizing:border-box;margin:2rem auto;max-width:1120px}
.luck-game-image{max-width:900px;margin:2rem auto 3rem}.luck-game-image img{display:block;width:100%;height:auto;border-radius:1rem;box-shadow:0 10px 28px rgba(15,23,42,.12)}
.dice-landing-page{display:flex;flex-direction:column}.dice-landing-page .gh-hero{order:1}.dice-landing-page .luck-embedded-game{order:2}.dice-landing-page .gh-layout-sidebar{order:3}.dice-landing-page .luck-game-image{order:4}
.gh-layout-sidebar>.luck-game-image{grid-column:1;grid-row:2;margin:1rem 0 0;max-width:none;background:#fff;border:1px solid #dbe4f0;border-radius:8px;padding:.75rem;box-shadow:0 8px 20px rgba(15,23,42,.06)}
.luck-embedded-game .dice-heading{display:none}
