/* Trang chủ Mini Game */
.hero { text-align: center; padding-top: 56px; padding-bottom: 24px; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow { margin: 28px 0 10px; }
.hero-title { font-size: clamp(88px, 20vw, 196px); }
.hero-lead { max-width: 620px; margin: 22px auto 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.stats { display: flex; margin-top: 52px; border-top: 1px solid var(--border); padding-top: 24px; }
.stats div { padding: 0 28px; display: flex; flex-direction: column; align-items: center; }
.stats div + div { border-left: 1px solid var(--border); }
.stats b { font-size: 34px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.stats span { font-size: 12px; color: var(--muted); margin-top: 6px; }
@media (max-width: 480px) { .stats div { padding: 0 14px; } .stats b { font-size: 26px; } }

.section { padding-top: 72px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.filters { display: flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow-x: auto; max-width: 100%; }
.filter { border: 0; background: transparent; padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.filter:hover { color: var(--text); }
.filter.on { background: var(--accent-soft); color: var(--accent); }

.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.game {
  --tone: var(--accent); --tone-soft: var(--accent-soft);
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s, opacity .6s;
}
.game.tone-violet { --tone: var(--violet); --tone-soft: var(--violet-soft); }
.game.tone-rose { --tone: var(--rose); --tone-soft: var(--rose-soft); }
.game.in:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--tone) 40%, var(--border)); }
.game-art { position: relative; aspect-ratio: 16 / 9; background: var(--tone-soft); overflow: hidden; border-bottom: 1px solid var(--border); }
.game-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.game:hover .game-art img { transform: scale(1.04); }
.game-badge {
  position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--tone); color: #fff; box-shadow: 0 4px 12px color-mix(in srgb, var(--tone) 40%, transparent);
}
.game-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.game-meta { font-size: 12px; color: var(--tone); }
.game h3 { margin: 6px 0 6px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.game p { margin: 0 0 14px; color: var(--text-2); font-size: 14px; flex: 1; }
.game-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.game-cta { font-weight: 700; font-size: 14px; color: var(--tone); display: inline-flex; gap: 6px; }
.game:hover .arrow { transform: translateX(3px); }
.game .arrow { transition: transform .2s; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.steps h3 { margin: 10px 0 4px; font-size: 17px; }
.steps p { margin: 0; color: var(--text-2); font-size: 14px; }
.step-n { font-size: 12px; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 6px; }
