/* Shared homepage Game Center presentation. Keep rules scoped to this component. */
.h8-play-showcase { clear: both; width: 100%; max-width: 1000px; margin: 0 auto 24px; overflow: hidden; border: 1px solid #35436b; border-radius: 24px; background: #0e152b; color: #fff; font: 16px/1.6 Arial, "Microsoft JhengHei", sans-serif; text-align: left; box-shadow: 0 16px 36px #0a143023; }
.h8-play-showcase, .h8-play-showcase * { box-sizing: border-box; }
.h8-play-showcase a { color: inherit; text-decoration: none; }
.h8-play-showcase h2, .h8-play-showcase h3, .h8-play-showcase h4, .h8-play-showcase p { margin: 0; padding: 0; background: none; border: 0; float: none; width: auto; height: auto; }
.h8-play-hero { position: relative; display: flex; align-items: center; min-height: 340px; padding: 36px 40px; background: linear-gradient(90deg, #0b142cf5 0%, #0b142ce8 38%, #0b142c25 100%), url('../images/game-center/h8-game-center-banner.jpg') center / cover; }
.h8-play-intro { position: relative; z-index: 1; max-width: 540px; }
.h8-play-eyebrow { display: block; color: #95eef5; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.h8-play-showcase h2 { margin: 12px 0 16px; color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.16; letter-spacing: -.025em; }
.h8-play-intro p { max-width: 385px; color: #dce5fa; font-size: 15px; line-height: 1.8; }
.h8-play-showcase .h8-play-button { display: inline-flex; gap: 28px; align-items: center; margin-top: 22px; padding: 12px 20px; border-radius: 10px; background: #c4f776; color: #162919; font-size: 15px; font-weight: 700; }
.h8-play-stamp { margin-left: auto; padding: 12px 18px; border-left: 3px solid #c4f776; color: #fff; font-size: 21px; line-height: 1.1; letter-spacing: .05em; transform: rotate(-6deg); text-shadow: 0 2px 8px #000; }
.h8-play-stamp b { font-size: 28px; }
.h8-play-selection { padding: 28px 28px 18px; }
.h8-play-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.h8-play-showcase h3 { color: #fff; font-size: 25px; line-height: 1.4; font-weight: 700; margin-top: 5px; }
.h8-play-heading > a { flex-shrink: 0; color: #c4f776; font-size: 14px; padding: 10px 0; }
.h8-play-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h8-play-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #1a233d; border: 1px solid #35405c; border-radius: 14px; transition: transform .18s ease, border-color .18s ease; }
.h8-play-art { position: relative; aspect-ratio: 1 / 1; flex-shrink: 0; overflow: hidden; background: #283453; }
.h8-play-art img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; border: 0; }
.h8-play-genre { display: block; margin-bottom: 6px; color: #95eef5; font-size: 11px; font-weight: 700; letter-spacing: .035em; }
.h8-play-card-copy { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.h8-play-showcase h4 { color: #fff; font-size: 17px; line-height: 1.5; font-weight: 700; }
.h8-play-card-copy p { margin: 7px 0 16px; color: #c7d2e9; font-size: 13px; line-height: 1.7; }
.h8-play-card-cta { display: flex; justify-content: space-between; margin-top: auto; color: #c4f776; font-size: 14px; font-weight: 700; }
.h8-play-showcase .h8-play-footer { margin-top: 18px; color: #a5b5d5; text-align: center; font-size: 12px; }
.h8-play-showcase a:focus-visible { outline: 3px solid #c4f776; outline-offset: 3px; }
@media (hover: hover) { .h8-play-card:hover { transform: translateY(-4px); border-color: #95eef5; } .h8-play-button:hover { background: #d7ff9c; } .h8-play-heading > a:hover { text-decoration: underline; } }
@media (max-width: 600px) {
 .h8-play-showcase { border-radius: 18px; }
 .h8-play-hero { min-height: 320px; padding: 28px 22px; background-position: 60% center; background-image: linear-gradient(90deg, #0b142cef, #0b142c88), url('../images/game-center/h8-game-center-banner.jpg'); }
 .h8-play-intro p { font-size: 14px; }
 .h8-play-stamp { display: none; }
 .h8-play-selection { padding: 22px 16px 16px; }
 .h8-play-heading { align-items: flex-end; gap: 8px; }
 .h8-play-heading .h8-play-eyebrow { font-size: 9px; letter-spacing: .08em; }
 .h8-play-showcase h3 { font-size: 21px; }
 .h8-play-heading > a { font-size: 12px; }
 .h8-play-grid { grid-template-columns: 1fr; gap: 12px; }
 .h8-play-card { flex-direction: column; }
 .h8-play-art { width: 100%; aspect-ratio: 1 / 1; }

 .h8-play-card-copy { padding: 16px; }
 .h8-play-showcase h4 { font-size: 16px; }
 .h8-play-card-copy p { font-size: 12px; margin-bottom: 10px; }
 .h8-play-showcase .h8-play-footer { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .h8-play-card { transition: none; } .h8-play-card:hover { transform: none; } }

/* The classic homepage has a light, fixed-width layout: give its game shelf
   its own treatment instead of dropping a large dark mobile panel into it. */
.h8-play-classic-slot { clear: both; padding-top: 24px; }
.h8-play-classic { margin-top: 0; border: 1px solid #e4d8cc; border-radius: 12px; background: #fffaf4; color: #302b31; box-shadow: 0 5px 18px #4a29100c; }
.h8-play-classic .h8-play-hero { min-height: 244px; padding: 28px 32px; background-image: linear-gradient(90deg, #0b142cfa 0%, #0b142ce8 38%, #0b142c00 78%), url('../images/game-center/h8-game-center-banner.jpg'); }
.h8-play-classic h2 { font-size: 32px; margin: 8px 0 10px; }
.h8-play-classic .h8-play-intro p { max-width: 450px; font-size: 14px; }
.h8-play-classic .h8-play-button { margin-top: 16px; padding: 10px 18px; background: #ffe2a2; color: #422a11; }
.h8-play-classic .h8-play-stamp { display: none; }
.h8-play-classic .h8-play-selection { padding: 24px 24px 18px; }
.h8-play-classic .h8-play-heading { margin-bottom: 16px; }
.h8-play-classic .h8-play-selection .h8-play-eyebrow { color: #996020; }
.h8-play-classic h3 { color: #302b31; font-size: 23px; }
.h8-play-classic .h8-play-heading > a { color: #925319; font-weight: 700; }
.h8-play-classic .h8-play-grid { gap: 20px; }
.h8-play-classic .h8-play-card { background: #fff; border-color: #e4d8cc; border-radius: 9px; box-shadow: 0 3px 10px #4a291008; }
.h8-play-classic h4 { color: #302b31; }
.h8-play-classic .h8-play-genre { color: #925319; }
.h8-play-classic .h8-play-card-copy p { color: #625c62; }
.h8-play-classic .h8-play-card-cta { color: #925319; padding-top: 10px; border-top: 1px solid #f1e9df; }
.h8-play-classic .h8-play-footer { color: #73685d; }
.h8-play-classic a:focus-visible { outline-color: #98561c; }
@media (hover: hover) { .h8-play-classic .h8-play-card:hover { border-color: #bb8145; } .h8-play-classic .h8-play-button:hover { background: #ffedc7; } }

/* Distinguish Bingo's authoritative twentieth draw from the other balls. */
.ball-list.bingo-balls > .h8-bingo-super, #bingo li.h8-bingo-super {
    color: #fff; background: #b42318; border: 2px solid #ffdf81;
    border-radius: 50%; box-sizing: border-box; font-weight: 800;
    box-shadow: 0 0 0 2px #b42318;
}
.h8-bingo-legend, #bingo p.h8-bingo-legend { clear: both; display: flex; align-items: center; gap: 7px; padding: 8px 0; font-size: 13px; }
.h8-bingo-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #b42318; border: 2px solid #ffdf81; }
