/* Architect Loto - Custom Styles */

/* Number cell transitions */
.number-cell {
    transition: all 0.15s ease;
    font-size: 0.875rem;
    user-select: none;
    -webkit-user-select: none;
}

.number-cell:hover {
    transform: scale(1.05);
}

.number-cell:active {
    transform: scale(0.95);
}

/* Smooth loading spinner */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Game card entry animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#games-list > div {
    animation: fadeInUp 0.3s ease forwards;
}

#games-list > div:nth-child(n) {
    animation-delay: calc(var(--index, 0) * 0.05s);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #bec9c2;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6f7973;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .number-cell {
        font-size: 0.75rem;
    }
}
