/* Slot cards and demo dialog for the radhekrishnametals.co.in theme. */
.games-block {width:min(1280px,calc(100% - 32px));margin:38px auto 0;color:#eef3ff}
.games-heading {display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:18px}
.games-heading h2 {margin:0;color:#fff;font-size:clamp(1.5rem,3vw,2rem);line-height:1.2}
.games-heading p {margin:0;color:#9fb0d6;font-size:.9rem}
.games-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.game-card {display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#0a1736;border:1px solid #1e3a78;border-radius:8px}
.game-card img {display:block;width:100%;aspect-ratio:1;object-fit:cover}
.game-card-info {display:flex;flex:1;flex-direction:column;padding:15px}
.game-card h3 {font-size:1rem;line-height:1.3;color:#fff;margin:0 0 5px}
.game-card p {font-size:.8rem;color:#9fb0d6;margin:0 0 14px}
.game-play-button,.game-demo-button {width:100%;border-radius:8px;padding:10px 12px;font:inherit;font-weight:700;cursor:pointer}
.game-play-button {margin:auto 0 8px;border:0;background:#22c55e;color:#061b12}
.game-demo-button {border:1px solid #22d3ee;background:transparent;color:#22d3ee}
.game-play-button:hover {filter:brightness(1.1)}
.game-demo-button:hover {background:#16415a}
.game-play-button:focus-visible,.game-demo-button:focus-visible,.game-modal button:focus-visible {outline:3px solid #fff;outline-offset:3px}
.game-modal {padding:0;width:min(1200px,95vw);max-width:none;max-height:94vh;border:1px solid #1e3a78;border-radius:8px;background:#0a1736;color:#eef3ff;overflow:hidden}
.game-modal::backdrop {background:rgba(0,0,0,.8)}
.game-modal-head {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 18px}
.game-modal-head h2 {margin:0;font-size:1.15rem;color:#fff}
.game-close {border:0;background:#1e3a78;color:#fff;width:42px;height:42px;border-radius:8px;font-size:1.6rem;cursor:pointer}
.game-frame {display:block;width:100%;height:min(72vh,720px);border:0;background:#0a1736}
.game-modal[open] {display:block}
.game-modal:not([open]) {display:none}
@media(max-width:760px) {.games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.game-card-info{padding:12px}.games-heading{align-items:start;flex-direction:column}.game-frame{height:65vh}}
