/* Game card component — shared across games hub, top-rated, hidden-gems pages */

/* ── Game grid ── */
.game-card-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0.75rem; }
@media (max-width: 576px) { .game-card-wrap { grid-template-columns: repeat(1, 1fr); } }

/* ── Game card ── */
.gc { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); border-radius: 0.6rem; overflow: hidden; transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s; text-decoration: none; display: flex; flex-direction: column; }
.gc:hover { transform: translateY(-3px); border-color: rgba(255,58,253,0.25); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
.gc-img { width: 100%; aspect-ratio: 460/215; object-fit: cover; background: #111; display: block; }
.gc-img-placeholder { width: 100%; aspect-ratio: 460/215; background: rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: rgba(255,255,255,0.15); }
.gc-body { padding: 0.6rem 0.75rem 0.75rem; flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.gc-title { font-size: 0.95rem; font-weight: 600; line-height: 1.3; margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: white; }
.gc-genres { font-size: 0.72rem; color: rgba(255,255,255,0.45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.4rem; }
.gc-vri { font-size: 0.78rem; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: 0.3rem; }
.gc-price { font-size: 0.78rem; color: var(--g-light-75); }
.gc-rank { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.25); padding: 0.1rem 0; }
