/* Pilihan top up game di beranda; CSS mandiri agar tidak bergantung pada build Tailwind. */
.game-home-section {
    padding: 3.5rem 0;
    background: linear-gradient(160deg, #f8f7ff 0%, #eef6ff 100%);
}
.game-home-shell { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.game-home-head { max-width: 42rem; margin: 0 auto 2rem; text-align: center; }
.game-home-kicker {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .42rem .85rem; border-radius: 999px;
    background: #ede9fe; color: #5b21b6;
    font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.game-home-title { margin: .8rem 0 .55rem; color: #0f172a; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 850; letter-spacing: -.035em; line-height: 1.15; }
.game-home-sub { margin: 0; color: #475569; font-size: 1rem; line-height: 1.65; }
.game-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.game-home-card {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 1.2rem;
    color: #0f172a; text-decoration: none;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.game-home-card:hover, .game-home-card:focus-visible {
    transform: translateY(-3px); border-color: #c4b5fd;
    box-shadow: 0 16px 32px rgba(91, 33, 182, .14);
}
.game-home-card:focus-visible { outline: 3px solid #7c3aed; outline-offset: 3px; }
.game-home-card img { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; background: #1e293b; }
.game-home-card-body { display: flex; flex: 1; flex-direction: column; padding: .8rem .85rem 1rem; }
.game-home-card-name { display: block; font-size: 1rem; font-weight: 800; line-height: 1.3; }
.game-home-card-hint { display: block; margin-top: .28rem; color: #64748b; font-size: .78rem; line-height: 1.4; }
.game-home-card-action { display: inline-flex; align-items: center; gap: .3rem; margin-top: auto; padding-top: .9rem; color: #6d28d9; font-size: .8rem; font-weight: 800; }
.game-home-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.7rem; }
.game-home-actions a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .65rem 1.1rem; border-radius: .8rem; font-size: .9rem; font-weight: 800; text-decoration: none; }
.game-home-actions .game-home-primary { background: #7c3aed; color: #fff; }
.game-home-actions .game-home-primary:hover { background: #6d28d9; }
.game-home-actions .game-home-secondary { border: 1px solid #c4b5fd; background: #fff; color: #5b21b6; }
.game-home-actions .game-home-secondary:hover { background: #f5f3ff; }
html.dark .game-home-section, html[data-theme='dark'] .game-home-section { background: linear-gradient(160deg, #15142d, #0f172a); }
html.dark .game-home-title, html[data-theme='dark'] .game-home-title { color: #f8fafc; }
html.dark .game-home-sub, html[data-theme='dark'] .game-home-sub { color: #cbd5e1; }
html.dark .game-home-card, html[data-theme='dark'] .game-home-card { background: #1e293b; border-color: #334155; color: #f8fafc; }
html.dark .game-home-card-hint, html[data-theme='dark'] .game-home-card-hint { color: #cbd5e1; }
html.dark .game-home-card-action, html[data-theme='dark'] .game-home-card-action { color: #c4b5fd; }
@media (min-width: 768px) { .game-home-shell { padding: 0 1.5rem; } .game-home-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; } .game-home-card-body { padding: 1rem 1.1rem 1.15rem; } }
@media (max-width: 359px) { .game-home-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .game-home-card { transition: none; } }
