/* game/game.css - Chỉ styles riêng của trang danh sách game */

/* Entrance animation cho boxes */
.box {
    animation: fadeInUp 0.4s ease both;
}

.box:nth-child(1) {
    animation-delay: 0.05s;
}

.box:nth-child(2) {
    animation-delay: 0.10s;
}

.box:nth-child(3) {
    animation-delay: 0.15s;
}

.box:nth-child(4) {
    animation-delay: 0.20s;
}

.box:nth-child(5) {
    animation-delay: 0.25s;
}

.box:nth-child(6) {
    animation-delay: 0.30s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid: 3 cột trên desktop, thu nhỏ trên mobile */
.boxes {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .boxes {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}